@prisma/internals 6.19.0-integration-next.22 → 6.19.0

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-W6ZWX546.js → chunk-2GUGGLPK.js} +71 -38
  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-EK3NXGEC.js → chunk-5IQ5L5E4.js} +71 -38
  8. package/dist/chunk-6TTRTZXU.js +37 -0
  9. package/dist/{chunk-UB2X7DGZ.js → chunk-75BIJ5PX.js} +9 -9
  10. package/dist/{chunk-MYLPCGTT.js → chunk-7QC5VORA.js} +5 -5
  11. package/dist/{chunk-6QTJ35DP.js → chunk-AP3F7M3T.js} +12 -12
  12. package/dist/{chunk-TGA7DC5A.js → chunk-AX5N26KG.js} +9 -14
  13. package/dist/{chunk-32LLAKF4.js → chunk-BVJP43JS.js} +784 -13
  14. package/dist/{chunk-G4R3KIUK.js → chunk-C7SAKLK2.js} +11 -11
  15. package/dist/{chunk-5B5U2HVK.js → chunk-CCLAMTCA.js} +8 -7
  16. package/dist/{chunk-IRWX4FCC.js → chunk-D4VDA2TZ.js} +6 -6
  17. package/dist/{chunk-SU3YFXA4.js → chunk-D7OTFXCP.js} +5 -5
  18. package/dist/chunk-DZYINYAA.js +68 -0
  19. package/dist/{chunk-HQE53CGA.js → chunk-E4H6V3Z4.js} +11 -11
  20. package/dist/{chunk-6FP5PMMX.js → chunk-E6MOBIU5.js} +5 -5
  21. package/dist/chunk-ERSH2BQA.js +58 -0
  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-R3J2O23S.js → chunk-FCYHZHVW.js} +4 -4
  25. package/dist/{chunk-BKHAMV6G.js → chunk-FGU7IK4W.js} +9 -8
  26. package/dist/{chunk-STBFWZNS.js → chunk-FHZ5QJLR.js} +5 -5
  27. package/dist/{chunk-3CAPLXKF.js → chunk-FYZCPL2Z.js} +8 -5
  28. package/dist/{chunk-DOO45FN6.js → chunk-GMW36QQF.js} +7 -7
  29. package/dist/{chunk-BUQN4WLU.js → chunk-HFFWZTVM.js} +9 -7
  30. package/dist/{chunk-CGLLQXZE.js → chunk-HHG4DGHC.js} +12 -11
  31. package/dist/{chunk-5W3BSMTH.js → chunk-HO5HRHFZ.js} +6 -3
  32. package/dist/{chunk-3WXUQZS7.js → chunk-I6WLABB2.js} +5 -14
  33. package/dist/{chunk-FF7OLLBP.js → chunk-IDINCQMN.js} +784 -12
  34. package/dist/{chunk-2LOGW45F.js → chunk-JOIIWB3U.js} +33 -68
  35. package/dist/{chunk-2KREE2OX.js → chunk-JTS4UPHJ.js} +5 -5
  36. package/dist/{chunk-33FYCEWF.js → chunk-LFFCR67R.js} +20 -14
  37. package/dist/{chunk-AZFHZFLX.js → chunk-LU7NT333.js} +11 -11
  38. package/dist/{chunk-HBU4ZVCA.js → chunk-LV27YCGC.js} +11 -11
  39. package/dist/{chunk-KNNTV7IN.js → chunk-NVNI2SRU.js} +213 -687
  40. package/dist/{chunk-4YDN7W7B.js → chunk-OAT7ZJED.js} +20 -7
  41. package/dist/{chunk-25ON3V6C.js → chunk-PHFQSMQF.js} +5 -5
  42. package/dist/chunk-PZMRR772.js +41 -0
  43. package/dist/{chunk-KZ5SMOBR.js → chunk-QJ3QPUM5.js} +5 -5
  44. package/dist/{chunk-5I4ERIIY.js → chunk-RS2R7COT.js} +9 -3
  45. package/dist/{chunk-A547MKQQ.js → chunk-SOKSKSEX.js} +20 -14
  46. package/dist/chunk-T2PM5TKT.js +55 -0
  47. package/dist/{chunk-UCO5QBOS.js → chunk-TBR6SNKL.js} +5 -5
  48. package/dist/{chunk-MXAUURHG.js → chunk-TQFONRJP.js} +5 -5
  49. package/dist/{chunk-WSZXPLJQ.js → chunk-TZJROXB3.js} +4 -4
  50. package/dist/{chunk-IHC4ZVPQ.js → chunk-UHI6VYFX.js} +5 -5
  51. package/dist/{chunk-IU77SCOB.js → chunk-UQUWZJVN.js} +9 -9
  52. package/dist/{chunk-ARC7TW3L.js → chunk-WFNB7VRA.js} +14 -4
  53. package/dist/{chunk-TU4SG3WD.js → chunk-WYQJ4JWO.js} +12 -12
  54. package/dist/{chunk-MEBZK5AR.js → chunk-Y7XBA7JY.js} +5 -5
  55. package/dist/cli/checkUnsupportedDataProxy.js +62 -56
  56. package/dist/cli/checkUnsupportedSchemaEngineWasm.js +62 -56
  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 +3 -1
  62. package/dist/cli/schemaContext.js +62 -56
  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 +61 -55
  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 +73 -67
  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 +64 -58
  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 +8 -1
  88. package/dist/index.js +115 -101
  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/canPrompt.js +3 -3
  94. package/dist/utils/cloudflareD1.js +3 -3
  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 +8 -8
  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
package/dist/index.d.ts CHANGED
@@ -10,6 +10,7 @@ export { HelpError } from './cli/Help';
10
10
  export { loadSchemaContext, processSchemaResult, type SchemaContext } from './cli/schemaContext';
11
11
  export type { Command, Commands, CompiledGeneratorDefinition, Dictionary, GeneratorConfig, GeneratorDefinition, GeneratorDefinitionWithPackage, GeneratorFunction, GeneratorOptions, } from './cli/types';
12
12
  export { arg, format, isError } from './cli/utils';
13
+ export { ClientEngineType, getClientEngineType } from './client/getClientEngineType';
13
14
  export { credentialsToUri, protocolToConnectorType, uriToCredentials } from './convertCredentials';
14
15
  export * from './engine-commands';
15
16
  export { resolveUrl } from './engine-commands/getConfig';
@@ -47,8 +48,10 @@ export { formatTable } from './utils/formatTable';
47
48
  export * as fsFunctional from './utils/fs-functional';
48
49
  export * as fsUtils from './utils/fs-utils';
49
50
  export { getCommandWithExecutor } from './utils/getCommandWithExecutor';
51
+ export { getEnvPaths } from './utils/getEnvPaths';
50
52
  export { getMigrateConfigDir } from './utils/getMigrateConfigDir';
51
53
  export { version } from './utils/getVersionFromPackageJson';
54
+ export { handleLibraryLoadingErrors } from './utils/handleEngineLoadingErrors';
52
55
  export { handlePanic } from './utils/handlePanic';
53
56
  export { hasOwnProperty } from './utils/hasOwnProperty';
54
57
  export { isCi } from './utils/isCi';
@@ -60,6 +63,8 @@ export { isPromiseLike } from './utils/isPromiseLike';
60
63
  export { isValidJsIdentifier } from './utils/isValidJsIdentifier';
61
64
  export { keyBy } from './utils/keyBy';
62
65
  export { link } from './utils/link';
66
+ export { loadLibrary as load } from './utils/load';
67
+ export { loadEnvFile } from './utils/loadEnvFile';
63
68
  export { mapObjectValues } from './utils/mapObjectValues';
64
69
  export { maskSchema } from './utils/maskSchema';
65
70
  export { maxBy, maxWithComparator } from './utils/max';
@@ -76,10 +81,12 @@ export { type MultipleSchemas } from './utils/schemaFileInput';
76
81
  export { serializeQueryEngineName } from './utils/serializeQueryEngineName';
77
82
  export { setClassName } from './utils/setClassName';
78
83
  export { toSchemasContainer, toSchemasWithConfigDir } from './utils/toSchemasContainer';
84
+ export { type LoadedEnv, tryLoadEnvs } from './utils/tryLoadEnvs';
79
85
  export { vercelPkgPathRegex } from './utils/vercelPkgPathRegex';
80
86
  export { warnOnce } from './warnOnce';
81
87
  export * as wasm from './wasm';
82
88
  export { wasmSchemaEngineLoader } from './WasmSchemaEngineLoader';
89
+ export type { EnvPaths } from '@prisma/generator';
83
90
  export type { BinaryTarget } from '@prisma/get-platform';
84
- export { getBinaryTargetForCurrentPlatform } from '@prisma/get-platform';
91
+ export { getBinaryTargetForCurrentPlatform, getNodeAPIName } from '@prisma/get-platform';
85
92
  export type { GetSchemaResult } from '@prisma/schema-files-loader';
package/dist/index.js CHANGED
@@ -18,61 +18,66 @@ var __copyProps = (to, from, except, desc) => {
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
19
  var index_exports = {};
20
20
  __export(index_exports, {
21
- BinaryType: () => import_chunk_3CAPLXKF.BinaryType,
21
+ BinaryType: () => import_chunk_FYZCPL2Z.BinaryType,
22
+ ClientEngineType: () => import_chunk_ERSH2BQA.ClientEngineType,
22
23
  ErrorArea: () => import_chunk_LMVSIVKQ.ErrorArea,
23
24
  Generator: () => import_chunk_BPDMLM32.Generator,
24
25
  HelpError: () => import_chunk_6JE6QGSJ.HelpError,
25
26
  PRISMA_POSTGRES_PROTOCOL: () => import_chunk_LPNBWFQ3.PRISMA_POSTGRES_PROTOCOL,
26
27
  PRISMA_POSTGRES_PROVIDER: () => import_chunk_LPNBWFQ3.PRISMA_POSTGRES_PROVIDER,
27
28
  RustPanic: () => import_chunk_LMVSIVKQ.RustPanic,
28
- SchemaEngineExitCode: () => import_chunk_IHC4ZVPQ.SchemaEngineExitCode,
29
+ SchemaEngineExitCode: () => import_chunk_UHI6VYFX.SchemaEngineExitCode,
29
30
  arg: () => import_chunk_D4VZUY3O.arg,
30
31
  assertAlways: () => import_chunk_Y4TOGY6I.assertAlways,
31
32
  assertNever: () => import_chunk_IL7PSY44.assertNever,
32
33
  binaryTargetRegex: () => import_chunk_DODIJPCS.binaryTargetRegex,
33
34
  byline: () => import_chunk_L6KOIJJ5.byline,
34
35
  callOnceOnSuccess: () => import_chunk_NIWBAJZV.callOnceOnSuccess,
35
- canConnectToDatabase: () => import_chunk_IHC4ZVPQ.canConnectToDatabase,
36
- canPrompt: () => import_chunk_R3J2O23S.canPrompt,
37
- checkUnsupportedDataProxy: () => import_chunk_EK3NXGEC.checkUnsupportedDataProxy,
38
- checkUnsupportedSchemaEngineWasm: () => import_chunk_EK3NXGEC.checkUnsupportedSchemaEngineWasm,
36
+ canConnectToDatabase: () => import_chunk_UHI6VYFX.canConnectToDatabase,
37
+ canPrompt: () => import_chunk_FCYHZHVW.canPrompt,
38
+ checkUnsupportedDataProxy: () => import_chunk_5IQ5L5E4.checkUnsupportedDataProxy,
39
+ checkUnsupportedSchemaEngineWasm: () => import_chunk_5IQ5L5E4.checkUnsupportedSchemaEngineWasm,
39
40
  chmodPlusX: () => import_chunk_TWSLDIFL.chmodPlusX,
40
- createDatabase: () => import_chunk_IHC4ZVPQ.createDatabase,
41
+ createDatabase: () => import_chunk_UHI6VYFX.createDatabase,
41
42
  credentialsToUri: () => import_chunk_LYFOJ5NK.credentialsToUri,
42
- drawBox: () => import_chunk_CGLLQXZE.drawBox,
43
- dropDatabase: () => import_chunk_IHC4ZVPQ.dropDatabase,
44
- engineEnvVarMap: () => import_chunk_3CAPLXKF.engineEnvVarMap,
43
+ drawBox: () => import_chunk_HHG4DGHC.drawBox,
44
+ dropDatabase: () => import_chunk_UHI6VYFX.dropDatabase,
45
+ engineEnvVarMap: () => import_chunk_FYZCPL2Z.engineEnvVarMap,
45
46
  extractPreviewFeatures: () => import_chunk_CRVLHWC5.extractPreviewFeatures,
46
47
  extractSchemaContent: () => import_chunk_PFYALFCY.extractSchemaContent,
47
48
  fixBinaryTargets: () => import_chunk_X77CS5RK.fixBinaryTargets,
48
49
  format: () => import_chunk_D4VZUY3O.format,
49
- formatSchema: () => import_chunk_EK3NXGEC.formatSchema,
50
+ formatSchema: () => import_chunk_5IQ5L5E4.formatSchema,
50
51
  formatTable: () => import_chunk_QN6PSQY7.formatTable,
51
52
  formatms: () => import_chunk_XYCIH36R.formatms,
52
- fsFunctional: () => import_chunk_UB2X7DGZ.fs_functional_exports,
53
- fsUtils: () => import_chunk_MXAUURHG.fs_utils_exports,
54
- getBinaryTargetForCurrentPlatform: () => import_chunk_EK3NXGEC.getBinaryTargetForCurrentPlatform,
55
- getCLIPathHash: () => import_chunk_GL7OANR6.getCLIPathHash,
53
+ fsFunctional: () => import_chunk_75BIJ5PX.fs_functional_exports,
54
+ fsUtils: () => import_chunk_TQFONRJP.fs_utils_exports,
55
+ getBinaryTargetForCurrentPlatform: () => import_chunk_5IQ5L5E4.getBinaryTargetForCurrentPlatform,
56
+ getCLIPathHash: () => import_chunk_4JCVHBYR.getCLIPathHash,
57
+ getClientEngineType: () => import_chunk_ERSH2BQA.getClientEngineType,
56
58
  getCommandWithExecutor: () => import_chunk_CUD726EK.getCommandWithExecutor,
57
- getConfig: () => import_chunk_A547MKQQ.getConfig,
58
- getDMMF: () => import_chunk_G4R3KIUK.getDMMF,
59
- getDirectUrl: () => import_chunk_A547MKQQ.getDirectUrl,
60
- getEffectiveUrl: () => import_chunk_A547MKQQ.getEffectiveUrl,
61
- getEngineVersion: () => import_chunk_4YDN7W7B.getEngineVersion,
62
- getEnginesInfo: () => import_chunk_DOO45FN6.getEnginesInfo,
63
- getGenerator: () => import_chunk_EK3NXGEC.getGenerator,
64
- getGeneratorSuccessMessage: () => import_chunk_ARC7TW3L.getGeneratorSuccessMessage,
65
- getGenerators: () => import_chunk_EK3NXGEC.getGenerators,
66
- getLintWarningsAsText: () => import_chunk_UCO5QBOS.getLintWarningsAsText,
59
+ getConfig: () => import_chunk_LFFCR67R.getConfig,
60
+ getDMMF: () => import_chunk_C7SAKLK2.getDMMF,
61
+ getDirectUrl: () => import_chunk_LFFCR67R.getDirectUrl,
62
+ getEffectiveUrl: () => import_chunk_LFFCR67R.getEffectiveUrl,
63
+ getEngineVersion: () => import_chunk_OAT7ZJED.getEngineVersion,
64
+ getEnginesInfo: () => import_chunk_GMW36QQF.getEnginesInfo,
65
+ getEnvPaths: () => import_chunk_46ABODUM.getEnvPaths,
66
+ getGenerator: () => import_chunk_5IQ5L5E4.getGenerator,
67
+ getGeneratorSuccessMessage: () => import_chunk_WFNB7VRA.getGeneratorSuccessMessage,
68
+ getGenerators: () => import_chunk_5IQ5L5E4.getGenerators,
69
+ getLintWarningsAsText: () => import_chunk_E6MOBIU5.getLintWarningsAsText,
67
70
  getMigrateConfigDir: () => import_chunk_RFB2U4GQ.getMigrateConfigDir,
68
- getPackedPackage: () => import_chunk_32LLAKF4.getPackedPackage,
69
- getProjectHash: () => import_chunk_GL7OANR6.getProjectHash,
70
- getSchemaWithPath: () => import_chunk_OKVM3CW4.getSchemaWithPath,
71
- getSchemaWithPathOptional: () => import_chunk_OKVM3CW4.getSchemaWithPathOptional,
71
+ getNodeAPIName: () => import_chunk_5IQ5L5E4.getNodeAPIName,
72
+ getPackedPackage: () => import_chunk_BVJP43JS.getPackedPackage,
73
+ getProjectHash: () => import_chunk_4JCVHBYR.getProjectHash,
74
+ getSchemaWithPath: () => import_chunk_EYVG6XQS.getSchemaWithPath,
75
+ getSchemaWithPathOptional: () => import_chunk_EYVG6XQS.getSchemaWithPathOptional,
72
76
  getTypescriptVersion: () => import_chunk_J7ZPY2XA.getTypescriptVersion,
73
77
  getWasmError: () => import_chunk_LMVSIVKQ.getWasmError,
74
- handleLintPanic: () => import_chunk_UCO5QBOS.handleLintPanic,
75
- handlePanic: () => import_chunk_IU77SCOB.handlePanic,
78
+ handleLibraryLoadingErrors: () => import_chunk_DZYINYAA.handleLibraryLoadingErrors,
79
+ handleLintPanic: () => import_chunk_E6MOBIU5.handleLintPanic,
80
+ handlePanic: () => import_chunk_UQUWZJVN.handlePanic,
76
81
  hasOwnProperty: () => import_chunk_WV4QHCSM.hasOwnProperty,
77
82
  highlightDatamodel: () => import_chunk_TQCLUNM2.highlightDatamodel,
78
83
  highlightSql: () => import_chunk_TQCLUNM2.highlightSql,
@@ -91,10 +96,12 @@ __export(index_exports, {
91
96
  isValidJsIdentifier: () => import_chunk_RBDYOTWB.isValidJsIdentifier,
92
97
  isWasmPanic: () => import_chunk_LMVSIVKQ.isWasmPanic,
93
98
  keyBy: () => import_chunk_ZKWDIAVF.keyBy,
94
- link: () => import_chunk_3WXUQZS7.link,
95
- lintSchema: () => import_chunk_UCO5QBOS.lintSchema,
96
- loadSchemaContext: () => import_chunk_EK3NXGEC.loadSchemaContext,
97
- locateLocalCloudflareD1: () => import_chunk_IRWX4FCC.locateLocalCloudflareD1,
99
+ link: () => import_chunk_I6WLABB2.link,
100
+ lintSchema: () => import_chunk_E6MOBIU5.lintSchema,
101
+ load: () => import_chunk_6TTRTZXU.loadLibrary,
102
+ loadEnvFile: () => import_chunk_PZMRR772.loadEnvFile,
103
+ loadSchemaContext: () => import_chunk_5IQ5L5E4.loadSchemaContext,
104
+ locateLocalCloudflareD1: () => import_chunk_D4VDA2TZ.locateLocalCloudflareD1,
98
105
  logger: () => import_chunk_ZJWZK45Z.logger_exports,
99
106
  longestCommonPathPrefix: () => import_chunk_J77ZIDXB.longestCommonPathPrefix,
100
107
  mapObjectValues: () => import_chunk_UGR6KLZN.mapObjectValues,
@@ -102,8 +109,8 @@ __export(index_exports, {
102
109
  maxBy: () => import_chunk_CGFNDGGI.maxBy,
103
110
  maxWithComparator: () => import_chunk_CGFNDGGI.maxWithComparator,
104
111
  maybeInGitHook: () => import_chunk_LRBXMV4B.maybeInGitHook,
105
- mergeSchemas: () => import_chunk_AZFHZFLX.mergeSchemas,
106
- missingGeneratorMessage: () => import_chunk_TGA7DC5A.missingGeneratorMessage,
112
+ mergeSchemas: () => import_chunk_LU7NT333.mergeSchemas,
113
+ missingGeneratorMessage: () => import_chunk_AX5N26KG.missingGeneratorMessage,
107
114
  parseAWSNodejsRuntimeEnvVarVersion: () => import_chunk_2SDPW6AX.parseAWSNodejsRuntimeEnvVarVersion,
108
115
  parseBinaryTargetsEnvValue: () => import_chunk_IOIAK7V7.parseBinaryTargetsEnvValue,
109
116
  parseEnvValue: () => import_chunk_IOIAK7V7.parseEnvValue,
@@ -111,131 +118,138 @@ __export(index_exports, {
111
118
  pick: () => import_chunk_GXW4NTU2.pick,
112
119
  printConfigWarnings: () => import_chunk_5FJ3MENK.printConfigWarnings,
113
120
  printGeneratorConfig: () => import_chunk_LRU47BGE.printGeneratorConfig,
114
- printSchemaLoadedMessage: () => import_chunk_OKVM3CW4.printSchemaLoadedMessage,
115
- processSchemaResult: () => import_chunk_EK3NXGEC.processSchemaResult,
121
+ printSchemaLoadedMessage: () => import_chunk_EYVG6XQS.printSchemaLoadedMessage,
122
+ processSchemaResult: () => import_chunk_5IQ5L5E4.processSchemaResult,
116
123
  protocolToConnectorType: () => import_chunk_LYFOJ5NK.protocolToConnectorType,
117
124
  relativizePathInPSLError: () => import_chunk_C47SCASR.relativizePathInPSLError,
118
- resolveBinary: () => import_chunk_3CAPLXKF.resolveBinary,
119
- resolveEngine: () => import_chunk_DOO45FN6.resolveEngine,
125
+ resolveBinary: () => import_chunk_FYZCPL2Z.resolveBinary,
126
+ resolveEngine: () => import_chunk_GMW36QQF.resolveEngine,
120
127
  resolvePkg: () => import_chunk_UMM35VP5.resolvePkg,
121
- resolveUrl: () => import_chunk_A547MKQQ.resolveUrl,
122
- sendPanic: () => import_chunk_BUQN4WLU.sendPanic,
123
- serializeQueryEngineName: () => import_chunk_5W3BSMTH.serializeQueryEngineName,
128
+ resolveUrl: () => import_chunk_LFFCR67R.resolveUrl,
129
+ sendPanic: () => import_chunk_HFFWZTVM.sendPanic,
130
+ serializeQueryEngineName: () => import_chunk_HO5HRHFZ.serializeQueryEngineName,
124
131
  setClassName: () => import_chunk_ANU3HEGF.setClassName,
125
132
  toSchemasContainer: () => import_chunk_OSHZ4P3G.toSchemasContainer,
126
133
  toSchemasWithConfigDir: () => import_chunk_OSHZ4P3G.toSchemasWithConfigDir,
134
+ tryLoadEnvs: () => import_chunk_3FP46GUV.tryLoadEnvs,
127
135
  unknownCommand: () => import_chunk_6JE6QGSJ.unknownCommand,
128
136
  uriToCredentials: () => import_chunk_LYFOJ5NK.uriToCredentials,
129
- validate: () => import_chunk_TU4SG3WD.validate,
137
+ validate: () => import_chunk_AP3F7M3T.validate,
130
138
  vercelPkgPathRegex: () => import_chunk_M3GBKLGE.vercelPkgPathRegex,
131
- version: () => import_chunk_25ON3V6C.version,
139
+ version: () => import_chunk_PHFQSMQF.version,
132
140
  warnOnce: () => import_chunk_DTPFRZWV.warnOnce,
133
- wasm: () => import_chunk_STBFWZNS.wasm_exports,
141
+ wasm: () => import_chunk_Y7XBA7JY.wasm_exports,
134
142
  wasmSchemaEngineLoader: () => import_chunk_SBUSVJCV.wasmSchemaEngineLoader
135
143
  });
136
144
  module.exports = __toCommonJS(index_exports);
137
- var import_chunk_EK3NXGEC = require("./chunk-EK3NXGEC.js");
138
- var import_chunk_5MHUYAV3 = require("./chunk-5MHUYAV3.js");
145
+ var import_chunk_5IQ5L5E4 = require("./chunk-5IQ5L5E4.js");
139
146
  var import_chunk_X3P4J7WW = require("./chunk-X3P4J7WW.js");
140
147
  var import_chunk_LRU47BGE = require("./chunk-LRU47BGE.js");
141
- var import_chunk_5W3BSMTH = require("./chunk-5W3BSMTH.js");
142
- var import_chunk_ANU3HEGF = require("./chunk-ANU3HEGF.js");
143
148
  var import_chunk_OSHZ4P3G = require("./chunk-OSHZ4P3G.js");
144
- var import_chunk_5I4ERIIY = require("./chunk-5I4ERIIY.js");
145
- var import_chunk_GJSFP4V4 = require("./chunk-GJSFP4V4.js");
146
149
  var import_chunk_X77CS5RK = require("./chunk-X77CS5RK.js");
150
+ var import_chunk_F2OZV76L = require("./chunk-F2OZV76L.js");
151
+ var import_chunk_RS2R7COT = require("./chunk-RS2R7COT.js");
152
+ var import_chunk_4CGPN5SR = require("./chunk-4CGPN5SR.js");
147
153
  var import_chunk_GXW4NTU2 = require("./chunk-GXW4NTU2.js");
148
154
  var import_chunk_5FJ3MENK = require("./chunk-5FJ3MENK.js");
149
155
  var import_chunk_PFYALFCY = require("./chunk-PFYALFCY.js");
150
- var import_chunk_CGFNDGGI = require("./chunk-CGFNDGGI.js");
156
+ var import_chunk_HO5HRHFZ = require("./chunk-HO5HRHFZ.js");
157
+ var import_chunk_ANU3HEGF = require("./chunk-ANU3HEGF.js");
151
158
  var import_chunk_LRBXMV4B = require("./chunk-LRBXMV4B.js");
152
- var import_chunk_MYLPCGTT = require("./chunk-MYLPCGTT.js");
153
- var import_chunk_TGA7DC5A = require("./chunk-TGA7DC5A.js");
159
+ var import_chunk_7QC5VORA = require("./chunk-7QC5VORA.js");
160
+ var import_chunk_AX5N26KG = require("./chunk-AX5N26KG.js");
154
161
  var import_chunk_2SDPW6AX = require("./chunk-2SDPW6AX.js");
155
- var import_chunk_JTKAT4KZ = require("./chunk-JTKAT4KZ.js");
156
- var import_chunk_RBDYOTWB = require("./chunk-RBDYOTWB.js");
157
- var import_chunk_ZKWDIAVF = require("./chunk-ZKWDIAVF.js");
162
+ var import_chunk_PZMRR772 = require("./chunk-PZMRR772.js");
158
163
  var import_chunk_7B5PXS6N = require("./chunk-7B5PXS6N.js");
159
164
  var import_chunk_UGR6KLZN = require("./chunk-UGR6KLZN.js");
160
- var import_chunk_RFB2U4GQ = require("./chunk-RFB2U4GQ.js");
161
- var import_chunk_IU77SCOB = require("./chunk-IU77SCOB.js");
162
- var import_chunk_3WXUQZS7 = require("./chunk-3WXUQZS7.js");
163
- var import_chunk_WV4QHCSM = require("./chunk-WV4QHCSM.js");
165
+ var import_chunk_CGFNDGGI = require("./chunk-CGFNDGGI.js");
164
166
  var import_chunk_XXTPN4LB = require("./chunk-XXTPN4LB.js");
165
167
  var import_chunk_2IOZUH3U = require("./chunk-2IOZUH3U.js");
166
- var import_chunk_CGLLQXZE = require("./chunk-CGLLQXZE.js");
167
- var import_chunk_CRVLHWC5 = require("./chunk-CRVLHWC5.js");
168
- var import_chunk_UB2X7DGZ = require("./chunk-UB2X7DGZ.js");
169
- var import_chunk_MXAUURHG = require("./chunk-MXAUURHG.js");
170
- var import_chunk_J77ZIDXB = require("./chunk-J77ZIDXB.js");
168
+ var import_chunk_JTKAT4KZ = require("./chunk-JTKAT4KZ.js");
169
+ var import_chunk_RBDYOTWB = require("./chunk-RBDYOTWB.js");
170
+ var import_chunk_ZKWDIAVF = require("./chunk-ZKWDIAVF.js");
171
171
  var import_chunk_CUD726EK = require("./chunk-CUD726EK.js");
172
172
  var import_chunk_BERN76ZI = require("./chunk-BERN76ZI.js");
173
+ var import_chunk_46ABODUM = require("./chunk-46ABODUM.js");
174
+ var import_chunk_3FP46GUV = require("./chunk-3FP46GUV.js");
175
+ var import_chunk_RFB2U4GQ = require("./chunk-RFB2U4GQ.js");
176
+ var import_chunk_UQUWZJVN = require("./chunk-UQUWZJVN.js");
177
+ var import_chunk_I6WLABB2 = require("./chunk-I6WLABB2.js");
173
178
  var import_chunk_7IKUTPWQ = require("./chunk-7IKUTPWQ.js");
179
+ var import_chunk_WV4QHCSM = require("./chunk-WV4QHCSM.js");
180
+ var import_chunk_D4VDA2TZ = require("./chunk-D4VDA2TZ.js");
181
+ var import_chunk_HHG4DGHC = require("./chunk-HHG4DGHC.js");
182
+ var import_chunk_CRVLHWC5 = require("./chunk-CRVLHWC5.js");
183
+ var import_chunk_75BIJ5PX = require("./chunk-75BIJ5PX.js");
184
+ var import_chunk_TQFONRJP = require("./chunk-TQFONRJP.js");
185
+ var import_chunk_J77ZIDXB = require("./chunk-J77ZIDXB.js");
186
+ var import_chunk_HW5RCZSE = require("./chunk-HW5RCZSE.js");
187
+ var import_chunk_Y4TOGY6I = require("./chunk-Y4TOGY6I.js");
174
188
  var import_chunk_IL7PSY44 = require("./chunk-IL7PSY44.js");
175
189
  var import_chunk_DODIJPCS = require("./chunk-DODIJPCS.js");
176
190
  var import_chunk_L6KOIJJ5 = require("./chunk-L6KOIJJ5.js");
177
191
  var import_chunk_NIWBAJZV = require("./chunk-NIWBAJZV.js");
178
- var import_chunk_R3J2O23S = require("./chunk-R3J2O23S.js");
179
- var import_chunk_ICFLO5JW = require("./chunk-ICFLO5JW.js");
192
+ var import_chunk_FCYHZHVW = require("./chunk-FCYHZHVW.js");
180
193
  var import_chunk_H4NI2RIK = require("./chunk-H4NI2RIK.js");
181
- var import_chunk_IRWX4FCC = require("./chunk-IRWX4FCC.js");
182
- var import_chunk_TU4SG3WD = require("./chunk-TU4SG3WD.js");
194
+ var import_chunk_ICFLO5JW = require("./chunk-ICFLO5JW.js");
195
+ var import_chunk_AP3F7M3T = require("./chunk-AP3F7M3T.js");
183
196
  var import_chunk_TQCLUNM2 = require("./chunk-TQCLUNM2.js");
184
197
  var import_chunk_OIVPX3BR = require("./chunk-OIVPX3BR.js");
185
198
  var import_chunk_CYAS6B5N = require("./chunk-CYAS6B5N.js");
186
199
  var import_chunk_HPVMQFIY = require("./chunk-HPVMQFIY.js");
187
200
  var import_chunk_E23HYCQJ = require("./chunk-E23HYCQJ.js");
188
- var import_chunk_HW5RCZSE = require("./chunk-HW5RCZSE.js");
189
- var import_chunk_Y4TOGY6I = require("./chunk-Y4TOGY6I.js");
190
- var import_chunk_G4R3KIUK = require("./chunk-G4R3KIUK.js");
191
- var import_chunk_DOO45FN6 = require("./chunk-DOO45FN6.js");
192
- var import_chunk_4YDN7W7B = require("./chunk-4YDN7W7B.js");
193
- var import_chunk_UCO5QBOS = require("./chunk-UCO5QBOS.js");
194
- var import_chunk_AZFHZFLX = require("./chunk-AZFHZFLX.js");
201
+ var import_chunk_LFFCR67R = require("./chunk-LFFCR67R.js");
202
+ var import_chunk_C7SAKLK2 = require("./chunk-C7SAKLK2.js");
203
+ var import_chunk_GMW36QQF = require("./chunk-GMW36QQF.js");
204
+ var import_chunk_OAT7ZJED = require("./chunk-OAT7ZJED.js");
205
+ var import_chunk_6TTRTZXU = require("./chunk-6TTRTZXU.js");
206
+ var import_chunk_DZYINYAA = require("./chunk-DZYINYAA.js");
207
+ var import_chunk_E6MOBIU5 = require("./chunk-E6MOBIU5.js");
208
+ var import_chunk_LU7NT333 = require("./chunk-LU7NT333.js");
209
+ var import_chunk_TZJROXB3 = require("./chunk-TZJROXB3.js");
210
+ var import_chunk_C47SCASR = require("./chunk-C47SCASR.js");
211
+ var import_chunk_R6QH57HZ = require("./chunk-R6QH57HZ.js");
195
212
  var import_chunk_J7ZPY2XA = require("./chunk-J7ZPY2XA.js");
196
- var import_chunk_GL7OANR6 = require("./chunk-GL7OANR6.js");
213
+ var import_chunk_4JCVHBYR = require("./chunk-4JCVHBYR.js");
214
+ var import_chunk_EYVG6XQS = require("./chunk-EYVG6XQS.js");
197
215
  var import_chunk_D4VZUY3O = require("./chunk-D4VZUY3O.js");
198
- var import_chunk_A547MKQQ = require("./chunk-A547MKQQ.js");
199
- var import_chunk_WSZXPLJQ = require("./chunk-WSZXPLJQ.js");
200
- var import_chunk_R6QH57HZ = require("./chunk-R6QH57HZ.js");
201
- var import_chunk_C47SCASR = require("./chunk-C47SCASR.js");
202
- var import_chunk_SU3YFXA4 = require("./chunk-SU3YFXA4.js");
203
- var import_chunk_25ON3V6C = require("./chunk-25ON3V6C.js");
216
+ var import_chunk_D7OTFXCP = require("./chunk-D7OTFXCP.js");
217
+ var import_chunk_PHFQSMQF = require("./chunk-PHFQSMQF.js");
204
218
  var import_chunk_QN6PSQY7 = require("./chunk-QN6PSQY7.js");
205
219
  var import_chunk_DTPFRZWV = require("./chunk-DTPFRZWV.js");
206
- var import_chunk_STBFWZNS = require("./chunk-STBFWZNS.js");
207
- var import_chunk_BKHAMV6G = require("./chunk-BKHAMV6G.js");
220
+ var import_chunk_Y7XBA7JY = require("./chunk-Y7XBA7JY.js");
221
+ var import_chunk_FGU7IK4W = require("./chunk-FGU7IK4W.js");
208
222
  var import_chunk_6JE6QGSJ = require("./chunk-6JE6QGSJ.js");
209
223
  var import_chunk_BCQZ6JQE = require("./chunk-BCQZ6JQE.js");
210
- var import_chunk_ARC7TW3L = require("./chunk-ARC7TW3L.js");
224
+ var import_chunk_WFNB7VRA = require("./chunk-WFNB7VRA.js");
211
225
  var import_chunk_XYCIH36R = require("./chunk-XYCIH36R.js");
212
- var import_chunk_OKVM3CW4 = require("./chunk-OKVM3CW4.js");
226
+ var import_chunk_ERSH2BQA = require("./chunk-ERSH2BQA.js");
227
+ var import_chunk_ZJWZK45Z = require("./chunk-ZJWZK45Z.js");
213
228
  var import_chunk_2B26F5N3 = require("./chunk-2B26F5N3.js");
214
- var import_chunk_IHC4ZVPQ = require("./chunk-IHC4ZVPQ.js");
229
+ var import_chunk_UHI6VYFX = require("./chunk-UHI6VYFX.js");
215
230
  var import_chunk_JOIHHXR6 = require("./chunk-JOIHHXR6.js");
216
- var import_chunk_3CAPLXKF = require("./chunk-3CAPLXKF.js");
217
- var import_chunk_FF7OLLBP = require("./chunk-FF7OLLBP.js");
231
+ var import_chunk_FYZCPL2Z = require("./chunk-FYZCPL2Z.js");
218
232
  var import_chunk_M3GBKLGE = require("./chunk-M3GBKLGE.js");
233
+ var import_chunk_IDINCQMN = require("./chunk-IDINCQMN.js");
219
234
  var import_chunk_TWSLDIFL = require("./chunk-TWSLDIFL.js");
220
235
  var import_chunk_5DBOS77Y = require("./chunk-5DBOS77Y.js");
221
- var import_chunk_BUQN4WLU = require("./chunk-BUQN4WLU.js");
236
+ var import_chunk_HFFWZTVM = require("./chunk-HFFWZTVM.js");
222
237
  var import_chunk_KDHESRKE = require("./chunk-KDHESRKE.js");
223
238
  var import_chunk_XKZ6CBLA = require("./chunk-XKZ6CBLA.js");
224
239
  var import_chunk_LMVSIVKQ = require("./chunk-LMVSIVKQ.js");
225
240
  var import_chunk_BPDMLM32 = require("./chunk-BPDMLM32.js");
226
241
  var import_chunk_IOIAK7V7 = require("./chunk-IOIAK7V7.js");
242
+ var import_chunk_PG5FDKSF = require("./chunk-PG5FDKSF.js");
227
243
  var import_chunk_WXRVYSYN = require("./chunk-WXRVYSYN.js");
228
244
  var import_chunk_SBUSVJCV = require("./chunk-SBUSVJCV.js");
229
245
  var import_chunk_LYFOJ5NK = require("./chunk-LYFOJ5NK.js");
230
246
  var import_chunk_LPNBWFQ3 = require("./chunk-LPNBWFQ3.js");
231
- var import_chunk_MEOOYUIZ = require("./chunk-MEOOYUIZ.js");
232
- var import_chunk_KNNTV7IN = require("./chunk-KNNTV7IN.js");
233
- var import_chunk_32LLAKF4 = require("./chunk-32LLAKF4.js");
247
+ var import_chunk_T2PM5TKT = require("./chunk-T2PM5TKT.js");
248
+ var import_chunk_5AI4FIZ3 = require("./chunk-5AI4FIZ3.js");
249
+ var import_chunk_NVNI2SRU = require("./chunk-NVNI2SRU.js");
250
+ var import_chunk_BVJP43JS = require("./chunk-BVJP43JS.js");
234
251
  var import_chunk_KDP6C3CB = require("./chunk-KDP6C3CB.js");
235
- var import_chunk_2LOGW45F = require("./chunk-2LOGW45F.js");
252
+ var import_chunk_JOIIWB3U = require("./chunk-JOIIWB3U.js");
236
253
  var import_chunk_UMM35VP5 = require("./chunk-UMM35VP5.js");
237
254
  var import_chunk_5VQNKCKW = require("./chunk-5VQNKCKW.js");
238
- var import_chunk_DYV47NUW = require("./chunk-DYV47NUW.js");
239
- var import_chunk_ZJWZK45Z = require("./chunk-ZJWZK45Z.js");
240
- var import_chunk_PG5FDKSF = require("./chunk-PG5FDKSF.js");
241
255
  var import_chunk_4VNS5WPM = require("./chunk-4VNS5WPM.js");
@@ -16,12 +16,12 @@ 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 multipart_parser_UV3WZSWW_exports = {};
20
- __export(multipart_parser_UV3WZSWW_exports, {
19
+ var multipart_parser_3AFJFP6K_exports = {};
20
+ __export(multipart_parser_3AFJFP6K_exports, {
21
21
  toFormData: () => toFormData
22
22
  });
23
- module.exports = __toCommonJS(multipart_parser_UV3WZSWW_exports);
24
- var import_chunk_KNNTV7IN = require("./chunk-KNNTV7IN.js");
23
+ module.exports = __toCommonJS(multipart_parser_3AFJFP6K_exports);
24
+ var import_chunk_NVNI2SRU = require("./chunk-NVNI2SRU.js");
25
25
  var import_chunk_4VNS5WPM = require("./chunk-4VNS5WPM.js");
26
26
  var s = 0;
27
27
  var S = {
@@ -314,7 +314,7 @@ async function toFormData(Body, ct) {
314
314
  let contentType;
315
315
  let filename;
316
316
  const entryChunks = [];
317
- const formData = new import_chunk_KNNTV7IN.FormData();
317
+ const formData = new import_chunk_NVNI2SRU.FormData();
318
318
  const onPartData = (ui8a) => {
319
319
  entryValue += decoder.decode(ui8a, { stream: true });
320
320
  };
@@ -322,7 +322,7 @@ async function toFormData(Body, ct) {
322
322
  entryChunks.push(ui8a);
323
323
  };
324
324
  const appendFileToFormData = () => {
325
- const file = new import_chunk_KNNTV7IN.file_default(entryChunks, filename, { type: contentType });
325
+ const file = new import_chunk_NVNI2SRU.file_default(entryChunks, filename, { type: contentType });
326
326
  formData.append(entryName, file);
327
327
  };
328
328
  const appendEntryToFormData = () => {
@@ -18,18 +18,17 @@ var __copyProps = (to, from, except, desc) => {
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
19
  var resolveBinary_exports = {};
20
20
  __export(resolveBinary_exports, {
21
- BinaryType: () => import_chunk_3CAPLXKF.BinaryType,
22
- engineEnvVarMap: () => import_chunk_3CAPLXKF.engineEnvVarMap,
23
- maybeCopyToTmp: () => import_chunk_3CAPLXKF.maybeCopyToTmp,
24
- resolveBinary: () => import_chunk_3CAPLXKF.resolveBinary,
25
- safeResolveBinary: () => import_chunk_3CAPLXKF.safeResolveBinary
21
+ BinaryType: () => import_chunk_FYZCPL2Z.BinaryType,
22
+ engineEnvVarMap: () => import_chunk_FYZCPL2Z.engineEnvVarMap,
23
+ maybeCopyToTmp: () => import_chunk_FYZCPL2Z.maybeCopyToTmp,
24
+ resolveBinary: () => import_chunk_FYZCPL2Z.resolveBinary,
25
+ safeResolveBinary: () => import_chunk_FYZCPL2Z.safeResolveBinary
26
26
  });
27
27
  module.exports = __toCommonJS(resolveBinary_exports);
28
- var import_chunk_3CAPLXKF = require("./chunk-3CAPLXKF.js");
29
- var import_chunk_FF7OLLBP = require("./chunk-FF7OLLBP.js");
28
+ var import_chunk_FYZCPL2Z = require("./chunk-FYZCPL2Z.js");
30
29
  var import_chunk_M3GBKLGE = require("./chunk-M3GBKLGE.js");
30
+ var import_chunk_IDINCQMN = require("./chunk-IDINCQMN.js");
31
31
  var import_chunk_TWSLDIFL = require("./chunk-TWSLDIFL.js");
32
32
  var import_chunk_5DBOS77Y = require("./chunk-5DBOS77Y.js");
33
33
  var import_chunk_5VQNKCKW = require("./chunk-5VQNKCKW.js");
34
- var import_chunk_DYV47NUW = require("./chunk-DYV47NUW.js");
35
34
  var import_chunk_4VNS5WPM = require("./chunk-4VNS5WPM.js");
@@ -18,20 +18,19 @@ var __copyProps = (to, from, except, desc) => {
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
19
  var schemaEngineCommands_exports = {};
20
20
  __export(schemaEngineCommands_exports, {
21
- SchemaEngineExitCode: () => import_chunk_IHC4ZVPQ.SchemaEngineExitCode,
22
- canConnectToDatabase: () => import_chunk_IHC4ZVPQ.canConnectToDatabase,
23
- createDatabase: () => import_chunk_IHC4ZVPQ.createDatabase,
24
- dropDatabase: () => import_chunk_IHC4ZVPQ.dropDatabase,
25
- execaCommand: () => import_chunk_IHC4ZVPQ.execaCommand
21
+ SchemaEngineExitCode: () => import_chunk_UHI6VYFX.SchemaEngineExitCode,
22
+ canConnectToDatabase: () => import_chunk_UHI6VYFX.canConnectToDatabase,
23
+ createDatabase: () => import_chunk_UHI6VYFX.createDatabase,
24
+ dropDatabase: () => import_chunk_UHI6VYFX.dropDatabase,
25
+ execaCommand: () => import_chunk_UHI6VYFX.execaCommand
26
26
  });
27
27
  module.exports = __toCommonJS(schemaEngineCommands_exports);
28
- var import_chunk_IHC4ZVPQ = require("./chunk-IHC4ZVPQ.js");
28
+ var import_chunk_UHI6VYFX = require("./chunk-UHI6VYFX.js");
29
29
  var import_chunk_JOIHHXR6 = require("./chunk-JOIHHXR6.js");
30
- var import_chunk_3CAPLXKF = require("./chunk-3CAPLXKF.js");
31
- var import_chunk_FF7OLLBP = require("./chunk-FF7OLLBP.js");
30
+ var import_chunk_FYZCPL2Z = require("./chunk-FYZCPL2Z.js");
32
31
  var import_chunk_M3GBKLGE = require("./chunk-M3GBKLGE.js");
32
+ var import_chunk_IDINCQMN = require("./chunk-IDINCQMN.js");
33
33
  var import_chunk_TWSLDIFL = require("./chunk-TWSLDIFL.js");
34
34
  var import_chunk_5DBOS77Y = require("./chunk-5DBOS77Y.js");
35
35
  var import_chunk_5VQNKCKW = require("./chunk-5VQNKCKW.js");
36
- var import_chunk_DYV47NUW = require("./chunk-DYV47NUW.js");
37
36
  var import_chunk_4VNS5WPM = require("./chunk-4VNS5WPM.js");
package/dist/sendPanic.js CHANGED
@@ -18,13 +18,13 @@ var __copyProps = (to, from, except, desc) => {
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
19
  var sendPanic_exports = {};
20
20
  __export(sendPanic_exports, {
21
- sendPanic: () => import_chunk_BUQN4WLU.sendPanic
21
+ sendPanic: () => import_chunk_HFFWZTVM.sendPanic
22
22
  });
23
23
  module.exports = __toCommonJS(sendPanic_exports);
24
- var import_chunk_BUQN4WLU = require("./chunk-BUQN4WLU.js");
24
+ var import_chunk_HFFWZTVM = require("./chunk-HFFWZTVM.js");
25
25
  var import_chunk_KDHESRKE = require("./chunk-KDHESRKE.js");
26
26
  var import_chunk_XKZ6CBLA = require("./chunk-XKZ6CBLA.js");
27
27
  var import_chunk_LMVSIVKQ = require("./chunk-LMVSIVKQ.js");
28
- var import_chunk_MEOOYUIZ = require("./chunk-MEOOYUIZ.js");
29
- var import_chunk_KNNTV7IN = require("./chunk-KNNTV7IN.js");
28
+ var import_chunk_5AI4FIZ3 = require("./chunk-5AI4FIZ3.js");
29
+ var import_chunk_NVNI2SRU = require("./chunk-NVNI2SRU.js");
30
30
  var import_chunk_4VNS5WPM = require("./chunk-4VNS5WPM.js");
@@ -18,10 +18,10 @@ var __copyProps = (to, from, except, desc) => {
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
19
  var canPrompt_exports = {};
20
20
  __export(canPrompt_exports, {
21
- canPrompt: () => import_chunk_R3J2O23S.canPrompt
21
+ canPrompt: () => import_chunk_FCYHZHVW.canPrompt
22
22
  });
23
23
  module.exports = __toCommonJS(canPrompt_exports);
24
- var import_chunk_R3J2O23S = require("../chunk-R3J2O23S.js");
25
- var import_chunk_ICFLO5JW = require("../chunk-ICFLO5JW.js");
24
+ var import_chunk_FCYHZHVW = require("../chunk-FCYHZHVW.js");
26
25
  var import_chunk_H4NI2RIK = require("../chunk-H4NI2RIK.js");
26
+ var import_chunk_ICFLO5JW = require("../chunk-ICFLO5JW.js");
27
27
  var import_chunk_4VNS5WPM = require("../chunk-4VNS5WPM.js");
@@ -18,10 +18,10 @@ var __copyProps = (to, from, except, desc) => {
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
19
  var cloudflareD1_exports = {};
20
20
  __export(cloudflareD1_exports, {
21
- locateLocalCloudflareD1: () => import_chunk_IRWX4FCC.locateLocalCloudflareD1
21
+ locateLocalCloudflareD1: () => import_chunk_D4VDA2TZ.locateLocalCloudflareD1
22
22
  });
23
23
  module.exports = __toCommonJS(cloudflareD1_exports);
24
- var import_chunk_IRWX4FCC = require("../chunk-IRWX4FCC.js");
24
+ var import_chunk_D4VDA2TZ = require("../chunk-D4VDA2TZ.js");
25
25
  var import_chunk_XKZ6CBLA = require("../chunk-XKZ6CBLA.js");
26
- var import_chunk_2LOGW45F = require("../chunk-2LOGW45F.js");
26
+ var import_chunk_JOIIWB3U = require("../chunk-JOIIWB3U.js");
27
27
  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 drawBox_exports = {};
20
20
  __export(drawBox_exports, {
21
- drawBox: () => import_chunk_CGLLQXZE.drawBox
21
+ drawBox: () => import_chunk_HHG4DGHC.drawBox
22
22
  });
23
23
  module.exports = __toCommonJS(drawBox_exports);
24
- var import_chunk_CGLLQXZE = require("../chunk-CGLLQXZE.js");
24
+ var import_chunk_HHG4DGHC = require("../chunk-HHG4DGHC.js");
25
25
  var import_chunk_PG5FDKSF = require("../chunk-PG5FDKSF.js");
26
26
  var import_chunk_4VNS5WPM = require("../chunk-4VNS5WPM.js");
@@ -18,18 +18,18 @@ var __copyProps = (to, from, except, desc) => {
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
19
  var fs_functional_exports = {};
20
20
  __export(fs_functional_exports, {
21
- createDirIfNotExists: () => import_chunk_UB2X7DGZ.createDirIfNotExists,
22
- getFilesInDir: () => import_chunk_UB2X7DGZ.getFilesInDir,
23
- getNestedFoldersInDir: () => import_chunk_UB2X7DGZ.getNestedFoldersInDir,
24
- removeDir: () => import_chunk_UB2X7DGZ.removeDir,
25
- removeEmptyDirs: () => import_chunk_UB2X7DGZ.removeEmptyDirs,
26
- removeFile: () => import_chunk_UB2X7DGZ.removeFile,
27
- writeFile: () => import_chunk_UB2X7DGZ.writeFile
21
+ createDirIfNotExists: () => import_chunk_75BIJ5PX.createDirIfNotExists,
22
+ getFilesInDir: () => import_chunk_75BIJ5PX.getFilesInDir,
23
+ getNestedFoldersInDir: () => import_chunk_75BIJ5PX.getNestedFoldersInDir,
24
+ removeDir: () => import_chunk_75BIJ5PX.removeDir,
25
+ removeEmptyDirs: () => import_chunk_75BIJ5PX.removeEmptyDirs,
26
+ removeFile: () => import_chunk_75BIJ5PX.removeFile,
27
+ writeFile: () => import_chunk_75BIJ5PX.writeFile
28
28
  });
29
29
  module.exports = __toCommonJS(fs_functional_exports);
30
- var import_chunk_UB2X7DGZ = require("../chunk-UB2X7DGZ.js");
31
- var import_chunk_MXAUURHG = require("../chunk-MXAUURHG.js");
30
+ var import_chunk_75BIJ5PX = require("../chunk-75BIJ5PX.js");
31
+ var import_chunk_TQFONRJP = require("../chunk-TQFONRJP.js");
32
32
  var import_chunk_J77ZIDXB = require("../chunk-J77ZIDXB.js");
33
33
  var import_chunk_R6QH57HZ = require("../chunk-R6QH57HZ.js");
34
- var import_chunk_2LOGW45F = require("../chunk-2LOGW45F.js");
34
+ var import_chunk_JOIIWB3U = require("../chunk-JOIIWB3U.js");
35
35
  var import_chunk_4VNS5WPM = require("../chunk-4VNS5WPM.js");
@@ -18,15 +18,15 @@ var __copyProps = (to, from, except, desc) => {
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
19
  var fs_utils_exports = {};
20
20
  __export(fs_utils_exports, {
21
- createDirIfNotExists: () => import_chunk_MXAUURHG.createDirIfNotExists,
22
- getFilesInDir: () => import_chunk_MXAUURHG.getFilesInDir,
23
- getNestedFoldersInDir: () => import_chunk_MXAUURHG.getNestedFoldersInDir,
24
- getTopLevelFoldersInDir: () => import_chunk_MXAUURHG.getTopLevelFoldersInDir,
25
- removeEmptyDirs: () => import_chunk_MXAUURHG.removeEmptyDirs,
26
- writeFile: () => import_chunk_MXAUURHG.writeFile
21
+ createDirIfNotExists: () => import_chunk_TQFONRJP.createDirIfNotExists,
22
+ getFilesInDir: () => import_chunk_TQFONRJP.getFilesInDir,
23
+ getNestedFoldersInDir: () => import_chunk_TQFONRJP.getNestedFoldersInDir,
24
+ getTopLevelFoldersInDir: () => import_chunk_TQFONRJP.getTopLevelFoldersInDir,
25
+ removeEmptyDirs: () => import_chunk_TQFONRJP.removeEmptyDirs,
26
+ writeFile: () => import_chunk_TQFONRJP.writeFile
27
27
  });
28
28
  module.exports = __toCommonJS(fs_utils_exports);
29
- var import_chunk_MXAUURHG = require("../chunk-MXAUURHG.js");
29
+ var import_chunk_TQFONRJP = require("../chunk-TQFONRJP.js");
30
30
  var import_chunk_J77ZIDXB = require("../chunk-J77ZIDXB.js");
31
- var import_chunk_2LOGW45F = require("../chunk-2LOGW45F.js");
31
+ var import_chunk_JOIIWB3U = require("../chunk-JOIIWB3U.js");
32
32
  var import_chunk_4VNS5WPM = require("../chunk-4VNS5WPM.js");
@@ -0,0 +1,14 @@
1
+ import { EnvPaths } from '@prisma/generator';
2
+ /**
3
+ * 1. Search in project root
4
+ * 1. Schema
5
+ * 1. Search location from schema arg `--schema`
6
+ * 1. Search location from pkgJSON `"prisma": {"schema": "/path/to/schema.prisma"}`
7
+ * 1. Search default location `./prisma/.env`
8
+ * 1. Search cwd `./.env`
9
+ *
10
+ * @returns `{ rootEnvPath, schemaEnvPath }`
11
+ */
12
+ export declare function getEnvPaths(schemaPath?: string | null, opts?: {
13
+ cwd: string;
14
+ }): Promise<EnvPaths>;