@prisma/client-generator-ts 6.6.0-dev.67 → 6.6.0-dev.69

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.
@@ -9,23 +9,19 @@ export interface GenerateClientOptions {
9
9
  datamodel: string;
10
10
  schemaPath: string;
11
11
  /** Runtime path used in runtime/type imports */
12
- runtimeBase?: string;
12
+ runtimeBase: string;
13
13
  outputDir: string;
14
14
  generator: GeneratorConfig;
15
15
  dmmf: DMMF.Document;
16
16
  datasources: DataSource[];
17
17
  binaryPaths: BinaryPaths;
18
- testMode?: boolean;
19
- copyRuntime?: boolean;
20
- copyRuntimeSourceMaps?: boolean;
21
- runtimeSourcePath: string;
22
18
  engineVersion: string;
23
19
  clientVersion: string;
24
20
  activeProvider: ActiveConnectorType;
25
21
  envPaths?: EnvPaths;
26
22
  /** When --postinstall is passed via CLI */
27
23
  postinstall?: boolean;
28
- /** When --no-engine is passed via CLI */
24
+ /** False when --no-engine is passed via CLI */
29
25
  copyEngine?: boolean;
30
26
  typedSql?: SqlQueryOutput[];
31
27
  }
@@ -36,5 +32,5 @@ export interface BuildClientResult {
36
32
  fileMap: FileMap;
37
33
  prismaClientDmmf: DMMF.Document;
38
34
  }
39
- export declare function buildClient({ schemaPath, runtimeBase, runtimeSourcePath, datamodel, binaryPaths, outputDir, generator, dmmf, datasources, engineVersion, clientVersion, activeProvider, postinstall, copyEngine, envPaths, typedSql, }: O.Required<GenerateClientOptions, 'runtimeBase'>): BuildClientResult;
35
+ export declare function buildClient({ schemaPath, runtimeBase, datamodel, binaryPaths, outputDir, generator, dmmf, datasources, engineVersion, clientVersion, activeProvider, postinstall, copyEngine, envPaths, typedSql, }: O.Required<GenerateClientOptions, 'runtimeBase'>): BuildClientResult;
40
36
  export declare function generateClient(options: GenerateClientOptions): Promise<void>;
@@ -1,12 +1,6 @@
1
1
  import { Generator, GeneratorConfig, GeneratorManifest, GeneratorOptions } from '@prisma/generator';
2
- type PrismaClientTsGeneratorOptions = {
3
- runtimePath?: string;
4
- };
5
2
  export declare class PrismaClientTsGenerator implements Generator {
6
- #private;
7
3
  readonly name = "prisma-client-ts";
8
- constructor({ runtimePath }?: PrismaClientTsGeneratorOptions);
9
4
  getManifest(config: GeneratorConfig): Promise<GeneratorManifest>;
10
5
  generate(options: GeneratorOptions): Promise<void>;
11
6
  }
12
- export {};
package/dist/index.d.mts CHANGED
@@ -28,23 +28,19 @@ declare interface GenerateClientOptions {
28
28
  datamodel: string;
29
29
  schemaPath: string;
30
30
  /** Runtime path used in runtime/type imports */
31
- runtimeBase?: string;
31
+ runtimeBase: string;
32
32
  outputDir: string;
33
33
  generator: GeneratorConfig;
34
34
  dmmf: DMMF.Document;
35
35
  datasources: DataSource[];
36
36
  binaryPaths: BinaryPaths;
37
- testMode?: boolean;
38
- copyRuntime?: boolean;
39
- copyRuntimeSourceMaps?: boolean;
40
- runtimeSourcePath: string;
41
37
  engineVersion: string;
42
38
  clientVersion: string;
43
39
  activeProvider: ActiveConnectorType;
44
40
  envPaths?: EnvPaths;
45
41
  /** When --postinstall is passed via CLI */
46
42
  postinstall?: boolean;
47
- /** When --no-engine is passed via CLI */
43
+ /** False when --no-engine is passed via CLI */
48
44
  copyEngine?: boolean;
49
45
  typedSql?: SqlQueryOutput[];
50
46
  }
@@ -52,15 +48,9 @@ declare interface GenerateClientOptions {
52
48
  export declare function getDMMF(options: GetDMMFOptions): Promise<DMMF.Document>;
53
49
 
54
50
  export declare class PrismaClientTsGenerator implements Generator_2 {
55
- #private;
56
51
  readonly name = "prisma-client-ts";
57
- constructor({ runtimePath }?: PrismaClientTsGeneratorOptions);
58
52
  getManifest(config: GeneratorConfig): Promise<GeneratorManifest>;
59
53
  generate(options: GeneratorOptions): Promise<void>;
60
54
  }
61
55
 
62
- declare type PrismaClientTsGeneratorOptions = {
63
- runtimePath?: string;
64
- };
65
-
66
56
  export { }
package/dist/index.d.ts CHANGED
@@ -28,23 +28,19 @@ declare interface GenerateClientOptions {
28
28
  datamodel: string;
29
29
  schemaPath: string;
30
30
  /** Runtime path used in runtime/type imports */
31
- runtimeBase?: string;
31
+ runtimeBase: string;
32
32
  outputDir: string;
33
33
  generator: GeneratorConfig;
34
34
  dmmf: DMMF.Document;
35
35
  datasources: DataSource[];
36
36
  binaryPaths: BinaryPaths;
37
- testMode?: boolean;
38
- copyRuntime?: boolean;
39
- copyRuntimeSourceMaps?: boolean;
40
- runtimeSourcePath: string;
41
37
  engineVersion: string;
42
38
  clientVersion: string;
43
39
  activeProvider: ActiveConnectorType;
44
40
  envPaths?: EnvPaths;
45
41
  /** When --postinstall is passed via CLI */
46
42
  postinstall?: boolean;
47
- /** When --no-engine is passed via CLI */
43
+ /** False when --no-engine is passed via CLI */
48
44
  copyEngine?: boolean;
49
45
  typedSql?: SqlQueryOutput[];
50
46
  }
@@ -52,15 +48,9 @@ declare interface GenerateClientOptions {
52
48
  export declare function getDMMF(options: GetDMMFOptions): Promise<DMMF.Document>;
53
49
 
54
50
  export declare class PrismaClientTsGenerator implements Generator_2 {
55
- #private;
56
51
  readonly name = "prisma-client-ts";
57
- constructor({ runtimePath }?: PrismaClientTsGeneratorOptions);
58
52
  getManifest(config: GeneratorConfig): Promise<GeneratorManifest>;
59
53
  generate(options: GeneratorOptions): Promise<void>;
60
54
  }
61
55
 
62
- declare type PrismaClientTsGeneratorOptions = {
63
- runtimePath?: string;
64
- };
65
-
66
56
  export { }