@prisma/internals 6.20.0-integration-next.4 → 6.20.0-integration-next.6
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/{chunk-E4PYP2ZV.js → chunk-4YZTUZQX.js} +5 -5
- package/dist/chunk-5SAWCTGN.js +46 -0
- package/dist/{chunk-YJSJK7EC.js → chunk-6AE3ZTJ6.js} +8 -8
- package/dist/{chunk-3D4RRUYX.js → chunk-6INUGSFR.js} +28 -27
- package/dist/{chunk-TQZ7VRPF.js → chunk-BTE2BLVE.js} +5 -5
- package/dist/{chunk-OSMLJTQN.js → chunk-CGDIZWKV.js} +4 -4
- package/dist/{chunk-7SF6QSKE.js → chunk-ER4RE4VE.js} +5 -5
- package/dist/{chunk-H4QG5ONG.js → chunk-MVXWH6SD.js} +8 -8
- package/dist/{chunk-Q5EKGHVB.js → chunk-OXD2JEEF.js} +5 -5
- package/dist/{chunk-65KNJHQS.js → chunk-QIFU7FBS.js} +8 -8
- package/dist/{chunk-J757IEPK.js → chunk-R5OZXPSF.js} +16 -15
- package/dist/{chunk-X6TWTGK6.js → chunk-TCASXHTD.js} +7 -7
- package/dist/{chunk-CIGXHXCG.js → chunk-TGA7DC5A.js} +7 -7
- package/dist/{chunk-VNIE2AZB.js → chunk-TQCLUNM2.js} +4 -4
- package/dist/{chunk-7X4RB4O5.js → chunk-WXZ6MOHE.js} +5 -5
- package/dist/cli/checkUnsupportedDataProxy.d.ts +7 -8
- package/dist/cli/checkUnsupportedDataProxy.js +17 -16
- package/dist/cli/directoryConfig.d.ts +5 -2
- package/dist/cli/schemaContext.d.ts +0 -2
- package/dist/cli/schemaContext.js +18 -17
- package/dist/engine-commands/errorHelpers.js +4 -4
- package/dist/engine-commands/formatSchema.js +16 -15
- package/dist/engine-commands/getConfig.js +7 -7
- package/dist/engine-commands/getDmmf.js +7 -7
- package/dist/engine-commands/index.js +23 -22
- package/dist/engine-commands/lintSchema.js +8 -8
- package/dist/engine-commands/mergeSchemas.js +7 -7
- package/dist/engine-commands/validate.js +7 -7
- package/dist/get-generators/getGenerators.js +19 -18
- package/dist/highlight/highlight.js +5 -5
- package/dist/index.d.ts +2 -1
- package/dist/index.js +37 -35
- package/dist/types.d.ts +15 -0
- package/dist/utils/getVersionFromPackageJson.js +3 -3
- package/dist/utils/missingDatasource.js +4 -4
- package/dist/utils/missingGeneratorMessage.js +6 -6
- package/dist/utils/validatePrismaConfigWithDatasource.d.ts +15 -0
- package/dist/utils/validatePrismaConfigWithDatasource.js +28 -0
- package/dist/wasm.js +5 -5
- package/package.json +11 -11
|
@@ -18,14 +18,14 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
19
|
var highlight_exports = {};
|
|
20
20
|
__export(highlight_exports, {
|
|
21
|
-
highlightDatamodel: () =>
|
|
22
|
-
highlightSql: () =>
|
|
23
|
-
highlightTS: () =>
|
|
21
|
+
highlightDatamodel: () => import_chunk_TQCLUNM2.highlightDatamodel,
|
|
22
|
+
highlightSql: () => import_chunk_TQCLUNM2.highlightSql,
|
|
23
|
+
highlightTS: () => import_chunk_TQCLUNM2.highlightTS
|
|
24
24
|
});
|
|
25
25
|
module.exports = __toCommonJS(highlight_exports);
|
|
26
|
-
var
|
|
27
|
-
var import_chunk_CYAS6B5N = require("../chunk-CYAS6B5N.js");
|
|
26
|
+
var import_chunk_TQCLUNM2 = require("../chunk-TQCLUNM2.js");
|
|
28
27
|
var import_chunk_OIVPX3BR = require("../chunk-OIVPX3BR.js");
|
|
28
|
+
var import_chunk_CYAS6B5N = require("../chunk-CYAS6B5N.js");
|
|
29
29
|
var import_chunk_HPVMQFIY = require("../chunk-HPVMQFIY.js");
|
|
30
30
|
var import_chunk_E23HYCQJ = require("../chunk-E23HYCQJ.js");
|
|
31
31
|
var import_chunk_PG5FDKSF = require("../chunk-PG5FDKSF.js");
|
package/dist/index.d.ts
CHANGED
|
@@ -29,7 +29,7 @@ export { canConnectToDatabase, createDatabase, dropDatabase } from './schemaEngi
|
|
|
29
29
|
export { SchemaEngineExitCode } from './schemaEngineCommands';
|
|
30
30
|
export { sendPanic } from './sendPanic';
|
|
31
31
|
export * from './tracing/types';
|
|
32
|
-
export type { DatabaseCredentials } from './types';
|
|
32
|
+
export type { DatabaseCredentials, RequireKey } from './types';
|
|
33
33
|
export { assertAlways } from './utils/assertAlways';
|
|
34
34
|
export { assertNever } from './utils/assertNever';
|
|
35
35
|
export { binaryTargetRegex } from './utils/binaryTargetRegex';
|
|
@@ -71,6 +71,7 @@ export { extractSchemaContent, type SchemaFileInput } from './utils/schemaFileIn
|
|
|
71
71
|
export { type MultipleSchemas } from './utils/schemaFileInput';
|
|
72
72
|
export { setClassName } from './utils/setClassName';
|
|
73
73
|
export { toSchemasContainer, toSchemasWithConfigDir } from './utils/toSchemasContainer';
|
|
74
|
+
export { type PrismaConfigWithDatasource, validatePrismaConfigWithDatasource, } from './utils/validatePrismaConfigWithDatasource';
|
|
74
75
|
export { vercelPkgPathRegex } from './utils/vercelPkgPathRegex';
|
|
75
76
|
export { warnOnce } from './warnOnce';
|
|
76
77
|
export * as wasm from './wasm';
|
package/dist/index.js
CHANGED
|
@@ -34,7 +34,7 @@ __export(index_exports, {
|
|
|
34
34
|
callOnceOnSuccess: () => import_chunk_NIWBAJZV.callOnceOnSuccess,
|
|
35
35
|
canConnectToDatabase: () => import_chunk_XIYRAW5R.canConnectToDatabase,
|
|
36
36
|
canPrompt: () => import_chunk_FCYHZHVW.canPrompt,
|
|
37
|
-
checkUnsupportedDataProxy: () =>
|
|
37
|
+
checkUnsupportedDataProxy: () => import_chunk_6INUGSFR.checkUnsupportedDataProxy,
|
|
38
38
|
chmodPlusX: () => import_chunk_TWSLDIFL.chmodPlusX,
|
|
39
39
|
createDatabase: () => import_chunk_XIYRAW5R.createDatabase,
|
|
40
40
|
credentialsToUri: () => import_chunk_LYFOJ5NK.credentialsToUri,
|
|
@@ -45,36 +45,36 @@ __export(index_exports, {
|
|
|
45
45
|
extractSchemaContent: () => import_chunk_PFYALFCY.extractSchemaContent,
|
|
46
46
|
fixBinaryTargets: () => import_chunk_X77CS5RK.fixBinaryTargets,
|
|
47
47
|
format: () => import_chunk_D4VZUY3O.format,
|
|
48
|
-
formatSchema: () =>
|
|
48
|
+
formatSchema: () => import_chunk_6INUGSFR.formatSchema,
|
|
49
49
|
formatTable: () => import_chunk_QN6PSQY7.formatTable,
|
|
50
50
|
formatms: () => import_chunk_XYCIH36R.formatms,
|
|
51
51
|
fsFunctional: () => import_chunk_SMJRM3EM.fs_functional_exports,
|
|
52
52
|
fsUtils: () => import_chunk_MLFKBBDL.fs_utils_exports,
|
|
53
|
-
getBinaryTargetForCurrentPlatform: () =>
|
|
53
|
+
getBinaryTargetForCurrentPlatform: () => import_chunk_6INUGSFR.getBinaryTargetForCurrentPlatform,
|
|
54
54
|
getCLIPathHash: () => import_chunk_GL7OANR6.getCLIPathHash,
|
|
55
55
|
getCommandWithExecutor: () => import_chunk_CUD726EK.getCommandWithExecutor,
|
|
56
|
-
getConfig: () =>
|
|
57
|
-
getDMMF: () =>
|
|
56
|
+
getConfig: () => import_chunk_6AE3ZTJ6.getConfig,
|
|
57
|
+
getDMMF: () => import_chunk_MVXWH6SD.getDMMF,
|
|
58
58
|
getEngineVersion: () => import_chunk_H5STSTVK.getEngineVersion,
|
|
59
59
|
getEnginesInfo: () => import_chunk_22HIO2UL.getEnginesInfo,
|
|
60
|
-
getGenerator: () =>
|
|
60
|
+
getGenerator: () => import_chunk_6INUGSFR.getGenerator,
|
|
61
61
|
getGeneratorSuccessMessage: () => import_chunk_ARC7TW3L.getGeneratorSuccessMessage,
|
|
62
|
-
getGenerators: () =>
|
|
63
|
-
getLintWarningsAsText: () =>
|
|
62
|
+
getGenerators: () => import_chunk_6INUGSFR.getGenerators,
|
|
63
|
+
getLintWarningsAsText: () => import_chunk_4YZTUZQX.getLintWarningsAsText,
|
|
64
64
|
getMigrateConfigDir: () => import_chunk_RFB2U4GQ.getMigrateConfigDir,
|
|
65
65
|
getPackedPackage: () => import_chunk_QSVWJ2S2.getPackedPackage,
|
|
66
66
|
getProjectHash: () => import_chunk_GL7OANR6.getProjectHash,
|
|
67
|
-
getSchemaDatasourceProvider: () =>
|
|
67
|
+
getSchemaDatasourceProvider: () => import_chunk_6INUGSFR.getSchemaDatasourceProvider,
|
|
68
68
|
getSchemaWithPath: () => import_chunk_OKVM3CW4.getSchemaWithPath,
|
|
69
69
|
getSchemaWithPathOptional: () => import_chunk_OKVM3CW4.getSchemaWithPathOptional,
|
|
70
70
|
getTypescriptVersion: () => import_chunk_J7ZPY2XA.getTypescriptVersion,
|
|
71
71
|
getWasmError: () => import_chunk_LMVSIVKQ.getWasmError,
|
|
72
|
-
handleLintPanic: () =>
|
|
72
|
+
handleLintPanic: () => import_chunk_4YZTUZQX.handleLintPanic,
|
|
73
73
|
handlePanic: () => import_chunk_LHTJCI5U.handlePanic,
|
|
74
74
|
hasOwnProperty: () => import_chunk_WV4QHCSM.hasOwnProperty,
|
|
75
|
-
highlightDatamodel: () =>
|
|
76
|
-
highlightSql: () =>
|
|
77
|
-
highlightTS: () =>
|
|
75
|
+
highlightDatamodel: () => import_chunk_TQCLUNM2.highlightDatamodel,
|
|
76
|
+
highlightSql: () => import_chunk_TQCLUNM2.highlightSql,
|
|
77
|
+
highlightTS: () => import_chunk_TQCLUNM2.highlightTS,
|
|
78
78
|
inferDirectoryConfig: () => import_chunk_BCQZ6JQE.inferDirectoryConfig,
|
|
79
79
|
isCi: () => import_chunk_H4NI2RIK.isCi,
|
|
80
80
|
isCurrentBinInstalledGlobally: () => import_chunk_BERN76ZI.isCurrentBinInstalledGlobally,
|
|
@@ -90,16 +90,16 @@ __export(index_exports, {
|
|
|
90
90
|
isWasmPanic: () => import_chunk_LMVSIVKQ.isWasmPanic,
|
|
91
91
|
keyBy: () => import_chunk_ZKWDIAVF.keyBy,
|
|
92
92
|
link: () => import_chunk_3WXUQZS7.link,
|
|
93
|
-
lintSchema: () =>
|
|
94
|
-
loadSchemaContext: () =>
|
|
93
|
+
lintSchema: () => import_chunk_4YZTUZQX.lintSchema,
|
|
94
|
+
loadSchemaContext: () => import_chunk_6INUGSFR.loadSchemaContext,
|
|
95
95
|
logger: () => import_chunk_ZJWZK45Z.logger_exports,
|
|
96
96
|
longestCommonPathPrefix: () => import_chunk_J77ZIDXB.longestCommonPathPrefix,
|
|
97
97
|
mapObjectValues: () => import_chunk_UGR6KLZN.mapObjectValues,
|
|
98
98
|
maxBy: () => import_chunk_CGFNDGGI.maxBy,
|
|
99
99
|
maxWithComparator: () => import_chunk_CGFNDGGI.maxWithComparator,
|
|
100
100
|
maybeInGitHook: () => import_chunk_LRBXMV4B.maybeInGitHook,
|
|
101
|
-
mergeSchemas: () =>
|
|
102
|
-
missingGeneratorMessage: () =>
|
|
101
|
+
mergeSchemas: () => import_chunk_TCASXHTD.mergeSchemas,
|
|
102
|
+
missingGeneratorMessage: () => import_chunk_TGA7DC5A.missingGeneratorMessage,
|
|
103
103
|
parseAWSNodejsRuntimeEnvVarVersion: () => import_chunk_2SDPW6AX.parseAWSNodejsRuntimeEnvVarVersion,
|
|
104
104
|
parseBinaryTargetsEnvValue: () => import_chunk_IOIAK7V7.parseBinaryTargetsEnvValue,
|
|
105
105
|
parseEnvValue: () => import_chunk_IOIAK7V7.parseEnvValue,
|
|
@@ -108,7 +108,7 @@ __export(index_exports, {
|
|
|
108
108
|
printConfigWarnings: () => import_chunk_5FJ3MENK.printConfigWarnings,
|
|
109
109
|
printGeneratorConfig: () => import_chunk_LRU47BGE.printGeneratorConfig,
|
|
110
110
|
printSchemaLoadedMessage: () => import_chunk_OKVM3CW4.printSchemaLoadedMessage,
|
|
111
|
-
processSchemaResult: () =>
|
|
111
|
+
processSchemaResult: () => import_chunk_6INUGSFR.processSchemaResult,
|
|
112
112
|
protocolToConnectorType: () => import_chunk_LYFOJ5NK.protocolToConnectorType,
|
|
113
113
|
relativizePathInPSLError: () => import_chunk_C47SCASR.relativizePathInPSLError,
|
|
114
114
|
resolveBinary: () => import_chunk_HNRMSI3R.resolveBinary,
|
|
@@ -120,15 +120,17 @@ __export(index_exports, {
|
|
|
120
120
|
toSchemasWithConfigDir: () => import_chunk_OSHZ4P3G.toSchemasWithConfigDir,
|
|
121
121
|
unknownCommand: () => import_chunk_6JE6QGSJ.unknownCommand,
|
|
122
122
|
uriToCredentials: () => import_chunk_LYFOJ5NK.uriToCredentials,
|
|
123
|
-
validate: () =>
|
|
123
|
+
validate: () => import_chunk_QIFU7FBS.validate,
|
|
124
|
+
validatePrismaConfigWithDatasource: () => import_chunk_5SAWCTGN.validatePrismaConfigWithDatasource,
|
|
124
125
|
vercelPkgPathRegex: () => import_chunk_M3GBKLGE.vercelPkgPathRegex,
|
|
125
|
-
version: () =>
|
|
126
|
+
version: () => import_chunk_WXZ6MOHE.version,
|
|
126
127
|
warnOnce: () => import_chunk_DTPFRZWV.warnOnce,
|
|
127
|
-
wasm: () =>
|
|
128
|
+
wasm: () => import_chunk_OXD2JEEF.wasm_exports,
|
|
128
129
|
wasmSchemaEngineLoader: () => import_chunk_SBUSVJCV.wasmSchemaEngineLoader
|
|
129
130
|
});
|
|
130
131
|
module.exports = __toCommonJS(index_exports);
|
|
131
|
-
var
|
|
132
|
+
var import_chunk_6INUGSFR = require("./chunk-6INUGSFR.js");
|
|
133
|
+
var import_chunk_5SAWCTGN = require("./chunk-5SAWCTGN.js");
|
|
132
134
|
var import_chunk_X77CS5RK = require("./chunk-X77CS5RK.js");
|
|
133
135
|
var import_chunk_5MHUYAV3 = require("./chunk-5MHUYAV3.js");
|
|
134
136
|
var import_chunk_5I4ERIIY = require("./chunk-5I4ERIIY.js");
|
|
@@ -140,8 +142,8 @@ var import_chunk_5FJ3MENK = require("./chunk-5FJ3MENK.js");
|
|
|
140
142
|
var import_chunk_PFYALFCY = require("./chunk-PFYALFCY.js");
|
|
141
143
|
var import_chunk_ANU3HEGF = require("./chunk-ANU3HEGF.js");
|
|
142
144
|
var import_chunk_OSHZ4P3G = require("./chunk-OSHZ4P3G.js");
|
|
143
|
-
var
|
|
144
|
-
var
|
|
145
|
+
var import_chunk_ER4RE4VE = require("./chunk-ER4RE4VE.js");
|
|
146
|
+
var import_chunk_TGA7DC5A = require("./chunk-TGA7DC5A.js");
|
|
145
147
|
var import_chunk_2SDPW6AX = require("./chunk-2SDPW6AX.js");
|
|
146
148
|
var import_chunk_RBDYOTWB = require("./chunk-RBDYOTWB.js");
|
|
147
149
|
var import_chunk_ZKWDIAVF = require("./chunk-ZKWDIAVF.js");
|
|
@@ -170,9 +172,9 @@ var import_chunk_H4NI2RIK = require("./chunk-H4NI2RIK.js");
|
|
|
170
172
|
var import_chunk_ICFLO5JW = require("./chunk-ICFLO5JW.js");
|
|
171
173
|
var import_chunk_CGLLQXZE = require("./chunk-CGLLQXZE.js");
|
|
172
174
|
var import_chunk_CRVLHWC5 = require("./chunk-CRVLHWC5.js");
|
|
173
|
-
var
|
|
174
|
-
var import_chunk_CYAS6B5N = require("./chunk-CYAS6B5N.js");
|
|
175
|
+
var import_chunk_TQCLUNM2 = require("./chunk-TQCLUNM2.js");
|
|
175
176
|
var import_chunk_OIVPX3BR = require("./chunk-OIVPX3BR.js");
|
|
177
|
+
var import_chunk_CYAS6B5N = require("./chunk-CYAS6B5N.js");
|
|
176
178
|
var import_chunk_HPVMQFIY = require("./chunk-HPVMQFIY.js");
|
|
177
179
|
var import_chunk_E23HYCQJ = require("./chunk-E23HYCQJ.js");
|
|
178
180
|
var import_chunk_HW5RCZSE = require("./chunk-HW5RCZSE.js");
|
|
@@ -180,22 +182,22 @@ var import_chunk_Y4TOGY6I = require("./chunk-Y4TOGY6I.js");
|
|
|
180
182
|
var import_chunk_IL7PSY44 = require("./chunk-IL7PSY44.js");
|
|
181
183
|
var import_chunk_22HIO2UL = require("./chunk-22HIO2UL.js");
|
|
182
184
|
var import_chunk_H5STSTVK = require("./chunk-H5STSTVK.js");
|
|
183
|
-
var
|
|
184
|
-
var
|
|
185
|
-
var
|
|
185
|
+
var import_chunk_4YZTUZQX = require("./chunk-4YZTUZQX.js");
|
|
186
|
+
var import_chunk_TCASXHTD = require("./chunk-TCASXHTD.js");
|
|
187
|
+
var import_chunk_QIFU7FBS = require("./chunk-QIFU7FBS.js");
|
|
186
188
|
var import_chunk_GL7OANR6 = require("./chunk-GL7OANR6.js");
|
|
187
189
|
var import_chunk_D4VZUY3O = require("./chunk-D4VZUY3O.js");
|
|
188
|
-
var
|
|
189
|
-
var
|
|
190
|
+
var import_chunk_6AE3ZTJ6 = require("./chunk-6AE3ZTJ6.js");
|
|
191
|
+
var import_chunk_MVXWH6SD = require("./chunk-MVXWH6SD.js");
|
|
190
192
|
var import_chunk_WSZXPLJQ = require("./chunk-WSZXPLJQ.js");
|
|
191
193
|
var import_chunk_R6QH57HZ = require("./chunk-R6QH57HZ.js");
|
|
192
194
|
var import_chunk_C47SCASR = require("./chunk-C47SCASR.js");
|
|
193
|
-
var
|
|
195
|
+
var import_chunk_BTE2BLVE = require("./chunk-BTE2BLVE.js");
|
|
194
196
|
var import_chunk_QN6PSQY7 = require("./chunk-QN6PSQY7.js");
|
|
195
|
-
var
|
|
197
|
+
var import_chunk_WXZ6MOHE = require("./chunk-WXZ6MOHE.js");
|
|
196
198
|
var import_chunk_DTPFRZWV = require("./chunk-DTPFRZWV.js");
|
|
197
|
-
var
|
|
198
|
-
var
|
|
199
|
+
var import_chunk_OXD2JEEF = require("./chunk-OXD2JEEF.js");
|
|
200
|
+
var import_chunk_CGDIZWKV = require("./chunk-CGDIZWKV.js");
|
|
199
201
|
var import_chunk_6JE6QGSJ = require("./chunk-6JE6QGSJ.js");
|
|
200
202
|
var import_chunk_BCQZ6JQE = require("./chunk-BCQZ6JQE.js");
|
|
201
203
|
var import_chunk_ARC7TW3L = require("./chunk-ARC7TW3L.js");
|
package/dist/types.d.ts
CHANGED
|
@@ -17,3 +17,18 @@ export interface DatabaseCredentials {
|
|
|
17
17
|
[key: string]: string;
|
|
18
18
|
};
|
|
19
19
|
}
|
|
20
|
+
/**
|
|
21
|
+
* Given a type T and a key K, return a new type that is T + the key K marked as required.
|
|
22
|
+
* E.g.:
|
|
23
|
+
* ```
|
|
24
|
+
* type T = {
|
|
25
|
+
* a?: string
|
|
26
|
+
* b: number
|
|
27
|
+
* c?: string
|
|
28
|
+
* d?: boolean
|
|
29
|
+
* }
|
|
30
|
+
* type R = RequireKey<T, 'a' | 'c'>
|
|
31
|
+
* // R is { a: string, b: number, c: string, d?: boolean }
|
|
32
|
+
* ```
|
|
33
|
+
*/
|
|
34
|
+
export type RequireKey<T, K extends keyof T> = Omit<T, K> & Required<Pick<T, K>>;
|
|
@@ -18,9 +18,9 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
19
|
var getVersionFromPackageJson_exports = {};
|
|
20
20
|
__export(getVersionFromPackageJson_exports, {
|
|
21
|
-
version: () =>
|
|
21
|
+
version: () => import_chunk_WXZ6MOHE.version
|
|
22
22
|
});
|
|
23
23
|
module.exports = __toCommonJS(getVersionFromPackageJson_exports);
|
|
24
|
-
var
|
|
25
|
-
var
|
|
24
|
+
var import_chunk_WXZ6MOHE = require("../chunk-WXZ6MOHE.js");
|
|
25
|
+
var import_chunk_CGDIZWKV = require("../chunk-CGDIZWKV.js");
|
|
26
26
|
var import_chunk_4VNS5WPM = require("../chunk-4VNS5WPM.js");
|
|
@@ -18,14 +18,14 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
19
|
var missingDatasource_exports = {};
|
|
20
20
|
__export(missingDatasource_exports, {
|
|
21
|
-
missingDatasource: () =>
|
|
21
|
+
missingDatasource: () => import_chunk_ER4RE4VE.missingDatasource
|
|
22
22
|
});
|
|
23
23
|
module.exports = __toCommonJS(missingDatasource_exports);
|
|
24
|
-
var
|
|
24
|
+
var import_chunk_ER4RE4VE = require("../chunk-ER4RE4VE.js");
|
|
25
25
|
var import_chunk_3WXUQZS7 = require("../chunk-3WXUQZS7.js");
|
|
26
|
-
var
|
|
27
|
-
var import_chunk_CYAS6B5N = require("../chunk-CYAS6B5N.js");
|
|
26
|
+
var import_chunk_TQCLUNM2 = require("../chunk-TQCLUNM2.js");
|
|
28
27
|
var import_chunk_OIVPX3BR = require("../chunk-OIVPX3BR.js");
|
|
28
|
+
var import_chunk_CYAS6B5N = require("../chunk-CYAS6B5N.js");
|
|
29
29
|
var import_chunk_HPVMQFIY = require("../chunk-HPVMQFIY.js");
|
|
30
30
|
var import_chunk_E23HYCQJ = require("../chunk-E23HYCQJ.js");
|
|
31
31
|
var import_chunk_PG5FDKSF = require("../chunk-PG5FDKSF.js");
|
|
@@ -18,16 +18,16 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
19
|
var missingGeneratorMessage_exports = {};
|
|
20
20
|
__export(missingGeneratorMessage_exports, {
|
|
21
|
-
missingGeneratorMessage: () =>
|
|
22
|
-
missingModelMessage: () =>
|
|
23
|
-
missingModelMessageMongoDB: () =>
|
|
21
|
+
missingGeneratorMessage: () => import_chunk_TGA7DC5A.missingGeneratorMessage,
|
|
22
|
+
missingModelMessage: () => import_chunk_TGA7DC5A.missingModelMessage,
|
|
23
|
+
missingModelMessageMongoDB: () => import_chunk_TGA7DC5A.missingModelMessageMongoDB
|
|
24
24
|
});
|
|
25
25
|
module.exports = __toCommonJS(missingGeneratorMessage_exports);
|
|
26
|
-
var
|
|
26
|
+
var import_chunk_TGA7DC5A = require("../chunk-TGA7DC5A.js");
|
|
27
27
|
var import_chunk_3WXUQZS7 = require("../chunk-3WXUQZS7.js");
|
|
28
|
-
var
|
|
29
|
-
var import_chunk_CYAS6B5N = require("../chunk-CYAS6B5N.js");
|
|
28
|
+
var import_chunk_TQCLUNM2 = require("../chunk-TQCLUNM2.js");
|
|
30
29
|
var import_chunk_OIVPX3BR = require("../chunk-OIVPX3BR.js");
|
|
30
|
+
var import_chunk_CYAS6B5N = require("../chunk-CYAS6B5N.js");
|
|
31
31
|
var import_chunk_HPVMQFIY = require("../chunk-HPVMQFIY.js");
|
|
32
32
|
var import_chunk_E23HYCQJ = require("../chunk-E23HYCQJ.js");
|
|
33
33
|
var import_chunk_PG5FDKSF = require("../chunk-PG5FDKSF.js");
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { PrismaConfig } from '@prisma/config';
|
|
2
|
+
import { type RequireKey } from '../types';
|
|
3
|
+
export declare class ConfigValidationError extends Error {
|
|
4
|
+
constructor(message: string);
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* A Prisma Config that has been validated w.r.t. the command that is being executed.
|
|
8
|
+
*/
|
|
9
|
+
export type PrismaConfigWithDatasource = RequireKey<PrismaConfig, 'datasource'>;
|
|
10
|
+
type ValidatePrismaConfigWithDatasourceInput = {
|
|
11
|
+
config: Pick<PrismaConfig, 'datasource'>;
|
|
12
|
+
cmd: string;
|
|
13
|
+
};
|
|
14
|
+
export declare function validatePrismaConfigWithDatasource({ config, cmd, }: ValidatePrismaConfigWithDatasourceInput): PrismaConfigWithDatasource;
|
|
15
|
+
export {};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var validatePrismaConfigWithDatasource_exports = {};
|
|
20
|
+
__export(validatePrismaConfigWithDatasource_exports, {
|
|
21
|
+
ConfigValidationError: () => import_chunk_5SAWCTGN.ConfigValidationError,
|
|
22
|
+
validatePrismaConfigWithDatasource: () => import_chunk_5SAWCTGN.validatePrismaConfigWithDatasource
|
|
23
|
+
});
|
|
24
|
+
module.exports = __toCommonJS(validatePrismaConfigWithDatasource_exports);
|
|
25
|
+
var import_chunk_5SAWCTGN = require("../chunk-5SAWCTGN.js");
|
|
26
|
+
var import_chunk_ANU3HEGF = require("../chunk-ANU3HEGF.js");
|
|
27
|
+
var import_chunk_PG5FDKSF = require("../chunk-PG5FDKSF.js");
|
|
28
|
+
var import_chunk_4VNS5WPM = require("../chunk-4VNS5WPM.js");
|
package/dist/wasm.js
CHANGED
|
@@ -18,12 +18,12 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
19
|
var wasm_exports = {};
|
|
20
20
|
__export(wasm_exports, {
|
|
21
|
-
prismaSchemaWasm: () =>
|
|
22
|
-
prismaSchemaWasmVersion: () =>
|
|
23
|
-
schemaEngineWasmVersion: () =>
|
|
21
|
+
prismaSchemaWasm: () => import_chunk_OXD2JEEF.prismaSchemaWasm,
|
|
22
|
+
prismaSchemaWasmVersion: () => import_chunk_OXD2JEEF.prismaSchemaWasmVersion,
|
|
23
|
+
schemaEngineWasmVersion: () => import_chunk_OXD2JEEF.schemaEngineWasmVersion
|
|
24
24
|
});
|
|
25
25
|
module.exports = __toCommonJS(wasm_exports);
|
|
26
|
-
var
|
|
27
|
-
var
|
|
26
|
+
var import_chunk_OXD2JEEF = require("./chunk-OXD2JEEF.js");
|
|
27
|
+
var import_chunk_CGDIZWKV = require("./chunk-CGDIZWKV.js");
|
|
28
28
|
var import_chunk_WXRVYSYN = require("./chunk-WXRVYSYN.js");
|
|
29
29
|
var import_chunk_4VNS5WPM = require("./chunk-4VNS5WPM.js");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prisma/internals",
|
|
3
|
-
"version": "6.20.0-integration-next.
|
|
3
|
+
"version": "6.20.0-integration-next.6",
|
|
4
4
|
"description": "This package is intended for Prisma's internal use",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -70,16 +70,16 @@
|
|
|
70
70
|
"@prisma/schema-engine-wasm": "6.20.0-11.next-80ee0a44bf5668992b0c909c946a755b86b56c95",
|
|
71
71
|
"arg": "5.0.2",
|
|
72
72
|
"prompts": "2.4.2",
|
|
73
|
-
"@prisma/debug": "6.20.0-integration-next.
|
|
74
|
-
"@prisma/config": "6.20.0-integration-next.
|
|
75
|
-
"@prisma/dmmf": "6.20.0-integration-next.
|
|
76
|
-
"@prisma/driver-adapter-utils": "6.20.0-integration-next.
|
|
77
|
-
"@prisma/engines": "6.20.0-integration-next.
|
|
78
|
-
"@prisma/fetch-engine": "6.20.0-integration-next.
|
|
79
|
-
"@prisma/generator": "6.20.0-integration-next.
|
|
80
|
-
"@prisma/generator-helper": "6.20.0-integration-next.
|
|
81
|
-
"@prisma/get-platform": "6.20.0-integration-next.
|
|
82
|
-
"@prisma/schema-files-loader": "6.20.0-integration-next.
|
|
73
|
+
"@prisma/debug": "6.20.0-integration-next.6",
|
|
74
|
+
"@prisma/config": "6.20.0-integration-next.6",
|
|
75
|
+
"@prisma/dmmf": "6.20.0-integration-next.6",
|
|
76
|
+
"@prisma/driver-adapter-utils": "6.20.0-integration-next.6",
|
|
77
|
+
"@prisma/engines": "6.20.0-integration-next.6",
|
|
78
|
+
"@prisma/fetch-engine": "6.20.0-integration-next.6",
|
|
79
|
+
"@prisma/generator": "6.20.0-integration-next.6",
|
|
80
|
+
"@prisma/generator-helper": "6.20.0-integration-next.6",
|
|
81
|
+
"@prisma/get-platform": "6.20.0-integration-next.6",
|
|
82
|
+
"@prisma/schema-files-loader": "6.20.0-integration-next.6"
|
|
83
83
|
},
|
|
84
84
|
"peerDependencies": {
|
|
85
85
|
"typescript": ">=5.4.0"
|