@prisma/internals 6.20.0-dev.1 → 6.20.0-dev.11

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 (128) hide show
  1. package/dist/{chunk-TBR6SNKL.js → chunk-27NCZWR5.js} +5 -5
  2. package/dist/{chunk-FHZ5QJLR.js → chunk-4JX4AYC6.js} +5 -5
  3. package/dist/{chunk-XNNQS646.js → chunk-4LKQAQHE.js} +8 -10
  4. package/dist/{chunk-TQFONRJP.js → chunk-5BRXEOYH.js} +5 -5
  5. package/dist/{chunk-RS2R7COT.js → chunk-5I4ERIIY.js} +3 -9
  6. package/dist/chunk-5SAWCTGN.js +46 -0
  7. package/dist/{chunk-LV27YCGC.js → chunk-63BLJTNP.js} +12 -12
  8. package/dist/{chunk-SOKSKSEX.js → chunk-6XDWK3XF.js} +16 -38
  9. package/dist/{chunk-WFNB7VRA.js → chunk-ARC7TW3L.js} +4 -14
  10. package/dist/{chunk-XUQH2KVG.js → chunk-AYH4F3GT.js} +5 -5
  11. package/dist/{chunk-7QC5VORA.js → chunk-BGMZPA2F.js} +5 -6
  12. package/dist/{chunk-BVJP43JS.js → chunk-BXIKQUP5.js} +7 -7
  13. package/dist/{chunk-2GUGGLPK.js → chunk-CI7RDRVK.js} +52 -133
  14. package/dist/{chunk-FYZCPL2Z.js → chunk-FASYSGWP.js} +3 -6
  15. package/dist/{chunk-4CGPN5SR.js → chunk-GJSFP4V4.js} +3 -9
  16. package/dist/{chunk-4JCVHBYR.js → chunk-GL7OANR6.js} +5 -5
  17. package/dist/{chunk-UQUWZJVN.js → chunk-GZLJZGHX.js} +5 -5
  18. package/dist/{chunk-JTS4UPHJ.js → chunk-HCXWQQTN.js} +5 -5
  19. package/dist/{chunk-AX5N26KG.js → chunk-K4IC7NPI.js} +15 -10
  20. package/dist/{chunk-57ULTP7W.js → chunk-KV5M6BWD.js} +13 -13
  21. package/dist/{chunk-UPP63U4Q.js → chunk-KXBM4OZ4.js} +11 -11
  22. package/dist/{chunk-OAT7ZJED.js → chunk-MNP6VO5F.js} +7 -20
  23. package/dist/{chunk-BCQZ6JQE.js → chunk-NBWRGVYR.js} +4 -6
  24. package/dist/{chunk-CCLAMTCA.js → chunk-NHM75P2J.js} +7 -9
  25. package/dist/{chunk-EYVG6XQS.js → chunk-OKVM3CW4.js} +3 -39
  26. package/dist/{chunk-KFYHEWEK.js → chunk-OSDEWK4V.js} +12 -12
  27. package/dist/{chunk-E4H6V3Z4.js → chunk-PHCC4RQK.js} +11 -11
  28. package/dist/{chunk-6JXBYDIF.js → chunk-PHOJ2NUG.js} +16 -38
  29. package/dist/{chunk-F2OZV76L.js → chunk-PKOQQT7I.js} +7 -7
  30. package/dist/{chunk-75BIJ5PX.js → chunk-Q5XW7CMJ.js} +9 -9
  31. package/dist/{chunk-OSHZ4P3G.js → chunk-SP2ETLT2.js} +5 -5
  32. package/dist/{chunk-UHI6VYFX.js → chunk-TRAG7WPX.js} +15 -11
  33. package/dist/{chunk-ADEOIJ4A.js → chunk-UIA6QRTF.js} +5 -5
  34. package/dist/{chunk-QJ3QPUM5.js → chunk-UMWR2ZFI.js} +5 -5
  35. package/dist/{chunk-5GGLNSGY.js → chunk-UUZVVTOP.js} +5 -5
  36. package/dist/{chunk-4BHQFID2.js → chunk-UYMUOW4P.js} +52 -133
  37. package/dist/{chunk-GMW36QQF.js → chunk-V6DWK6TN.js} +7 -7
  38. package/dist/{chunk-WYQJ4JWO.js → chunk-VIZCJ7MZ.js} +13 -13
  39. package/dist/{chunk-TQCLUNM2.js → chunk-VNIE2AZB.js} +4 -4
  40. package/dist/{chunk-TZJROXB3.js → chunk-WSZXPLJQ.js} +4 -4
  41. package/dist/{chunk-CKEEY4OR.js → chunk-XV3WHAKH.js} +5 -5
  42. package/dist/{chunk-JOIIWB3U.js → chunk-YV4IFLW4.js} +128 -129
  43. package/dist/{chunk-HFFWZTVM.js → chunk-YXCPS3WU.js} +5 -15
  44. package/dist/cli/checkUnsupportedDataProxy.d.ts +7 -9
  45. package/dist/cli/checkUnsupportedDataProxy.js +52 -62
  46. package/dist/cli/directoryConfig.d.ts +5 -2
  47. package/dist/cli/directoryConfig.js +2 -2
  48. package/dist/cli/getGeneratorSuccessMessage.js +2 -3
  49. package/dist/cli/getSchema.d.ts +1 -15
  50. package/dist/cli/getSchema.js +4 -5
  51. package/dist/cli/hashes.js +4 -4
  52. package/dist/cli/schemaContext.d.ts +3 -20
  53. package/dist/cli/schemaContext.js +53 -62
  54. package/dist/cli/types.d.ts +1 -1
  55. package/dist/engine-commands/errorHelpers.js +4 -4
  56. package/dist/engine-commands/formatSchema.js +51 -61
  57. package/dist/engine-commands/getConfig.d.ts +1 -5
  58. package/dist/engine-commands/getConfig.js +10 -13
  59. package/dist/engine-commands/getDmmf.js +10 -10
  60. package/dist/engine-commands/getEngineVersion.js +4 -8
  61. package/dist/engine-commands/getEnginesInfo.d.ts +0 -1
  62. package/dist/engine-commands/getEnginesInfo.js +5 -8
  63. package/dist/engine-commands/index.d.ts +1 -1
  64. package/dist/engine-commands/index.js +61 -73
  65. package/dist/engine-commands/lintSchema.js +9 -9
  66. package/dist/engine-commands/mergeSchemas.js +10 -10
  67. package/dist/engine-commands/queryEngineCommons.js +6 -6
  68. package/dist/engine-commands/validate.js +10 -10
  69. package/dist/get-generators/getGenerators.d.ts +0 -2
  70. package/dist/get-generators/getGenerators.js +54 -64
  71. package/dist/get-generators/utils/binaryTypeToEngineType.js +2 -2
  72. package/dist/get-generators/utils/engineTypeToBinaryType.js +2 -2
  73. package/dist/get-generators/utils/getBinaryPathsByVersion.js +4 -4
  74. package/dist/getPackedPackage.js +3 -3
  75. package/dist/highlight/highlight.js +5 -5
  76. package/dist/index.d.ts +4 -16
  77. package/dist/index.js +96 -120
  78. package/dist/resolveBinary.js +6 -6
  79. package/dist/schemaEngineCommands.js +7 -7
  80. package/dist/sendPanic.js +2 -3
  81. package/dist/types.d.ts +15 -0
  82. package/dist/utils/fs-functional.js +10 -10
  83. package/dist/utils/fs-utils.js +8 -8
  84. package/dist/utils/getVersionFromPackageJson.js +3 -3
  85. package/dist/utils/handlePanic.js +4 -5
  86. package/dist/utils/missingDatasource.js +4 -4
  87. package/dist/utils/missingGeneratorMessage.js +6 -6
  88. package/dist/utils/toSchemasContainer.d.ts +1 -1
  89. package/dist/utils/toSchemasContainer.js +3 -3
  90. package/dist/utils/validatePrismaConfigWithDatasource.d.ts +15 -0
  91. package/dist/utils/{handleEngineLoadingErrors.js → validatePrismaConfigWithDatasource.js} +7 -6
  92. package/dist/wasm.js +5 -5
  93. package/package.json +15 -17
  94. package/dist/chunk-3FP46GUV.js +0 -471
  95. package/dist/chunk-46ABODUM.js +0 -186
  96. package/dist/chunk-6TTRTZXU.js +0 -37
  97. package/dist/chunk-D4VDA2TZ.js +0 -66
  98. package/dist/chunk-DZYINYAA.js +0 -68
  99. package/dist/chunk-ERSH2BQA.js +0 -58
  100. package/dist/chunk-HO5HRHFZ.js +0 -30
  101. package/dist/chunk-KDHESRKE.js +0 -49
  102. package/dist/chunk-PZMRR772.js +0 -41
  103. package/dist/chunk-RFB2U4GQ.js +0 -41
  104. package/dist/chunk-T2PM5TKT.js +0 -55
  105. package/dist/cli/checkUnsupportedSchemaEngineWasm.d.ts +0 -22
  106. package/dist/cli/checkUnsupportedSchemaEngineWasm.js +0 -135
  107. package/dist/client/getClientEngineType.d.ts +0 -7
  108. package/dist/client/getClientEngineType.js +0 -26
  109. package/dist/dotenvExpand.d.ts +0 -35
  110. package/dist/dotenvExpand.js +0 -25
  111. package/dist/utils/__tests__/maskSchema.test.js +0 -23
  112. package/dist/utils/cloudflareD1.d.ts +0 -5
  113. package/dist/utils/cloudflareD1.js +0 -27
  114. package/dist/utils/getEnvPaths.d.ts +0 -14
  115. package/dist/utils/getEnvPaths.js +0 -29
  116. package/dist/utils/getMigrateConfigDir.d.ts +0 -2
  117. package/dist/utils/getMigrateConfigDir.js +0 -25
  118. package/dist/utils/handleEngineLoadingErrors.d.ts +0 -8
  119. package/dist/utils/load.d.ts +0 -6
  120. package/dist/utils/load.js +0 -28
  121. package/dist/utils/loadEnvFile.d.ts +0 -10
  122. package/dist/utils/loadEnvFile.js +0 -30
  123. package/dist/utils/maskSchema.d.ts +0 -4
  124. package/dist/utils/maskSchema.js +0 -27
  125. package/dist/utils/serializeQueryEngineName.d.ts +0 -4
  126. package/dist/utils/serializeQueryEngineName.js +0 -25
  127. package/dist/utils/tryLoadEnvs.d.ts +0 -25
  128. package/dist/utils/tryLoadEnvs.js +0 -30
package/dist/index.d.ts CHANGED
@@ -1,5 +1,4 @@
1
1
  export { checkUnsupportedDataProxy } from './cli/checkUnsupportedDataProxy';
2
- export { checkUnsupportedSchemaEngineWasm } from './cli/checkUnsupportedSchemaEngineWasm';
3
2
  export { type DirectoryConfig, inferDirectoryConfig } from './cli/directoryConfig';
4
3
  export { getGeneratorSuccessMessage } from './cli/getGeneratorSuccessMessage';
5
4
  export { type GetSchemaOptions, getSchemaWithPath, getSchemaWithPathOptional, printSchemaLoadedMessage, } from './cli/getSchema';
@@ -7,13 +6,11 @@ export { getTypescriptVersion } from './cli/getTypescriptVersion';
7
6
  export { getCLIPathHash, getProjectHash } from './cli/hashes';
8
7
  export { unknownCommand } from './cli/Help';
9
8
  export { HelpError } from './cli/Help';
10
- export { loadSchemaContext, processSchemaResult, type SchemaContext } from './cli/schemaContext';
9
+ export { getSchemaDatasourceProvider, loadSchemaContext, processSchemaResult, type SchemaContext, } from './cli/schemaContext';
11
10
  export type { Command, Commands, CompiledGeneratorDefinition, Dictionary, GeneratorConfig, GeneratorDefinition, GeneratorDefinitionWithPackage, GeneratorFunction, GeneratorOptions, } from './cli/types';
12
11
  export { arg, format, isError } from './cli/utils';
13
- export { ClientEngineType, getClientEngineType } from './client/getClientEngineType';
14
12
  export { credentialsToUri, protocolToConnectorType, uriToCredentials } from './convertCredentials';
15
13
  export * from './engine-commands';
16
- export { resolveUrl } from './engine-commands/getConfig';
17
14
  export { relativizePathInPSLError } from './engine-commands/relativizePathInPSLError';
18
15
  export { Generator } from './Generator';
19
16
  export { type GeneratorRegistry, type GeneratorRegistryEntry, getGenerator, getGenerators, } from './get-generators/getGenerators';
@@ -32,7 +29,7 @@ export { canConnectToDatabase, createDatabase, dropDatabase } from './schemaEngi
32
29
  export { SchemaEngineExitCode } from './schemaEngineCommands';
33
30
  export { sendPanic } from './sendPanic';
34
31
  export * from './tracing/types';
35
- export type { DatabaseCredentials } from './types';
32
+ export type { DatabaseCredentials, RequireKey } from './types';
36
33
  export { assertAlways } from './utils/assertAlways';
37
34
  export { assertNever } from './utils/assertNever';
38
35
  export { binaryTargetRegex } from './utils/binaryTargetRegex';
@@ -40,7 +37,6 @@ export { default as byline } from './utils/byline';
40
37
  export { callOnceOnSuccess } from './utils/callOnce';
41
38
  export { canPrompt } from './utils/canPrompt';
42
39
  export { chmodPlusX } from './utils/chmodPlusX';
43
- export { locateLocalCloudflareD1 } from './utils/cloudflareD1';
44
40
  export { drawBox } from './utils/drawBox';
45
41
  export { extractPreviewFeatures } from './utils/extractPreviewFeatures';
46
42
  export { formatms } from './utils/formatms';
@@ -48,10 +44,7 @@ export { formatTable } from './utils/formatTable';
48
44
  export * as fsFunctional from './utils/fs-functional';
49
45
  export * as fsUtils from './utils/fs-utils';
50
46
  export { getCommandWithExecutor } from './utils/getCommandWithExecutor';
51
- export { getEnvPaths } from './utils/getEnvPaths';
52
- export { getMigrateConfigDir } from './utils/getMigrateConfigDir';
53
47
  export { version } from './utils/getVersionFromPackageJson';
54
- export { handleLibraryLoadingErrors } from './utils/handleEngineLoadingErrors';
55
48
  export { handlePanic } from './utils/handlePanic';
56
49
  export { hasOwnProperty } from './utils/hasOwnProperty';
57
50
  export { isCi } from './utils/isCi';
@@ -63,10 +56,7 @@ export { isPromiseLike } from './utils/isPromiseLike';
63
56
  export { isValidJsIdentifier } from './utils/isValidJsIdentifier';
64
57
  export { keyBy } from './utils/keyBy';
65
58
  export { link } from './utils/link';
66
- export { loadLibrary as load } from './utils/load';
67
- export { loadEnvFile } from './utils/loadEnvFile';
68
59
  export { mapObjectValues } from './utils/mapObjectValues';
69
- export { maskSchema } from './utils/maskSchema';
70
60
  export { maxBy, maxWithComparator } from './utils/max';
71
61
  export { maybeInGitHook } from './utils/maybeInGitHook';
72
62
  export { missingGeneratorMessage } from './utils/missingGeneratorMessage';
@@ -78,15 +68,13 @@ export { printConfigWarnings } from './utils/printConfigWarnings';
78
68
  export { isPrismaPostgres, isPrismaPostgresDev, PRISMA_POSTGRES_PROTOCOL, PRISMA_POSTGRES_PROVIDER, } from './utils/prismaPostgres';
79
69
  export { extractSchemaContent, type SchemaFileInput } from './utils/schemaFileInput';
80
70
  export { type MultipleSchemas } from './utils/schemaFileInput';
81
- export { serializeQueryEngineName } from './utils/serializeQueryEngineName';
82
71
  export { setClassName } from './utils/setClassName';
83
72
  export { toSchemasContainer, toSchemasWithConfigDir } from './utils/toSchemasContainer';
84
- export { type LoadedEnv, tryLoadEnvs } from './utils/tryLoadEnvs';
73
+ export { type PrismaConfigWithDatasource, validatePrismaConfigWithDatasource, } from './utils/validatePrismaConfigWithDatasource';
85
74
  export { vercelPkgPathRegex } from './utils/vercelPkgPathRegex';
86
75
  export { warnOnce } from './warnOnce';
87
76
  export * as wasm from './wasm';
88
77
  export { wasmSchemaEngineLoader } from './WasmSchemaEngineLoader';
89
- export type { EnvPaths } from '@prisma/generator';
90
78
  export type { BinaryTarget } from '@prisma/get-platform';
91
- export { getBinaryTargetForCurrentPlatform, getNodeAPIName } from '@prisma/get-platform';
79
+ export { getBinaryTargetForCurrentPlatform } from '@prisma/get-platform';
92
80
  export type { GetSchemaResult } from '@prisma/schema-files-loader';
package/dist/index.js CHANGED
@@ -18,71 +18,63 @@ 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_FYZCPL2Z.BinaryType,
22
- ClientEngineType: () => import_chunk_ERSH2BQA.ClientEngineType,
21
+ BinaryType: () => import_chunk_FASYSGWP.BinaryType,
23
22
  ErrorArea: () => import_chunk_LMVSIVKQ.ErrorArea,
24
23
  Generator: () => import_chunk_BPDMLM32.Generator,
25
24
  HelpError: () => import_chunk_6JE6QGSJ.HelpError,
26
25
  PRISMA_POSTGRES_PROTOCOL: () => import_chunk_LPNBWFQ3.PRISMA_POSTGRES_PROTOCOL,
27
26
  PRISMA_POSTGRES_PROVIDER: () => import_chunk_LPNBWFQ3.PRISMA_POSTGRES_PROVIDER,
28
27
  RustPanic: () => import_chunk_LMVSIVKQ.RustPanic,
29
- SchemaEngineExitCode: () => import_chunk_UHI6VYFX.SchemaEngineExitCode,
28
+ SchemaEngineExitCode: () => import_chunk_TRAG7WPX.SchemaEngineExitCode,
30
29
  arg: () => import_chunk_D4VZUY3O.arg,
31
30
  assertAlways: () => import_chunk_Y4TOGY6I.assertAlways,
32
31
  assertNever: () => import_chunk_IL7PSY44.assertNever,
33
32
  binaryTargetRegex: () => import_chunk_DODIJPCS.binaryTargetRegex,
34
33
  byline: () => import_chunk_L6KOIJJ5.byline,
35
34
  callOnceOnSuccess: () => import_chunk_NIWBAJZV.callOnceOnSuccess,
36
- canConnectToDatabase: () => import_chunk_UHI6VYFX.canConnectToDatabase,
35
+ canConnectToDatabase: () => import_chunk_TRAG7WPX.canConnectToDatabase,
37
36
  canPrompt: () => import_chunk_FCYHZHVW.canPrompt,
38
- checkUnsupportedDataProxy: () => import_chunk_4BHQFID2.checkUnsupportedDataProxy,
39
- checkUnsupportedSchemaEngineWasm: () => import_chunk_4BHQFID2.checkUnsupportedSchemaEngineWasm,
37
+ checkUnsupportedDataProxy: () => import_chunk_CI7RDRVK.checkUnsupportedDataProxy,
40
38
  chmodPlusX: () => import_chunk_TWSLDIFL.chmodPlusX,
41
- createDatabase: () => import_chunk_UHI6VYFX.createDatabase,
39
+ createDatabase: () => import_chunk_TRAG7WPX.createDatabase,
42
40
  credentialsToUri: () => import_chunk_LYFOJ5NK.credentialsToUri,
43
41
  drawBox: () => import_chunk_HHG4DGHC.drawBox,
44
- dropDatabase: () => import_chunk_UHI6VYFX.dropDatabase,
45
- engineEnvVarMap: () => import_chunk_FYZCPL2Z.engineEnvVarMap,
42
+ dropDatabase: () => import_chunk_TRAG7WPX.dropDatabase,
43
+ engineEnvVarMap: () => import_chunk_FASYSGWP.engineEnvVarMap,
46
44
  extractPreviewFeatures: () => import_chunk_CRVLHWC5.extractPreviewFeatures,
47
45
  extractSchemaContent: () => import_chunk_PFYALFCY.extractSchemaContent,
48
46
  fixBinaryTargets: () => import_chunk_X77CS5RK.fixBinaryTargets,
49
47
  format: () => import_chunk_D4VZUY3O.format,
50
- formatSchema: () => import_chunk_4BHQFID2.formatSchema,
48
+ formatSchema: () => import_chunk_CI7RDRVK.formatSchema,
51
49
  formatTable: () => import_chunk_QN6PSQY7.formatTable,
52
50
  formatms: () => import_chunk_XYCIH36R.formatms,
53
- fsFunctional: () => import_chunk_75BIJ5PX.fs_functional_exports,
54
- fsUtils: () => import_chunk_TQFONRJP.fs_utils_exports,
55
- getBinaryTargetForCurrentPlatform: () => import_chunk_4BHQFID2.getBinaryTargetForCurrentPlatform,
56
- getCLIPathHash: () => import_chunk_4JCVHBYR.getCLIPathHash,
57
- getClientEngineType: () => import_chunk_ERSH2BQA.getClientEngineType,
51
+ fsFunctional: () => import_chunk_Q5XW7CMJ.fs_functional_exports,
52
+ fsUtils: () => import_chunk_5BRXEOYH.fs_utils_exports,
53
+ getBinaryTargetForCurrentPlatform: () => import_chunk_CI7RDRVK.getBinaryTargetForCurrentPlatform,
54
+ getCLIPathHash: () => import_chunk_GL7OANR6.getCLIPathHash,
58
55
  getCommandWithExecutor: () => import_chunk_CUD726EK.getCommandWithExecutor,
59
- getConfig: () => import_chunk_6JXBYDIF.getConfig,
60
- getDMMF: () => import_chunk_KFYHEWEK.getDMMF,
61
- getDirectUrl: () => import_chunk_6JXBYDIF.getDirectUrl,
62
- getEffectiveUrl: () => import_chunk_6JXBYDIF.getEffectiveUrl,
63
- getEngineVersion: () => import_chunk_OAT7ZJED.getEngineVersion,
64
- getEnginesInfo: () => import_chunk_GMW36QQF.getEnginesInfo,
65
- getEnvPaths: () => import_chunk_46ABODUM.getEnvPaths,
66
- getGenerator: () => import_chunk_4BHQFID2.getGenerator,
67
- getGeneratorSuccessMessage: () => import_chunk_WFNB7VRA.getGeneratorSuccessMessage,
68
- getGenerators: () => import_chunk_4BHQFID2.getGenerators,
69
- getLintWarningsAsText: () => import_chunk_ADEOIJ4A.getLintWarningsAsText,
70
- getMigrateConfigDir: () => import_chunk_RFB2U4GQ.getMigrateConfigDir,
71
- getNodeAPIName: () => import_chunk_4BHQFID2.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,
56
+ getConfig: () => import_chunk_PHOJ2NUG.getConfig,
57
+ getDMMF: () => import_chunk_OSDEWK4V.getDMMF,
58
+ getEngineVersion: () => import_chunk_MNP6VO5F.getEngineVersion,
59
+ getEnginesInfo: () => import_chunk_V6DWK6TN.getEnginesInfo,
60
+ getGenerator: () => import_chunk_CI7RDRVK.getGenerator,
61
+ getGeneratorSuccessMessage: () => import_chunk_ARC7TW3L.getGeneratorSuccessMessage,
62
+ getGenerators: () => import_chunk_CI7RDRVK.getGenerators,
63
+ getLintWarningsAsText: () => import_chunk_27NCZWR5.getLintWarningsAsText,
64
+ getPackedPackage: () => import_chunk_BXIKQUP5.getPackedPackage,
65
+ getProjectHash: () => import_chunk_GL7OANR6.getProjectHash,
66
+ getSchemaDatasourceProvider: () => import_chunk_CI7RDRVK.getSchemaDatasourceProvider,
67
+ getSchemaWithPath: () => import_chunk_OKVM3CW4.getSchemaWithPath,
68
+ getSchemaWithPathOptional: () => import_chunk_OKVM3CW4.getSchemaWithPathOptional,
76
69
  getTypescriptVersion: () => import_chunk_J7ZPY2XA.getTypescriptVersion,
77
70
  getWasmError: () => import_chunk_LMVSIVKQ.getWasmError,
78
- handleLibraryLoadingErrors: () => import_chunk_DZYINYAA.handleLibraryLoadingErrors,
79
- handleLintPanic: () => import_chunk_ADEOIJ4A.handleLintPanic,
80
- handlePanic: () => import_chunk_UQUWZJVN.handlePanic,
71
+ handleLintPanic: () => import_chunk_27NCZWR5.handleLintPanic,
72
+ handlePanic: () => import_chunk_GZLJZGHX.handlePanic,
81
73
  hasOwnProperty: () => import_chunk_WV4QHCSM.hasOwnProperty,
82
- highlightDatamodel: () => import_chunk_TQCLUNM2.highlightDatamodel,
83
- highlightSql: () => import_chunk_TQCLUNM2.highlightSql,
84
- highlightTS: () => import_chunk_TQCLUNM2.highlightTS,
85
- inferDirectoryConfig: () => import_chunk_BCQZ6JQE.inferDirectoryConfig,
74
+ highlightDatamodel: () => import_chunk_VNIE2AZB.highlightDatamodel,
75
+ highlightSql: () => import_chunk_VNIE2AZB.highlightSql,
76
+ highlightTS: () => import_chunk_VNIE2AZB.highlightTS,
77
+ inferDirectoryConfig: () => import_chunk_NBWRGVYR.inferDirectoryConfig,
86
78
  isCi: () => import_chunk_H4NI2RIK.isCi,
87
79
  isCurrentBinInstalledGlobally: () => import_chunk_BERN76ZI.isCurrentBinInstalledGlobally,
88
80
  isError: () => import_chunk_D4VZUY3O.isError,
@@ -97,20 +89,16 @@ __export(index_exports, {
97
89
  isWasmPanic: () => import_chunk_LMVSIVKQ.isWasmPanic,
98
90
  keyBy: () => import_chunk_ZKWDIAVF.keyBy,
99
91
  link: () => import_chunk_I6WLABB2.link,
100
- lintSchema: () => import_chunk_ADEOIJ4A.lintSchema,
101
- load: () => import_chunk_6TTRTZXU.loadLibrary,
102
- loadEnvFile: () => import_chunk_PZMRR772.loadEnvFile,
103
- loadSchemaContext: () => import_chunk_4BHQFID2.loadSchemaContext,
104
- locateLocalCloudflareD1: () => import_chunk_D4VDA2TZ.locateLocalCloudflareD1,
92
+ lintSchema: () => import_chunk_27NCZWR5.lintSchema,
93
+ loadSchemaContext: () => import_chunk_CI7RDRVK.loadSchemaContext,
105
94
  logger: () => import_chunk_ZJWZK45Z.logger_exports,
106
95
  longestCommonPathPrefix: () => import_chunk_J77ZIDXB.longestCommonPathPrefix,
107
96
  mapObjectValues: () => import_chunk_UGR6KLZN.mapObjectValues,
108
- maskSchema: () => import_chunk_KDHESRKE.maskSchema,
109
97
  maxBy: () => import_chunk_CGFNDGGI.maxBy,
110
98
  maxWithComparator: () => import_chunk_CGFNDGGI.maxWithComparator,
111
99
  maybeInGitHook: () => import_chunk_LRBXMV4B.maybeInGitHook,
112
- mergeSchemas: () => import_chunk_UPP63U4Q.mergeSchemas,
113
- missingGeneratorMessage: () => import_chunk_AX5N26KG.missingGeneratorMessage,
100
+ mergeSchemas: () => import_chunk_KXBM4OZ4.mergeSchemas,
101
+ missingGeneratorMessage: () => import_chunk_K4IC7NPI.missingGeneratorMessage,
114
102
  parseAWSNodejsRuntimeEnvVarVersion: () => import_chunk_2SDPW6AX.parseAWSNodejsRuntimeEnvVarVersion,
115
103
  parseBinaryTargetsEnvValue: () => import_chunk_IOIAK7V7.parseBinaryTargetsEnvValue,
116
104
  parseEnvValue: () => import_chunk_IOIAK7V7.parseEnvValue,
@@ -118,138 +106,126 @@ __export(index_exports, {
118
106
  pick: () => import_chunk_GXW4NTU2.pick,
119
107
  printConfigWarnings: () => import_chunk_5FJ3MENK.printConfigWarnings,
120
108
  printGeneratorConfig: () => import_chunk_LRU47BGE.printGeneratorConfig,
121
- printSchemaLoadedMessage: () => import_chunk_EYVG6XQS.printSchemaLoadedMessage,
122
- processSchemaResult: () => import_chunk_4BHQFID2.processSchemaResult,
109
+ printSchemaLoadedMessage: () => import_chunk_OKVM3CW4.printSchemaLoadedMessage,
110
+ processSchemaResult: () => import_chunk_CI7RDRVK.processSchemaResult,
123
111
  protocolToConnectorType: () => import_chunk_LYFOJ5NK.protocolToConnectorType,
124
112
  relativizePathInPSLError: () => import_chunk_C47SCASR.relativizePathInPSLError,
125
- resolveBinary: () => import_chunk_FYZCPL2Z.resolveBinary,
126
- resolveEngine: () => import_chunk_GMW36QQF.resolveEngine,
113
+ resolveBinary: () => import_chunk_FASYSGWP.resolveBinary,
114
+ resolveEngine: () => import_chunk_V6DWK6TN.resolveEngine,
127
115
  resolvePkg: () => import_chunk_UMM35VP5.resolvePkg,
128
- resolveUrl: () => import_chunk_6JXBYDIF.resolveUrl,
129
- sendPanic: () => import_chunk_HFFWZTVM.sendPanic,
130
- serializeQueryEngineName: () => import_chunk_HO5HRHFZ.serializeQueryEngineName,
116
+ sendPanic: () => import_chunk_YXCPS3WU.sendPanic,
131
117
  setClassName: () => import_chunk_ANU3HEGF.setClassName,
132
- toSchemasContainer: () => import_chunk_OSHZ4P3G.toSchemasContainer,
133
- toSchemasWithConfigDir: () => import_chunk_OSHZ4P3G.toSchemasWithConfigDir,
134
- tryLoadEnvs: () => import_chunk_3FP46GUV.tryLoadEnvs,
118
+ toSchemasContainer: () => import_chunk_SP2ETLT2.toSchemasContainer,
119
+ toSchemasWithConfigDir: () => import_chunk_SP2ETLT2.toSchemasWithConfigDir,
135
120
  unknownCommand: () => import_chunk_6JE6QGSJ.unknownCommand,
136
121
  uriToCredentials: () => import_chunk_LYFOJ5NK.uriToCredentials,
137
- validate: () => import_chunk_57ULTP7W.validate,
122
+ validate: () => import_chunk_VIZCJ7MZ.validate,
123
+ validatePrismaConfigWithDatasource: () => import_chunk_5SAWCTGN.validatePrismaConfigWithDatasource,
138
124
  vercelPkgPathRegex: () => import_chunk_M3GBKLGE.vercelPkgPathRegex,
139
- version: () => import_chunk_XUQH2KVG.version,
125
+ version: () => import_chunk_UMWR2ZFI.version,
140
126
  warnOnce: () => import_chunk_DTPFRZWV.warnOnce,
141
- wasm: () => import_chunk_CKEEY4OR.wasm_exports,
127
+ wasm: () => import_chunk_4JX4AYC6.wasm_exports,
142
128
  wasmSchemaEngineLoader: () => import_chunk_SBUSVJCV.wasmSchemaEngineLoader
143
129
  });
144
130
  module.exports = __toCommonJS(index_exports);
145
- var import_chunk_4BHQFID2 = require("./chunk-4BHQFID2.js");
131
+ var import_chunk_CI7RDRVK = require("./chunk-CI7RDRVK.js");
132
+ var import_chunk_X77CS5RK = require("./chunk-X77CS5RK.js");
133
+ var import_chunk_PKOQQT7I = require("./chunk-PKOQQT7I.js");
134
+ var import_chunk_5I4ERIIY = require("./chunk-5I4ERIIY.js");
135
+ var import_chunk_GJSFP4V4 = require("./chunk-GJSFP4V4.js");
146
136
  var import_chunk_X3P4J7WW = require("./chunk-X3P4J7WW.js");
147
137
  var import_chunk_LRU47BGE = require("./chunk-LRU47BGE.js");
148
- var import_chunk_OSHZ4P3G = require("./chunk-OSHZ4P3G.js");
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");
153
- var import_chunk_GXW4NTU2 = require("./chunk-GXW4NTU2.js");
154
138
  var import_chunk_5FJ3MENK = require("./chunk-5FJ3MENK.js");
155
139
  var import_chunk_PFYALFCY = require("./chunk-PFYALFCY.js");
156
- var import_chunk_HO5HRHFZ = require("./chunk-HO5HRHFZ.js");
140
+ var import_chunk_SP2ETLT2 = require("./chunk-SP2ETLT2.js");
141
+ var import_chunk_5SAWCTGN = require("./chunk-5SAWCTGN.js");
157
142
  var import_chunk_ANU3HEGF = require("./chunk-ANU3HEGF.js");
158
- var import_chunk_LRBXMV4B = require("./chunk-LRBXMV4B.js");
159
- var import_chunk_7QC5VORA = require("./chunk-7QC5VORA.js");
160
- var import_chunk_AX5N26KG = require("./chunk-AX5N26KG.js");
143
+ var import_chunk_K4IC7NPI = require("./chunk-K4IC7NPI.js");
161
144
  var import_chunk_2SDPW6AX = require("./chunk-2SDPW6AX.js");
162
- var import_chunk_PZMRR772 = require("./chunk-PZMRR772.js");
145
+ var import_chunk_GXW4NTU2 = require("./chunk-GXW4NTU2.js");
146
+ var import_chunk_ZKWDIAVF = require("./chunk-ZKWDIAVF.js");
163
147
  var import_chunk_7B5PXS6N = require("./chunk-7B5PXS6N.js");
164
148
  var import_chunk_UGR6KLZN = require("./chunk-UGR6KLZN.js");
165
149
  var import_chunk_CGFNDGGI = require("./chunk-CGFNDGGI.js");
150
+ var import_chunk_LRBXMV4B = require("./chunk-LRBXMV4B.js");
151
+ var import_chunk_BGMZPA2F = require("./chunk-BGMZPA2F.js");
152
+ var import_chunk_WV4QHCSM = require("./chunk-WV4QHCSM.js");
166
153
  var import_chunk_XXTPN4LB = require("./chunk-XXTPN4LB.js");
167
154
  var import_chunk_2IOZUH3U = require("./chunk-2IOZUH3U.js");
168
155
  var import_chunk_JTKAT4KZ = require("./chunk-JTKAT4KZ.js");
169
156
  var import_chunk_RBDYOTWB = require("./chunk-RBDYOTWB.js");
170
- var import_chunk_ZKWDIAVF = require("./chunk-ZKWDIAVF.js");
157
+ var import_chunk_Q5XW7CMJ = require("./chunk-Q5XW7CMJ.js");
158
+ var import_chunk_5BRXEOYH = require("./chunk-5BRXEOYH.js");
159
+ var import_chunk_J77ZIDXB = require("./chunk-J77ZIDXB.js");
171
160
  var import_chunk_CUD726EK = require("./chunk-CUD726EK.js");
172
161
  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");
162
+ var import_chunk_GZLJZGHX = require("./chunk-GZLJZGHX.js");
177
163
  var import_chunk_I6WLABB2 = require("./chunk-I6WLABB2.js");
178
164
  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");
188
- var import_chunk_IL7PSY44 = require("./chunk-IL7PSY44.js");
189
165
  var import_chunk_DODIJPCS = require("./chunk-DODIJPCS.js");
190
166
  var import_chunk_L6KOIJJ5 = require("./chunk-L6KOIJJ5.js");
191
167
  var import_chunk_NIWBAJZV = require("./chunk-NIWBAJZV.js");
192
168
  var import_chunk_FCYHZHVW = require("./chunk-FCYHZHVW.js");
193
169
  var import_chunk_H4NI2RIK = require("./chunk-H4NI2RIK.js");
194
170
  var import_chunk_ICFLO5JW = require("./chunk-ICFLO5JW.js");
195
- var import_chunk_57ULTP7W = require("./chunk-57ULTP7W.js");
196
- var import_chunk_TQCLUNM2 = require("./chunk-TQCLUNM2.js");
197
- var import_chunk_OIVPX3BR = require("./chunk-OIVPX3BR.js");
171
+ var import_chunk_HHG4DGHC = require("./chunk-HHG4DGHC.js");
172
+ var import_chunk_CRVLHWC5 = require("./chunk-CRVLHWC5.js");
173
+ var import_chunk_VNIE2AZB = require("./chunk-VNIE2AZB.js");
198
174
  var import_chunk_CYAS6B5N = require("./chunk-CYAS6B5N.js");
175
+ var import_chunk_OIVPX3BR = require("./chunk-OIVPX3BR.js");
199
176
  var import_chunk_HPVMQFIY = require("./chunk-HPVMQFIY.js");
200
177
  var import_chunk_E23HYCQJ = require("./chunk-E23HYCQJ.js");
201
- var import_chunk_6JXBYDIF = require("./chunk-6JXBYDIF.js");
202
- var import_chunk_KFYHEWEK = require("./chunk-KFYHEWEK.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_ADEOIJ4A = require("./chunk-ADEOIJ4A.js");
208
- var import_chunk_UPP63U4Q = require("./chunk-UPP63U4Q.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");
212
- var import_chunk_J7ZPY2XA = require("./chunk-J7ZPY2XA.js");
213
- var import_chunk_4JCVHBYR = require("./chunk-4JCVHBYR.js");
214
- var import_chunk_EYVG6XQS = require("./chunk-EYVG6XQS.js");
178
+ var import_chunk_HW5RCZSE = require("./chunk-HW5RCZSE.js");
179
+ var import_chunk_Y4TOGY6I = require("./chunk-Y4TOGY6I.js");
180
+ var import_chunk_IL7PSY44 = require("./chunk-IL7PSY44.js");
181
+ var import_chunk_V6DWK6TN = require("./chunk-V6DWK6TN.js");
182
+ var import_chunk_MNP6VO5F = require("./chunk-MNP6VO5F.js");
183
+ var import_chunk_27NCZWR5 = require("./chunk-27NCZWR5.js");
184
+ var import_chunk_KXBM4OZ4 = require("./chunk-KXBM4OZ4.js");
185
+ var import_chunk_VIZCJ7MZ = require("./chunk-VIZCJ7MZ.js");
186
+ var import_chunk_GL7OANR6 = require("./chunk-GL7OANR6.js");
215
187
  var import_chunk_D4VZUY3O = require("./chunk-D4VZUY3O.js");
216
- var import_chunk_5GGLNSGY = require("./chunk-5GGLNSGY.js");
217
- var import_chunk_XUQH2KVG = require("./chunk-XUQH2KVG.js");
188
+ var import_chunk_PHOJ2NUG = require("./chunk-PHOJ2NUG.js");
189
+ var import_chunk_OSDEWK4V = require("./chunk-OSDEWK4V.js");
190
+ var import_chunk_WSZXPLJQ = require("./chunk-WSZXPLJQ.js");
191
+ var import_chunk_R6QH57HZ = require("./chunk-R6QH57HZ.js");
192
+ var import_chunk_C47SCASR = require("./chunk-C47SCASR.js");
193
+ var import_chunk_HCXWQQTN = require("./chunk-HCXWQQTN.js");
218
194
  var import_chunk_QN6PSQY7 = require("./chunk-QN6PSQY7.js");
195
+ var import_chunk_UMWR2ZFI = require("./chunk-UMWR2ZFI.js");
219
196
  var import_chunk_DTPFRZWV = require("./chunk-DTPFRZWV.js");
220
- var import_chunk_CKEEY4OR = require("./chunk-CKEEY4OR.js");
221
- var import_chunk_XNNQS646 = require("./chunk-XNNQS646.js");
197
+ var import_chunk_4JX4AYC6 = require("./chunk-4JX4AYC6.js");
198
+ var import_chunk_4LKQAQHE = require("./chunk-4LKQAQHE.js");
222
199
  var import_chunk_6JE6QGSJ = require("./chunk-6JE6QGSJ.js");
223
- var import_chunk_BCQZ6JQE = require("./chunk-BCQZ6JQE.js");
224
- var import_chunk_WFNB7VRA = require("./chunk-WFNB7VRA.js");
200
+ var import_chunk_NBWRGVYR = require("./chunk-NBWRGVYR.js");
201
+ var import_chunk_ARC7TW3L = require("./chunk-ARC7TW3L.js");
225
202
  var import_chunk_XYCIH36R = require("./chunk-XYCIH36R.js");
226
- var import_chunk_ERSH2BQA = require("./chunk-ERSH2BQA.js");
227
- var import_chunk_ZJWZK45Z = require("./chunk-ZJWZK45Z.js");
203
+ var import_chunk_OKVM3CW4 = require("./chunk-OKVM3CW4.js");
204
+ var import_chunk_J7ZPY2XA = require("./chunk-J7ZPY2XA.js");
228
205
  var import_chunk_2B26F5N3 = require("./chunk-2B26F5N3.js");
229
- var import_chunk_UHI6VYFX = require("./chunk-UHI6VYFX.js");
206
+ var import_chunk_TRAG7WPX = require("./chunk-TRAG7WPX.js");
230
207
  var import_chunk_JOIHHXR6 = require("./chunk-JOIHHXR6.js");
231
- var import_chunk_FYZCPL2Z = require("./chunk-FYZCPL2Z.js");
208
+ var import_chunk_FASYSGWP = require("./chunk-FASYSGWP.js");
232
209
  var import_chunk_M3GBKLGE = require("./chunk-M3GBKLGE.js");
233
210
  var import_chunk_IDINCQMN = require("./chunk-IDINCQMN.js");
234
211
  var import_chunk_TWSLDIFL = require("./chunk-TWSLDIFL.js");
235
212
  var import_chunk_5DBOS77Y = require("./chunk-5DBOS77Y.js");
236
- var import_chunk_HFFWZTVM = require("./chunk-HFFWZTVM.js");
237
- var import_chunk_KDHESRKE = require("./chunk-KDHESRKE.js");
213
+ var import_chunk_YXCPS3WU = require("./chunk-YXCPS3WU.js");
238
214
  var import_chunk_XKZ6CBLA = require("./chunk-XKZ6CBLA.js");
239
215
  var import_chunk_LMVSIVKQ = require("./chunk-LMVSIVKQ.js");
240
216
  var import_chunk_BPDMLM32 = require("./chunk-BPDMLM32.js");
241
217
  var import_chunk_IOIAK7V7 = require("./chunk-IOIAK7V7.js");
242
- var import_chunk_PG5FDKSF = require("./chunk-PG5FDKSF.js");
243
218
  var import_chunk_WXRVYSYN = require("./chunk-WXRVYSYN.js");
244
219
  var import_chunk_SBUSVJCV = require("./chunk-SBUSVJCV.js");
245
220
  var import_chunk_LYFOJ5NK = require("./chunk-LYFOJ5NK.js");
246
221
  var import_chunk_LPNBWFQ3 = require("./chunk-LPNBWFQ3.js");
247
- var import_chunk_T2PM5TKT = require("./chunk-T2PM5TKT.js");
248
222
  var import_chunk_5AI4FIZ3 = require("./chunk-5AI4FIZ3.js");
249
223
  var import_chunk_NVNI2SRU = require("./chunk-NVNI2SRU.js");
250
- var import_chunk_BVJP43JS = require("./chunk-BVJP43JS.js");
224
+ var import_chunk_BXIKQUP5 = require("./chunk-BXIKQUP5.js");
251
225
  var import_chunk_KDP6C3CB = require("./chunk-KDP6C3CB.js");
252
- var import_chunk_JOIIWB3U = require("./chunk-JOIIWB3U.js");
226
+ var import_chunk_YV4IFLW4 = require("./chunk-YV4IFLW4.js");
253
227
  var import_chunk_UMM35VP5 = require("./chunk-UMM35VP5.js");
254
228
  var import_chunk_5VQNKCKW = require("./chunk-5VQNKCKW.js");
229
+ var import_chunk_ZJWZK45Z = require("./chunk-ZJWZK45Z.js");
230
+ var import_chunk_PG5FDKSF = require("./chunk-PG5FDKSF.js");
255
231
  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 resolveBinary_exports = {};
20
20
  __export(resolveBinary_exports, {
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
21
+ BinaryType: () => import_chunk_FASYSGWP.BinaryType,
22
+ engineEnvVarMap: () => import_chunk_FASYSGWP.engineEnvVarMap,
23
+ maybeCopyToTmp: () => import_chunk_FASYSGWP.maybeCopyToTmp,
24
+ resolveBinary: () => import_chunk_FASYSGWP.resolveBinary,
25
+ safeResolveBinary: () => import_chunk_FASYSGWP.safeResolveBinary
26
26
  });
27
27
  module.exports = __toCommonJS(resolveBinary_exports);
28
- var import_chunk_FYZCPL2Z = require("./chunk-FYZCPL2Z.js");
28
+ var import_chunk_FASYSGWP = require("./chunk-FASYSGWP.js");
29
29
  var import_chunk_M3GBKLGE = require("./chunk-M3GBKLGE.js");
30
30
  var import_chunk_IDINCQMN = require("./chunk-IDINCQMN.js");
31
31
  var import_chunk_TWSLDIFL = require("./chunk-TWSLDIFL.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 schemaEngineCommands_exports = {};
20
20
  __export(schemaEngineCommands_exports, {
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
21
+ SchemaEngineExitCode: () => import_chunk_TRAG7WPX.SchemaEngineExitCode,
22
+ canConnectToDatabase: () => import_chunk_TRAG7WPX.canConnectToDatabase,
23
+ createDatabase: () => import_chunk_TRAG7WPX.createDatabase,
24
+ dropDatabase: () => import_chunk_TRAG7WPX.dropDatabase,
25
+ execaCommand: () => import_chunk_TRAG7WPX.execaCommand
26
26
  });
27
27
  module.exports = __toCommonJS(schemaEngineCommands_exports);
28
- var import_chunk_UHI6VYFX = require("./chunk-UHI6VYFX.js");
28
+ var import_chunk_TRAG7WPX = require("./chunk-TRAG7WPX.js");
29
29
  var import_chunk_JOIHHXR6 = require("./chunk-JOIHHXR6.js");
30
- var import_chunk_FYZCPL2Z = require("./chunk-FYZCPL2Z.js");
30
+ var import_chunk_FASYSGWP = require("./chunk-FASYSGWP.js");
31
31
  var import_chunk_M3GBKLGE = require("./chunk-M3GBKLGE.js");
32
32
  var import_chunk_IDINCQMN = require("./chunk-IDINCQMN.js");
33
33
  var import_chunk_TWSLDIFL = require("./chunk-TWSLDIFL.js");
package/dist/sendPanic.js CHANGED
@@ -18,11 +18,10 @@ 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_HFFWZTVM.sendPanic
21
+ sendPanic: () => import_chunk_YXCPS3WU.sendPanic
22
22
  });
23
23
  module.exports = __toCommonJS(sendPanic_exports);
24
- var import_chunk_HFFWZTVM = require("./chunk-HFFWZTVM.js");
25
- var import_chunk_KDHESRKE = require("./chunk-KDHESRKE.js");
24
+ var import_chunk_YXCPS3WU = require("./chunk-YXCPS3WU.js");
26
25
  var import_chunk_XKZ6CBLA = require("./chunk-XKZ6CBLA.js");
27
26
  var import_chunk_LMVSIVKQ = require("./chunk-LMVSIVKQ.js");
28
27
  var import_chunk_5AI4FIZ3 = require("./chunk-5AI4FIZ3.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,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_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
21
+ createDirIfNotExists: () => import_chunk_Q5XW7CMJ.createDirIfNotExists,
22
+ getFilesInDir: () => import_chunk_Q5XW7CMJ.getFilesInDir,
23
+ getNestedFoldersInDir: () => import_chunk_Q5XW7CMJ.getNestedFoldersInDir,
24
+ removeDir: () => import_chunk_Q5XW7CMJ.removeDir,
25
+ removeEmptyDirs: () => import_chunk_Q5XW7CMJ.removeEmptyDirs,
26
+ removeFile: () => import_chunk_Q5XW7CMJ.removeFile,
27
+ writeFile: () => import_chunk_Q5XW7CMJ.writeFile
28
28
  });
29
29
  module.exports = __toCommonJS(fs_functional_exports);
30
- var import_chunk_75BIJ5PX = require("../chunk-75BIJ5PX.js");
31
- var import_chunk_TQFONRJP = require("../chunk-TQFONRJP.js");
30
+ var import_chunk_Q5XW7CMJ = require("../chunk-Q5XW7CMJ.js");
31
+ var import_chunk_5BRXEOYH = require("../chunk-5BRXEOYH.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_JOIIWB3U = require("../chunk-JOIIWB3U.js");
34
+ var import_chunk_YV4IFLW4 = require("../chunk-YV4IFLW4.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_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
21
+ createDirIfNotExists: () => import_chunk_5BRXEOYH.createDirIfNotExists,
22
+ getFilesInDir: () => import_chunk_5BRXEOYH.getFilesInDir,
23
+ getNestedFoldersInDir: () => import_chunk_5BRXEOYH.getNestedFoldersInDir,
24
+ getTopLevelFoldersInDir: () => import_chunk_5BRXEOYH.getTopLevelFoldersInDir,
25
+ removeEmptyDirs: () => import_chunk_5BRXEOYH.removeEmptyDirs,
26
+ writeFile: () => import_chunk_5BRXEOYH.writeFile
27
27
  });
28
28
  module.exports = __toCommonJS(fs_utils_exports);
29
- var import_chunk_TQFONRJP = require("../chunk-TQFONRJP.js");
29
+ var import_chunk_5BRXEOYH = require("../chunk-5BRXEOYH.js");
30
30
  var import_chunk_J77ZIDXB = require("../chunk-J77ZIDXB.js");
31
- var import_chunk_JOIIWB3U = require("../chunk-JOIIWB3U.js");
31
+ var import_chunk_YV4IFLW4 = require("../chunk-YV4IFLW4.js");
32
32
  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: () => import_chunk_XUQH2KVG.version
21
+ version: () => import_chunk_UMWR2ZFI.version
22
22
  });
23
23
  module.exports = __toCommonJS(getVersionFromPackageJson_exports);
24
- var import_chunk_XUQH2KVG = require("../chunk-XUQH2KVG.js");
25
- var import_chunk_XNNQS646 = require("../chunk-XNNQS646.js");
24
+ var import_chunk_UMWR2ZFI = require("../chunk-UMWR2ZFI.js");
25
+ var import_chunk_4LKQAQHE = require("../chunk-4LKQAQHE.js");
26
26
  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 handlePanic_exports = {};
20
20
  __export(handlePanic_exports, {
21
- handlePanic: () => import_chunk_UQUWZJVN.handlePanic
21
+ handlePanic: () => import_chunk_GZLJZGHX.handlePanic
22
22
  });
23
23
  module.exports = __toCommonJS(handlePanic_exports);
24
- var import_chunk_UQUWZJVN = require("../chunk-UQUWZJVN.js");
24
+ var import_chunk_GZLJZGHX = require("../chunk-GZLJZGHX.js");
25
25
  var import_chunk_I6WLABB2 = require("../chunk-I6WLABB2.js");
26
26
  var import_chunk_7IKUTPWQ = require("../chunk-7IKUTPWQ.js");
27
27
  var import_chunk_FCYHZHVW = require("../chunk-FCYHZHVW.js");
28
28
  var import_chunk_H4NI2RIK = require("../chunk-H4NI2RIK.js");
29
29
  var import_chunk_ICFLO5JW = require("../chunk-ICFLO5JW.js");
30
- var import_chunk_HFFWZTVM = require("../chunk-HFFWZTVM.js");
31
- var import_chunk_KDHESRKE = require("../chunk-KDHESRKE.js");
30
+ var import_chunk_YXCPS3WU = require("../chunk-YXCPS3WU.js");
32
31
  var import_chunk_XKZ6CBLA = require("../chunk-XKZ6CBLA.js");
33
32
  var import_chunk_LMVSIVKQ = require("../chunk-LMVSIVKQ.js");
34
- var import_chunk_PG5FDKSF = require("../chunk-PG5FDKSF.js");
35
33
  var import_chunk_5AI4FIZ3 = require("../chunk-5AI4FIZ3.js");
36
34
  var import_chunk_NVNI2SRU = require("../chunk-NVNI2SRU.js");
35
+ var import_chunk_PG5FDKSF = require("../chunk-PG5FDKSF.js");
37
36
  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: () => import_chunk_7QC5VORA.missingDatasource
21
+ missingDatasource: () => import_chunk_BGMZPA2F.missingDatasource
22
22
  });
23
23
  module.exports = __toCommonJS(missingDatasource_exports);
24
- var import_chunk_7QC5VORA = require("../chunk-7QC5VORA.js");
24
+ var import_chunk_BGMZPA2F = require("../chunk-BGMZPA2F.js");
25
25
  var import_chunk_I6WLABB2 = require("../chunk-I6WLABB2.js");
26
- var import_chunk_TQCLUNM2 = require("../chunk-TQCLUNM2.js");
27
- var import_chunk_OIVPX3BR = require("../chunk-OIVPX3BR.js");
26
+ var import_chunk_VNIE2AZB = require("../chunk-VNIE2AZB.js");
28
27
  var import_chunk_CYAS6B5N = require("../chunk-CYAS6B5N.js");
28
+ var import_chunk_OIVPX3BR = require("../chunk-OIVPX3BR.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");