-1
@@ -24,7 +24,6 @@ export const handleCompositeKey = (
|
||||
result[parsedFieldKey.parentFieldName][parsedFieldKey.childFieldName] = value;
|
||||
};
|
||||
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
export const parseResult = (obj: any): any => {
|
||||
if (obj === null || typeof obj !== 'object' || typeof obj === 'function') {
|
||||
|
||||
-1
@@ -28,7 +28,6 @@ export function WorkspaceQueryHook(
|
||||
options.type = WorkspaceQueryHookType.PRE_HOOK;
|
||||
}
|
||||
|
||||
|
||||
return (target: Function) => {
|
||||
SetMetadata(SCOPE_OPTIONS_METADATA, options)(target);
|
||||
SetMetadata(WORKSPACE_QUERY_HOOK_METADATA, options)(target);
|
||||
|
||||
-1
@@ -1,4 +1,3 @@
|
||||
|
||||
import { Injectable, type Type } from '@nestjs/common';
|
||||
import { Reflector } from '@nestjs/core';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user