@prisma/internals 6.13.0-dev.3 → 6.13.0-dev.31
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-67Y3H3QN.js → chunk-2MSHYWMA.js} +5 -5
- package/dist/{chunk-VMDJ6R7V.js → chunk-3PZELVH3.js} +8 -8
- package/dist/{chunk-CHOXBASF.js → chunk-4JCVHBYR.js} +5 -5
- package/dist/{chunk-MMDCFN6O.js → chunk-5OP3XZGE.js} +7 -7
- package/dist/{chunk-MY5KA4VU.js → chunk-67I7CEQJ.js} +329 -12
- package/dist/{chunk-HCLB23CV.js → chunk-7QYPTKF6.js} +5 -5
- package/dist/{chunk-JIFFPM7F.js → chunk-7RFO7IBT.js} +5 -5
- package/dist/{chunk-PYESN73R.js → chunk-AOC6CKVB.js} +26 -26
- package/dist/{chunk-SFFH45R3.js → chunk-AZZVNSJU.js} +5 -5
- package/dist/{chunk-X4L5SQSX.js → chunk-BPDSYUHC.js} +5 -5
- package/dist/{chunk-ZIFBTC6Y.js → chunk-CILEY36B.js} +5150 -477
- package/dist/{chunk-F44R72ET.js → chunk-DNBGUGMK.js} +7 -7
- package/dist/{chunk-ZCBEMBHR.js → chunk-EYVG6XQS.js} +11 -23
- package/dist/{chunk-7LZMIPS5.js → chunk-FJWKIEZH.js} +8 -8
- package/dist/{chunk-NNDSWLTF.js → chunk-GIP47CQ4.js} +5 -5
- package/dist/{chunk-3R5MIUGK.js → chunk-LJ6T2BOT.js} +5 -5
- package/dist/{chunk-BL6J3WTY.js → chunk-LJJRFSMO.js} +5 -5
- package/dist/chunk-LWJT6EL5.js +27 -0
- package/dist/{chunk-VYQWNWBL.js → chunk-NUJNCHJZ.js} +8 -8
- package/dist/{chunk-YU3N5MWB.js → chunk-PWHLRKOF.js} +8 -8
- package/dist/{chunk-6I574ZIF.js → chunk-U2URCEW5.js} +26 -26
- package/dist/{chunk-7G7FICFI.js → chunk-VXUA6PHH.js} +7 -7
- package/dist/{chunk-7ZY357OA.js → chunk-WKKMDPTL.js} +6 -6
- package/dist/{chunk-WXRTT6AT.js → chunk-XLPPGCBH.js} +8 -8
- package/dist/{chunk-O3FLU6UD.js → chunk-XP7WVNLW.js} +8 -8
- package/dist/{chunk-NSA7BFND.js → chunk-YQ4BHVLI.js} +5 -5
- package/dist/{chunk-FUVIRDZG.js → chunk-ZNGIGXXJ.js} +8 -8
- package/dist/cli/checkUnsupportedDataProxy.js +20 -21
- package/dist/cli/checkUnsupportedSchemaEngineWasm.js +20 -21
- package/dist/cli/getSchema.d.ts +6 -8
- package/dist/cli/getSchema.js +5 -9
- package/dist/cli/hashes.js +4 -7
- package/dist/cli/schemaContext.js +20 -21
- package/dist/engine-commands/errorHelpers.js +4 -4
- package/dist/engine-commands/formatSchema.js +19 -20
- package/dist/engine-commands/getConfig.js +10 -10
- package/dist/engine-commands/getDmmf.js +7 -7
- package/dist/engine-commands/index.js +28 -29
- 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 +22 -23
- package/dist/getPackedPackage.js +5 -6
- package/dist/index.d.ts +1 -1
- package/dist/index.js +48 -50
- package/dist/migrateTypes.d.ts +10 -0
- package/dist/resolvePkg.js +2 -3
- package/dist/utils/getEnvPaths.js +4 -6
- package/dist/utils/getVersionFromPackageJson.js +3 -3
- package/dist/utils/loadEnvFile.js +5 -7
- package/dist/wasm.js +5 -5
- package/package.json +13 -13
- package/dist/chunk-PSFQKG2Q.js +0 -6291
- package/dist/chunk-QS3WUGE3.js +0 -341
package/dist/migrateTypes.d.ts
CHANGED
|
@@ -57,6 +57,12 @@ export declare namespace MigrateTypes {
|
|
|
57
57
|
* Description of the lockfile, which may or may not exist.
|
|
58
58
|
*/
|
|
59
59
|
lockfile: MigrationLockfile;
|
|
60
|
+
/**
|
|
61
|
+
* An init script that will be run on the shadow database before the migrations are applied.
|
|
62
|
+
* Useful in combination with external tables. Can be empty.
|
|
63
|
+
* Set via `migrations.initShadowDb` in `prisma.config.ts`.
|
|
64
|
+
*/
|
|
65
|
+
shadowDbInitScript: string;
|
|
60
66
|
/**
|
|
61
67
|
* Description of the migration directories.
|
|
62
68
|
*/
|
|
@@ -73,6 +79,10 @@ export declare namespace MigrateTypes {
|
|
|
73
79
|
files: SchemaContainer[];
|
|
74
80
|
configDir: string;
|
|
75
81
|
};
|
|
82
|
+
type SchemaFilter = {
|
|
83
|
+
externalTables: string[];
|
|
84
|
+
externalEnums: string[];
|
|
85
|
+
};
|
|
76
86
|
type UrlContainer = {
|
|
77
87
|
url: string;
|
|
78
88
|
};
|
package/dist/resolvePkg.js
CHANGED
|
@@ -18,9 +18,8 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
19
|
var resolvePkg_exports = {};
|
|
20
20
|
__export(resolvePkg_exports, {
|
|
21
|
-
resolvePkg: () =>
|
|
21
|
+
resolvePkg: () => import_chunk_67I7CEQJ.resolvePkg
|
|
22
22
|
});
|
|
23
23
|
module.exports = __toCommonJS(resolvePkg_exports);
|
|
24
|
-
var
|
|
25
|
-
var import_chunk_QS3WUGE3 = require("./chunk-QS3WUGE3.js");
|
|
24
|
+
var import_chunk_67I7CEQJ = require("./chunk-67I7CEQJ.js");
|
|
26
25
|
var import_chunk_4VNS5WPM = require("./chunk-4VNS5WPM.js");
|
|
@@ -18,15 +18,13 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
19
|
var getEnvPaths_exports = {};
|
|
20
20
|
__export(getEnvPaths_exports, {
|
|
21
|
-
getEnvPaths: () =>
|
|
21
|
+
getEnvPaths: () => import_chunk_XLPPGCBH.getEnvPaths
|
|
22
22
|
});
|
|
23
23
|
module.exports = __toCommonJS(getEnvPaths_exports);
|
|
24
|
-
var
|
|
24
|
+
var import_chunk_XLPPGCBH = require("../chunk-XLPPGCBH.js");
|
|
25
25
|
var import_chunk_3FP46GUV = require("../chunk-3FP46GUV.js");
|
|
26
|
-
var
|
|
26
|
+
var import_chunk_EYVG6XQS = require("../chunk-EYVG6XQS.js");
|
|
27
27
|
var import_chunk_PG5FDKSF = require("../chunk-PG5FDKSF.js");
|
|
28
28
|
var import_chunk_T2PM5TKT = require("../chunk-T2PM5TKT.js");
|
|
29
|
-
var
|
|
30
|
-
var import_chunk_UZTXEBTM = require("../chunk-UZTXEBTM.js");
|
|
31
|
-
var import_chunk_QS3WUGE3 = require("../chunk-QS3WUGE3.js");
|
|
29
|
+
var import_chunk_LWJT6EL5 = require("../chunk-LWJT6EL5.js");
|
|
32
30
|
var import_chunk_4VNS5WPM = require("../chunk-4VNS5WPM.js");
|
|
@@ -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_AZZVNSJU.version
|
|
22
22
|
});
|
|
23
23
|
module.exports = __toCommonJS(getVersionFromPackageJson_exports);
|
|
24
|
-
var
|
|
25
|
-
var
|
|
24
|
+
var import_chunk_AZZVNSJU = require("../chunk-AZZVNSJU.js");
|
|
25
|
+
var import_chunk_WKKMDPTL = require("../chunk-WKKMDPTL.js");
|
|
26
26
|
var import_chunk_4VNS5WPM = require("../chunk-4VNS5WPM.js");
|
|
@@ -18,16 +18,14 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
19
|
var loadEnvFile_exports = {};
|
|
20
20
|
__export(loadEnvFile_exports, {
|
|
21
|
-
loadEnvFile: () =>
|
|
21
|
+
loadEnvFile: () => import_chunk_VXUA6PHH.loadEnvFile
|
|
22
22
|
});
|
|
23
23
|
module.exports = __toCommonJS(loadEnvFile_exports);
|
|
24
|
-
var
|
|
25
|
-
var
|
|
24
|
+
var import_chunk_VXUA6PHH = require("../chunk-VXUA6PHH.js");
|
|
25
|
+
var import_chunk_XLPPGCBH = require("../chunk-XLPPGCBH.js");
|
|
26
26
|
var import_chunk_3FP46GUV = require("../chunk-3FP46GUV.js");
|
|
27
|
-
var
|
|
27
|
+
var import_chunk_EYVG6XQS = require("../chunk-EYVG6XQS.js");
|
|
28
28
|
var import_chunk_PG5FDKSF = require("../chunk-PG5FDKSF.js");
|
|
29
29
|
var import_chunk_T2PM5TKT = require("../chunk-T2PM5TKT.js");
|
|
30
|
-
var
|
|
31
|
-
var import_chunk_UZTXEBTM = require("../chunk-UZTXEBTM.js");
|
|
32
|
-
var import_chunk_QS3WUGE3 = require("../chunk-QS3WUGE3.js");
|
|
30
|
+
var import_chunk_LWJT6EL5 = require("../chunk-LWJT6EL5.js");
|
|
33
31
|
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_YQ4BHVLI.prismaSchemaWasm,
|
|
22
|
+
prismaSchemaWasmVersion: () => import_chunk_YQ4BHVLI.prismaSchemaWasmVersion,
|
|
23
|
+
schemaEngineWasmVersion: () => import_chunk_YQ4BHVLI.schemaEngineWasmVersion
|
|
24
24
|
});
|
|
25
25
|
module.exports = __toCommonJS(wasm_exports);
|
|
26
|
-
var
|
|
27
|
-
var
|
|
26
|
+
var import_chunk_YQ4BHVLI = require("./chunk-YQ4BHVLI.js");
|
|
27
|
+
var import_chunk_WKKMDPTL = require("./chunk-WKKMDPTL.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.13.0-dev.
|
|
3
|
+
"version": "6.13.0-dev.31",
|
|
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",
|
|
@@ -72,20 +72,20 @@
|
|
|
72
72
|
"yarn": "1.22.22"
|
|
73
73
|
},
|
|
74
74
|
"dependencies": {
|
|
75
|
-
"@prisma/prisma-schema-wasm": "6.
|
|
76
|
-
"@prisma/schema-engine-wasm": "6.
|
|
75
|
+
"@prisma/prisma-schema-wasm": "6.13.0-35.361e86d0ea4987e9f53a565309b3eed797a6bcbd",
|
|
76
|
+
"@prisma/schema-engine-wasm": "6.13.0-35.361e86d0ea4987e9f53a565309b3eed797a6bcbd",
|
|
77
77
|
"arg": "5.0.2",
|
|
78
78
|
"prompts": "2.4.2",
|
|
79
|
-
"@prisma/config": "6.13.0-dev.
|
|
80
|
-
"@prisma/debug": "6.13.0-dev.
|
|
81
|
-
"@prisma/
|
|
82
|
-
"@prisma/
|
|
83
|
-
"@prisma/fetch-engine": "6.13.0-dev.
|
|
84
|
-
"@prisma/
|
|
85
|
-
"@prisma/
|
|
86
|
-
"@prisma/
|
|
87
|
-
"@prisma/
|
|
88
|
-
"@prisma/
|
|
79
|
+
"@prisma/config": "6.13.0-dev.31",
|
|
80
|
+
"@prisma/debug": "6.13.0-dev.31",
|
|
81
|
+
"@prisma/driver-adapter-utils": "6.13.0-dev.31",
|
|
82
|
+
"@prisma/dmmf": "6.13.0-dev.31",
|
|
83
|
+
"@prisma/fetch-engine": "6.13.0-dev.31",
|
|
84
|
+
"@prisma/engines": "6.13.0-dev.31",
|
|
85
|
+
"@prisma/get-platform": "6.13.0-dev.31",
|
|
86
|
+
"@prisma/generator": "6.13.0-dev.31",
|
|
87
|
+
"@prisma/schema-files-loader": "6.13.0-dev.31",
|
|
88
|
+
"@prisma/generator-helper": "6.13.0-dev.31"
|
|
89
89
|
},
|
|
90
90
|
"peerDependencies": {
|
|
91
91
|
"typescript": ">=5.1.0"
|