everything-dev 1.51.6 → 1.52.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/_rolldown/runtime.cjs +0 -2
- package/dist/api-contract.cjs +61 -16
- package/dist/api-contract.cjs.map +1 -1
- package/dist/api-contract.mjs +60 -17
- package/dist/api-contract.mjs.map +1 -1
- package/dist/app.cjs +1 -1
- package/dist/app.cjs.map +1 -1
- package/dist/app.mjs +1 -1
- package/dist/app.mjs.map +1 -1
- package/dist/cli/db-doctor.cjs +1 -1
- package/dist/cli/db-doctor.cjs.map +1 -1
- package/dist/cli/db-doctor.mjs +1 -1
- package/dist/cli/db-repair.cjs +1 -1
- package/dist/cli/db-repair.cjs.map +1 -1
- package/dist/cli/db-repair.mjs +1 -1
- package/dist/cli/init.cjs +76 -52
- package/dist/cli/init.cjs.map +1 -1
- package/dist/cli/init.d.cts +15 -7
- package/dist/cli/init.d.cts.map +1 -1
- package/dist/cli/init.d.mts +15 -7
- package/dist/cli/init.d.mts.map +1 -1
- package/dist/cli/init.mjs +70 -47
- package/dist/cli/init.mjs.map +1 -1
- package/dist/cli/sync.cjs +34 -5
- package/dist/cli/sync.cjs.map +1 -1
- package/dist/cli/sync.mjs +35 -6
- package/dist/cli/sync.mjs.map +1 -1
- package/dist/cli/upgrade.cjs +151 -93
- package/dist/cli/upgrade.cjs.map +1 -1
- package/dist/cli/upgrade.mjs +138 -80
- package/dist/cli/upgrade.mjs.map +1 -1
- package/dist/cli/utils/helpers.cjs +25 -0
- package/dist/cli/utils/helpers.cjs.map +1 -0
- package/dist/cli/utils/helpers.mjs +23 -0
- package/dist/cli/utils/helpers.mjs.map +1 -0
- package/dist/cli.cjs +84 -72
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.mjs +84 -72
- package/dist/cli.mjs.map +1 -1
- package/dist/code-artifacts.cjs +1 -1
- package/dist/code-artifacts.mjs +1 -1
- package/dist/config.cjs +44 -4
- package/dist/config.cjs.map +1 -1
- package/dist/config.d.cts +1 -1
- package/dist/config.d.cts.map +1 -1
- package/dist/config.d.mts +1 -1
- package/dist/config.d.mts.map +1 -1
- package/dist/config.mjs +44 -4
- package/dist/config.mjs.map +1 -1
- package/dist/contract.cjs +9 -4
- package/dist/contract.cjs.map +1 -1
- package/dist/contract.d.cts +23 -13
- package/dist/contract.d.cts.map +1 -1
- package/dist/contract.d.mts +23 -13
- package/dist/contract.d.mts.map +1 -1
- package/dist/contract.meta.cjs +2 -1
- package/dist/contract.meta.cjs.map +1 -1
- package/dist/contract.meta.d.cts +3 -0
- package/dist/contract.meta.d.mts +3 -0
- package/dist/contract.meta.mjs +2 -1
- package/dist/contract.meta.mjs.map +1 -1
- package/dist/contract.mjs +9 -4
- package/dist/contract.mjs.map +1 -1
- package/dist/dag.cjs +176 -0
- package/dist/dag.cjs.map +1 -0
- package/dist/dag.d.cts +24 -0
- package/dist/dag.d.cts.map +1 -0
- package/dist/dag.d.mts +24 -0
- package/dist/dag.d.mts.map +1 -0
- package/dist/dag.mjs +167 -0
- package/dist/dag.mjs.map +1 -0
- package/dist/index.cjs +2 -0
- package/dist/index.d.cts +2 -2
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +2 -2
- package/dist/infra/planner.cjs +1 -1
- package/dist/infra/planner.mjs +1 -1
- package/dist/infra/preflight.cjs +1 -1
- package/dist/infra/preflight.cjs.map +1 -1
- package/dist/infra/preflight.mjs +1 -1
- package/dist/infra/preflight.mjs.map +1 -1
- package/dist/near-cli.cjs +1 -1
- package/dist/near-cli.mjs +1 -1
- package/dist/plugin.cjs +27 -18
- package/dist/plugin.cjs.map +1 -1
- package/dist/plugin.d.cts +52 -6
- package/dist/plugin.d.mts +52 -6
- package/dist/plugin.mjs +28 -19
- package/dist/plugin.mjs.map +1 -1
- package/dist/types.cjs +41 -6
- package/dist/types.cjs.map +1 -1
- package/dist/types.d.cts +116 -1
- package/dist/types.d.cts.map +1 -1
- package/dist/types.d.mts +116 -1
- package/dist/types.d.mts.map +1 -1
- package/dist/types.mjs +40 -7
- package/dist/types.mjs.map +1 -1
- package/package.json +8 -2
- package/dist/_virtual/_rolldown/runtime.mjs +0 -32
package/dist/contract.d.cts
CHANGED
|
@@ -125,6 +125,7 @@ declare const ConfigResultSchema: z.ZodObject<{
|
|
|
125
125
|
version: z.ZodOptional<z.ZodString>;
|
|
126
126
|
app: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
127
127
|
plugins: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
128
|
+
dependsOn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
128
129
|
}, z.core.$strip>]>>>;
|
|
129
130
|
app: z.ZodObject<{
|
|
130
131
|
host: z.ZodObject<{
|
|
@@ -377,8 +378,8 @@ declare const KeyPublishResultSchema: z.ZodObject<{
|
|
|
377
378
|
declare const OverrideSectionSchema: z.ZodEnum<{
|
|
378
379
|
plugins: "plugins";
|
|
379
380
|
ui: "ui";
|
|
380
|
-
host: "host";
|
|
381
381
|
api: "api";
|
|
382
|
+
host: "host";
|
|
382
383
|
}>;
|
|
383
384
|
declare const RuntimeOverrideTargetBaseSchema: z.ZodEnum<{
|
|
384
385
|
plugins: "plugins";
|
|
@@ -400,8 +401,8 @@ declare const InitOptionsSchema: z.ZodObject<{
|
|
|
400
401
|
overrides: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
401
402
|
plugins: "plugins";
|
|
402
403
|
ui: "ui";
|
|
403
|
-
host: "host";
|
|
404
404
|
api: "api";
|
|
405
|
+
host: "host";
|
|
405
406
|
}>>>;
|
|
406
407
|
noInteractive: z.ZodDefault<z.ZodBoolean>;
|
|
407
408
|
noInstall: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -420,8 +421,8 @@ declare const InitResultSchema: z.ZodObject<{
|
|
|
420
421
|
overrides: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
421
422
|
plugins: "plugins";
|
|
422
423
|
ui: "ui";
|
|
423
|
-
host: "host";
|
|
424
424
|
api: "api";
|
|
425
|
+
host: "host";
|
|
425
426
|
}>>>;
|
|
426
427
|
filesCopied: z.ZodNumber;
|
|
427
428
|
timings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -434,6 +435,7 @@ declare const InitResultSchema: z.ZodObject<{
|
|
|
434
435
|
declare const SyncOptionsSchema: z.ZodObject<{
|
|
435
436
|
dryRun: z.ZodDefault<z.ZodBoolean>;
|
|
436
437
|
noInstall: z.ZodDefault<z.ZodBoolean>;
|
|
438
|
+
json: z.ZodDefault<z.ZodBoolean>;
|
|
437
439
|
}, z.core.$strip>;
|
|
438
440
|
declare const SyncResultSchema: z.ZodObject<{
|
|
439
441
|
status: z.ZodEnum<{
|
|
@@ -444,12 +446,16 @@ declare const SyncResultSchema: z.ZodObject<{
|
|
|
444
446
|
updated: z.ZodArray<z.ZodString>;
|
|
445
447
|
skipped: z.ZodArray<z.ZodString>;
|
|
446
448
|
added: z.ZodArray<z.ZodString>;
|
|
449
|
+
conflicted: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
450
|
+
backupDir: z.ZodOptional<z.ZodString>;
|
|
447
451
|
error: z.ZodOptional<z.ZodString>;
|
|
448
452
|
}, z.core.$strip>;
|
|
449
453
|
declare const UpgradeOptionsSchema: z.ZodObject<{
|
|
450
454
|
dryRun: z.ZodDefault<z.ZodBoolean>;
|
|
451
455
|
noInstall: z.ZodDefault<z.ZodBoolean>;
|
|
452
456
|
noSync: z.ZodDefault<z.ZodBoolean>;
|
|
457
|
+
json: z.ZodDefault<z.ZodBoolean>;
|
|
458
|
+
migrationsOnly: z.ZodDefault<z.ZodBoolean>;
|
|
453
459
|
}, z.core.$strip>;
|
|
454
460
|
declare const UpgradeResultSchema: z.ZodObject<{
|
|
455
461
|
status: z.ZodEnum<{
|
|
@@ -471,6 +477,8 @@ declare const UpgradeResultSchema: z.ZodObject<{
|
|
|
471
477
|
updated: z.ZodArray<z.ZodString>;
|
|
472
478
|
skipped: z.ZodArray<z.ZodString>;
|
|
473
479
|
added: z.ZodArray<z.ZodString>;
|
|
480
|
+
conflicted: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
481
|
+
backupDir: z.ZodOptional<z.ZodString>;
|
|
474
482
|
error: z.ZodOptional<z.ZodString>;
|
|
475
483
|
}, z.core.$strip>>;
|
|
476
484
|
migrated: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -513,6 +521,7 @@ declare const TypesGenOptionsSchema: z.ZodObject<{
|
|
|
513
521
|
production: "production";
|
|
514
522
|
}>>;
|
|
515
523
|
dryRun: z.ZodDefault<z.ZodBoolean>;
|
|
524
|
+
remotePlugins: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
516
525
|
}, z.core.$strip>;
|
|
517
526
|
declare const TypesGenResultSchema: z.ZodObject<{
|
|
518
527
|
status: z.ZodEnum<{
|
|
@@ -523,10 +532,6 @@ declare const TypesGenResultSchema: z.ZodObject<{
|
|
|
523
532
|
fetched: z.ZodArray<z.ZodString>;
|
|
524
533
|
skipped: z.ZodArray<z.ZodString>;
|
|
525
534
|
failed: z.ZodArray<z.ZodString>;
|
|
526
|
-
source: z.ZodOptional<z.ZodEnum<{
|
|
527
|
-
local: "local";
|
|
528
|
-
remote: "remote";
|
|
529
|
-
}>>;
|
|
530
535
|
error: z.ZodOptional<z.ZodString>;
|
|
531
536
|
}, z.core.$strip>;
|
|
532
537
|
declare const DbStudioOptionsSchema: z.ZodObject<{
|
|
@@ -784,6 +789,7 @@ declare const bosContract: {
|
|
|
784
789
|
version: z.ZodOptional<z.ZodString>;
|
|
785
790
|
app: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
786
791
|
plugins: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
792
|
+
dependsOn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
787
793
|
}, z.core.$strip>]>>>;
|
|
788
794
|
app: z.ZodObject<{
|
|
789
795
|
host: z.ZodObject<{
|
|
@@ -1024,8 +1030,8 @@ declare const bosContract: {
|
|
|
1024
1030
|
overrides: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1025
1031
|
plugins: "plugins";
|
|
1026
1032
|
ui: "ui";
|
|
1027
|
-
host: "host";
|
|
1028
1033
|
api: "api";
|
|
1034
|
+
host: "host";
|
|
1029
1035
|
}>>>;
|
|
1030
1036
|
noInteractive: z.ZodDefault<z.ZodBoolean>;
|
|
1031
1037
|
noInstall: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -1043,8 +1049,8 @@ declare const bosContract: {
|
|
|
1043
1049
|
overrides: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1044
1050
|
plugins: "plugins";
|
|
1045
1051
|
ui: "ui";
|
|
1046
|
-
host: "host";
|
|
1047
1052
|
api: "api";
|
|
1053
|
+
host: "host";
|
|
1048
1054
|
}>>>;
|
|
1049
1055
|
filesCopied: z.ZodNumber;
|
|
1050
1056
|
timings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1057,6 +1063,7 @@ declare const bosContract: {
|
|
|
1057
1063
|
sync: import("@orpc/contract").ContractProcedure<z.ZodObject<{
|
|
1058
1064
|
dryRun: z.ZodDefault<z.ZodBoolean>;
|
|
1059
1065
|
noInstall: z.ZodDefault<z.ZodBoolean>;
|
|
1066
|
+
json: z.ZodDefault<z.ZodBoolean>;
|
|
1060
1067
|
}, z.core.$strip>, z.ZodObject<{
|
|
1061
1068
|
status: z.ZodEnum<{
|
|
1062
1069
|
error: "error";
|
|
@@ -1066,12 +1073,16 @@ declare const bosContract: {
|
|
|
1066
1073
|
updated: z.ZodArray<z.ZodString>;
|
|
1067
1074
|
skipped: z.ZodArray<z.ZodString>;
|
|
1068
1075
|
added: z.ZodArray<z.ZodString>;
|
|
1076
|
+
conflicted: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1077
|
+
backupDir: z.ZodOptional<z.ZodString>;
|
|
1069
1078
|
error: z.ZodOptional<z.ZodString>;
|
|
1070
1079
|
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Record<never, never>>, Record<never, never>>;
|
|
1071
1080
|
upgrade: import("@orpc/contract").ContractProcedure<z.ZodObject<{
|
|
1072
1081
|
dryRun: z.ZodDefault<z.ZodBoolean>;
|
|
1073
1082
|
noInstall: z.ZodDefault<z.ZodBoolean>;
|
|
1074
1083
|
noSync: z.ZodDefault<z.ZodBoolean>;
|
|
1084
|
+
json: z.ZodDefault<z.ZodBoolean>;
|
|
1085
|
+
migrationsOnly: z.ZodDefault<z.ZodBoolean>;
|
|
1075
1086
|
}, z.core.$strip>, z.ZodObject<{
|
|
1076
1087
|
status: z.ZodEnum<{
|
|
1077
1088
|
error: "error";
|
|
@@ -1092,6 +1103,8 @@ declare const bosContract: {
|
|
|
1092
1103
|
updated: z.ZodArray<z.ZodString>;
|
|
1093
1104
|
skipped: z.ZodArray<z.ZodString>;
|
|
1094
1105
|
added: z.ZodArray<z.ZodString>;
|
|
1106
|
+
conflicted: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1107
|
+
backupDir: z.ZodOptional<z.ZodString>;
|
|
1095
1108
|
error: z.ZodOptional<z.ZodString>;
|
|
1096
1109
|
}, z.core.$strip>>;
|
|
1097
1110
|
migrated: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -1134,6 +1147,7 @@ declare const bosContract: {
|
|
|
1134
1147
|
production: "production";
|
|
1135
1148
|
}>>;
|
|
1136
1149
|
dryRun: z.ZodDefault<z.ZodBoolean>;
|
|
1150
|
+
remotePlugins: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1137
1151
|
}, z.core.$strip>, z.ZodObject<{
|
|
1138
1152
|
status: z.ZodEnum<{
|
|
1139
1153
|
success: "success";
|
|
@@ -1143,10 +1157,6 @@ declare const bosContract: {
|
|
|
1143
1157
|
fetched: z.ZodArray<z.ZodString>;
|
|
1144
1158
|
skipped: z.ZodArray<z.ZodString>;
|
|
1145
1159
|
failed: z.ZodArray<z.ZodString>;
|
|
1146
|
-
source: z.ZodOptional<z.ZodEnum<{
|
|
1147
|
-
local: "local";
|
|
1148
|
-
remote: "remote";
|
|
1149
|
-
}>>;
|
|
1150
1160
|
error: z.ZodOptional<z.ZodString>;
|
|
1151
1161
|
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Record<never, never>>, Record<never, never>>;
|
|
1152
1162
|
dbStudio: import("@orpc/contract").ContractProcedure<z.ZodObject<{
|
package/dist/contract.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contract.d.cts","names":[],"sources":["../src/contract.ts"],"mappings":";;;cAIa,mBAAiB,EAAA;;;GAG5B,EAAA,KAAA;cAEW,kBAAgB,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;GAc3B,EAAA,KAAA;cAEW,iBAAe,EAAA;;;;;;;;;;;GAK1B,EAAA,KAAA;cAEW,oBAAkB,EAAA;;;;;;;;;GAM7B,EAAA,KAAA;cAEW,mBAAiB,EAAA;;;;;;;GAI5B,EAAA,KAAA;cAEW,oBAAkB,EAAA;;;;GAI7B,EAAA,KAAA;cAEW,mBAAiB,EAAA;;;;;;;;GAK5B,EAAA,KAAA;cAEW,qBAAmB,EAAA;;GAE9B,EAAA,KAAA;cAEW,oBAAkB,EAAA;uDAAlB
|
|
1
|
+
{"version":3,"file":"contract.d.cts","names":[],"sources":["../src/contract.ts"],"mappings":";;;cAIa,mBAAiB,EAAA;;;GAG5B,EAAA,KAAA;cAEW,kBAAgB,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;GAc3B,EAAA,KAAA;cAEW,iBAAe,EAAA;;;;;;;;;;;GAK1B,EAAA,KAAA;cAEW,oBAAkB,EAAA;;;;;;;;;GAM7B,EAAA,KAAA;cAEW,mBAAiB,EAAA;;;;;;;GAI5B,EAAA,KAAA;cAEW,oBAAkB,EAAA;;;;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,aAAa;KACjC,iBAAiB,EAAE,aAAa;KAChC,kBAAkB,EAAE,aAAa;KACjC,iBAAiB,EAAE,aAAa;KAChC,kBAAkB,EAAE,aAAa;KACjC,iBAAiB,EAAE,aAAa;KAChC,kBAAkB,EAAE,aAAa;KACjC,iBAAiB,EAAE,aAAa;KAChC,wBAAwB,EAAE,aAAa;KACvC,cAAc,EAAE,aAAa;KAC7B,WAAW,EAAE,aAAa;KAC1B,WAAW,EAAE,aAAa;KAC1B,cAAc,EAAE,aAAa;KAC7B,aAAa,EAAE,aAAa"}
|
package/dist/contract.d.mts
CHANGED
|
@@ -125,6 +125,7 @@ declare const ConfigResultSchema: z.ZodObject<{
|
|
|
125
125
|
version: z.ZodOptional<z.ZodString>;
|
|
126
126
|
app: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
127
127
|
plugins: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
128
|
+
dependsOn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
128
129
|
}, z.core.$strip>]>>>;
|
|
129
130
|
app: z.ZodObject<{
|
|
130
131
|
host: z.ZodObject<{
|
|
@@ -377,8 +378,8 @@ declare const KeyPublishResultSchema: z.ZodObject<{
|
|
|
377
378
|
declare const OverrideSectionSchema: z.ZodEnum<{
|
|
378
379
|
plugins: "plugins";
|
|
379
380
|
ui: "ui";
|
|
380
|
-
host: "host";
|
|
381
381
|
api: "api";
|
|
382
|
+
host: "host";
|
|
382
383
|
}>;
|
|
383
384
|
declare const RuntimeOverrideTargetBaseSchema: z.ZodEnum<{
|
|
384
385
|
plugins: "plugins";
|
|
@@ -400,8 +401,8 @@ declare const InitOptionsSchema: z.ZodObject<{
|
|
|
400
401
|
overrides: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
401
402
|
plugins: "plugins";
|
|
402
403
|
ui: "ui";
|
|
403
|
-
host: "host";
|
|
404
404
|
api: "api";
|
|
405
|
+
host: "host";
|
|
405
406
|
}>>>;
|
|
406
407
|
noInteractive: z.ZodDefault<z.ZodBoolean>;
|
|
407
408
|
noInstall: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -420,8 +421,8 @@ declare const InitResultSchema: z.ZodObject<{
|
|
|
420
421
|
overrides: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
421
422
|
plugins: "plugins";
|
|
422
423
|
ui: "ui";
|
|
423
|
-
host: "host";
|
|
424
424
|
api: "api";
|
|
425
|
+
host: "host";
|
|
425
426
|
}>>>;
|
|
426
427
|
filesCopied: z.ZodNumber;
|
|
427
428
|
timings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -434,6 +435,7 @@ declare const InitResultSchema: z.ZodObject<{
|
|
|
434
435
|
declare const SyncOptionsSchema: z.ZodObject<{
|
|
435
436
|
dryRun: z.ZodDefault<z.ZodBoolean>;
|
|
436
437
|
noInstall: z.ZodDefault<z.ZodBoolean>;
|
|
438
|
+
json: z.ZodDefault<z.ZodBoolean>;
|
|
437
439
|
}, z.core.$strip>;
|
|
438
440
|
declare const SyncResultSchema: z.ZodObject<{
|
|
439
441
|
status: z.ZodEnum<{
|
|
@@ -444,12 +446,16 @@ declare const SyncResultSchema: z.ZodObject<{
|
|
|
444
446
|
updated: z.ZodArray<z.ZodString>;
|
|
445
447
|
skipped: z.ZodArray<z.ZodString>;
|
|
446
448
|
added: z.ZodArray<z.ZodString>;
|
|
449
|
+
conflicted: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
450
|
+
backupDir: z.ZodOptional<z.ZodString>;
|
|
447
451
|
error: z.ZodOptional<z.ZodString>;
|
|
448
452
|
}, z.core.$strip>;
|
|
449
453
|
declare const UpgradeOptionsSchema: z.ZodObject<{
|
|
450
454
|
dryRun: z.ZodDefault<z.ZodBoolean>;
|
|
451
455
|
noInstall: z.ZodDefault<z.ZodBoolean>;
|
|
452
456
|
noSync: z.ZodDefault<z.ZodBoolean>;
|
|
457
|
+
json: z.ZodDefault<z.ZodBoolean>;
|
|
458
|
+
migrationsOnly: z.ZodDefault<z.ZodBoolean>;
|
|
453
459
|
}, z.core.$strip>;
|
|
454
460
|
declare const UpgradeResultSchema: z.ZodObject<{
|
|
455
461
|
status: z.ZodEnum<{
|
|
@@ -471,6 +477,8 @@ declare const UpgradeResultSchema: z.ZodObject<{
|
|
|
471
477
|
updated: z.ZodArray<z.ZodString>;
|
|
472
478
|
skipped: z.ZodArray<z.ZodString>;
|
|
473
479
|
added: z.ZodArray<z.ZodString>;
|
|
480
|
+
conflicted: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
481
|
+
backupDir: z.ZodOptional<z.ZodString>;
|
|
474
482
|
error: z.ZodOptional<z.ZodString>;
|
|
475
483
|
}, z.core.$strip>>;
|
|
476
484
|
migrated: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -513,6 +521,7 @@ declare const TypesGenOptionsSchema: z.ZodObject<{
|
|
|
513
521
|
production: "production";
|
|
514
522
|
}>>;
|
|
515
523
|
dryRun: z.ZodDefault<z.ZodBoolean>;
|
|
524
|
+
remotePlugins: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
516
525
|
}, z.core.$strip>;
|
|
517
526
|
declare const TypesGenResultSchema: z.ZodObject<{
|
|
518
527
|
status: z.ZodEnum<{
|
|
@@ -523,10 +532,6 @@ declare const TypesGenResultSchema: z.ZodObject<{
|
|
|
523
532
|
fetched: z.ZodArray<z.ZodString>;
|
|
524
533
|
skipped: z.ZodArray<z.ZodString>;
|
|
525
534
|
failed: z.ZodArray<z.ZodString>;
|
|
526
|
-
source: z.ZodOptional<z.ZodEnum<{
|
|
527
|
-
local: "local";
|
|
528
|
-
remote: "remote";
|
|
529
|
-
}>>;
|
|
530
535
|
error: z.ZodOptional<z.ZodString>;
|
|
531
536
|
}, z.core.$strip>;
|
|
532
537
|
declare const DbStudioOptionsSchema: z.ZodObject<{
|
|
@@ -784,6 +789,7 @@ declare const bosContract: {
|
|
|
784
789
|
version: z.ZodOptional<z.ZodString>;
|
|
785
790
|
app: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
786
791
|
plugins: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
792
|
+
dependsOn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
787
793
|
}, z.core.$strip>]>>>;
|
|
788
794
|
app: z.ZodObject<{
|
|
789
795
|
host: z.ZodObject<{
|
|
@@ -1024,8 +1030,8 @@ declare const bosContract: {
|
|
|
1024
1030
|
overrides: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1025
1031
|
plugins: "plugins";
|
|
1026
1032
|
ui: "ui";
|
|
1027
|
-
host: "host";
|
|
1028
1033
|
api: "api";
|
|
1034
|
+
host: "host";
|
|
1029
1035
|
}>>>;
|
|
1030
1036
|
noInteractive: z.ZodDefault<z.ZodBoolean>;
|
|
1031
1037
|
noInstall: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -1043,8 +1049,8 @@ declare const bosContract: {
|
|
|
1043
1049
|
overrides: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1044
1050
|
plugins: "plugins";
|
|
1045
1051
|
ui: "ui";
|
|
1046
|
-
host: "host";
|
|
1047
1052
|
api: "api";
|
|
1053
|
+
host: "host";
|
|
1048
1054
|
}>>>;
|
|
1049
1055
|
filesCopied: z.ZodNumber;
|
|
1050
1056
|
timings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1057,6 +1063,7 @@ declare const bosContract: {
|
|
|
1057
1063
|
sync: import("@orpc/contract").ContractProcedure<z.ZodObject<{
|
|
1058
1064
|
dryRun: z.ZodDefault<z.ZodBoolean>;
|
|
1059
1065
|
noInstall: z.ZodDefault<z.ZodBoolean>;
|
|
1066
|
+
json: z.ZodDefault<z.ZodBoolean>;
|
|
1060
1067
|
}, z.core.$strip>, z.ZodObject<{
|
|
1061
1068
|
status: z.ZodEnum<{
|
|
1062
1069
|
error: "error";
|
|
@@ -1066,12 +1073,16 @@ declare const bosContract: {
|
|
|
1066
1073
|
updated: z.ZodArray<z.ZodString>;
|
|
1067
1074
|
skipped: z.ZodArray<z.ZodString>;
|
|
1068
1075
|
added: z.ZodArray<z.ZodString>;
|
|
1076
|
+
conflicted: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1077
|
+
backupDir: z.ZodOptional<z.ZodString>;
|
|
1069
1078
|
error: z.ZodOptional<z.ZodString>;
|
|
1070
1079
|
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Record<never, never>>, Record<never, never>>;
|
|
1071
1080
|
upgrade: import("@orpc/contract").ContractProcedure<z.ZodObject<{
|
|
1072
1081
|
dryRun: z.ZodDefault<z.ZodBoolean>;
|
|
1073
1082
|
noInstall: z.ZodDefault<z.ZodBoolean>;
|
|
1074
1083
|
noSync: z.ZodDefault<z.ZodBoolean>;
|
|
1084
|
+
json: z.ZodDefault<z.ZodBoolean>;
|
|
1085
|
+
migrationsOnly: z.ZodDefault<z.ZodBoolean>;
|
|
1075
1086
|
}, z.core.$strip>, z.ZodObject<{
|
|
1076
1087
|
status: z.ZodEnum<{
|
|
1077
1088
|
error: "error";
|
|
@@ -1092,6 +1103,8 @@ declare const bosContract: {
|
|
|
1092
1103
|
updated: z.ZodArray<z.ZodString>;
|
|
1093
1104
|
skipped: z.ZodArray<z.ZodString>;
|
|
1094
1105
|
added: z.ZodArray<z.ZodString>;
|
|
1106
|
+
conflicted: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1107
|
+
backupDir: z.ZodOptional<z.ZodString>;
|
|
1095
1108
|
error: z.ZodOptional<z.ZodString>;
|
|
1096
1109
|
}, z.core.$strip>>;
|
|
1097
1110
|
migrated: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -1134,6 +1147,7 @@ declare const bosContract: {
|
|
|
1134
1147
|
production: "production";
|
|
1135
1148
|
}>>;
|
|
1136
1149
|
dryRun: z.ZodDefault<z.ZodBoolean>;
|
|
1150
|
+
remotePlugins: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1137
1151
|
}, z.core.$strip>, z.ZodObject<{
|
|
1138
1152
|
status: z.ZodEnum<{
|
|
1139
1153
|
success: "success";
|
|
@@ -1143,10 +1157,6 @@ declare const bosContract: {
|
|
|
1143
1157
|
fetched: z.ZodArray<z.ZodString>;
|
|
1144
1158
|
skipped: z.ZodArray<z.ZodString>;
|
|
1145
1159
|
failed: z.ZodArray<z.ZodString>;
|
|
1146
|
-
source: z.ZodOptional<z.ZodEnum<{
|
|
1147
|
-
local: "local";
|
|
1148
|
-
remote: "remote";
|
|
1149
|
-
}>>;
|
|
1150
1160
|
error: z.ZodOptional<z.ZodString>;
|
|
1151
1161
|
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Record<never, never>>, Record<never, never>>;
|
|
1152
1162
|
dbStudio: import("@orpc/contract").ContractProcedure<z.ZodObject<{
|
package/dist/contract.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contract.d.mts","names":[],"sources":["../src/contract.ts"],"mappings":";;;cAIa,mBAAiB,EAAA;;;GAG5B,EAAA,KAAA;cAEW,kBAAgB,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;GAc3B,EAAA,KAAA;cAEW,iBAAe,EAAA;;;;;;;;;;;GAK1B,EAAA,KAAA;cAEW,oBAAkB,EAAA;;;;;;;;;GAM7B,EAAA,KAAA;cAEW,mBAAiB,EAAA;;;;;;;GAI5B,EAAA,KAAA;cAEW,oBAAkB,EAAA;;;;GAI7B,EAAA,KAAA;cAEW,mBAAiB,EAAA;;;;;;;;GAK5B,EAAA,KAAA;cAEW,qBAAmB,EAAA;;GAE9B,EAAA,KAAA;cAEW,oBAAkB,EAAA;uDAAlB
|
|
1
|
+
{"version":3,"file":"contract.d.mts","names":[],"sources":["../src/contract.ts"],"mappings":";;;cAIa,mBAAiB,EAAA;;;GAG5B,EAAA,KAAA;cAEW,kBA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Aa;KAC7B,aAAa,EAAE,aAAa;KAC5B,kBAAkB,EAAE,aAAa;KACjC,cAAc,EAAE,aAAa;KAC7B,cAAc,EAAE,aAAa;KAC7B,aAAa,EAAE,aAAa;KAC5B,iBAAiB,EAAE,aAAa;KAChC,gBAAgB,EAAE,aAAa;KAC/B,eAAe,EAAE,aAAa;KAC9B,kBAAkB,EAAE,aAAa;KACjC,iBAAiB,EAAE,aAAa;KAChC,kBAAkB,EAAE,aAAa;KACjC,iBAAiB,EAAE,aAAa;KAChC,kBAAkB,EAAE,aAAa;KACjC,iBAAiB,EAAE,aAAa;KAChC,kBAAkB,EAAE,aAAa;KACjC,iBAAiB,EAAE,aAAa;KAChC,wBAAwB,EAAE,aAAa;KACvC,cAAc,EAAE,aAAa;KAC7B,WAAW,EAAE,aAAa;KAC1B,WAAW,EAAE,aAAa;KAC1B,cAAc,EAAE,aAAa;KAC7B,aAAa,EAAE,aAAa"}
|
package/dist/contract.meta.cjs
CHANGED
|
@@ -140,7 +140,8 @@ const cliCommandMeta = {
|
|
|
140
140
|
interactive: false,
|
|
141
141
|
fields: {
|
|
142
142
|
env: { description: "Environment: development (default) or production" },
|
|
143
|
-
dryRun: { description: "Preview what would be fetched without writing files" }
|
|
143
|
+
dryRun: { description: "Preview what would be fetched without writing files" },
|
|
144
|
+
remotePlugins: { description: "Comma-separated plugin IDs to fetch contract types remotely (e.g. --remote-plugins auth,registry)" }
|
|
144
145
|
}
|
|
145
146
|
},
|
|
146
147
|
dbStudio: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contract.meta.cjs","names":[],"sources":["../src/contract.meta.ts"],"sourcesContent":["export type CliCommandMeta = {\n commandPath?: string[];\n summary: string;\n description?: string;\n examples?: string[];\n interactive?: boolean;\n longRunning?: boolean;\n fields?: Record<string, { positional?: boolean; description?: string }>;\n};\n\nexport const cliCommandMeta = {\n dev: {\n commandPath: [\"dev\"],\n summary: \"Start a development session\",\n interactive: true,\n longRunning: true,\n fields: {\n remotePlugins: {\n description:\n \"Comma-separated plugin IDs to force remote (e.g. --remote-plugins auth,registry)\",\n },\n },\n },\n start: {\n commandPath: [\"start\"],\n summary: \"Start the production host\",\n interactive: false,\n longRunning: true,\n fields: {\n env: { description: \"Environment: production or staging\" },\n },\n },\n build: {\n commandPath: [\"build\"],\n summary: \"Build selected workspaces\",\n interactive: false,\n fields: {\n packages: { positional: true, description: \"Comma-separated package list\" },\n },\n },\n config: {\n commandPath: [\"config\"],\n summary: \"Print the loaded BOS configuration\",\n interactive: false,\n fields: {\n full: { description: \"Print the fully resolved configuration\" },\n },\n },\n pluginAdd: {\n commandPath: [\"plugin\", \"add\"],\n summary: \"Add a plugin attachment\",\n interactive: false,\n fields: {\n source: {\n positional: true,\n description: \"Plugin source (local:path, bos://account/domain, or URL)\",\n },\n as: { description: \"Plugin alias\" },\n production: { description: \"Production URL override\" },\n },\n },\n pluginRemove: {\n commandPath: [\"plugin\", \"remove\"],\n summary: \"Remove a plugin attachment\",\n interactive: false,\n fields: { key: { positional: true, description: \"Plugin key\" } },\n },\n pluginList: {\n commandPath: [\"plugin\", \"list\"],\n summary: \"List configured plugins\",\n interactive: false,\n },\n pluginPublish: {\n commandPath: [\"plugin\", \"publish\"],\n summary: \"Publish a single plugin\",\n interactive: false,\n fields: { key: { positional: true, description: \"Plugin key\" } },\n },\n publish: {\n commandPath: [\"publish\"],\n summary: \"Publish the current workspace configuration\",\n interactive: false,\n fields: {\n deploy: { description: \"Build and deploy all workspaces before publish\" },\n dryRun: { description: \"Preview what would be published without writing\" },\n verbose: { description: \"Show full build output instead of clean summary\" },\n env: { description: \"Environment: production or staging\" },\n network: { description: \"NEAR network: mainnet or testnet\" },\n },\n },\n deploy: {\n commandPath: [\"deploy\"],\n summary: \"Publish config and trigger Railway redeploy\",\n interactive: false,\n fields: {\n env: { description: \"Environment: production or staging\" },\n build: { description: \"Build and deploy workspaces before publish (default: true)\" },\n dryRun: { description: \"Preview what would be deployed without writing\" },\n verbose: { description: \"Show full build output instead of clean summary\" },\n service: { description: \"Override Railway service name from config\" },\n },\n },\n keyPublish: {\n commandPath: [\"key\", \"generate\"],\n summary: \"Generate a publish access key\",\n interactive: true,\n },\n init: {\n commandPath: [\"init\"],\n summary: \"Scaffold a new project by extending a deployed app or template\",\n interactive: true,\n fields: {\n domain: {\n positional: true,\n description: \"New project domain (e.g. myapp.everything.dev)\",\n },\n extends: {\n description: \"Parent to extend from (e.g. bos://account/gateway or account/gateway)\",\n },\n account: { description: \"New project NEAR account (auto-derived from extends)\" },\n directory: { description: \"Target directory (auto-derived from domain)\" },\n source: { description: \"Local source dir (skips GitHub download)\" },\n plugins: {\n description: \"Comma-separated plugin keys to include (requires --overrides=plugins)\",\n },\n overrides: {\n description: \"Comma-separated sections to customize locally: ui,api,host,plugins\",\n },\n noInteractive: { description: \"Skip prompts, use flags only\" },\n noInstall: { description: \"Skip bun install\" },\n },\n },\n sync: {\n commandPath: [\"sync\"],\n summary: \"Sync template files from parent project\",\n interactive: false,\n fields: {\n dryRun: { description: \"Preview changes without writing files\" },\n noInstall: { description: \"Skip bun install\" },\n },\n },\n upgrade: {\n commandPath: [\"upgrade\"],\n summary: \"Upgrade framework packages and sync template files\",\n interactive: true,\n fields: {\n dryRun: { description: \"Preview changes without writing\" },\n noInstall: { description: \"Skip bun install\" },\n noSync: { description: \"Only upgrade packages, skip template sync\" },\n },\n },\n typesGen: {\n commandPath: [\"types\", \"gen\"],\n summary: \"Generate type definitions from configured API and plugin contracts\",\n interactive: false,\n fields: {\n env: { description: \"Environment: development (default) or production\" },\n dryRun: { description: \"Preview what would be fetched without writing files\" },\n },\n },\n dbStudio: {\n commandPath: [\"db\", \"studio\"],\n summary: \"Open Drizzle Studio for a plugin's database\",\n fields: {\n plugin: {\n positional: true,\n description: \"Plugin key: api, auth, or a plugin name (default: api)\",\n },\n },\n },\n dbDoctor: {\n commandPath: [\"db\", \"doctor\"],\n summary: \"Diagnose migration health for a plugin's database\",\n fields: {\n plugin: {\n positional: true,\n description: \"Plugin key: api, auth, or a plugin name\",\n },\n },\n },\n dbRepair: {\n commandPath: [\"db\", \"repair\"],\n summary: \"Reset migration history and reapply migrations for a plugin\",\n fields: {\n plugin: {\n positional: true,\n description: \"Plugin key: api, auth, or a plugin name\",\n },\n mode: {\n description: \"Repair mode: history-reset (default) or recreate (not yet supported)\",\n },\n yes: {\n description: \"Skip confirmation prompt\",\n },\n },\n },\n status: {\n commandPath: [\"status\"],\n summary: \"Show project health, versions, and update availability\",\n interactive: false,\n },\n ps: {\n commandPath: [\"ps\"],\n summary: \"List tracked development processes\",\n interactive: false,\n },\n kill: {\n commandPath: [\"kill\"],\n summary: \"Stop tracked development processes\",\n interactive: false,\n fields: {\n configDir: { description: \"Kill processes owned by a config directory (defaults to cwd)\" },\n signal: { description: \"Signal: SIGTERM (default) or SIGKILL\" },\n all: { description: \"Kill processes across all config directories\" },\n },\n },\n} as const satisfies Record<string, CliCommandMeta>;\n"],"mappings":";;;AAUA,MAAa,iBAAiB;CAC5B,KAAK;EACH,aAAa,CAAC,KAAK;EACnB,SAAS;EACT,aAAa;EACb,aAAa;EACb,QAAQ,EACN,eAAe,EACb,aACE,mFACJ,EACF;CACF;CACA,OAAO;EACL,aAAa,CAAC,OAAO;EACrB,SAAS;EACT,aAAa;EACb,aAAa;EACb,QAAQ,EACN,KAAK,EAAE,aAAa,qCAAqC,EAC3D;CACF;CACA,OAAO;EACL,aAAa,CAAC,OAAO;EACrB,SAAS;EACT,aAAa;EACb,QAAQ,EACN,UAAU;GAAE,YAAY;GAAM,aAAa;EAA+B,EAC5E;CACF;CACA,QAAQ;EACN,aAAa,CAAC,QAAQ;EACtB,SAAS;EACT,aAAa;EACb,QAAQ,EACN,MAAM,EAAE,aAAa,yCAAyC,EAChE;CACF;CACA,WAAW;EACT,aAAa,CAAC,UAAU,KAAK;EAC7B,SAAS;EACT,aAAa;EACb,QAAQ;GACN,QAAQ;IACN,YAAY;IACZ,aAAa;GACf;GACA,IAAI,EAAE,a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AK,EAAE,aAAa,+CAA+C;EACrE;CACF;AACF"}
|
|
1
|
+
{"version":3,"file":"contract.meta.cjs","names":[],"sources":["../src/contract.meta.ts"],"sourcesContent":["export type CliCommandMeta = {\n commandPath?: string[];\n summary: string;\n description?: string;\n examples?: string[];\n interactive?: boolean;\n longRunning?: boolean;\n fields?: Record<string, { positional?: boolean; description?: string }>;\n};\n\nexport const cliCommandMeta = {\n dev: {\n commandPath: [\"dev\"],\n summary: \"Start a development session\",\n interactive: true,\n longRunning: true,\n fields: {\n remotePlugins: {\n description:\n \"Comma-separated plugin IDs to force remote (e.g. --remote-plugins auth,registry)\",\n },\n },\n },\n start: {\n commandPath: [\"start\"],\n summary: \"Start the production host\",\n interactive: false,\n longRunning: true,\n fields: {\n env: { description: \"Environment: production or staging\" },\n },\n },\n build: {\n commandPath: [\"build\"],\n summary: \"Build selected workspaces\",\n interactive: false,\n fields: {\n packages: { positional: true, description: \"Comma-separated package list\" },\n },\n },\n config: {\n commandPath: [\"config\"],\n summary: \"Print the loaded BOS configuration\",\n interactive: false,\n fields: {\n full: { description: \"Print the fully resolved configuration\" },\n },\n },\n pluginAdd: {\n commandPath: [\"plugin\", \"add\"],\n summary: \"Add a plugin attachment\",\n interactive: false,\n fields: {\n source: {\n positional: true,\n description: \"Plugin source (local:path, bos://account/domain, or URL)\",\n },\n as: { description: \"Plugin alias\" },\n production: { description: \"Production URL override\" },\n },\n },\n pluginRemove: {\n commandPath: [\"plugin\", \"remove\"],\n summary: \"Remove a plugin attachment\",\n interactive: false,\n fields: { key: { positional: true, description: \"Plugin key\" } },\n },\n pluginList: {\n commandPath: [\"plugin\", \"list\"],\n summary: \"List configured plugins\",\n interactive: false,\n },\n pluginPublish: {\n commandPath: [\"plugin\", \"publish\"],\n summary: \"Publish a single plugin\",\n interactive: false,\n fields: { key: { positional: true, description: \"Plugin key\" } },\n },\n publish: {\n commandPath: [\"publish\"],\n summary: \"Publish the current workspace configuration\",\n interactive: false,\n fields: {\n deploy: { description: \"Build and deploy all workspaces before publish\" },\n dryRun: { description: \"Preview what would be published without writing\" },\n verbose: { description: \"Show full build output instead of clean summary\" },\n env: { description: \"Environment: production or staging\" },\n network: { description: \"NEAR network: mainnet or testnet\" },\n },\n },\n deploy: {\n commandPath: [\"deploy\"],\n summary: \"Publish config and trigger Railway redeploy\",\n interactive: false,\n fields: {\n env: { description: \"Environment: production or staging\" },\n build: { description: \"Build and deploy workspaces before publish (default: true)\" },\n dryRun: { description: \"Preview what would be deployed without writing\" },\n verbose: { description: \"Show full build output instead of clean summary\" },\n service: { description: \"Override Railway service name from config\" },\n },\n },\n keyPublish: {\n commandPath: [\"key\", \"generate\"],\n summary: \"Generate a publish access key\",\n interactive: true,\n },\n init: {\n commandPath: [\"init\"],\n summary: \"Scaffold a new project by extending a deployed app or template\",\n interactive: true,\n fields: {\n domain: {\n positional: true,\n description: \"New project domain (e.g. myapp.everything.dev)\",\n },\n extends: {\n description: \"Parent to extend from (e.g. bos://account/gateway or account/gateway)\",\n },\n account: { description: \"New project NEAR account (auto-derived from extends)\" },\n directory: { description: \"Target directory (auto-derived from domain)\" },\n source: { description: \"Local source dir (skips GitHub download)\" },\n plugins: {\n description: \"Comma-separated plugin keys to include (requires --overrides=plugins)\",\n },\n overrides: {\n description: \"Comma-separated sections to customize locally: ui,api,host,plugins\",\n },\n noInteractive: { description: \"Skip prompts, use flags only\" },\n noInstall: { description: \"Skip bun install\" },\n },\n },\n sync: {\n commandPath: [\"sync\"],\n summary: \"Sync template files from parent project\",\n interactive: false,\n fields: {\n dryRun: { description: \"Preview changes without writing files\" },\n noInstall: { description: \"Skip bun install\" },\n },\n },\n upgrade: {\n commandPath: [\"upgrade\"],\n summary: \"Upgrade framework packages and sync template files\",\n interactive: true,\n fields: {\n dryRun: { description: \"Preview changes without writing\" },\n noInstall: { description: \"Skip bun install\" },\n noSync: { description: \"Only upgrade packages, skip template sync\" },\n },\n },\n typesGen: {\n commandPath: [\"types\", \"gen\"],\n summary: \"Generate type definitions from configured API and plugin contracts\",\n interactive: false,\n fields: {\n env: { description: \"Environment: development (default) or production\" },\n dryRun: { description: \"Preview what would be fetched without writing files\" },\n remotePlugins: {\n description:\n \"Comma-separated plugin IDs to fetch contract types remotely (e.g. --remote-plugins auth,registry)\",\n },\n },\n },\n dbStudio: {\n commandPath: [\"db\", \"studio\"],\n summary: \"Open Drizzle Studio for a plugin's database\",\n fields: {\n plugin: {\n positional: true,\n description: \"Plugin key: api, auth, or a plugin name (default: api)\",\n },\n },\n },\n dbDoctor: {\n commandPath: [\"db\", \"doctor\"],\n summary: \"Diagnose migration health for a plugin's database\",\n fields: {\n plugin: {\n positional: true,\n description: \"Plugin key: api, auth, or a plugin name\",\n },\n },\n },\n dbRepair: {\n commandPath: [\"db\", \"repair\"],\n summary: \"Reset migration history and reapply migrations for a plugin\",\n fields: {\n plugin: {\n positional: true,\n description: \"Plugin key: api, auth, or a plugin name\",\n },\n mode: {\n description: \"Repair mode: history-reset (default) or recreate (not yet supported)\",\n },\n yes: {\n description: \"Skip confirmation prompt\",\n },\n },\n },\n status: {\n commandPath: [\"status\"],\n summary: \"Show project health, versions, and update availability\",\n interactive: false,\n },\n ps: {\n commandPath: [\"ps\"],\n summary: \"List tracked development processes\",\n interactive: false,\n },\n kill: {\n commandPath: [\"kill\"],\n summary: \"Stop tracked development processes\",\n interactive: false,\n fields: {\n configDir: { description: \"Kill processes owned by a config directory (defaults to cwd)\" },\n signal: { description: \"Signal: SIGTERM (default) or SIGKILL\" },\n all: { description: \"Kill processes across all config directories\" },\n },\n },\n} as const satisfies Record<string, CliCommandMeta>;\n"],"mappings":";;;AAUA,MAAa,iBAAiB;CAC5B,KAAK;EACH,aAAa,CAAC,KAAK;EACnB,SAAS;EACT,aAAa;EACb,aAAa;EACb,QAAQ,EACN,eAAe,EACb,aACE,mFACJ,EACF;CACF;CACA,OAAO;EACL,aAAa,CAAC,OAAO;EACrB,SAAS;EACT,aAAa;EACb,aAAa;EACb,QAAQ,EACN,KAAK,EA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,aAAa,CAAC,MAAM,QAAQ;EAC5B,SAAS;EACT,QAAQ;GACN,QAAQ;IACN,YAAY;IACZ,aAAa;GACf;GACA,MAAM,EACJ,aAAa,uEACf;GACA,KAAK,EACH,aAAa,2BACf;EACF;CACF;CACA,QAAQ;EACN,aAAa,CAAC,QAAQ;EACtB,SAAS;EACT,aAAa;CACf;CACA,IAAI;EACF,aAAa,CAAC,IAAI;EAClB,SAAS;EACT,aAAa;CACf;CACA,MAAM;EACJ,aAAa,CAAC,MAAM;EACpB,SAAS;EACT,aAAa;EACb,QAAQ;GACN,WAAW,EAAE,aAAa,+DAA+D;GACzF,QAAQ,EAAE,aAAa,uCAAuC;GAC9D,KAAK,EAAE,aAAa,+CAA+C;EACrE;CACF;AACF"}
|
package/dist/contract.meta.d.cts
CHANGED
|
@@ -223,6 +223,9 @@ declare const cliCommandMeta: {
|
|
|
223
223
|
readonly dryRun: {
|
|
224
224
|
readonly description: "Preview what would be fetched without writing files";
|
|
225
225
|
};
|
|
226
|
+
readonly remotePlugins: {
|
|
227
|
+
readonly description: "Comma-separated plugin IDs to fetch contract types remotely (e.g. --remote-plugins auth,registry)";
|
|
228
|
+
};
|
|
226
229
|
};
|
|
227
230
|
};
|
|
228
231
|
readonly dbStudio: {
|
package/dist/contract.meta.d.mts
CHANGED
|
@@ -223,6 +223,9 @@ declare const cliCommandMeta: {
|
|
|
223
223
|
readonly dryRun: {
|
|
224
224
|
readonly description: "Preview what would be fetched without writing files";
|
|
225
225
|
};
|
|
226
|
+
readonly remotePlugins: {
|
|
227
|
+
readonly description: "Comma-separated plugin IDs to fetch contract types remotely (e.g. --remote-plugins auth,registry)";
|
|
228
|
+
};
|
|
226
229
|
};
|
|
227
230
|
};
|
|
228
231
|
readonly dbStudio: {
|
package/dist/contract.meta.mjs
CHANGED
|
@@ -138,7 +138,8 @@ const cliCommandMeta = {
|
|
|
138
138
|
interactive: false,
|
|
139
139
|
fields: {
|
|
140
140
|
env: { description: "Environment: development (default) or production" },
|
|
141
|
-
dryRun: { description: "Preview what would be fetched without writing files" }
|
|
141
|
+
dryRun: { description: "Preview what would be fetched without writing files" },
|
|
142
|
+
remotePlugins: { description: "Comma-separated plugin IDs to fetch contract types remotely (e.g. --remote-plugins auth,registry)" }
|
|
142
143
|
}
|
|
143
144
|
},
|
|
144
145
|
dbStudio: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contract.meta.mjs","names":[],"sources":["../src/contract.meta.ts"],"sourcesContent":["export type CliCommandMeta = {\n commandPath?: string[];\n summary: string;\n description?: string;\n examples?: string[];\n interactive?: boolean;\n longRunning?: boolean;\n fields?: Record<string, { positional?: boolean; description?: string }>;\n};\n\nexport const cliCommandMeta = {\n dev: {\n commandPath: [\"dev\"],\n summary: \"Start a development session\",\n interactive: true,\n longRunning: true,\n fields: {\n remotePlugins: {\n description:\n \"Comma-separated plugin IDs to force remote (e.g. --remote-plugins auth,registry)\",\n },\n },\n },\n start: {\n commandPath: [\"start\"],\n summary: \"Start the production host\",\n interactive: false,\n longRunning: true,\n fields: {\n env: { description: \"Environment: production or staging\" },\n },\n },\n build: {\n commandPath: [\"build\"],\n summary: \"Build selected workspaces\",\n interactive: false,\n fields: {\n packages: { positional: true, description: \"Comma-separated package list\" },\n },\n },\n config: {\n commandPath: [\"config\"],\n summary: \"Print the loaded BOS configuration\",\n interactive: false,\n fields: {\n full: { description: \"Print the fully resolved configuration\" },\n },\n },\n pluginAdd: {\n commandPath: [\"plugin\", \"add\"],\n summary: \"Add a plugin attachment\",\n interactive: false,\n fields: {\n source: {\n positional: true,\n description: \"Plugin source (local:path, bos://account/domain, or URL)\",\n },\n as: { description: \"Plugin alias\" },\n production: { description: \"Production URL override\" },\n },\n },\n pluginRemove: {\n commandPath: [\"plugin\", \"remove\"],\n summary: \"Remove a plugin attachment\",\n interactive: false,\n fields: { key: { positional: true, description: \"Plugin key\" } },\n },\n pluginList: {\n commandPath: [\"plugin\", \"list\"],\n summary: \"List configured plugins\",\n interactive: false,\n },\n pluginPublish: {\n commandPath: [\"plugin\", \"publish\"],\n summary: \"Publish a single plugin\",\n interactive: false,\n fields: { key: { positional: true, description: \"Plugin key\" } },\n },\n publish: {\n commandPath: [\"publish\"],\n summary: \"Publish the current workspace configuration\",\n interactive: false,\n fields: {\n deploy: { description: \"Build and deploy all workspaces before publish\" },\n dryRun: { description: \"Preview what would be published without writing\" },\n verbose: { description: \"Show full build output instead of clean summary\" },\n env: { description: \"Environment: production or staging\" },\n network: { description: \"NEAR network: mainnet or testnet\" },\n },\n },\n deploy: {\n commandPath: [\"deploy\"],\n summary: \"Publish config and trigger Railway redeploy\",\n interactive: false,\n fields: {\n env: { description: \"Environment: production or staging\" },\n build: { description: \"Build and deploy workspaces before publish (default: true)\" },\n dryRun: { description: \"Preview what would be deployed without writing\" },\n verbose: { description: \"Show full build output instead of clean summary\" },\n service: { description: \"Override Railway service name from config\" },\n },\n },\n keyPublish: {\n commandPath: [\"key\", \"generate\"],\n summary: \"Generate a publish access key\",\n interactive: true,\n },\n init: {\n commandPath: [\"init\"],\n summary: \"Scaffold a new project by extending a deployed app or template\",\n interactive: true,\n fields: {\n domain: {\n positional: true,\n description: \"New project domain (e.g. myapp.everything.dev)\",\n },\n extends: {\n description: \"Parent to extend from (e.g. bos://account/gateway or account/gateway)\",\n },\n account: { description: \"New project NEAR account (auto-derived from extends)\" },\n directory: { description: \"Target directory (auto-derived from domain)\" },\n source: { description: \"Local source dir (skips GitHub download)\" },\n plugins: {\n description: \"Comma-separated plugin keys to include (requires --overrides=plugins)\",\n },\n overrides: {\n description: \"Comma-separated sections to customize locally: ui,api,host,plugins\",\n },\n noInteractive: { description: \"Skip prompts, use flags only\" },\n noInstall: { description: \"Skip bun install\" },\n },\n },\n sync: {\n commandPath: [\"sync\"],\n summary: \"Sync template files from parent project\",\n interactive: false,\n fields: {\n dryRun: { description: \"Preview changes without writing files\" },\n noInstall: { description: \"Skip bun install\" },\n },\n },\n upgrade: {\n commandPath: [\"upgrade\"],\n summary: \"Upgrade framework packages and sync template files\",\n interactive: true,\n fields: {\n dryRun: { description: \"Preview changes without writing\" },\n noInstall: { description: \"Skip bun install\" },\n noSync: { description: \"Only upgrade packages, skip template sync\" },\n },\n },\n typesGen: {\n commandPath: [\"types\", \"gen\"],\n summary: \"Generate type definitions from configured API and plugin contracts\",\n interactive: false,\n fields: {\n env: { description: \"Environment: development (default) or production\" },\n dryRun: { description: \"Preview what would be fetched without writing files\" },\n },\n },\n dbStudio: {\n commandPath: [\"db\", \"studio\"],\n summary: \"Open Drizzle Studio for a plugin's database\",\n fields: {\n plugin: {\n positional: true,\n description: \"Plugin key: api, auth, or a plugin name (default: api)\",\n },\n },\n },\n dbDoctor: {\n commandPath: [\"db\", \"doctor\"],\n summary: \"Diagnose migration health for a plugin's database\",\n fields: {\n plugin: {\n positional: true,\n description: \"Plugin key: api, auth, or a plugin name\",\n },\n },\n },\n dbRepair: {\n commandPath: [\"db\", \"repair\"],\n summary: \"Reset migration history and reapply migrations for a plugin\",\n fields: {\n plugin: {\n positional: true,\n description: \"Plugin key: api, auth, or a plugin name\",\n },\n mode: {\n description: \"Repair mode: history-reset (default) or recreate (not yet supported)\",\n },\n yes: {\n description: \"Skip confirmation prompt\",\n },\n },\n },\n status: {\n commandPath: [\"status\"],\n summary: \"Show project health, versions, and update availability\",\n interactive: false,\n },\n ps: {\n commandPath: [\"ps\"],\n summary: \"List tracked development processes\",\n interactive: false,\n },\n kill: {\n commandPath: [\"kill\"],\n summary: \"Stop tracked development processes\",\n interactive: false,\n fields: {\n configDir: { description: \"Kill processes owned by a config directory (defaults to cwd)\" },\n signal: { description: \"Signal: SIGTERM (default) or SIGKILL\" },\n all: { description: \"Kill processes across all config directories\" },\n },\n },\n} as const satisfies Record<string, CliCommandMeta>;\n"],"mappings":";AAUA,MAAa,iBAAiB;CAC5B,KAAK;EACH,aAAa,CAAC,KAAK;EACnB,SAAS;EACT,aAAa;EACb,aAAa;EACb,QAAQ,EACN,eAAe,EACb,aACE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,SAAS;EACT,QAAQ,EACN,QAAQ;GACN,YAAY;GACZ,aAAa;EACf,EACF;CACF;CACA,UAAU;EACR,aAAa,CAAC,MAAM,QAAQ;EAC5B,SAAS;EACT,QAAQ;GACN,QAAQ;IACN,YAAY;IACZ,aAAa;GACf;GACA,MAAM,EACJ,aAAa,uEACf;GACA,KAAK,EACH,aAAa,2BACf;EACF;CACF;CACA,QAAQ;EACN,aAAa,CAAC,QAAQ;EACtB,SAAS;EACT,aAAa;CACf;CACA,IAAI;EACF,aAAa,CAAC,IAAI;EAClB,SAAS;EACT,aAAa;CACf;CACA,MAAM;EACJ,aAAa,CAAC,MAAM;EACpB,SAAS;EACT,aAAa;EACb,QAAQ;GACN,WAAW,EAAE,aAAa,+DAA+D;GACzF,QAAQ,EAAE,aAAa,uCAAuC;GAC9D,KAAK,EAAE,aAAa,+CAA+C;EACrE;CACF;AACF"}
|
|
1
|
+
{"version":3,"file":"contract.meta.mjs","names":[],"sources":["../src/contract.meta.ts"],"sourcesContent":["export type CliCommandMeta = {\n commandPath?: string[];\n summary: string;\n description?: string;\n examples?: string[];\n interactive?: boolean;\n longRunning?: boolean;\n fields?: Record<string, { positional?: boolean; description?: string }>;\n};\n\nexport const cliCommandMeta = {\n dev: {\n commandPath: [\"dev\"],\n summary: \"Start a development session\",\n interactive: true,\n longRunning: true,\n fields: {\n remotePlugins: {\n description:\n \"Comma-separated plugin IDs to force remote (e.g. --remote-plugins auth,registry)\",\n },\n },\n },\n start: {\n commandPath: [\"start\"],\n summary: \"Start the production host\",\n interactive: false,\n longRunning: true,\n fields: {\n env: { description: \"Environment: production or staging\" },\n },\n },\n build: {\n commandPath: [\"build\"],\n summary: \"Build selected workspaces\",\n interactive: false,\n fields: {\n packages: { positional: true, description: \"Comma-separated package list\" },\n },\n },\n config: {\n commandPath: [\"config\"],\n summary: \"Print the loaded BOS configuration\",\n interactive: false,\n fields: {\n full: { description: \"Print the fully resolved configuration\" },\n },\n },\n pluginAdd: {\n commandPath: [\"plugin\", \"add\"],\n summary: \"Add a plugin attachment\",\n interactive: false,\n fields: {\n source: {\n positional: true,\n description: \"Plugin source (local:path, bos://account/domain, or URL)\",\n },\n as: { description: \"Plugin alias\" },\n production: { description: \"Production URL override\" },\n },\n },\n pluginRemove: {\n commandPath: [\"plugin\", \"remove\"],\n summary: \"Remove a plugin attachment\",\n interactive: false,\n fields: { key: { positional: true, description: \"Plugin key\" } },\n },\n pluginList: {\n commandPath: [\"plugin\", \"list\"],\n summary: \"List configured plugins\",\n interactive: false,\n },\n pluginPublish: {\n commandPath: [\"plugin\", \"publish\"],\n summary: \"Publish a single plugin\",\n interactive: false,\n fields: { key: { positional: true, description: \"Plugin key\" } },\n },\n publish: {\n commandPath: [\"publish\"],\n summary: \"Publish the current workspace configuration\",\n interactive: false,\n fields: {\n deploy: { description: \"Build and deploy all workspaces before publish\" },\n dryRun: { description: \"Preview what would be published without writing\" },\n verbose: { description: \"Show full build output instead of clean summary\" },\n env: { description: \"Environment: production or staging\" },\n network: { description: \"NEAR network: mainnet or testnet\" },\n },\n },\n deploy: {\n commandPath: [\"deploy\"],\n summary: \"Publish config and trigger Railway redeploy\",\n interactive: false,\n fields: {\n env: { description: \"Environment: production or staging\" },\n build: { description: \"Build and deploy workspaces before publish (default: true)\" },\n dryRun: { description: \"Preview what would be deployed without writing\" },\n verbose: { description: \"Show full build output instead of clean summary\" },\n service: { description: \"Override Railway service name from config\" },\n },\n },\n keyPublish: {\n commandPath: [\"key\", \"generate\"],\n summary: \"Generate a publish access key\",\n interactive: true,\n },\n init: {\n commandPath: [\"init\"],\n summary: \"Scaffold a new project by extending a deployed app or template\",\n interactive: true,\n fields: {\n domain: {\n positional: true,\n description: \"New project domain (e.g. myapp.everything.dev)\",\n },\n extends: {\n description: \"Parent to extend from (e.g. bos://account/gateway or account/gateway)\",\n },\n account: { description: \"New project NEAR account (auto-derived from extends)\" },\n directory: { description: \"Target directory (auto-derived from domain)\" },\n source: { description: \"Local source dir (skips GitHub download)\" },\n plugins: {\n description: \"Comma-separated plugin keys to include (requires --overrides=plugins)\",\n },\n overrides: {\n description: \"Comma-separated sections to customize locally: ui,api,host,plugins\",\n },\n noInteractive: { description: \"Skip prompts, use flags only\" },\n noInstall: { description: \"Skip bun install\" },\n },\n },\n sync: {\n commandPath: [\"sync\"],\n summary: \"Sync template files from parent project\",\n interactive: false,\n fields: {\n dryRun: { description: \"Preview changes without writing files\" },\n noInstall: { description: \"Skip bun install\" },\n },\n },\n upgrade: {\n commandPath: [\"upgrade\"],\n summary: \"Upgrade framework packages and sync template files\",\n interactive: true,\n fields: {\n dryRun: { description: \"Preview changes without writing\" },\n noInstall: { description: \"Skip bun install\" },\n noSync: { description: \"Only upgrade packages, skip template sync\" },\n },\n },\n typesGen: {\n commandPath: [\"types\", \"gen\"],\n summary: \"Generate type definitions from configured API and plugin contracts\",\n interactive: false,\n fields: {\n env: { description: \"Environment: development (default) or production\" },\n dryRun: { description: \"Preview what would be fetched without writing files\" },\n remotePlugins: {\n description:\n \"Comma-separated plugin IDs to fetch contract types remotely (e.g. --remote-plugins auth,registry)\",\n },\n },\n },\n dbStudio: {\n commandPath: [\"db\", \"studio\"],\n summary: \"Open Drizzle Studio for a plugin's database\",\n fields: {\n plugin: {\n positional: true,\n description: \"Plugin key: api, auth, or a plugin name (default: api)\",\n },\n },\n },\n dbDoctor: {\n commandPath: [\"db\", \"doctor\"],\n summary: \"Diagnose migration health for a plugin's database\",\n fields: {\n plugin: {\n positional: true,\n description: \"Plugin key: api, auth, or a plugin name\",\n },\n },\n },\n dbRepair: {\n commandPath: [\"db\", \"repair\"],\n summary: \"Reset migration history and reapply migrations for a plugin\",\n fields: {\n plugin: {\n positional: true,\n description: \"Plugin key: api, auth, or a plugin name\",\n },\n mode: {\n description: \"Repair mode: history-reset (default) or recreate (not yet supported)\",\n },\n yes: {\n description: \"Skip confirmation prompt\",\n },\n },\n },\n status: {\n commandPath: [\"status\"],\n summary: \"Show project health, versions, and update availability\",\n interactive: false,\n },\n ps: {\n commandPath: [\"ps\"],\n summary: \"List tracked development processes\",\n interactive: false,\n },\n kill: {\n commandPath: [\"kill\"],\n summary: \"Stop tracked development processes\",\n interactive: false,\n fields: {\n configDir: { description: \"Kill processes owned by a config directory (defaults to cwd)\" },\n signal: { description: \"Signal: SIGTERM (default) or SIGKILL\" },\n all: { description: \"Kill processes across all config directories\" },\n },\n },\n} as const satisfies Record<string, CliCommandMeta>;\n"],"mappings":";AAUA,MAAa,iBAAiB;CAC5B,KAAK;EACH,aAAa,CAAC,KAAK;EACnB,SAAS;EACT,aAAa;EACb,aAAa;EACb,QAAQ,EACN,eAAe,EACb,aACE,mFACJ,EACF;CACF;CACA,OAAO;EACL,aAAa,CAAC,OAAO;EACrB,SAAS;EACT,aAAa;EACb,aAAa;EACb,QAAQ,EACN,KAAK,EAAE,aAAa,qCAAqC,EAC3D;CACF;CACA,OAAO;EACL,aAAa,CAAC,OAAO;EACrB,SAAS;EACT,aAAa;EACb,QAAQ,EACN,UAAU;GAAE,YAAY;GAAM,aAAa;EAA+B,EAC5E;CACF;CACA,QAAQ;EACN,aAAa,CAAC,QAAQ;EACtB,SAAS;EACT,aAAa;EACb,QAAQ,EACN,MAAM,EAAE,aAAa,yCAAyC,EAChE;CACF;CACA,WAAW;EACT,aAAa,CAAC,UAAU,KAAK;EAC7B,SAAS;EACT,aAAa;EACb,QAAQ;GACN,QAAQ;IACN,YAAY;IACZ,aAAa;GACf;GACA,IAAI,EAAE,aAAa,eAAe;GAClC,YAAY,EAAE,aAAa,0BAA0B;EACvD;CACF;CACA,cAAc;EACZ,aAAa,CAAC,UAAU,QAAQ;EAChC,SAAS;EACT,aAAa;EACb,QAAQ,EAAE,KAAK;GAAE,YAAY;GAAM,aAAa;EAAa,EAAE;CACjE;CACA,YAAY;EACV,aAAa,CAAC,UAAU,MAAM;EAC9B,SAAS;EACT,aAAa;CACf;CACA,eAAe;EACb,aAAa,CAAC,UAAU,SAAS;EACjC,SAAS;EACT,aAAa;EACb,QAA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kC;GACzD,WAAW,EAAE,aAAa,mBAAmB;GAC7C,QAAQ,EAAE,aAAa,4CAA4C;EACrE;CACF;CACA,UAAU;EACR,aAAa,CAAC,SAAS,KAAK;EAC5B,SAAS;EACT,aAAa;EACb,QAAQ;GACN,KAAK,EAAE,aAAa,mDAAmD;GACvE,QAAQ,EAAE,aAAa,sDAAsD;GAC7E,eAAe,EACb,aACE,oGACJ;EACF;CACF;CACA,UAAU;EACR,aAAa,CAAC,MAAM,QAAQ;EAC5B,SAAS;EACT,QAAQ,EACN,QAAQ;GACN,YAAY;GACZ,aAAa;EACf,EACF;CACF;CACA,UAAU;EACR,aAAa,CAAC,MAAM,QAAQ;EAC5B,SAAS;EACT,QAAQ,EACN,QAAQ;GACN,YAAY;GACZ,aAAa;EACf,EACF;CACF;CACA,UAAU;EACR,aAAa,CAAC,MAAM,QAAQ;EAC5B,SAAS;EACT,QAAQ;GACN,QAAQ;IACN,YAAY;IACZ,aAAa;GACf;GACA,MAAM,EACJ,aAAa,uEACf;GACA,KAAK,EACH,aAAa,2BACf;EACF;CACF;CACA,QAAQ;EACN,aAAa,CAAC,QAAQ;EACtB,SAAS;EACT,aAAa;CACf;CACA,IAAI;EACF,aAAa,CAAC,IAAI;EAClB,SAAS;EACT,aAAa;CACf;CACA,MAAM;EACJ,aAAa,CAAC,MAAM;EACpB,SAAS;EACT,aAAa;EACb,QAAQ;GACN,WAAW,EAAE,aAAa,+DAA+D;GACzF,QAAQ,EAAE,aAAa,uCAAuC;GAC9D,KAAK,EAAE,aAAa,+CAA+C;EACrE;CACF;AACF"}
|
package/dist/contract.mjs
CHANGED
|
@@ -221,7 +221,8 @@ const InitResultSchema = z.object({
|
|
|
221
221
|
});
|
|
222
222
|
const SyncOptionsSchema = z.object({
|
|
223
223
|
dryRun: z.boolean().default(false),
|
|
224
|
-
noInstall: z.boolean().default(false)
|
|
224
|
+
noInstall: z.boolean().default(false),
|
|
225
|
+
json: z.boolean().default(false)
|
|
225
226
|
});
|
|
226
227
|
const SyncResultSchema = z.object({
|
|
227
228
|
status: z.enum([
|
|
@@ -232,12 +233,16 @@ const SyncResultSchema = z.object({
|
|
|
232
233
|
updated: z.array(z.string()),
|
|
233
234
|
skipped: z.array(z.string()),
|
|
234
235
|
added: z.array(z.string()),
|
|
236
|
+
conflicted: z.array(z.string()).default([]),
|
|
237
|
+
backupDir: z.string().optional(),
|
|
235
238
|
error: z.string().optional()
|
|
236
239
|
});
|
|
237
240
|
const UpgradeOptionsSchema = z.object({
|
|
238
241
|
dryRun: z.boolean().default(false),
|
|
239
242
|
noInstall: z.boolean().default(false),
|
|
240
|
-
noSync: z.boolean().default(false)
|
|
243
|
+
noSync: z.boolean().default(false),
|
|
244
|
+
json: z.boolean().default(false),
|
|
245
|
+
migrationsOnly: z.boolean().default(false)
|
|
241
246
|
});
|
|
242
247
|
const UpgradeResultSchema = z.object({
|
|
243
248
|
status: z.enum([
|
|
@@ -281,7 +286,8 @@ const StatusResultSchema = z.object({
|
|
|
281
286
|
});
|
|
282
287
|
const TypesGenOptionsSchema = z.object({
|
|
283
288
|
env: z.enum(["development", "production"]).optional(),
|
|
284
|
-
dryRun: z.boolean().default(false)
|
|
289
|
+
dryRun: z.boolean().default(false),
|
|
290
|
+
remotePlugins: z.array(z.string()).optional()
|
|
285
291
|
});
|
|
286
292
|
const TypesGenResultSchema = z.object({
|
|
287
293
|
status: z.enum(["success", "error"]),
|
|
@@ -289,7 +295,6 @@ const TypesGenResultSchema = z.object({
|
|
|
289
295
|
fetched: z.array(z.string()),
|
|
290
296
|
skipped: z.array(z.string()),
|
|
291
297
|
failed: z.array(z.string()),
|
|
292
|
-
source: z.enum(["local", "remote"]).optional(),
|
|
293
298
|
error: z.string().optional()
|
|
294
299
|
});
|
|
295
300
|
const DbStudioOptionsSchema = z.object({ plugin: z.string().default("api") });
|