@prisma/orm-toolchain 8.0.0-rc.16-dev.6 → 8.0.0-rc.16-dev.8
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/{aggregate-DLptsx8n.d.mts → aggregate-C23h_Ybm.d.mts} +47 -22
- package/dist/{aggregate-DLptsx8n.d.mts.map → aggregate-C23h_Ybm.d.mts.map} +1 -1
- package/dist/{aggregate-C7IHVcsV.mjs → aggregate-DlfOyErc.mjs} +40 -8
- package/dist/aggregate-DlfOyErc.mjs.map +1 -0
- package/dist/{caught-errors-N266GMql-B7p73Xyj.mjs → caught-errors-HFQjjQVE-b_GDV-6J.mjs} +125 -9
- package/dist/caught-errors-HFQjjQVE-b_GDV-6J.mjs.map +1 -0
- package/dist/cli-telemetry.mjs +1 -1
- package/dist/cli.mjs +187 -114
- package/dist/cli.mjs.map +1 -1
- package/dist/cli__control-api.d.mts +73 -43
- package/dist/cli__control-api.d.mts.map +1 -1
- package/dist/cli__control-api.mjs +3 -3
- package/dist/cli__control-api__testing.d.mts +1 -1
- package/dist/cli__control-api__testing.mjs +3 -0
- package/dist/cli__control-api__testing.mjs.map +1 -1
- package/dist/cli__migration-cli.d.mts +1 -1
- package/dist/cli__migration-cli.mjs +3 -3
- package/dist/cli__migration-cli.mjs.map +1 -1
- package/dist/config-loader.mjs +1 -1
- package/dist/{contract-snapshot-store-1S_6vaGt-CQPNFWho.mjs → contract-snapshot-store-1S_6vaGt-HJIMKsVd.mjs} +2 -2
- package/dist/{contract-snapshot-store-1S_6vaGt-CQPNFWho.mjs.map → contract-snapshot-store-1S_6vaGt-HJIMKsVd.mjs.map} +1 -1
- package/dist/{db-sign-BxYV7wMQ-CNy01Yj7.d.mts → db-sign-BPf9SzzX-CwOFPxoZ.d.mts} +100 -53
- package/dist/db-sign-BPf9SzzX-CwOFPxoZ.d.mts.map +1 -0
- package/dist/{exports-CBfiI5mf.mjs → exports-Bd3uWDtm.mjs} +2 -2
- package/dist/{exports-CBfiI5mf.mjs.map → exports-Bd3uWDtm.mjs.map} +1 -1
- package/dist/{exports-Czq5v0Dn.mjs → exports-C7GzkPEc.mjs} +2 -2
- package/dist/{exports-Czq5v0Dn.mjs.map → exports-C7GzkPEc.mjs.map} +1 -1
- package/dist/{io-xKnQrxIC-BPHEfarH.mjs → io-xKnQrxIC-CEXpCgE_.mjs} +3 -3
- package/dist/{io-xKnQrxIC-BPHEfarH.mjs.map → io-xKnQrxIC-CEXpCgE_.mjs.map} +1 -1
- package/dist/{migration-B2ljMJim.d.mts → migration-Bjz05034.d.mts} +12 -5
- package/dist/migration-Bjz05034.d.mts.map +1 -0
- package/dist/{migration-DaFjTC8t.mjs → migration-oIynqb-J.mjs} +14 -2
- package/dist/migration-oIynqb-J.mjs.map +1 -0
- package/dist/migration-tools.d.mts +3 -3
- package/dist/migration-tools.mjs +9 -9
- package/dist/migration-tools__aggregate.d.mts +2 -2
- package/dist/migration-tools__aggregate.mjs +1 -1
- package/dist/migration-tools__contract-snapshot-store.mjs +1 -1
- package/dist/migration-tools__io.mjs +1 -1
- package/dist/migration-tools__migration-ts.mjs +1 -1
- package/dist/migration-tools__migration.d.mts +1 -1
- package/dist/migration-tools__migration.mjs +1 -1
- package/dist/migration-tools__ref-resolution.mjs +1 -1
- package/dist/migration-tools__refs.mjs +1 -1
- package/dist/migration-tools__spaces.mjs +2 -2
- package/dist/{migration-ts-BQuIba9e.mjs → migration-ts-FyF55c4M.mjs} +2 -2
- package/dist/{migration-ts-BQuIba9e.mjs.map → migration-ts-FyF55c4M.mjs.map} +1 -1
- package/dist/{ref-BCEAH4F9-Bgr9vmL7.mjs → ref-Cc_CTagE-C070Ym7p.mjs} +1206 -202
- package/dist/ref-Cc_CTagE-C070Ym7p.mjs.map +1 -0
- package/dist/{ref-resolution-d7rcmU6F.mjs → ref-resolution-Be_zewf7.mjs} +2 -2
- package/dist/{ref-resolution-d7rcmU6F.mjs.map → ref-resolution-Be_zewf7.mjs.map} +1 -1
- package/dist/{refs-qwvw4_dV-X8sR92eT.mjs → refs-qwvw4_dV-DNg_7WTD.mjs} +2 -2
- package/dist/{refs-qwvw4_dV-X8sR92eT.mjs.map → refs-qwvw4_dV-DNg_7WTD.mjs.map} +1 -1
- package/dist/{spaces-CzLQQYa9.mjs → spaces-DGu96Hkk.mjs} +5 -5
- package/dist/{spaces-CzLQQYa9.mjs.map → spaces-DGu96Hkk.mjs.map} +1 -1
- package/dist/{verify-contract-spaces-CYjc343k-FXABEJZE.mjs → verify-contract-spaces-CYjc343k-ClHHEkJF.mjs} +3 -3
- package/dist/{verify-contract-spaces-CYjc343k-FXABEJZE.mjs.map → verify-contract-spaces-CYjc343k-ClHHEkJF.mjs.map} +1 -1
- package/dist/vite-plugin-contract-emit.mjs +2 -2
- package/package.json +13 -13
- package/dist/aggregate-C7IHVcsV.mjs.map +0 -1
- package/dist/caught-errors-N266GMql-B7p73Xyj.mjs.map +0 -1
- package/dist/db-sign-BxYV7wMQ-CNy01Yj7.d.mts.map +0 -1
- package/dist/migration-B2ljMJim.d.mts.map +0 -1
- package/dist/migration-DaFjTC8t.mjs.map +0 -1
- package/dist/ref-BCEAH4F9-Bgr9vmL7.mjs.map +0 -1
|
@@ -2,7 +2,7 @@ import { n as SnapshotContentVerifier } from "./contract-snapshot-store-Bok5nQYi
|
|
|
2
2
|
import "./contract-snapshot-store-DrIwu5pn.mjs";
|
|
3
3
|
import "./ref-resolution-BPhR-kta.mjs";
|
|
4
4
|
import { CliStructuredError as CliStructuredError$2 } from "@prisma/orm-framework/errors/control";
|
|
5
|
-
import { ControlAdapterDescriptor, ControlDriverDescriptor, ControlDriverInstance, ControlExtensionDescriptor, ControlFamilyDescriptor, ControlFamilyInstance, ControlTargetDescriptor, CoreSchemaView, MarkerHashes, MigrationPlanOperation, MigrationPlannerConflict, OperationPreview, SpaceSignature, VerifyDatabaseResult, VerifyDatabaseSchemaResult } from "@prisma/orm-framework/components/control";
|
|
5
|
+
import { ControlAdapterDescriptor, ControlDriverDescriptor, ControlDriverInstance, ControlExtensionDescriptor, ControlFamilyDescriptor, ControlFamilyInstance, ControlTargetDescriptor, CoreSchemaView, MarkerHashes, MigrationAccessChange, MigrationOperationSubject, MigrationPlanOperation, MigrationPlanSubjects, MigrationPlannerConflict, MigrationStatementJson, MigrationSubjectJson, OperationPreview, SpaceSignature, VerifyDatabaseResult, VerifyDatabaseSchemaResult } from "@prisma/orm-framework/components/control";
|
|
6
6
|
import "@prisma/orm-framework/errors/execution";
|
|
7
7
|
import "@prisma/orm-framework/errors/migration";
|
|
8
8
|
import { ImportSpecifierResolver } from "@prisma/orm-framework/components/emission";
|
|
@@ -13,7 +13,7 @@ import { Contract, ContractMarkerRecord, LedgerEntryRecord } from "@prisma/orm-f
|
|
|
13
13
|
import "@prisma/cli-engine/protocol";
|
|
14
14
|
import { ContractSourceDiagnostic, ContractSourceDiagnostics, ContractSourceProvider, PrismaNextConfig } from "@prisma/orm-framework/config/config-types";
|
|
15
15
|
import { AuthoringPslBlockDescriptorNamespace } from "@prisma/orm-framework/components/authoring";
|
|
16
|
-
//#region ../../../1-framework/3-tooling/cli/dist/db-sign-
|
|
16
|
+
//#region ../../../1-framework/3-tooling/cli/dist/db-sign-BPf9SzzX.d.mts
|
|
17
17
|
//#region src/control-api/operations/db-verify.d.ts
|
|
18
18
|
/**
|
|
19
19
|
* Inputs for the aggregate `db verify` operation.
|
|
@@ -118,6 +118,75 @@ interface RenderContractDtsFailure {
|
|
|
118
118
|
}
|
|
119
119
|
type RenderContractDtsResult = Result<RenderContractDtsSuccess, RenderContractDtsFailure>;
|
|
120
120
|
//#endregion
|
|
121
|
+
//#region src/control-api/statements/statement-text.d.ts
|
|
122
|
+
/** The verbs a statement can have. */
|
|
123
|
+
type StatementVerb = 'rename' | 'delete' | 'allow';
|
|
124
|
+
/**
|
|
125
|
+
* A statement as the user wrote it, before it is parsed: its verb and its text, for example
|
|
126
|
+
* `{ verb: 'rename', text: 'Profile:User' }` for `--rename Profile:User` or
|
|
127
|
+
* `{ verb: 'delete', text: 'Legacy' }` for `--delete Legacy`.
|
|
128
|
+
*/
|
|
129
|
+
interface StatementText {
|
|
130
|
+
readonly verb: StatementVerb;
|
|
131
|
+
readonly text: string;
|
|
132
|
+
}
|
|
133
|
+
//#endregion
|
|
134
|
+
//#region src/control-api/statements/parse-consent.d.ts
|
|
135
|
+
/** A verb whose statement consents to what a plan does to its subject. */
|
|
136
|
+
type ConsentVerb = 'delete' | 'allow';
|
|
137
|
+
//#endregion
|
|
138
|
+
//#region src/control-api/statements/plan-questions.d.ts
|
|
139
|
+
/** A verb a plan question accepts. */
|
|
140
|
+
type PlanQuestionVerb = 'rename' | ConsentVerb;
|
|
141
|
+
/**
|
|
142
|
+
* What a command asks about one operation of a plan: the question, its subject written as the
|
|
143
|
+
* statement names it, and the verbs that answer it. A command hands it to its prompt.
|
|
144
|
+
*/
|
|
145
|
+
interface PlanQuestion {
|
|
146
|
+
readonly question: string;
|
|
147
|
+
readonly subject: string;
|
|
148
|
+
readonly verbs: readonly PlanQuestionVerb[];
|
|
149
|
+
readonly forms: {
|
|
150
|
+
readonly rename?: string;
|
|
151
|
+
};
|
|
152
|
+
readonly validate: (verb: PlanQuestionVerb, text: string) => string | undefined;
|
|
153
|
+
}
|
|
154
|
+
interface PlanAnswer {
|
|
155
|
+
readonly verb: PlanQuestionVerb;
|
|
156
|
+
readonly text: string;
|
|
157
|
+
}
|
|
158
|
+
/**
|
|
159
|
+
* Asks every question at once and returns one answer per question, in question order, with a verb
|
|
160
|
+
* and text the question accepts. To refuse, throw. It is called at least once per apply, with an
|
|
161
|
+
* empty list when nothing is in question, including under `acceptDataLoss: true`; return `[]`
|
|
162
|
+
* then.
|
|
163
|
+
*/
|
|
164
|
+
type AnswerPlanQuestions = (questions: readonly PlanQuestion[]) => Promise<readonly PlanAnswer[]>;
|
|
165
|
+
//#endregion
|
|
166
|
+
//#region src/control-api/statements/report-applied-statements.d.ts
|
|
167
|
+
/** A delete or allow statement in JSON output: the subject whose data or access it consents to. */
|
|
168
|
+
interface ConsentStatementJson {
|
|
169
|
+
readonly kind: ConsentVerb;
|
|
170
|
+
readonly subject: MigrationSubjectJson;
|
|
171
|
+
}
|
|
172
|
+
/**
|
|
173
|
+
* A statement a plan applied, as the CLI reports it: its verb, the statement as JSON output writes
|
|
174
|
+
* it, the positions of its operations in the result's `operations`, and its description.
|
|
175
|
+
*/
|
|
176
|
+
type AppliedStatementReport = {
|
|
177
|
+
readonly verb: 'rename';
|
|
178
|
+
readonly statement: MigrationStatementJson;
|
|
179
|
+
readonly operationIndexes: readonly number[];
|
|
180
|
+
/** The statement in domain names, for example `rename model "Profile" to "User"`. */
|
|
181
|
+
readonly description: string;
|
|
182
|
+
} | {
|
|
183
|
+
readonly verb: ConsentVerb;
|
|
184
|
+
readonly statement: ConsentStatementJson;
|
|
185
|
+
readonly operationIndexes: readonly number[];
|
|
186
|
+
/** The statement as its question named the subject, for example `delete model "Legacy"`. */
|
|
187
|
+
readonly description: string;
|
|
188
|
+
};
|
|
189
|
+
//#endregion
|
|
121
190
|
//#region src/control-api/types.d.ts
|
|
122
191
|
/**
|
|
123
192
|
* Options for creating a control client.
|
|
@@ -266,24 +335,10 @@ interface DbUpdateOptions {
|
|
|
266
335
|
* The type is driver-specific (e.g., string URL for Postgres).
|
|
267
336
|
*/
|
|
268
337
|
readonly connection?: unknown;
|
|
269
|
-
/**
|
|
270
|
-
* When true, allows applying plans that contain destructive operations
|
|
271
|
-
* (e.g., DROP TABLE, DROP COLUMN, ALTER TYPE).
|
|
272
|
-
* When false (default), the operation returns a failure if the plan
|
|
273
|
-
* includes destructive operations, which `db update` turns into its consent
|
|
274
|
-
* prompt: the user types the database name, or passes `--confirm <database>`
|
|
275
|
-
* where there is nobody to ask.
|
|
276
|
-
*/
|
|
338
|
+
/** Consents to every operation that would lose data, without asking. */
|
|
277
339
|
readonly acceptDataLoss?: boolean;
|
|
278
|
-
/**
|
|
279
|
-
|
|
280
|
-
* named, identified by that refusal's `planHash`. The apply recomputes its
|
|
281
|
-
* plan and refuses with `CONSENT_PLAN_MISMATCH` when the fresh plan is not
|
|
282
|
-
* the one that was consented to.
|
|
283
|
-
*/
|
|
284
|
-
readonly consent?: {
|
|
285
|
-
readonly planHash: string;
|
|
286
|
-
};
|
|
340
|
+
/** Consents to every operation that would widen who can read or write rows, without asking. */
|
|
341
|
+
readonly acceptAccessWidening?: boolean;
|
|
287
342
|
/**
|
|
288
343
|
* On-disk migrations directory. Always required — every `db update`
|
|
289
344
|
* routes through the per-space flow, which reads on-disk
|
|
@@ -291,6 +346,20 @@ interface DbUpdateOptions {
|
|
|
291
346
|
* root.
|
|
292
347
|
*/
|
|
293
348
|
readonly migrationsDir: string;
|
|
349
|
+
/**
|
|
350
|
+
* The statements as the user wrote them, in the order given. A `rename`
|
|
351
|
+
* resolves against the contract the database marker names, read from the
|
|
352
|
+
* snapshot store, and the destination contract; a `delete` or `allow`
|
|
353
|
+
* answers the question about the subject it names.
|
|
354
|
+
*/
|
|
355
|
+
readonly statements?: readonly StatementText[];
|
|
356
|
+
/**
|
|
357
|
+
* Asks, before an apply, what each operation that would lose data means and
|
|
358
|
+
* whether each that would widen who can read or write rows may run, for the
|
|
359
|
+
* questions no statement answered. The `db update` command asks through its
|
|
360
|
+
* prompt.
|
|
361
|
+
*/
|
|
362
|
+
readonly answerQuestions: AnswerPlanQuestions;
|
|
294
363
|
/** Optional progress callback for observing operation progress */
|
|
295
364
|
readonly onProgress?: OnControlProgress;
|
|
296
365
|
}
|
|
@@ -477,10 +546,16 @@ interface DbInitFailure {
|
|
|
477
546
|
* Uses Result pattern: success returns DbInitSuccess, failure returns DbInitFailure.
|
|
478
547
|
*/
|
|
479
548
|
type DbInitResult = Result<DbInitSuccess, DbInitFailure>;
|
|
549
|
+
/** An operation an apply asks about, with its subject written as the question writes it: `User.nickname`. */
|
|
550
|
+
interface AskedSubject extends MigrationOperationSubject {
|
|
551
|
+
readonly text: string;
|
|
552
|
+
}
|
|
553
|
+
/** An operation an apply asks about because it changes who can read or write its subject's rows. */
|
|
554
|
+
interface AskedAccessChange extends AskedSubject, MigrationAccessChange {}
|
|
480
555
|
/**
|
|
481
556
|
* Successful dbUpdate result.
|
|
482
557
|
*/
|
|
483
|
-
interface DbUpdateSuccess {
|
|
558
|
+
interface DbUpdateSuccess extends MigrationPlanSubjects<AskedSubject, AskedAccessChange> {
|
|
484
559
|
readonly mode: 'plan' | 'apply';
|
|
485
560
|
readonly plan: {
|
|
486
561
|
readonly operations: ReadonlyArray<{
|
|
@@ -514,39 +589,15 @@ interface DbUpdateSuccess {
|
|
|
514
589
|
* alphabetically, then app). See {@link PerSpaceExecutionEntry}.
|
|
515
590
|
*/
|
|
516
591
|
readonly perSpace?: ReadonlyArray<PerSpaceExecutionEntry>;
|
|
592
|
+
/** The statements the application space's plan applied, in order; empty when none were given. */
|
|
593
|
+
readonly appliedStatements: readonly AppliedStatementReport[];
|
|
517
594
|
readonly summary: string;
|
|
518
595
|
readonly warnings?: ReadonlyArray<MigrationPlannerConflict>;
|
|
519
596
|
}
|
|
520
597
|
/**
|
|
521
598
|
* Failure codes for dbUpdate operation.
|
|
522
599
|
*/
|
|
523
|
-
type DbUpdateFailureCode = 'PLANNING_FAILED' | 'RUNNER_FAILED'
|
|
524
|
-
/** One planned operation whose class is destructive, as the refusal names it. */
|
|
525
|
-
interface DestructivePlanOperation {
|
|
526
|
-
readonly id: string;
|
|
527
|
-
readonly label: string;
|
|
528
|
-
}
|
|
529
|
-
/**
|
|
530
|
-
* The verdict a `DESTRUCTIVE_CHANGES` refusal carries: what the plan would
|
|
531
|
-
* destroy, the database it would destroy it in, and the identity of the plan
|
|
532
|
-
* that was refused. Consent is granted against `planHash` — the caller passes
|
|
533
|
-
* it back as `DbUpdateOptions.consent`.
|
|
534
|
-
*/
|
|
535
|
-
interface DestructiveChangesVerdict {
|
|
536
|
-
readonly destructiveOperations: ReadonlyArray<DestructivePlanOperation>;
|
|
537
|
-
/** The connected database's name, when the driver can name it. */
|
|
538
|
-
readonly databaseName: string | undefined;
|
|
539
|
-
/** Content hash of the refused plan. */
|
|
540
|
-
readonly planHash: string;
|
|
541
|
-
}
|
|
542
|
-
/**
|
|
543
|
-
* Why an apply carrying consent was refused: the plan recomputed for the
|
|
544
|
-
* apply is not the plan that was consented to.
|
|
545
|
-
*/
|
|
546
|
-
interface ConsentPlanMismatchVerdict {
|
|
547
|
-
readonly consentedPlanHash: string;
|
|
548
|
-
readonly planHash: string;
|
|
549
|
-
}
|
|
600
|
+
type DbUpdateFailureCode = 'PLANNING_FAILED' | 'RUNNER_FAILED';
|
|
550
601
|
/**
|
|
551
602
|
* Failure details for dbUpdate operation.
|
|
552
603
|
*/
|
|
@@ -557,10 +608,6 @@ interface DbUpdateFailure {
|
|
|
557
608
|
readonly conflicts: ReadonlyArray<MigrationPlannerConflict> | undefined;
|
|
558
609
|
readonly warnings?: ReadonlyArray<MigrationPlannerConflict>;
|
|
559
610
|
readonly meta: Record<string, unknown> | undefined;
|
|
560
|
-
/** Present exactly when `code` is `'DESTRUCTIVE_CHANGES'`. */
|
|
561
|
-
readonly destructiveChanges?: DestructiveChangesVerdict;
|
|
562
|
-
/** Present exactly when `code` is `'CONSENT_PLAN_MISMATCH'`. */
|
|
563
|
-
readonly consentPlanMismatch?: ConsentPlanMismatchVerdict;
|
|
564
611
|
/** Underlying failure or error for diagnostics; never serialized into envelopes. */
|
|
565
612
|
readonly cause?: unknown;
|
|
566
613
|
}
|
|
@@ -1024,5 +1071,5 @@ type ExecuteDbSignResult = Result<ExecuteDbSignSuccess, CliStructuredError$2>;
|
|
|
1024
1071
|
*/
|
|
1025
1072
|
declare function executeDbSign<TFamilyId extends string, TTargetId extends string>(options: ExecuteDbSignOptions<TFamilyId, TTargetId>): Promise<ExecuteDbSignResult>;
|
|
1026
1073
|
//#endregion
|
|
1027
|
-
export {
|
|
1028
|
-
//# sourceMappingURL=db-sign-
|
|
1074
|
+
export { EmitSuccess as A, PlanQuestionVerb as B, DbUpdateResult as C, EmitFailureCode as D, EmitFailure as E, IntrospectOptions as F, RenderContractDtsSuccess as G, RenderContractDtsFailureCode as H, MigrateResult as I, StatementVerb as J, SchemaVerifyOptions as K, OnControlProgress as L, ExecuteDbSignResult as M, ExecuteDbVerifyOptions as N, EmitOptions as O, ExecuteDbVerifyResult as P, PlanAnswer as R, DbUpdateOptions as S, EmitContractConfig as T, RenderContractDtsOptions as U, RenderContractDtsFailure as V, RenderContractDtsResult as W, executeDbSign as X, VerifyOptions as Y, executeDbVerify as Z, DbSignOptions as _, ContractEmitOptions as a, DbUpdateFailure as b, ControlClient as c, CreateControlClient as d, DbInitFailure as f, DbInitSuccess as g, DbInitResult as h, CliStructuredError$2 as i, ExecuteDbSignOptions as j, EmitResult as k, ControlClientOptions as l, DbInitOptions as m, AppliedStatementReport as n, ContractEmitResult as o, DbInitFailureCode as p, StatementText as q, AskedSubject as r, ControlActionName as s, AnswerPlanQuestions as t, ControlProgressEvent as u, DbSignSpaceFailure as v, DbUpdateSuccess as w, DbUpdateFailureCode as x, DbSignSpaceOutcome as y, PlanQuestion as z };
|
|
1075
|
+
//# sourceMappingURL=db-sign-BPf9SzzX-CwOFPxoZ.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"db-sign-BPf9SzzX-CwOFPxoZ.d.mts","names":[],"sources":["../../../../1-framework/3-tooling/cli/dist/db-sign-BPf9SzzX.d.mts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;UAyBU,uBAAuB,0BAA0B;WAChD,QAAQ,sBAAsB,WAAW;WACzC,gBAAgB,sBAAsB;WACtC,UAAU;WACV;WACA,UAAU;WACV,YAAY,cAAc,2BAA2B,WAAW;WAChE,qBAAqB,cAAc,+BAA+B,WAAW;WAC7E;WACA;WACA;;WAEA,wBAAwB;WACxB,aAAa;;;;;;;;;;;;;;UAcd;WACC,eAAe,oBAAoB;;;;;;WAMnC;WACA;WACA;;;;;;;;WAQA,aAAa;;KAEnB,w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,sBAAsB,WAAW;WACzC,gBAAgB,sBAAsB;;WAEtC,UAAU;WACV;WACA,UAAU;WACV,YAAY,cAAc,2BAA2B,WAAW;WAChE,qBAAqB,cAAc,+BAA+B,WAAW;WAC7E,wBAAwB;WACxB,aAAa;;;UAGd;WACC;WACA;WACA,UAAU;WACV,QAAQ;;;;;KAKd,qBAAqB,iBAAiB;UACjC;;WAEC,iBAAiB;;KAEvB,sBAAsB,OAAO,sBAAsB;;;;iBAIvC,cAAc,0BAA0B,0BAA0B,SAAS,qBAAqB,WAAW,aAAa,QAAQ"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h as requireConfigSections, i as expandContractInputs, l as loadConfig, o as findNearestConfigPathForFile } from "./exports-
|
|
1
|
+
import { h as requireConfigSections, i as expandContractInputs, l as loadConfig, o as findNearestConfigPathForFile } from "./exports-C7GzkPEc.mjs";
|
|
2
2
|
import { ifDefined } from "@prisma/orm-framework/utils/defined";
|
|
3
3
|
import { CliStructuredError } from "@prisma/orm-framework/errors/control";
|
|
4
4
|
import { createControlStack } from "@prisma/orm-framework/components/control";
|
|
@@ -3580,4 +3580,4 @@ function startServer(streams) {
|
|
|
3580
3580
|
//#endregion
|
|
3581
3581
|
export { startServer };
|
|
3582
3582
|
|
|
3583
|
-
//# sourceMappingURL=exports-
|
|
3583
|
+
//# sourceMappingURL=exports-Bd3uWDtm.mjs.map
|