@prisma/internals 6.13.0-dev.2 → 6.13.0-dev.21
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-IGE4S4UJ.js → chunk-2UFNYXA3.js} +8 -8
- package/dist/{chunk-CHOXBASF.js → chunk-4JCVHBYR.js} +5 -5
- package/dist/{chunk-MY5KA4VU.js → chunk-67I7CEQJ.js} +329 -12
- package/dist/{chunk-X4L5SQSX.js → chunk-6EJNNKEA.js} +5 -5
- package/dist/{chunk-6I574ZIF.js → chunk-7ZJ7S27P.js} +26 -26
- package/dist/{chunk-JIFFPM7F.js → chunk-B6XQZIID.js} +5 -5
- package/dist/{chunk-ZIFBTC6Y.js → chunk-CILEY36B.js} +5150 -477
- package/dist/{chunk-Z2AJ5IEE.js → chunk-D5RDJLBJ.js} +6 -6
- package/dist/{chunk-2VKVT363.js → chunk-DAYDE7YQ.js} +5 -5
- package/dist/{chunk-WTTNML3O.js → chunk-DM3ZXIHJ.js} +8 -8
- package/dist/{chunk-BL6J3WTY.js → chunk-DPROWRKB.js} +5 -5
- package/dist/{chunk-ZCBEMBHR.js → chunk-EYVG6XQS.js} +11 -23
- package/dist/{chunk-PMQVIRHN.js → chunk-FCB3X5KT.js} +5 -5
- package/dist/{chunk-MMDCFN6O.js → chunk-HGLEMCSZ.js} +7 -7
- package/dist/{chunk-SFFH45R3.js → chunk-K6LYTSEW.js} +5 -5
- package/dist/{chunk-4L22GQK3.js → chunk-KRBSTBRC.js} +5 -5
- package/dist/chunk-LWJT6EL5.js +27 -0
- package/dist/{chunk-THMJMRIA.js → chunk-MMBH4JP3.js} +7 -7
- package/dist/{chunk-7LZMIPS5.js → chunk-OX3ZKFTA.js} +8 -8
- package/dist/{chunk-NSA7BFND.js → chunk-PO2BM2YN.js} +5 -5
- package/dist/{chunk-VMDJ6R7V.js → chunk-SC2H7JM5.js} +8 -8
- package/dist/{chunk-536AZBM2.js → chunk-SOAV6IHB.js} +26 -26
- package/dist/{chunk-7G7FICFI.js → chunk-VXUA6PHH.js} +7 -7
- package/dist/{chunk-O3FLU6UD.js → chunk-WYKJQ7YM.js} +8 -8
- package/dist/{chunk-7S4F5QCB.js → chunk-X2MN2QGK.js} +8 -8
- package/dist/{chunk-WXRTT6AT.js → chunk-XLPPGCBH.js} +8 -8
- package/dist/{chunk-5JNTOFOR.js → chunk-ZA5HX3EO.js} +5 -5
- 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
|
@@ -16,20 +16,20 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
16
16
|
return to;
|
|
17
17
|
};
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
var
|
|
20
|
-
__export(
|
|
19
|
+
var chunk_B6XQZIID_exports = {};
|
|
20
|
+
__export(chunk_B6XQZIID_exports, {
|
|
21
21
|
getLintWarnings: () => getLintWarnings,
|
|
22
22
|
getLintWarningsAsText: () => getLintWarningsAsText,
|
|
23
23
|
handleLintPanic: () => handleLintPanic,
|
|
24
24
|
lintSchema: () => lintSchema,
|
|
25
25
|
warningToString: () => warningToString
|
|
26
26
|
});
|
|
27
|
-
module.exports = __toCommonJS(
|
|
28
|
-
var
|
|
27
|
+
module.exports = __toCommonJS(chunk_B6XQZIID_exports);
|
|
28
|
+
var import_chunk_PO2BM2YN = require("./chunk-PO2BM2YN.js");
|
|
29
29
|
var import_chunk_LMVSIVKQ = require("./chunk-LMVSIVKQ.js");
|
|
30
30
|
var import_chunk_PG5FDKSF = require("./chunk-PG5FDKSF.js");
|
|
31
31
|
function lintSchema({ schemas }) {
|
|
32
|
-
const lintResult =
|
|
32
|
+
const lintResult = import_chunk_PO2BM2YN.prismaSchemaWasm.lint(JSON.stringify(schemas));
|
|
33
33
|
const lintDiagnostics = JSON.parse(lintResult);
|
|
34
34
|
return lintDiagnostics;
|
|
35
35
|
}
|