@prisma/internals 6.20.0-integration-feat-prisma-7-config.1 → 6.20.0-integration-merge-release-workflows.2

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.
Files changed (116) hide show
  1. package/dist/{chunk-5ZSVGCMS.js → chunk-2GUGGLPK.js} +96 -40
  2. package/dist/chunk-3FP46GUV.js +471 -0
  3. package/dist/chunk-46ABODUM.js +186 -0
  4. package/dist/{chunk-GJSFP4V4.js → chunk-4CGPN5SR.js} +9 -3
  5. package/dist/{chunk-GL7OANR6.js → chunk-4JCVHBYR.js} +5 -5
  6. package/dist/{chunk-MEOOYUIZ.js → chunk-5AI4FIZ3.js} +10 -10
  7. package/dist/{chunk-WITEP52Z.js → chunk-6K6FK4UW.js} +5 -5
  8. package/dist/chunk-6TTRTZXU.js +37 -0
  9. package/dist/{chunk-ANOE4NZ5.js → chunk-6ZGNGCXO.js} +9 -8
  10. package/dist/{chunk-SMJRM3EM.js → chunk-75BIJ5PX.js} +9 -9
  11. package/dist/{chunk-MYLPCGTT.js → chunk-7QC5VORA.js} +5 -5
  12. package/dist/{chunk-TGA7DC5A.js → chunk-AX5N26KG.js} +9 -14
  13. package/dist/{chunk-C5YUUOQW.js → chunk-BSTUWVHD.js} +12 -12
  14. package/dist/{chunk-QSVWJ2S2.js → chunk-BVJP43JS.js} +784 -13
  15. package/dist/{chunk-B2BNIZB2.js → chunk-CCLAMTCA.js} +8 -7
  16. package/dist/chunk-D4VDA2TZ.js +66 -0
  17. package/dist/chunk-DZYINYAA.js +68 -0
  18. package/dist/{chunk-VHE2A7YV.js → chunk-E4H6V3Z4.js} +11 -11
  19. package/dist/{chunk-WKOGDEF4.js → chunk-E5VGO6SU.js} +11 -11
  20. package/dist/chunk-ERSH2BQA.js +58 -0
  21. package/dist/{chunk-3ZWEK4N6.js → chunk-EWDCQQHP.js} +5 -5
  22. package/dist/{chunk-OKVM3CW4.js → chunk-EYVG6XQS.js} +39 -3
  23. package/dist/{chunk-5MHUYAV3.js → chunk-F2OZV76L.js} +9 -9
  24. package/dist/{chunk-VITPVRRI.js → chunk-FHZ5QJLR.js} +5 -5
  25. package/dist/{chunk-HNRMSI3R.js → chunk-FYZCPL2Z.js} +8 -5
  26. package/dist/{chunk-22HIO2UL.js → chunk-GMW36QQF.js} +7 -7
  27. package/dist/{chunk-BUQN4WLU.js → chunk-HFFWZTVM.js} +9 -7
  28. package/dist/{chunk-CGLLQXZE.js → chunk-HHG4DGHC.js} +12 -11
  29. package/dist/{chunk-5W3BSMTH.js → chunk-HO5HRHFZ.js} +6 -3
  30. package/dist/{chunk-3WXUQZS7.js → chunk-I6WLABB2.js} +5 -14
  31. package/dist/{chunk-FF7OLLBP.js → chunk-IDINCQMN.js} +784 -12
  32. package/dist/{chunk-QOZ7USPD.js → chunk-JOIIWB3U.js} +159 -193
  33. package/dist/{chunk-QJDVKII7.js → chunk-JTS4UPHJ.js} +5 -5
  34. package/dist/{chunk-RVTU2FIM.js → chunk-LV27YCGC.js} +11 -11
  35. package/dist/{chunk-KNNTV7IN.js → chunk-NVNI2SRU.js} +213 -687
  36. package/dist/{chunk-2Q43C56O.js → chunk-O2AHE2LQ.js} +5 -5
  37. package/dist/{chunk-H5STSTVK.js → chunk-OAT7ZJED.js} +20 -7
  38. package/dist/{chunk-DOY5PWV6.js → chunk-PXYIFYEC.js} +96 -40
  39. package/dist/chunk-PZMRR772.js +41 -0
  40. package/dist/{chunk-VFZCLI5X.js → chunk-QJ3QPUM5.js} +5 -5
  41. package/dist/{chunk-5I4ERIIY.js → chunk-RS2R7COT.js} +9 -3
  42. package/dist/{chunk-24ZPBDBI.js → chunk-S4PA7OZ7.js} +11 -11
  43. package/dist/{chunk-LA5QBRTU.js → chunk-SOKSKSEX.js} +20 -14
  44. package/dist/chunk-T2PM5TKT.js +55 -0
  45. package/dist/{chunk-QGQTFZOZ.js → chunk-T2UCYUSA.js} +20 -14
  46. package/dist/{chunk-5SJXW6MS.js → chunk-TBR6SNKL.js} +5 -5
  47. package/dist/{chunk-MLFKBBDL.js → chunk-TQFONRJP.js} +5 -5
  48. package/dist/{chunk-WSZXPLJQ.js → chunk-TZJROXB3.js} +4 -4
  49. package/dist/{chunk-WJKBKH3Y.js → chunk-UHI6VYFX.js} +5 -5
  50. package/dist/{chunk-BM3JIFQT.js → chunk-UQUWZJVN.js} +7 -7
  51. package/dist/{chunk-ARC7TW3L.js → chunk-WFNB7VRA.js} +14 -4
  52. package/dist/{chunk-COA7HD3T.js → chunk-WYQJ4JWO.js} +12 -12
  53. package/dist/{chunk-73HXEN2A.js → chunk-ZI7MNI3W.js} +5 -5
  54. package/dist/cli/checkUnsupportedDataProxy.js +60 -53
  55. package/dist/cli/checkUnsupportedSchemaEngineWasm.d.ts +22 -0
  56. package/dist/cli/checkUnsupportedSchemaEngineWasm.js +135 -0
  57. package/dist/cli/getGeneratorSuccessMessage.js +3 -2
  58. package/dist/cli/getSchema.d.ts +15 -1
  59. package/dist/cli/getSchema.js +5 -4
  60. package/dist/cli/hashes.js +4 -4
  61. package/dist/cli/schemaContext.d.ts +11 -2
  62. package/dist/cli/schemaContext.js +60 -53
  63. package/dist/client/getClientEngineType.d.ts +7 -0
  64. package/dist/client/getClientEngineType.js +26 -0
  65. package/dist/dotenvExpand.d.ts +35 -0
  66. package/dist/dotenvExpand.js +25 -0
  67. package/dist/engine-commands/errorHelpers.js +4 -4
  68. package/dist/engine-commands/formatSchema.js +59 -52
  69. package/dist/engine-commands/getConfig.d.ts +1 -0
  70. package/dist/engine-commands/getConfig.js +13 -13
  71. package/dist/engine-commands/getDmmf.js +10 -10
  72. package/dist/engine-commands/getEngineVersion.js +9 -6
  73. package/dist/engine-commands/getEnginesInfo.d.ts +1 -0
  74. package/dist/engine-commands/getEnginesInfo.js +9 -7
  75. package/dist/engine-commands/index.js +71 -64
  76. package/dist/engine-commands/lintSchema.js +9 -9
  77. package/dist/engine-commands/mergeSchemas.js +10 -10
  78. package/dist/engine-commands/queryEngineCommons.js +6 -6
  79. package/dist/engine-commands/validate.js +10 -10
  80. package/dist/errorReporting.js +6 -6
  81. package/dist/get-generators/getGenerators.d.ts +1 -0
  82. package/dist/get-generators/getGenerators.js +62 -55
  83. package/dist/get-generators/utils/binaryTypeToEngineType.js +2 -2
  84. package/dist/get-generators/utils/engineTypeToBinaryType.js +2 -2
  85. package/dist/get-generators/utils/getBinaryPathsByVersion.js +5 -6
  86. package/dist/getPackedPackage.js +3 -4
  87. package/dist/index.d.ts +10 -1
  88. package/dist/index.js +112 -95
  89. package/dist/{multipart-parser-UV3WZSWW.js → multipart-parser-3AFJFP6K.js} +6 -6
  90. package/dist/resolveBinary.js +7 -8
  91. package/dist/schemaEngineCommands.js +8 -9
  92. package/dist/sendPanic.js +4 -4
  93. package/dist/utils/cloudflareD1.d.ts +5 -0
  94. package/dist/utils/cloudflareD1.js +27 -0
  95. package/dist/utils/drawBox.js +2 -2
  96. package/dist/utils/fs-functional.js +10 -10
  97. package/dist/utils/fs-utils.js +8 -8
  98. package/dist/utils/getEnvPaths.d.ts +14 -0
  99. package/dist/utils/getEnvPaths.js +29 -0
  100. package/dist/utils/getVersionFromPackageJson.js +3 -3
  101. package/dist/utils/handleEngineLoadingErrors.d.ts +8 -0
  102. package/dist/utils/handleEngineLoadingErrors.js +27 -0
  103. package/dist/utils/handlePanic.js +6 -6
  104. package/dist/utils/link.js +2 -2
  105. package/dist/utils/load.d.ts +6 -0
  106. package/dist/utils/load.js +28 -0
  107. package/dist/utils/loadEnvFile.d.ts +10 -0
  108. package/dist/utils/loadEnvFile.js +30 -0
  109. package/dist/utils/missingDatasource.js +3 -3
  110. package/dist/utils/missingGeneratorMessage.js +5 -5
  111. package/dist/utils/serializeQueryEngineName.js +2 -2
  112. package/dist/utils/tryLoadEnvs.d.ts +25 -0
  113. package/dist/utils/tryLoadEnvs.js +30 -0
  114. package/dist/wasm.js +5 -5
  115. package/package.json +16 -15
  116. package/dist/chunk-DYV47NUW.js +0 -796
@@ -18,22 +18,22 @@ var __copyProps = (to, from, except, desc) => {
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
19
  var validate_exports = {};
20
20
  __export(validate_exports, {
21
- ValidateError: () => import_chunk_COA7HD3T.ValidateError,
22
- validate: () => import_chunk_COA7HD3T.validate
21
+ ValidateError: () => import_chunk_BSTUWVHD.ValidateError,
22
+ validate: () => import_chunk_BSTUWVHD.validate
23
23
  });
24
24
  module.exports = __toCommonJS(validate_exports);
25
- var import_chunk_COA7HD3T = require("../chunk-COA7HD3T.js");
26
- var import_chunk_WSZXPLJQ = require("../chunk-WSZXPLJQ.js");
27
- var import_chunk_R6QH57HZ = require("../chunk-R6QH57HZ.js");
25
+ var import_chunk_BSTUWVHD = require("../chunk-BSTUWVHD.js");
26
+ var import_chunk_TZJROXB3 = require("../chunk-TZJROXB3.js");
28
27
  var import_chunk_C47SCASR = require("../chunk-C47SCASR.js");
29
- var import_chunk_QJDVKII7 = require("../chunk-QJDVKII7.js");
28
+ var import_chunk_R6QH57HZ = require("../chunk-R6QH57HZ.js");
29
+ var import_chunk_O2AHE2LQ = require("../chunk-O2AHE2LQ.js");
30
+ var import_chunk_6K6FK4UW = require("../chunk-6K6FK4UW.js");
30
31
  var import_chunk_QN6PSQY7 = require("../chunk-QN6PSQY7.js");
31
- var import_chunk_WITEP52Z = require("../chunk-WITEP52Z.js");
32
- var import_chunk_VITPVRRI = require("../chunk-VITPVRRI.js");
33
- var import_chunk_ANOE4NZ5 = require("../chunk-ANOE4NZ5.js");
32
+ var import_chunk_EWDCQQHP = require("../chunk-EWDCQQHP.js");
33
+ var import_chunk_6ZGNGCXO = require("../chunk-6ZGNGCXO.js");
34
34
  var import_chunk_5DBOS77Y = require("../chunk-5DBOS77Y.js");
35
35
  var import_chunk_XKZ6CBLA = require("../chunk-XKZ6CBLA.js");
36
36
  var import_chunk_LMVSIVKQ = require("../chunk-LMVSIVKQ.js");
37
- var import_chunk_WXRVYSYN = require("../chunk-WXRVYSYN.js");
38
37
  var import_chunk_PG5FDKSF = require("../chunk-PG5FDKSF.js");
38
+ var import_chunk_WXRVYSYN = require("../chunk-WXRVYSYN.js");
39
39
  var import_chunk_4VNS5WPM = require("../chunk-4VNS5WPM.js");
@@ -18,12 +18,12 @@ var __copyProps = (to, from, except, desc) => {
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
19
  var errorReporting_exports = {};
20
20
  __export(errorReporting_exports, {
21
- ErrorKind: () => import_chunk_MEOOYUIZ.ErrorKind,
22
- createErrorReport: () => import_chunk_MEOOYUIZ.createErrorReport,
23
- makeErrorReportCompleted: () => import_chunk_MEOOYUIZ.makeErrorReportCompleted,
24
- uploadZip: () => import_chunk_MEOOYUIZ.uploadZip
21
+ ErrorKind: () => import_chunk_5AI4FIZ3.ErrorKind,
22
+ createErrorReport: () => import_chunk_5AI4FIZ3.createErrorReport,
23
+ makeErrorReportCompleted: () => import_chunk_5AI4FIZ3.makeErrorReportCompleted,
24
+ uploadZip: () => import_chunk_5AI4FIZ3.uploadZip
25
25
  });
26
26
  module.exports = __toCommonJS(errorReporting_exports);
27
- var import_chunk_MEOOYUIZ = require("./chunk-MEOOYUIZ.js");
28
- var import_chunk_KNNTV7IN = require("./chunk-KNNTV7IN.js");
27
+ var import_chunk_5AI4FIZ3 = require("./chunk-5AI4FIZ3.js");
28
+ var import_chunk_NVNI2SRU = require("./chunk-NVNI2SRU.js");
29
29
  var import_chunk_4VNS5WPM = require("./chunk-4VNS5WPM.js");
@@ -34,6 +34,7 @@ export type GetGeneratorOptions = {
34
34
  binaryPathsOverride?: BinaryPathsOverride;
35
35
  generatorNames?: string[];
36
36
  postinstall?: boolean;
37
+ noEngine?: boolean;
37
38
  allowNoModels?: boolean;
38
39
  typedSql?: SqlQueryOutput[];
39
40
  extensions?: {};
@@ -18,113 +18,120 @@ var __copyProps = (to, from, except, desc) => {
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
19
  var getGenerators_exports = {};
20
20
  __export(getGenerators_exports, {
21
- getGenerator: () => import_chunk_5ZSVGCMS.getGenerator,
22
- getGenerators: () => import_chunk_5ZSVGCMS.getGenerators,
23
- knownBinaryTargets: () => import_chunk_5ZSVGCMS.knownBinaryTargets,
24
- skipIndex: () => import_chunk_5ZSVGCMS.skipIndex
21
+ getGenerator: () => import_chunk_PXYIFYEC.getGenerator,
22
+ getGenerators: () => import_chunk_PXYIFYEC.getGenerators,
23
+ knownBinaryTargets: () => import_chunk_PXYIFYEC.knownBinaryTargets,
24
+ skipIndex: () => import_chunk_PXYIFYEC.skipIndex
25
25
  });
26
26
  module.exports = __toCommonJS(getGenerators_exports);
27
- var import_chunk_5ZSVGCMS = require("../chunk-5ZSVGCMS.js");
27
+ var import_chunk_PXYIFYEC = require("../chunk-PXYIFYEC.js");
28
+ var import_chunk_X3P4J7WW = require("../chunk-X3P4J7WW.js");
28
29
  var import_chunk_LRU47BGE = require("../chunk-LRU47BGE.js");
29
30
  var import_chunk_OSHZ4P3G = require("../chunk-OSHZ4P3G.js");
30
31
  var import_chunk_X77CS5RK = require("../chunk-X77CS5RK.js");
31
- var import_chunk_5MHUYAV3 = require("../chunk-5MHUYAV3.js");
32
- var import_chunk_5I4ERIIY = require("../chunk-5I4ERIIY.js");
33
- var import_chunk_GJSFP4V4 = require("../chunk-GJSFP4V4.js");
34
- var import_chunk_X3P4J7WW = require("../chunk-X3P4J7WW.js");
32
+ var import_chunk_F2OZV76L = require("../chunk-F2OZV76L.js");
33
+ var import_chunk_RS2R7COT = require("../chunk-RS2R7COT.js");
34
+ var import_chunk_4CGPN5SR = require("../chunk-4CGPN5SR.js");
35
35
  var import_chunk_GXW4NTU2 = require("../chunk-GXW4NTU2.js");
36
36
  var import_chunk_5FJ3MENK = require("../chunk-5FJ3MENK.js");
37
37
  var import_chunk_PFYALFCY = require("../chunk-PFYALFCY.js");
38
- var import_chunk_5W3BSMTH = require("../chunk-5W3BSMTH.js");
38
+ var import_chunk_HO5HRHFZ = require("../chunk-HO5HRHFZ.js");
39
39
  var import_chunk_ANU3HEGF = require("../chunk-ANU3HEGF.js");
40
40
  var import_chunk_LRBXMV4B = require("../chunk-LRBXMV4B.js");
41
- var import_chunk_MYLPCGTT = require("../chunk-MYLPCGTT.js");
42
- var import_chunk_TGA7DC5A = require("../chunk-TGA7DC5A.js");
41
+ var import_chunk_7QC5VORA = require("../chunk-7QC5VORA.js");
42
+ var import_chunk_AX5N26KG = require("../chunk-AX5N26KG.js");
43
43
  var import_chunk_2SDPW6AX = require("../chunk-2SDPW6AX.js");
44
- var import_chunk_RBDYOTWB = require("../chunk-RBDYOTWB.js");
45
- var import_chunk_ZKWDIAVF = require("../chunk-ZKWDIAVF.js");
44
+ var import_chunk_PZMRR772 = require("../chunk-PZMRR772.js");
46
45
  var import_chunk_7B5PXS6N = require("../chunk-7B5PXS6N.js");
47
46
  var import_chunk_UGR6KLZN = require("../chunk-UGR6KLZN.js");
48
47
  var import_chunk_CGFNDGGI = require("../chunk-CGFNDGGI.js");
49
- var import_chunk_BM3JIFQT = require("../chunk-BM3JIFQT.js");
50
- var import_chunk_3WXUQZS7 = require("../chunk-3WXUQZS7.js");
51
- var import_chunk_WV4QHCSM = require("../chunk-WV4QHCSM.js");
52
48
  var import_chunk_XXTPN4LB = require("../chunk-XXTPN4LB.js");
53
49
  var import_chunk_2IOZUH3U = require("../chunk-2IOZUH3U.js");
54
50
  var import_chunk_JTKAT4KZ = require("../chunk-JTKAT4KZ.js");
55
- var import_chunk_SMJRM3EM = require("../chunk-SMJRM3EM.js");
56
- var import_chunk_MLFKBBDL = require("../chunk-MLFKBBDL.js");
57
- var import_chunk_J77ZIDXB = require("../chunk-J77ZIDXB.js");
51
+ var import_chunk_RBDYOTWB = require("../chunk-RBDYOTWB.js");
52
+ var import_chunk_ZKWDIAVF = require("../chunk-ZKWDIAVF.js");
58
53
  var import_chunk_CUD726EK = require("../chunk-CUD726EK.js");
59
54
  var import_chunk_BERN76ZI = require("../chunk-BERN76ZI.js");
60
- var import_chunk_7IKUTPWQ = require("../chunk-7IKUTPWQ.js");
55
+ var import_chunk_46ABODUM = require("../chunk-46ABODUM.js");
56
+ var import_chunk_3FP46GUV = require("../chunk-3FP46GUV.js");
61
57
  var import_chunk_RFB2U4GQ = require("../chunk-RFB2U4GQ.js");
58
+ var import_chunk_UQUWZJVN = require("../chunk-UQUWZJVN.js");
59
+ var import_chunk_I6WLABB2 = require("../chunk-I6WLABB2.js");
60
+ var import_chunk_7IKUTPWQ = require("../chunk-7IKUTPWQ.js");
61
+ var import_chunk_WV4QHCSM = require("../chunk-WV4QHCSM.js");
62
+ var import_chunk_D4VDA2TZ = require("../chunk-D4VDA2TZ.js");
63
+ var import_chunk_HHG4DGHC = require("../chunk-HHG4DGHC.js");
64
+ var import_chunk_CRVLHWC5 = require("../chunk-CRVLHWC5.js");
65
+ var import_chunk_75BIJ5PX = require("../chunk-75BIJ5PX.js");
66
+ var import_chunk_TQFONRJP = require("../chunk-TQFONRJP.js");
67
+ var import_chunk_J77ZIDXB = require("../chunk-J77ZIDXB.js");
68
+ var import_chunk_HW5RCZSE = require("../chunk-HW5RCZSE.js");
69
+ var import_chunk_Y4TOGY6I = require("../chunk-Y4TOGY6I.js");
70
+ var import_chunk_IL7PSY44 = require("../chunk-IL7PSY44.js");
62
71
  var import_chunk_DODIJPCS = require("../chunk-DODIJPCS.js");
63
72
  var import_chunk_L6KOIJJ5 = require("../chunk-L6KOIJJ5.js");
64
73
  var import_chunk_NIWBAJZV = require("../chunk-NIWBAJZV.js");
65
74
  var import_chunk_FCYHZHVW = require("../chunk-FCYHZHVW.js");
66
75
  var import_chunk_H4NI2RIK = require("../chunk-H4NI2RIK.js");
67
76
  var import_chunk_ICFLO5JW = require("../chunk-ICFLO5JW.js");
68
- var import_chunk_CGLLQXZE = require("../chunk-CGLLQXZE.js");
69
- var import_chunk_CRVLHWC5 = require("../chunk-CRVLHWC5.js");
77
+ var import_chunk_BSTUWVHD = require("../chunk-BSTUWVHD.js");
70
78
  var import_chunk_TQCLUNM2 = require("../chunk-TQCLUNM2.js");
71
79
  var import_chunk_OIVPX3BR = require("../chunk-OIVPX3BR.js");
72
80
  var import_chunk_CYAS6B5N = require("../chunk-CYAS6B5N.js");
73
81
  var import_chunk_HPVMQFIY = require("../chunk-HPVMQFIY.js");
74
82
  var import_chunk_E23HYCQJ = require("../chunk-E23HYCQJ.js");
75
- var import_chunk_HW5RCZSE = require("../chunk-HW5RCZSE.js");
76
- var import_chunk_Y4TOGY6I = require("../chunk-Y4TOGY6I.js");
77
- var import_chunk_IL7PSY44 = require("../chunk-IL7PSY44.js");
78
- var import_chunk_22HIO2UL = require("../chunk-22HIO2UL.js");
79
- var import_chunk_H5STSTVK = require("../chunk-H5STSTVK.js");
80
- var import_chunk_5SJXW6MS = require("../chunk-5SJXW6MS.js");
81
- var import_chunk_WKOGDEF4 = require("../chunk-WKOGDEF4.js");
82
- var import_chunk_COA7HD3T = require("../chunk-COA7HD3T.js");
83
- var import_chunk_GL7OANR6 = require("../chunk-GL7OANR6.js");
84
- var import_chunk_D4VZUY3O = require("../chunk-D4VZUY3O.js");
85
- var import_chunk_QGQTFZOZ = require("../chunk-QGQTFZOZ.js");
86
- var import_chunk_RVTU2FIM = require("../chunk-RVTU2FIM.js");
87
- var import_chunk_WSZXPLJQ = require("../chunk-WSZXPLJQ.js");
88
- var import_chunk_R6QH57HZ = require("../chunk-R6QH57HZ.js");
83
+ var import_chunk_T2UCYUSA = require("../chunk-T2UCYUSA.js");
84
+ var import_chunk_S4PA7OZ7 = require("../chunk-S4PA7OZ7.js");
85
+ var import_chunk_GMW36QQF = require("../chunk-GMW36QQF.js");
86
+ var import_chunk_OAT7ZJED = require("../chunk-OAT7ZJED.js");
87
+ var import_chunk_6TTRTZXU = require("../chunk-6TTRTZXU.js");
88
+ var import_chunk_DZYINYAA = require("../chunk-DZYINYAA.js");
89
+ var import_chunk_ZI7MNI3W = require("../chunk-ZI7MNI3W.js");
90
+ var import_chunk_E5VGO6SU = require("../chunk-E5VGO6SU.js");
91
+ var import_chunk_TZJROXB3 = require("../chunk-TZJROXB3.js");
89
92
  var import_chunk_C47SCASR = require("../chunk-C47SCASR.js");
90
- var import_chunk_QJDVKII7 = require("../chunk-QJDVKII7.js");
93
+ var import_chunk_R6QH57HZ = require("../chunk-R6QH57HZ.js");
94
+ var import_chunk_J7ZPY2XA = require("../chunk-J7ZPY2XA.js");
95
+ var import_chunk_4JCVHBYR = require("../chunk-4JCVHBYR.js");
96
+ var import_chunk_EYVG6XQS = require("../chunk-EYVG6XQS.js");
97
+ var import_chunk_D4VZUY3O = require("../chunk-D4VZUY3O.js");
98
+ var import_chunk_O2AHE2LQ = require("../chunk-O2AHE2LQ.js");
99
+ var import_chunk_6K6FK4UW = require("../chunk-6K6FK4UW.js");
91
100
  var import_chunk_QN6PSQY7 = require("../chunk-QN6PSQY7.js");
92
- var import_chunk_WITEP52Z = require("../chunk-WITEP52Z.js");
93
101
  var import_chunk_DTPFRZWV = require("../chunk-DTPFRZWV.js");
94
- var import_chunk_VITPVRRI = require("../chunk-VITPVRRI.js");
95
- var import_chunk_ANOE4NZ5 = require("../chunk-ANOE4NZ5.js");
102
+ var import_chunk_EWDCQQHP = require("../chunk-EWDCQQHP.js");
103
+ var import_chunk_6ZGNGCXO = require("../chunk-6ZGNGCXO.js");
96
104
  var import_chunk_6JE6QGSJ = require("../chunk-6JE6QGSJ.js");
97
105
  var import_chunk_BCQZ6JQE = require("../chunk-BCQZ6JQE.js");
98
- var import_chunk_ARC7TW3L = require("../chunk-ARC7TW3L.js");
106
+ var import_chunk_WFNB7VRA = require("../chunk-WFNB7VRA.js");
99
107
  var import_chunk_XYCIH36R = require("../chunk-XYCIH36R.js");
100
- var import_chunk_OKVM3CW4 = require("../chunk-OKVM3CW4.js");
101
- var import_chunk_J7ZPY2XA = require("../chunk-J7ZPY2XA.js");
108
+ var import_chunk_ERSH2BQA = require("../chunk-ERSH2BQA.js");
109
+ var import_chunk_ZJWZK45Z = require("../chunk-ZJWZK45Z.js");
102
110
  var import_chunk_2B26F5N3 = require("../chunk-2B26F5N3.js");
103
- var import_chunk_WJKBKH3Y = require("../chunk-WJKBKH3Y.js");
111
+ var import_chunk_UHI6VYFX = require("../chunk-UHI6VYFX.js");
104
112
  var import_chunk_JOIHHXR6 = require("../chunk-JOIHHXR6.js");
105
- var import_chunk_HNRMSI3R = require("../chunk-HNRMSI3R.js");
113
+ var import_chunk_FYZCPL2Z = require("../chunk-FYZCPL2Z.js");
106
114
  var import_chunk_M3GBKLGE = require("../chunk-M3GBKLGE.js");
107
- var import_chunk_FF7OLLBP = require("../chunk-FF7OLLBP.js");
115
+ var import_chunk_IDINCQMN = require("../chunk-IDINCQMN.js");
108
116
  var import_chunk_TWSLDIFL = require("../chunk-TWSLDIFL.js");
109
117
  var import_chunk_5DBOS77Y = require("../chunk-5DBOS77Y.js");
110
- var import_chunk_BUQN4WLU = require("../chunk-BUQN4WLU.js");
118
+ var import_chunk_HFFWZTVM = require("../chunk-HFFWZTVM.js");
111
119
  var import_chunk_KDHESRKE = require("../chunk-KDHESRKE.js");
112
120
  var import_chunk_XKZ6CBLA = require("../chunk-XKZ6CBLA.js");
113
121
  var import_chunk_LMVSIVKQ = require("../chunk-LMVSIVKQ.js");
114
122
  var import_chunk_BPDMLM32 = require("../chunk-BPDMLM32.js");
115
123
  var import_chunk_IOIAK7V7 = require("../chunk-IOIAK7V7.js");
124
+ var import_chunk_PG5FDKSF = require("../chunk-PG5FDKSF.js");
116
125
  var import_chunk_WXRVYSYN = require("../chunk-WXRVYSYN.js");
117
126
  var import_chunk_SBUSVJCV = require("../chunk-SBUSVJCV.js");
118
127
  var import_chunk_LYFOJ5NK = require("../chunk-LYFOJ5NK.js");
119
128
  var import_chunk_LPNBWFQ3 = require("../chunk-LPNBWFQ3.js");
120
- var import_chunk_MEOOYUIZ = require("../chunk-MEOOYUIZ.js");
121
- var import_chunk_KNNTV7IN = require("../chunk-KNNTV7IN.js");
122
- var import_chunk_QSVWJ2S2 = require("../chunk-QSVWJ2S2.js");
129
+ var import_chunk_T2PM5TKT = require("../chunk-T2PM5TKT.js");
130
+ var import_chunk_5AI4FIZ3 = require("../chunk-5AI4FIZ3.js");
131
+ var import_chunk_NVNI2SRU = require("../chunk-NVNI2SRU.js");
132
+ var import_chunk_BVJP43JS = require("../chunk-BVJP43JS.js");
123
133
  var import_chunk_KDP6C3CB = require("../chunk-KDP6C3CB.js");
124
- var import_chunk_QOZ7USPD = require("../chunk-QOZ7USPD.js");
134
+ var import_chunk_JOIIWB3U = require("../chunk-JOIIWB3U.js");
125
135
  var import_chunk_UMM35VP5 = require("../chunk-UMM35VP5.js");
126
136
  var import_chunk_5VQNKCKW = require("../chunk-5VQNKCKW.js");
127
- var import_chunk_DYV47NUW = require("../chunk-DYV47NUW.js");
128
- var import_chunk_ZJWZK45Z = require("../chunk-ZJWZK45Z.js");
129
- var import_chunk_PG5FDKSF = require("../chunk-PG5FDKSF.js");
130
137
  var import_chunk_4VNS5WPM = require("../chunk-4VNS5WPM.js");
@@ -18,8 +18,8 @@ var __copyProps = (to, from, except, desc) => {
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
19
  var binaryTypeToEngineType_exports = {};
20
20
  __export(binaryTypeToEngineType_exports, {
21
- binaryTypeToEngineType: () => import_chunk_5I4ERIIY.binaryTypeToEngineType
21
+ binaryTypeToEngineType: () => import_chunk_RS2R7COT.binaryTypeToEngineType
22
22
  });
23
23
  module.exports = __toCommonJS(binaryTypeToEngineType_exports);
24
- var import_chunk_5I4ERIIY = require("../../chunk-5I4ERIIY.js");
24
+ var import_chunk_RS2R7COT = require("../../chunk-RS2R7COT.js");
25
25
  var import_chunk_4VNS5WPM = require("../../chunk-4VNS5WPM.js");
@@ -18,8 +18,8 @@ var __copyProps = (to, from, except, desc) => {
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
19
  var engineTypeToBinaryType_exports = {};
20
20
  __export(engineTypeToBinaryType_exports, {
21
- engineTypeToBinaryType: () => import_chunk_GJSFP4V4.engineTypeToBinaryType
21
+ engineTypeToBinaryType: () => import_chunk_4CGPN5SR.engineTypeToBinaryType
22
22
  });
23
23
  module.exports = __toCommonJS(engineTypeToBinaryType_exports);
24
- var import_chunk_GJSFP4V4 = require("../../chunk-GJSFP4V4.js");
24
+ var import_chunk_4CGPN5SR = require("../../chunk-4CGPN5SR.js");
25
25
  var import_chunk_4VNS5WPM = require("../../chunk-4VNS5WPM.js");
@@ -18,14 +18,13 @@ var __copyProps = (to, from, except, desc) => {
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
19
  var getBinaryPathsByVersion_exports = {};
20
20
  __export(getBinaryPathsByVersion_exports, {
21
- getBinaryPathsByVersion: () => import_chunk_5MHUYAV3.getBinaryPathsByVersion
21
+ getBinaryPathsByVersion: () => import_chunk_F2OZV76L.getBinaryPathsByVersion
22
22
  });
23
23
  module.exports = __toCommonJS(getBinaryPathsByVersion_exports);
24
- var import_chunk_5MHUYAV3 = require("../../chunk-5MHUYAV3.js");
25
- var import_chunk_5I4ERIIY = require("../../chunk-5I4ERIIY.js");
26
- var import_chunk_GJSFP4V4 = require("../../chunk-GJSFP4V4.js");
24
+ var import_chunk_F2OZV76L = require("../../chunk-F2OZV76L.js");
25
+ var import_chunk_RS2R7COT = require("../../chunk-RS2R7COT.js");
26
+ var import_chunk_4CGPN5SR = require("../../chunk-4CGPN5SR.js");
27
27
  var import_chunk_2SDPW6AX = require("../../chunk-2SDPW6AX.js");
28
28
  var import_chunk_7B5PXS6N = require("../../chunk-7B5PXS6N.js");
29
- var import_chunk_FF7OLLBP = require("../../chunk-FF7OLLBP.js");
30
- var import_chunk_DYV47NUW = require("../../chunk-DYV47NUW.js");
29
+ var import_chunk_IDINCQMN = require("../../chunk-IDINCQMN.js");
31
30
  var import_chunk_4VNS5WPM = require("../../chunk-4VNS5WPM.js");
@@ -18,13 +18,12 @@ var __copyProps = (to, from, except, desc) => {
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
19
  var getPackedPackage_exports = {};
20
20
  __export(getPackedPackage_exports, {
21
- getPackedPackage: () => import_chunk_QSVWJ2S2.getPackedPackage
21
+ getPackedPackage: () => import_chunk_BVJP43JS.getPackedPackage
22
22
  });
23
23
  module.exports = __toCommonJS(getPackedPackage_exports);
24
- var import_chunk_QSVWJ2S2 = require("./chunk-QSVWJ2S2.js");
24
+ var import_chunk_BVJP43JS = require("./chunk-BVJP43JS.js");
25
25
  var import_chunk_KDP6C3CB = require("./chunk-KDP6C3CB.js");
26
- var import_chunk_QOZ7USPD = require("./chunk-QOZ7USPD.js");
26
+ var import_chunk_JOIIWB3U = require("./chunk-JOIIWB3U.js");
27
27
  var import_chunk_UMM35VP5 = require("./chunk-UMM35VP5.js");
28
28
  var import_chunk_5VQNKCKW = require("./chunk-5VQNKCKW.js");
29
- var import_chunk_DYV47NUW = require("./chunk-DYV47NUW.js");
30
29
  var import_chunk_4VNS5WPM = require("./chunk-4VNS5WPM.js");
package/dist/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  export { checkUnsupportedDataProxy } from './cli/checkUnsupportedDataProxy';
2
+ export { checkUnsupportedSchemaEngineWasm } from './cli/checkUnsupportedSchemaEngineWasm';
2
3
  export { type DirectoryConfig, inferDirectoryConfig } from './cli/directoryConfig';
3
4
  export { getGeneratorSuccessMessage } from './cli/getGeneratorSuccessMessage';
4
5
  export { type GetSchemaOptions, getSchemaWithPath, getSchemaWithPathOptional, printSchemaLoadedMessage, } from './cli/getSchema';
@@ -9,6 +10,7 @@ export { HelpError } from './cli/Help';
9
10
  export { loadSchemaContext, processSchemaResult, type SchemaContext } from './cli/schemaContext';
10
11
  export type { Command, Commands, CompiledGeneratorDefinition, Dictionary, GeneratorConfig, GeneratorDefinition, GeneratorDefinitionWithPackage, GeneratorFunction, GeneratorOptions, } from './cli/types';
11
12
  export { arg, format, isError } from './cli/utils';
13
+ export { ClientEngineType, getClientEngineType } from './client/getClientEngineType';
12
14
  export { credentialsToUri, protocolToConnectorType, uriToCredentials } from './convertCredentials';
13
15
  export * from './engine-commands';
14
16
  export { resolveUrl } from './engine-commands/getConfig';
@@ -38,6 +40,7 @@ export { default as byline } from './utils/byline';
38
40
  export { callOnceOnSuccess } from './utils/callOnce';
39
41
  export { canPrompt } from './utils/canPrompt';
40
42
  export { chmodPlusX } from './utils/chmodPlusX';
43
+ export { locateLocalCloudflareD1 } from './utils/cloudflareD1';
41
44
  export { drawBox } from './utils/drawBox';
42
45
  export { extractPreviewFeatures } from './utils/extractPreviewFeatures';
43
46
  export { formatms } from './utils/formatms';
@@ -45,8 +48,10 @@ export { formatTable } from './utils/formatTable';
45
48
  export * as fsFunctional from './utils/fs-functional';
46
49
  export * as fsUtils from './utils/fs-utils';
47
50
  export { getCommandWithExecutor } from './utils/getCommandWithExecutor';
51
+ export { getEnvPaths } from './utils/getEnvPaths';
48
52
  export { getMigrateConfigDir } from './utils/getMigrateConfigDir';
49
53
  export { version } from './utils/getVersionFromPackageJson';
54
+ export { handleLibraryLoadingErrors } from './utils/handleEngineLoadingErrors';
50
55
  export { handlePanic } from './utils/handlePanic';
51
56
  export { hasOwnProperty } from './utils/hasOwnProperty';
52
57
  export { isCi } from './utils/isCi';
@@ -58,6 +63,8 @@ export { isPromiseLike } from './utils/isPromiseLike';
58
63
  export { isValidJsIdentifier } from './utils/isValidJsIdentifier';
59
64
  export { keyBy } from './utils/keyBy';
60
65
  export { link } from './utils/link';
66
+ export { loadLibrary as load } from './utils/load';
67
+ export { loadEnvFile } from './utils/loadEnvFile';
61
68
  export { mapObjectValues } from './utils/mapObjectValues';
62
69
  export { maskSchema } from './utils/maskSchema';
63
70
  export { maxBy, maxWithComparator } from './utils/max';
@@ -74,10 +81,12 @@ export { type MultipleSchemas } from './utils/schemaFileInput';
74
81
  export { serializeQueryEngineName } from './utils/serializeQueryEngineName';
75
82
  export { setClassName } from './utils/setClassName';
76
83
  export { toSchemasContainer, toSchemasWithConfigDir } from './utils/toSchemasContainer';
84
+ export { type LoadedEnv, tryLoadEnvs } from './utils/tryLoadEnvs';
77
85
  export { vercelPkgPathRegex } from './utils/vercelPkgPathRegex';
78
86
  export { warnOnce } from './warnOnce';
79
87
  export * as wasm from './wasm';
80
88
  export { wasmSchemaEngineLoader } from './WasmSchemaEngineLoader';
89
+ export type { EnvPaths } from '@prisma/generator';
81
90
  export type { BinaryTarget } from '@prisma/get-platform';
82
- export { getBinaryTargetForCurrentPlatform } from '@prisma/get-platform';
91
+ export { getBinaryTargetForCurrentPlatform, getNodeAPIName } from '@prisma/get-platform';
83
92
  export type { GetSchemaResult } from '@prisma/schema-files-loader';