@prisma/client-generator-js 6.6.0-dev.111 → 6.6.0-dev.113
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/generator.d.ts +2 -1
- package/dist/index.d.mts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +2060 -5
- package/dist/index.mjs +2061 -6
- package/dist/resolvePrismaClient.d.ts +4 -4
- package/package.json +9 -9
package/dist/generator.d.ts
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { Generator, GeneratorConfig, GeneratorManifest, GeneratorOptions } from '@prisma/generator';
|
|
2
2
|
type PrismaClientJsGeneratorOptions = {
|
|
3
3
|
shouldResolvePrismaClient?: boolean;
|
|
4
|
+
shouldInstallMissingPackages?: boolean;
|
|
4
5
|
runtimePath?: string;
|
|
5
6
|
};
|
|
6
7
|
export declare class PrismaClientJsGenerator implements Generator {
|
|
7
8
|
#private;
|
|
8
9
|
readonly name = "prisma-client-js";
|
|
9
|
-
constructor({ shouldResolvePrismaClient, runtimePath }?: PrismaClientJsGeneratorOptions);
|
|
10
|
+
constructor({ shouldResolvePrismaClient, shouldInstallMissingPackages, runtimePath, }?: PrismaClientJsGeneratorOptions);
|
|
10
11
|
getManifest(config: GeneratorConfig): Promise<GeneratorManifest>;
|
|
11
12
|
generate(options: GeneratorOptions): Promise<void>;
|
|
12
13
|
}
|
package/dist/index.d.mts
CHANGED
|
@@ -54,13 +54,14 @@ export declare function getDMMF(options: GetDMMFOptions): Promise<DMMF.Document>
|
|
|
54
54
|
export declare class PrismaClientJsGenerator implements Generator_2 {
|
|
55
55
|
#private;
|
|
56
56
|
readonly name = "prisma-client-js";
|
|
57
|
-
constructor({ shouldResolvePrismaClient, runtimePath }?: PrismaClientJsGeneratorOptions);
|
|
57
|
+
constructor({ shouldResolvePrismaClient, shouldInstallMissingPackages, runtimePath, }?: PrismaClientJsGeneratorOptions);
|
|
58
58
|
getManifest(config: GeneratorConfig): Promise<GeneratorManifest>;
|
|
59
59
|
generate(options: GeneratorOptions): Promise<void>;
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
declare type PrismaClientJsGeneratorOptions = {
|
|
63
63
|
shouldResolvePrismaClient?: boolean;
|
|
64
|
+
shouldInstallMissingPackages?: boolean;
|
|
64
65
|
runtimePath?: string;
|
|
65
66
|
};
|
|
66
67
|
|
package/dist/index.d.ts
CHANGED
|
@@ -54,13 +54,14 @@ export declare function getDMMF(options: GetDMMFOptions): Promise<DMMF.Document>
|
|
|
54
54
|
export declare class PrismaClientJsGenerator implements Generator_2 {
|
|
55
55
|
#private;
|
|
56
56
|
readonly name = "prisma-client-js";
|
|
57
|
-
constructor({ shouldResolvePrismaClient, runtimePath }?: PrismaClientJsGeneratorOptions);
|
|
57
|
+
constructor({ shouldResolvePrismaClient, shouldInstallMissingPackages, runtimePath, }?: PrismaClientJsGeneratorOptions);
|
|
58
58
|
getManifest(config: GeneratorConfig): Promise<GeneratorManifest>;
|
|
59
59
|
generate(options: GeneratorOptions): Promise<void>;
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
declare type PrismaClientJsGeneratorOptions = {
|
|
63
63
|
shouldResolvePrismaClient?: boolean;
|
|
64
|
+
shouldInstallMissingPackages?: boolean;
|
|
64
65
|
runtimePath?: string;
|
|
65
66
|
};
|
|
66
67
|
|