Skip to content

Commit

Permalink
Rename decorator to IgnoreSdk
Browse files Browse the repository at this point in the history
  • Loading branch information
ninthsun91 committed Nov 25, 2023
1 parent b85d3c0 commit 1f0d5f0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { SetMetadata } from "@nestjs/common";

export const IGNORE_SDK_METADATA = "ExcludeFromSdk";
export const Ignore = () => SetMetadata(IGNORE_SDK_METADATA, true);
export const IgnoreSdk = () => SetMetadata(IGNORE_SDK_METADATA, true);
2 changes: 1 addition & 1 deletion packages/core/src/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export * from "./decorators/EncryptedController";
export * from "./decorators/EncryptedModule";
export * from "./decorators/EncryptedRoute";
export * from "./utils/ExceptionManager";
export * from "./decorators/Exclude";
export * from "./decorators/IgnoreSdk";
export * from "./decorators/PlainBody";
export * from "./decorators/TypedBody";
export * from "./decorators/TypedException";
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk/src/analyses/ReflectAnalyzer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { ParamCategory } from "../structures/ParamCategory";
import { ArrayUtil } from "../utils/ArrayUtil";
import { PathAnalyzer } from "./PathAnalyzer";
import { SecurityAnalyzer } from "./SecurityAnalyzer";
import { IGNORE_SDK_METADATA } from "../../../core/src/decorators/Exclude";
import { IGNORE_SDK_METADATA } from "../../../core/src/decorators/IgnoreSdk";

type IModule = {
[key: string]: any;
Expand Down

0 comments on commit 1f0d5f0

Please sign in to comment.