@prisma-next/cli 0.12.0-dev.65 → 0.12.0-dev.67
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/cli.mjs +6 -6
- package/dist/{client-fGoyf7xw.mjs → client-CJzuo5wX.mjs} +5 -1
- package/dist/{client-fGoyf7xw.mjs.map → client-CJzuo5wX.mjs.map} +1 -1
- package/dist/commands/contract-infer.mjs +1 -1
- package/dist/commands/db-init.mjs +2 -2
- package/dist/commands/db-schema.mjs +1 -1
- package/dist/commands/db-sign.mjs +1 -1
- package/dist/commands/db-update.mjs +2 -2
- package/dist/commands/db-verify.mjs +1 -1
- package/dist/commands/migrate.d.mts +1 -1
- package/dist/commands/migrate.mjs +1 -1
- package/dist/commands/migration-check.d.mts +1 -1
- package/dist/commands/migration-check.mjs +1 -1
- package/dist/commands/migration-graph.d.mts +1 -1
- package/dist/commands/migration-list.d.mts +1 -1
- package/dist/commands/migration-log.d.mts +1 -1
- package/dist/commands/migration-log.mjs +1 -1
- package/dist/commands/migration-show.mjs +1 -1
- package/dist/commands/migration-status.d.mts +1 -1
- package/dist/commands/migration-status.mjs +1 -1
- package/dist/commands/ref.d.mts +1 -1
- package/dist/{contract-infer-CLyteBqh.mjs → contract-infer-BYT_ra_U.mjs} +4 -4
- package/dist/contract-infer-BYT_ra_U.mjs.map +1 -0
- package/dist/{db-verify-4bzBnKs3.mjs → db-verify-C24FKhb7.mjs} +2 -2
- package/dist/{db-verify-4bzBnKs3.mjs.map → db-verify-C24FKhb7.mjs.map} +1 -1
- package/dist/exports/control-api.d.mts +1 -1
- package/dist/exports/control-api.d.mts.map +1 -1
- package/dist/exports/control-api.mjs +1 -1
- package/dist/{inspect-live-schema-D5VeGNsi.mjs → inspect-live-schema-DF6IwcDl.mjs} +4 -2
- package/dist/inspect-live-schema-DF6IwcDl.mjs.map +1 -0
- package/dist/{migration-check-VwM8xCZV.mjs → migration-check-soB5uZEQ.mjs} +1 -2
- package/dist/{migration-check-VwM8xCZV.mjs.map → migration-check-soB5uZEQ.mjs.map} +1 -1
- package/dist/{migration-command-scaffold-6-rjkZ9_.mjs → migration-command-scaffold-DA-Lhx6o.mjs} +2 -2
- package/dist/{migration-command-scaffold-6-rjkZ9_.mjs.map → migration-command-scaffold-DA-Lhx6o.mjs.map} +1 -1
- package/dist/{migration-log-jaf-t3yC.mjs → migration-log-BYt18y2H.mjs} +2 -2
- package/dist/{migration-log-jaf-t3yC.mjs.map → migration-log-BYt18y2H.mjs.map} +1 -1
- package/dist/{migration-status-CCsJ7GZ1.mjs → migration-status-ciYpjhtu.mjs} +2 -3
- package/dist/{migration-status-CCsJ7GZ1.mjs.map → migration-status-ciYpjhtu.mjs.map} +1 -1
- package/dist/{types-BepB6ydp.d.mts → types-C_tYiJYx.d.mts} +10 -1
- package/dist/types-C_tYiJYx.d.mts.map +1 -0
- package/package.json +18 -18
- package/src/commands/contract-infer.ts +2 -2
- package/src/commands/inspect-live-schema.ts +10 -0
- package/src/control-api/client.ts +6 -0
- package/src/control-api/types.ts +10 -0
- package/dist/contract-infer-CLyteBqh.mjs.map +0 -1
- package/dist/inspect-live-schema-D5VeGNsi.mjs.map +0 -1
- package/dist/types-BepB6ydp.d.mts.map +0 -1
package/dist/cli.mjs
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { D as isCI, O as formatCommandHelp, g as parseGlobalFlagsOrExit, h as parseGlobalFlags, k as formatRootHelp, l as setCommandDescriptions, m as deriveCanPrompt, t as addGlobalOptions, u as setCommandExamples, v as installShutdownHandlers } from "./command-helpers-DGMvGBeX.mjs";
|
|
3
3
|
import { t as createContractEmitCommand } from "./contract-emit-B_qriF8B.mjs";
|
|
4
|
-
import { t as createContractInferCommand } from "./contract-infer-
|
|
4
|
+
import { t as createContractInferCommand } from "./contract-infer-BYT_ra_U.mjs";
|
|
5
5
|
import { createDbInitCommand } from "./commands/db-init.mjs";
|
|
6
6
|
import { createDbSchemaCommand } from "./commands/db-schema.mjs";
|
|
7
7
|
import { createDbSignCommand } from "./commands/db-sign.mjs";
|
|
8
8
|
import { createDbUpdateCommand } from "./commands/db-update.mjs";
|
|
9
|
-
import { t as createDbVerifyCommand } from "./db-verify-
|
|
9
|
+
import { t as createDbVerifyCommand } from "./db-verify-C24FKhb7.mjs";
|
|
10
10
|
import { t as createMigrationListCommand } from "./migration-list-CyLslAtv.mjs";
|
|
11
11
|
import { createMigrateCommand } from "./commands/migrate.mjs";
|
|
12
|
-
import { t as createMigrationCheckCommand } from "./migration-check-
|
|
12
|
+
import { t as createMigrationCheckCommand } from "./migration-check-soB5uZEQ.mjs";
|
|
13
13
|
import { createMigrationGraphCommand } from "./commands/migration-graph.mjs";
|
|
14
|
-
import { t as createMigrationLogCommand } from "./migration-log-
|
|
14
|
+
import { t as createMigrationLogCommand } from "./migration-log-BYt18y2H.mjs";
|
|
15
15
|
import { createMigrationNewCommand } from "./commands/migration-new.mjs";
|
|
16
16
|
import { t as createMigrationPlanCommand } from "./migration-plan-z5Ing-TD.mjs";
|
|
17
17
|
import { createMigrationShowCommand } from "./commands/migration-show.mjs";
|
|
18
|
-
import { r as createMigrationStatusCommand } from "./migration-status-
|
|
18
|
+
import { r as createMigrationStatusCommand } from "./migration-status-ciYpjhtu.mjs";
|
|
19
19
|
import { createRefCommand } from "./commands/ref.mjs";
|
|
20
20
|
import { t as createTelemetryCommand } from "./telemetry-BIM4beEO.mjs";
|
|
21
21
|
import { Command } from "commander";
|
|
@@ -24,7 +24,7 @@ import { ensureInstallationId, readUserConfig, resolveGating, runTelemetry, user
|
|
|
24
24
|
import { distance } from "closest-match";
|
|
25
25
|
import { fileURLToPath } from "node:url";
|
|
26
26
|
//#region package.json
|
|
27
|
-
var version = "0.12.0-dev.
|
|
27
|
+
var version = "0.12.0-dev.67";
|
|
28
28
|
//#endregion
|
|
29
29
|
//#region src/commands/init/templates/code-templates.ts
|
|
30
30
|
function targetPackageName(target) {
|
|
@@ -1473,6 +1473,10 @@ var ControlClientImpl = class {
|
|
|
1473
1473
|
this.init();
|
|
1474
1474
|
if (this.familyInstance && hasPslContractInfer(this.familyInstance)) return this.familyInstance.inferPslContract(schemaIR);
|
|
1475
1475
|
}
|
|
1476
|
+
getPslBlockDescriptors() {
|
|
1477
|
+
this.init();
|
|
1478
|
+
return this.stack.authoringContributions.pslBlockDescriptors;
|
|
1479
|
+
}
|
|
1476
1480
|
toOperationPreview(operations) {
|
|
1477
1481
|
this.init();
|
|
1478
1482
|
if (this.familyInstance && hasOperationPreview(this.familyInstance)) return this.familyInstance.toOperationPreview(operations);
|
|
@@ -1604,4 +1608,4 @@ var ControlClientImpl = class {
|
|
|
1604
1608
|
//#endregion
|
|
1605
1609
|
export { executeDbInit as a, executeDbUpdate as i, planMemberPath as n, ContractValidationError as o, executeDbVerify as r, createControlClient as t };
|
|
1606
1610
|
|
|
1607
|
-
//# sourceMappingURL=client-
|
|
1611
|
+
//# sourceMappingURL=client-CJzuo5wX.mjs.map
|