@prisma/internals 6.20.0-dev.8 → 6.20.0-dev.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-73KNWD4T.js → chunk-57XKRBO4.js} +8 -10
- package/dist/{chunk-TQFONRJP.js → chunk-5BRXEOYH.js} +5 -5
- package/dist/{chunk-RS2R7COT.js → chunk-5I4ERIIY.js} +3 -9
- package/dist/chunk-5SAWCTGN.js +46 -0
- package/dist/{chunk-T4KYUNGO.js → chunk-63BLJTNP.js} +12 -12
- package/dist/{chunk-UHCUM4US.js → chunk-6AOQ56XS.js} +5 -5
- package/dist/{chunk-F7K755YZ.js → chunk-6XDWK3XF.js} +16 -38
- package/dist/{chunk-X24HKSTU.js → chunk-7AMQW56E.js} +5 -5
- package/dist/{chunk-WFNB7VRA.js → chunk-ARC7TW3L.js} +4 -14
- package/dist/{chunk-OJS6PNYD.js → chunk-AYH4F3GT.js} +5 -5
- package/dist/{chunk-7QC5VORA.js → chunk-BGMZPA2F.js} +5 -6
- package/dist/{chunk-GIXAB3OO.js → chunk-BKZWG6HK.js} +52 -133
- package/dist/{chunk-BVJP43JS.js → chunk-BXIKQUP5.js} +7 -7
- package/dist/{chunk-C3H5LCW7.js → chunk-DZUMYQIA.js} +5 -5
- package/dist/{chunk-FYZCPL2Z.js → chunk-FASYSGWP.js} +3 -6
- package/dist/{chunk-TXQN2QQI.js → chunk-FBHUMCED.js} +11 -11
- package/dist/{chunk-4CGPN5SR.js → chunk-GJSFP4V4.js} +3 -9
- package/dist/{chunk-4JCVHBYR.js → chunk-GL7OANR6.js} +5 -5
- package/dist/{chunk-UQUWZJVN.js → chunk-GZLJZGHX.js} +5 -5
- package/dist/{chunk-BREG3SXT.js → chunk-J2WU5F65.js} +12 -12
- package/dist/{chunk-G7PC6PUN.js → chunk-JBAD62EV.js} +13 -13
- package/dist/{chunk-AX5N26KG.js → chunk-K4IC7NPI.js} +15 -10
- package/dist/{chunk-R3S5ZHUO.js → chunk-KV5M6BWD.js} +13 -13
- package/dist/{chunk-OAT7ZJED.js → chunk-MNP6VO5F.js} +7 -20
- package/dist/{chunk-BCQZ6JQE.js → chunk-NBWRGVYR.js} +4 -6
- package/dist/{chunk-W2C5H5H4.js → chunk-NHM75P2J.js} +7 -9
- package/dist/{chunk-EYVG6XQS.js → chunk-OKVM3CW4.js} +3 -39
- package/dist/{chunk-DT7GMC6R.js → chunk-PHCC4RQK.js} +11 -11
- package/dist/{chunk-F2OZV76L.js → chunk-PKOQQT7I.js} +7 -7
- package/dist/{chunk-75BIJ5PX.js → chunk-Q5XW7CMJ.js} +9 -9
- package/dist/{chunk-OSHZ4P3G.js → chunk-SP2ETLT2.js} +5 -5
- package/dist/{chunk-UHI6VYFX.js → chunk-TRAG7WPX.js} +15 -11
- package/dist/{chunk-27XVRCOV.js → chunk-UIA6QRTF.js} +5 -5
- package/dist/{chunk-HYJQ3CE6.js → chunk-UNTUCN6K.js} +16 -38
- package/dist/{chunk-QSE2V5UT.js → chunk-UUZVVTOP.js} +5 -5
- package/dist/{chunk-RF5CLPSL.js → chunk-UYMUOW4P.js} +52 -133
- package/dist/{chunk-GMW36QQF.js → chunk-V6DWK6TN.js} +7 -7
- package/dist/{chunk-TQCLUNM2.js → chunk-VNIE2AZB.js} +4 -4
- package/dist/{chunk-TZJROXB3.js → chunk-WSZXPLJQ.js} +4 -4
- package/dist/{chunk-LYKUEAOI.js → chunk-XV3WHAKH.js} +5 -5
- package/dist/{chunk-JOIIWB3U.js → chunk-YV4IFLW4.js} +128 -129
- package/dist/{chunk-HFFWZTVM.js → chunk-YXCPS3WU.js} +5 -15
- package/dist/{chunk-WPDUAPVD.js → chunk-YYNGIIPX.js} +5 -5
- package/dist/cli/checkUnsupportedDataProxy.d.ts +7 -9
- package/dist/cli/checkUnsupportedDataProxy.js +52 -62
- package/dist/cli/directoryConfig.d.ts +5 -2
- package/dist/cli/directoryConfig.js +2 -2
- package/dist/cli/getGeneratorSuccessMessage.js +2 -3
- package/dist/cli/getSchema.d.ts +1 -15
- package/dist/cli/getSchema.js +4 -5
- package/dist/cli/hashes.js +4 -4
- package/dist/cli/schemaContext.d.ts +3 -20
- package/dist/cli/schemaContext.js +53 -62
- package/dist/cli/types.d.ts +1 -1
- package/dist/engine-commands/errorHelpers.js +4 -4
- package/dist/engine-commands/formatSchema.js +51 -61
- package/dist/engine-commands/getConfig.d.ts +1 -5
- package/dist/engine-commands/getConfig.js +10 -13
- package/dist/engine-commands/getDmmf.js +10 -10
- package/dist/engine-commands/getEngineVersion.js +4 -8
- package/dist/engine-commands/getEnginesInfo.d.ts +0 -1
- package/dist/engine-commands/getEnginesInfo.js +5 -8
- package/dist/engine-commands/index.d.ts +1 -1
- package/dist/engine-commands/index.js +61 -73
- package/dist/engine-commands/lintSchema.js +9 -9
- package/dist/engine-commands/mergeSchemas.js +10 -10
- package/dist/engine-commands/queryEngineCommons.js +6 -6
- package/dist/engine-commands/validate.js +10 -10
- package/dist/get-generators/getGenerators.d.ts +0 -2
- package/dist/get-generators/getGenerators.js +54 -64
- package/dist/get-generators/utils/binaryTypeToEngineType.js +2 -2
- package/dist/get-generators/utils/engineTypeToBinaryType.js +2 -2
- package/dist/get-generators/utils/getBinaryPathsByVersion.js +4 -4
- package/dist/getPackedPackage.js +3 -3
- package/dist/highlight/highlight.js +5 -5
- package/dist/index.d.ts +4 -16
- package/dist/index.js +96 -120
- package/dist/resolveBinary.js +6 -6
- package/dist/schemaEngineCommands.js +7 -7
- package/dist/sendPanic.js +2 -3
- package/dist/types.d.ts +15 -0
- package/dist/utils/fs-functional.js +10 -10
- package/dist/utils/fs-utils.js +8 -8
- package/dist/utils/getVersionFromPackageJson.js +3 -3
- package/dist/utils/handlePanic.js +4 -5
- package/dist/utils/missingDatasource.js +4 -4
- package/dist/utils/missingGeneratorMessage.js +6 -6
- package/dist/utils/toSchemasContainer.d.ts +1 -1
- package/dist/utils/toSchemasContainer.js +3 -3
- package/dist/utils/validatePrismaConfigWithDatasource.d.ts +15 -0
- package/dist/utils/{handleEngineLoadingErrors.js → validatePrismaConfigWithDatasource.js} +7 -6
- package/dist/wasm.js +5 -5
- package/package.json +15 -17
- package/dist/chunk-3FP46GUV.js +0 -471
- package/dist/chunk-46ABODUM.js +0 -186
- package/dist/chunk-6TTRTZXU.js +0 -37
- package/dist/chunk-D4VDA2TZ.js +0 -66
- package/dist/chunk-DZYINYAA.js +0 -68
- package/dist/chunk-ERSH2BQA.js +0 -58
- package/dist/chunk-HO5HRHFZ.js +0 -30
- package/dist/chunk-KDHESRKE.js +0 -49
- package/dist/chunk-PZMRR772.js +0 -41
- package/dist/chunk-RFB2U4GQ.js +0 -41
- package/dist/chunk-T2PM5TKT.js +0 -55
- package/dist/cli/checkUnsupportedSchemaEngineWasm.d.ts +0 -22
- package/dist/cli/checkUnsupportedSchemaEngineWasm.js +0 -135
- package/dist/client/getClientEngineType.d.ts +0 -7
- package/dist/client/getClientEngineType.js +0 -26
- package/dist/dotenvExpand.d.ts +0 -35
- package/dist/dotenvExpand.js +0 -25
- package/dist/utils/__tests__/maskSchema.test.js +0 -23
- package/dist/utils/cloudflareD1.d.ts +0 -5
- package/dist/utils/cloudflareD1.js +0 -27
- package/dist/utils/getEnvPaths.d.ts +0 -14
- package/dist/utils/getEnvPaths.js +0 -29
- package/dist/utils/getMigrateConfigDir.d.ts +0 -2
- package/dist/utils/getMigrateConfigDir.js +0 -25
- package/dist/utils/handleEngineLoadingErrors.d.ts +0 -8
- package/dist/utils/load.d.ts +0 -6
- package/dist/utils/load.js +0 -28
- package/dist/utils/loadEnvFile.d.ts +0 -10
- package/dist/utils/loadEnvFile.js +0 -30
- package/dist/utils/maskSchema.d.ts +0 -4
- package/dist/utils/maskSchema.js +0 -27
- package/dist/utils/serializeQueryEngineName.d.ts +0 -4
- package/dist/utils/serializeQueryEngineName.js +0 -25
- package/dist/utils/tryLoadEnvs.d.ts +0 -25
- 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
|
|
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
|
|
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: () =>
|
|
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: () =>
|
|
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: () =>
|
|
35
|
+
canConnectToDatabase: () => import_chunk_TRAG7WPX.canConnectToDatabase,
|
|
37
36
|
canPrompt: () => import_chunk_FCYHZHVW.canPrompt,
|
|
38
|
-
checkUnsupportedDataProxy: () =>
|
|
39
|
-
checkUnsupportedSchemaEngineWasm: () => import_chunk_RF5CLPSL.checkUnsupportedSchemaEngineWasm,
|
|
37
|
+
checkUnsupportedDataProxy: () => import_chunk_BKZWG6HK.checkUnsupportedDataProxy,
|
|
40
38
|
chmodPlusX: () => import_chunk_TWSLDIFL.chmodPlusX,
|
|
41
|
-
createDatabase: () =>
|
|
39
|
+
createDatabase: () => import_chunk_TRAG7WPX.createDatabase,
|
|
42
40
|
credentialsToUri: () => import_chunk_LYFOJ5NK.credentialsToUri,
|
|
43
41
|
drawBox: () => import_chunk_HHG4DGHC.drawBox,
|
|
44
|
-
dropDatabase: () =>
|
|
45
|
-
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: () =>
|
|
48
|
+
formatSchema: () => import_chunk_BKZWG6HK.formatSchema,
|
|
51
49
|
formatTable: () => import_chunk_QN6PSQY7.formatTable,
|
|
52
50
|
formatms: () => import_chunk_XYCIH36R.formatms,
|
|
53
|
-
fsFunctional: () =>
|
|
54
|
-
fsUtils: () =>
|
|
55
|
-
getBinaryTargetForCurrentPlatform: () =>
|
|
56
|
-
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_BKZWG6HK.getBinaryTargetForCurrentPlatform,
|
|
54
|
+
getCLIPathHash: () => import_chunk_GL7OANR6.getCLIPathHash,
|
|
58
55
|
getCommandWithExecutor: () => import_chunk_CUD726EK.getCommandWithExecutor,
|
|
59
|
-
getConfig: () =>
|
|
60
|
-
getDMMF: () =>
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
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_UNTUCN6K.getConfig,
|
|
57
|
+
getDMMF: () => import_chunk_J2WU5F65.getDMMF,
|
|
58
|
+
getEngineVersion: () => import_chunk_MNP6VO5F.getEngineVersion,
|
|
59
|
+
getEnginesInfo: () => import_chunk_V6DWK6TN.getEnginesInfo,
|
|
60
|
+
getGenerator: () => import_chunk_BKZWG6HK.getGenerator,
|
|
61
|
+
getGeneratorSuccessMessage: () => import_chunk_ARC7TW3L.getGeneratorSuccessMessage,
|
|
62
|
+
getGenerators: () => import_chunk_BKZWG6HK.getGenerators,
|
|
63
|
+
getLintWarningsAsText: () => import_chunk_YYNGIIPX.getLintWarningsAsText,
|
|
64
|
+
getPackedPackage: () => import_chunk_BXIKQUP5.getPackedPackage,
|
|
65
|
+
getProjectHash: () => import_chunk_GL7OANR6.getProjectHash,
|
|
66
|
+
getSchemaDatasourceProvider: () => import_chunk_BKZWG6HK.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
|
-
|
|
79
|
-
|
|
80
|
-
handlePanic: () => import_chunk_UQUWZJVN.handlePanic,
|
|
71
|
+
handleLintPanic: () => import_chunk_YYNGIIPX.handleLintPanic,
|
|
72
|
+
handlePanic: () => import_chunk_GZLJZGHX.handlePanic,
|
|
81
73
|
hasOwnProperty: () => import_chunk_WV4QHCSM.hasOwnProperty,
|
|
82
|
-
highlightDatamodel: () =>
|
|
83
|
-
highlightSql: () =>
|
|
84
|
-
highlightTS: () =>
|
|
85
|
-
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: () =>
|
|
101
|
-
|
|
102
|
-
loadEnvFile: () => import_chunk_PZMRR772.loadEnvFile,
|
|
103
|
-
loadSchemaContext: () => import_chunk_RF5CLPSL.loadSchemaContext,
|
|
104
|
-
locateLocalCloudflareD1: () => import_chunk_D4VDA2TZ.locateLocalCloudflareD1,
|
|
92
|
+
lintSchema: () => import_chunk_YYNGIIPX.lintSchema,
|
|
93
|
+
loadSchemaContext: () => import_chunk_BKZWG6HK.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: () =>
|
|
113
|
-
missingGeneratorMessage: () =>
|
|
100
|
+
mergeSchemas: () => import_chunk_FBHUMCED.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: () =>
|
|
122
|
-
processSchemaResult: () =>
|
|
109
|
+
printSchemaLoadedMessage: () => import_chunk_OKVM3CW4.printSchemaLoadedMessage,
|
|
110
|
+
processSchemaResult: () => import_chunk_BKZWG6HK.processSchemaResult,
|
|
123
111
|
protocolToConnectorType: () => import_chunk_LYFOJ5NK.protocolToConnectorType,
|
|
124
112
|
relativizePathInPSLError: () => import_chunk_C47SCASR.relativizePathInPSLError,
|
|
125
|
-
resolveBinary: () =>
|
|
126
|
-
resolveEngine: () =>
|
|
113
|
+
resolveBinary: () => import_chunk_FASYSGWP.resolveBinary,
|
|
114
|
+
resolveEngine: () => import_chunk_V6DWK6TN.resolveEngine,
|
|
127
115
|
resolvePkg: () => import_chunk_UMM35VP5.resolvePkg,
|
|
128
|
-
|
|
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: () =>
|
|
133
|
-
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: () =>
|
|
122
|
+
validate: () => import_chunk_JBAD62EV.validate,
|
|
123
|
+
validatePrismaConfigWithDatasource: () => import_chunk_5SAWCTGN.validatePrismaConfigWithDatasource,
|
|
138
124
|
vercelPkgPathRegex: () => import_chunk_M3GBKLGE.vercelPkgPathRegex,
|
|
139
|
-
version: () =>
|
|
125
|
+
version: () => import_chunk_6AOQ56XS.version,
|
|
140
126
|
warnOnce: () => import_chunk_DTPFRZWV.warnOnce,
|
|
141
|
-
wasm: () =>
|
|
127
|
+
wasm: () => import_chunk_7AMQW56E.wasm_exports,
|
|
142
128
|
wasmSchemaEngineLoader: () => import_chunk_SBUSVJCV.wasmSchemaEngineLoader
|
|
143
129
|
});
|
|
144
130
|
module.exports = __toCommonJS(index_exports);
|
|
145
|
-
var
|
|
131
|
+
var import_chunk_BKZWG6HK = require("./chunk-BKZWG6HK.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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
196
|
-
var
|
|
197
|
-
var
|
|
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
|
|
202
|
-
var
|
|
203
|
-
var
|
|
204
|
-
var
|
|
205
|
-
var
|
|
206
|
-
var
|
|
207
|
-
var
|
|
208
|
-
var
|
|
209
|
-
var
|
|
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_YYNGIIPX = require("./chunk-YYNGIIPX.js");
|
|
184
|
+
var import_chunk_FBHUMCED = require("./chunk-FBHUMCED.js");
|
|
185
|
+
var import_chunk_JBAD62EV = require("./chunk-JBAD62EV.js");
|
|
186
|
+
var import_chunk_GL7OANR6 = require("./chunk-GL7OANR6.js");
|
|
215
187
|
var import_chunk_D4VZUY3O = require("./chunk-D4VZUY3O.js");
|
|
216
|
-
var
|
|
217
|
-
var
|
|
188
|
+
var import_chunk_UNTUCN6K = require("./chunk-UNTUCN6K.js");
|
|
189
|
+
var import_chunk_J2WU5F65 = require("./chunk-J2WU5F65.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_DZUMYQIA = require("./chunk-DZUMYQIA.js");
|
|
218
194
|
var import_chunk_QN6PSQY7 = require("./chunk-QN6PSQY7.js");
|
|
195
|
+
var import_chunk_6AOQ56XS = require("./chunk-6AOQ56XS.js");
|
|
219
196
|
var import_chunk_DTPFRZWV = require("./chunk-DTPFRZWV.js");
|
|
220
|
-
var
|
|
221
|
-
var
|
|
197
|
+
var import_chunk_7AMQW56E = require("./chunk-7AMQW56E.js");
|
|
198
|
+
var import_chunk_57XKRBO4 = require("./chunk-57XKRBO4.js");
|
|
222
199
|
var import_chunk_6JE6QGSJ = require("./chunk-6JE6QGSJ.js");
|
|
223
|
-
var
|
|
224
|
-
var
|
|
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
|
|
227
|
-
var
|
|
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
|
|
206
|
+
var import_chunk_TRAG7WPX = require("./chunk-TRAG7WPX.js");
|
|
230
207
|
var import_chunk_JOIHHXR6 = require("./chunk-JOIHHXR6.js");
|
|
231
|
-
var
|
|
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
|
|
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
|
|
224
|
+
var import_chunk_BXIKQUP5 = require("./chunk-BXIKQUP5.js");
|
|
251
225
|
var import_chunk_KDP6C3CB = require("./chunk-KDP6C3CB.js");
|
|
252
|
-
var
|
|
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");
|
package/dist/resolveBinary.js
CHANGED
|
@@ -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: () =>
|
|
22
|
-
engineEnvVarMap: () =>
|
|
23
|
-
maybeCopyToTmp: () =>
|
|
24
|
-
resolveBinary: () =>
|
|
25
|
-
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
|
|
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: () =>
|
|
22
|
-
canConnectToDatabase: () =>
|
|
23
|
-
createDatabase: () =>
|
|
24
|
-
dropDatabase: () =>
|
|
25
|
-
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
|
|
28
|
+
var import_chunk_TRAG7WPX = require("./chunk-TRAG7WPX.js");
|
|
29
29
|
var import_chunk_JOIHHXR6 = require("./chunk-JOIHHXR6.js");
|
|
30
|
-
var
|
|
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: () =>
|
|
21
|
+
sendPanic: () => import_chunk_YXCPS3WU.sendPanic
|
|
22
22
|
});
|
|
23
23
|
module.exports = __toCommonJS(sendPanic_exports);
|
|
24
|
-
var
|
|
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: () =>
|
|
22
|
-
getFilesInDir: () =>
|
|
23
|
-
getNestedFoldersInDir: () =>
|
|
24
|
-
removeDir: () =>
|
|
25
|
-
removeEmptyDirs: () =>
|
|
26
|
-
removeFile: () =>
|
|
27
|
-
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
|
|
31
|
-
var
|
|
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
|
|
34
|
+
var import_chunk_YV4IFLW4 = require("../chunk-YV4IFLW4.js");
|
|
35
35
|
var import_chunk_4VNS5WPM = require("../chunk-4VNS5WPM.js");
|
package/dist/utils/fs-utils.js
CHANGED
|
@@ -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: () =>
|
|
22
|
-
getFilesInDir: () =>
|
|
23
|
-
getNestedFoldersInDir: () =>
|
|
24
|
-
getTopLevelFoldersInDir: () =>
|
|
25
|
-
removeEmptyDirs: () =>
|
|
26
|
-
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
|
|
29
|
+
var import_chunk_5BRXEOYH = require("../chunk-5BRXEOYH.js");
|
|
30
30
|
var import_chunk_J77ZIDXB = require("../chunk-J77ZIDXB.js");
|
|
31
|
-
var
|
|
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: () =>
|
|
21
|
+
version: () => import_chunk_6AOQ56XS.version
|
|
22
22
|
});
|
|
23
23
|
module.exports = __toCommonJS(getVersionFromPackageJson_exports);
|
|
24
|
-
var
|
|
25
|
-
var
|
|
24
|
+
var import_chunk_6AOQ56XS = require("../chunk-6AOQ56XS.js");
|
|
25
|
+
var import_chunk_57XKRBO4 = require("../chunk-57XKRBO4.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: () =>
|
|
21
|
+
handlePanic: () => import_chunk_GZLJZGHX.handlePanic
|
|
22
22
|
});
|
|
23
23
|
module.exports = __toCommonJS(handlePanic_exports);
|
|
24
|
-
var
|
|
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
|
|
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: () =>
|
|
21
|
+
missingDatasource: () => import_chunk_BGMZPA2F.missingDatasource
|
|
22
22
|
});
|
|
23
23
|
module.exports = __toCommonJS(missingDatasource_exports);
|
|
24
|
-
var
|
|
24
|
+
var import_chunk_BGMZPA2F = require("../chunk-BGMZPA2F.js");
|
|
25
25
|
var import_chunk_I6WLABB2 = require("../chunk-I6WLABB2.js");
|
|
26
|
-
var
|
|
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");
|