@pegasusheavy/nestjs-prisma-graphql 1.2.3 → 1.3.0

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/dist/index.d.ts CHANGED
@@ -7,24 +7,8 @@ interface GeneratorDisableConfig {
7
7
  /** Config options from the generator block in schema.prisma */
8
8
  config: Record<string, string | undefined>;
9
9
  }
10
- /**
11
- * Environment variables that can disable the generator:
12
- * - DISABLE_NESTJS_PRISMA_GRAPHQL=true - Disable this specific generator
13
- * - PRISMA_GENERATOR_SKIP=true - Skip all Prisma generators (common convention)
14
- * - SKIP_PRISMA_GENERATE=true - Alternative skip flag
15
- * - CI_SKIP_PRISMA_GRAPHQL=true - CI-specific skip flag
16
- *
17
- * Config options (in schema.prisma):
18
- * - disabled = true - Disable generation
19
- * - disabled = "true" - Disable generation (string)
20
- * - disabled = 1 - Disable generation (number as string)
21
- *
22
- * @param options - Generator options or minimal config object
23
- * @param env - Environment variables (defaults to process.env)
24
- * @returns true if the generator should be disabled
25
- */
26
10
  declare function isGeneratorDisabled(options: GeneratorOptions | {
27
11
  generator: GeneratorDisableConfig;
28
- }, env?: NodeJS.ProcessEnv): boolean;
12
+ }, env?: Record<string, string | undefined>): boolean;
29
13
 
30
14
  export { type GeneratorDisableConfig, isGeneratorDisabled };