@zorionapp/gg-core 5.0.35 → 5.0.36

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zorionapp/gg-core",
3
- "version": "5.0.35",
3
+ "version": "5.0.36",
4
4
  "type": "commonjs",
5
5
  "dependencies": {
6
6
  "cache-manager": "5.2.4",
@@ -2,6 +2,7 @@ import { DynamicModule, Type } from '@nestjs/common';
2
2
  export interface GgDebugForFeatureOptions {
3
3
  controllers: Type<any>[];
4
4
  canaryPath: string;
5
+ imports?: (Type<any> | DynamicModule)[];
5
6
  }
6
7
  export declare class GgDebugModule {
7
8
  static forFeature(options: GgDebugForFeatureOptions): DynamicModule;
@@ -7,6 +7,7 @@ class GgDebugModule {
7
7
  static forFeature(options) {
8
8
  return {
9
9
  module: GgDebugModule,
10
+ imports: options.imports ?? [],
10
11
  controllers: [...options.controllers, (0, canary_controller_1.createCanaryController)(options.canaryPath)],
11
12
  // Provided here so @UseGuards(E2eTokenGuard) on the passed-in controllers resolves via DI.
12
13
  providers: [e2e_token_guard_1.E2eTokenGuard],
@@ -1 +1 @@
1
- {"version":3,"file":"gg-debug.module.js","sourceRoot":"","sources":["../../../../../libs/gg-core/src/gg-debug/gg-debug.module.ts"],"names":[],"mappings":";;;AACA,2DAA6D;AAC7D,8DAAyD;AAQzD,MAAa,aAAa;IACjB,MAAM,CAAC,UAAU,CAAC,OAAiC;QACxD,OAAO;YACL,MAAM,EAAE,aAAa;YACrB,WAAW,EAAE,CAAC,GAAG,OAAO,CAAC,WAAW,EAAE,IAAA,0CAAsB,EAAC,OAAO,CAAC,UAAU,CAAC,CAAC;YACjF,2FAA2F;YAC3F,SAAS,EAAE,CAAC,+BAAa,CAAC;SAC3B,CAAC;IACJ,CAAC;CACF;AATD,sCASC"}
1
+ {"version":3,"file":"gg-debug.module.js","sourceRoot":"","sources":["../../../../../libs/gg-core/src/gg-debug/gg-debug.module.ts"],"names":[],"mappings":";;;AACA,2DAA6D;AAC7D,8DAAyD;AAUzD,MAAa,aAAa;IACjB,MAAM,CAAC,UAAU,CAAC,OAAiC;QACxD,OAAO;YACL,MAAM,EAAE,aAAa;YACrB,OAAO,EAAE,OAAO,CAAC,OAAO,IAAI,EAAE;YAC9B,WAAW,EAAE,CAAC,GAAG,OAAO,CAAC,WAAW,EAAE,IAAA,0CAAsB,EAAC,OAAO,CAAC,UAAU,CAAC,CAAC;YACjF,2FAA2F;YAC3F,SAAS,EAAE,CAAC,+BAAa,CAAC;SAC3B,CAAC;IACJ,CAAC;CACF;AAVD,sCAUC"}