@voltro/cli 0.38.0 → 0.39.1
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/CHANGELOG.md +276 -0
- package/THIRD-PARTY-NOTICES.md +80 -45
- package/dist/{addCommand-BNeoeSxe.js → addCommand-C05L9tZh.js} +2 -2
- package/dist/addCommand-C3MdJG-a.js +2 -0
- package/dist/{agentsMd-mhQMF1bx.js → agentsMd-7zI2h5l9.js} +3 -3
- package/dist/agentsMd-BFCXh2gl.js +2 -0
- package/dist/apiBuild-BmR_bIxN.js +2 -0
- package/dist/{apiBuild-CvacV4zA.js → apiBuild-D9FB13_2.js} +3 -3
- package/dist/baselineCommand-CXv680Dc.js +2 -0
- package/dist/{baselineCommand-C6NMt-oa.js → baselineCommand-Ck2Xm8M7.js} +18 -18
- package/dist/bin.js +1 -1
- package/dist/{build-_LoTC1s0.js → build-DORV5mLM.js} +107 -100
- package/dist/{capabilitiesCommand-nq_pz5xd.js → capabilitiesCommand-D5gucwYa.js} +8 -8
- package/dist/{checkCommand-Pjk5sBl2.js → checkCommand-Bf6oMao4.js} +35 -35
- package/dist/{checkCommand-wibtQx-N.js → checkCommand-D9qK_gtA.js} +1 -1
- package/dist/{cloudCmd-NQSwe_Qk.js → cloudCmd-C42gaO8s.js} +16 -16
- package/dist/{clusterCmd-D5wsCmA_.js → clusterCmd-DrVFCzSj.js} +8 -4
- package/dist/{codegen-GYYcdpCg.js → codegen-CbpGCWLG.js} +1 -1
- package/dist/codegen-i8QGcHsi.js +2 -0
- package/dist/codegenCommand-CxOyKmc1.js +129 -0
- package/dist/{codemodRunner-CXgQ-ecJ.js → codemodRunner-D-jTyvWo.js} +622 -551
- package/dist/{commands-DaZVi9wi.js → commands-D6aW_6AR.js} +48 -48
- package/dist/{connectionConfig-UFlIEiys.js → connectionConfig-Bk9IC7D0.js} +1 -1
- package/dist/{dashboardCommand-Dxy_kmoW.js → dashboardCommand-CwTZh-XZ.js} +3 -3
- package/dist/{dataCommand-D6-Ha2lf.js → dataCommand-Cc9RiLQZ.js} +14 -11
- package/dist/{dbCommand-C4UW8cVN.js → dbCommand-DSwGv9wS.js} +50 -49
- package/dist/dbCommand-DcqEyxju.js +2 -0
- package/dist/{dev-E7Eo5GHc.js → dev-3mgc8c-H.js} +2260 -2184
- package/dist/dev-CjJAasDs.js +3 -0
- package/dist/{dialectDriver-CgXnDfec.js → dialectDriver-czCHYpeH.js} +2 -1
- package/dist/doctorCommand-Cghssndo.js +2 -0
- package/dist/{doctorCommand-gmDyALFL.js → doctorCommand-oLuzc-aC.js} +261 -244
- package/dist/{dormancyCommand-CE6wG8lj.js → dormancyCommand-Bxe4WtHU.js} +1 -1
- package/dist/{e2eCmd-BRabZww-.js → e2eCmd-uFHig1hV.js} +8 -2
- package/dist/{embeddingsCommand-C3uAuf6N.js → embeddingsCommand-CyNQkFIc.js} +6 -6
- package/dist/{envCommand-DzuWh8ya.js → envCommand-CAkSgBbh.js} +19 -19
- package/dist/{evolveCommand-DPLqcYb2.js → evolveCommand-CWhBoe_P.js} +6 -8
- package/dist/frameworkTableAssembly-DgylYh9_.js +2 -0
- package/dist/{generateCommand-DbgcUpGw.js → generateCommand-CcyvH2ve.js} +1 -1
- package/dist/index.js +1 -1
- package/dist/{infoCommand-CmczGj_l.js → infoCommand-CTo8Jnhq.js} +7 -7
- package/dist/inspect-B7U7Cl_Z.js +1192 -0
- package/dist/inspect-DUze25t0.js +2 -0
- package/dist/{inspectCmd-EHFZ9yYu.js → inspectCmd-niF97fAq.js} +5 -5
- package/dist/inspectGateHint-BjnFubmH.js +7 -0
- package/dist/{logFileSink-C_D2wRN1.js → logFileSink-B4uP8pvf.js} +1 -1
- package/dist/{logsCmd-D36xK7Zu.js → logsCmd-B6oNsfaZ.js} +10 -7
- package/dist/{manifestBuild-hpPLaGxV.js → manifestBuild-BK42hu0k.js} +1 -1
- package/dist/manifestBuild-j0n109tt.js +2 -0
- package/dist/{metaCommands-CIoQNlaQ.js → metaCommands-DUYR--Ts.js} +1 -1
- package/dist/{migrate-RwgUWXfc.js → migrate-BnPw2zC8.js} +7 -4
- package/dist/{packageCommand-Cug_3Ogl.js → packageCommand-9SVyvsSo.js} +3 -2
- package/dist/{probeCommand-BPEpwT32.js → probeCommand-C9gazU0H.js} +35 -24
- package/dist/{projectScaffold-CxgtJvlb.js → projectScaffold-BEhhHjPr.js} +1 -1
- package/dist/{projectScaffold-DDgWbNLe.js → projectScaffold-BvhLOrLq.js} +17 -15
- package/dist/{runtimeTrace-6jfznSzr.js → runtimeTrace-gNXeLf6H.js} +1 -1
- package/dist/{scheduleManifestCmd-D2x0CTTY.js → scheduleManifestCmd-kmWzrO_w.js} +6 -9
- package/dist/{sdkgen-CEJZZQUA.js → sdkgen-C8zz10-X.js} +4 -4
- package/dist/{seedRunner-ZmLSqNe2.js → seedRunner-IdHEprqf.js} +1 -4
- package/dist/serveCommand-BpK8-m1N.js +1770 -0
- package/dist/serveCommand-CW-goXvh.js +2 -0
- package/dist/serveEntry.js +2 -2
- package/dist/{serverlessCommand-CfJZy6dS.js → serverlessCommand-DbJ7Plg9.js} +3 -3
- package/dist/{start-CidwCcjl.js → start-BNuTWdRd.js} +1 -1
- package/dist/{start-RCh6qKFe.js → start-ft_KzFTd.js} +257 -254
- package/dist/startEntry.js +1 -1
- package/dist/{test-DIQ0jlkQ.js → test-CLYXrZ2F.js} +1 -1
- package/dist/{tracesCmd-DStmCJPi.js → tracesCmd-DgtgOUdi.js} +7 -4
- package/dist/{typecheckCommand-BlsWiCNq.js → typecheckCommand-BuCtT92o.js} +7 -7
- package/dist/updateCommand-6FMU2klq.js +2 -0
- package/dist/{updateCommand-CmksX7m_.js → updateCommand-CHBmCB17.js} +5 -3
- package/dist/{webDev-BKdD7c_a.js → webDev-CTpSY-e_.js} +813 -775
- package/dist/webDev-id3I5PvG.js +2 -0
- package/dist/{webhookDiscovery-D7VaeMlz.js → webhookDiscovery-CphsQe59.js} +4 -6
- package/dist/{webhookDiscovery-CrGAfhIG.js → webhookDiscovery-il9ti-HE.js} +1 -1
- package/dist/{webhooksCommand-BHeaF1ZJ.js → webhooksCommand-EccPZQZ4.js} +1 -1
- package/package.json +27 -21
- package/templates/AGENTS.md +2 -2
- package/templates/agent-docs/_index.md +2 -2
- package/templates/agent-docs/_manifest.json +2 -2
- package/templates/agent-docs/authentication.md +43 -4
- package/templates/agent-docs/cli.md +17 -13
- package/templates/agent-docs/data.md +44 -1
- package/templates/agent-docs/database/migrations.md +2 -2
- package/templates/agent-docs/database/seedsdialects.md +2 -2
- package/templates/agent-docs/deployment.md +21 -7
- package/templates/agent-docs/internationalization.md +10 -3
- package/templates/agent-docs/local-first-mobile.md +141 -20
- package/templates/agent-docs/plugins/mail.md +1 -1
- package/templates/agent-docs/plugins/ratelimit.md +1 -1
- package/templates/agent-docs/plugins.md +3 -1
- package/templates/agent-docs/releases.md +130 -1
- package/templates/agent-docs/routing.md +34 -2
- package/templates/agent-docs/templates/apibackends.md +1 -1
- package/templates/agent-docs/templates/mobile.md +1 -1
- package/templates/agent-docs/whats-new.md +26 -66
- package/templates/apps/api-ai/package.json +7 -7
- package/templates/apps/api-auth/package.json +8 -8
- package/templates/apps/api-backend/package.json +7 -7
- package/templates/apps/api-backend-deactivation/package.json +7 -7
- package/templates/apps/api-backend-mail/package.json +8 -8
- package/templates/apps/api-backend-mariadb/package.json +9 -9
- package/templates/apps/api-backend-sqlite/package.json +8 -8
- package/templates/apps/api-backend-storage/package.json +8 -8
- package/templates/apps/api-cms/package.json +10 -10
- package/templates/apps/api-collab/package.json +8 -8
- package/templates/apps/api-data-advanced/package.json +8 -8
- package/templates/apps/api-durable/package.json +8 -8
- package/templates/apps/api-durable/startup/warm.startup.tsx +16 -2
- package/templates/apps/api-feature-flags/package.json +9 -9
- package/templates/apps/api-governance/package.json +8 -8
- package/templates/apps/api-kv/package.json +8 -8
- package/templates/apps/api-moderation/package.json +8 -8
- package/templates/apps/api-observability/package.json +8 -8
- package/templates/apps/api-ratelimit/package.json +8 -8
- package/templates/apps/api-rbac/authz.ts +16 -1
- package/templates/apps/api-rbac/package.json +8 -8
- package/templates/apps/api-rest/package.json +7 -7
- package/templates/apps/api-saas/package.json +11 -11
- package/templates/apps/api-saas-starter/package.json +10 -10
- package/templates/apps/api-search/package.json +8 -8
- package/templates/apps/api-status/package.json +8 -8
- package/templates/apps/api-versioning/package.json +8 -8
- package/templates/apps/api-webhooks/package.json +9 -9
- package/templates/apps/changelog/package.json +6 -6
- package/templates/apps/edge-functions/package.json +2 -2
- package/templates/apps/frontend-admin/package.json +8 -8
- package/templates/apps/frontend-app/package.json +9 -9
- package/templates/apps/frontend-auth/package.json +8 -8
- package/templates/apps/frontend-blank/package.json +7 -7
- package/templates/apps/frontend-cms/package.json +9 -9
- package/templates/apps/frontend-collab/package.json +10 -10
- package/templates/apps/frontend-contact/package.json +7 -7
- package/templates/apps/frontend-dashboard/package.json +7 -7
- package/templates/apps/frontend-docs/package.json +7 -7
- package/templates/apps/frontend-i18n/package.json +6 -6
- package/templates/apps/frontend-landing/package.json +7 -7
- package/templates/apps/frontend-portal/package.json +8 -8
- package/templates/apps/frontend-saas/package.json +8 -8
- package/templates/apps/frontend-spa/package.json +7 -7
- package/templates/apps/frontend-ssr/package.json +7 -7
- package/templates/apps/frontend-ssr-api/package.json +8 -8
- package/templates/apps/frontend-static-blog/package.json +6 -6
- package/templates/apps/frontend-status/package.json +8 -8
- package/templates/apps/mobile-app/README.md +41 -17
- package/templates/apps/mobile-app/app.config.ts +1 -1
- package/templates/apps/mobile-app/package.json +15 -11
- package/templates/apps/mobile-app/src/app/_layout.tsx +44 -13
- package/templates/apps/mobile-app/src/app/index.tsx +1 -1
- package/templates/apps/mobile-app/src/app/settings.tsx +4 -1
- package/templates/apps/mobile-app/src/client.ts +74 -57
- package/templates/apps/mobile-app/src/lib/api.ts +4 -4
- package/templates/apps/mobile-app/src/lib/deeplinks.ts +6 -6
- package/templates/apps/mobile-app/src/persistence.ts +24 -3
- package/templates/apps/mobile-app/tsconfig.json +17 -3
- package/dist/addCommand-aXSQveak.js +0 -2
- package/dist/agentsMd-BTchIZku.js +0 -2
- package/dist/apiBuild-ttSDDOGp.js +0 -2
- package/dist/baselineCommand-Cfw2Afwm.js +0 -2
- package/dist/codegen-uYrrDzQv.js +0 -2
- package/dist/codegenCommand-C60m_LCp.js +0 -30
- package/dist/dbCommand-CC-qNzpz.js +0 -2
- package/dist/dev-CAOoXOkc.js +0 -3
- package/dist/doctorCommand-Cjl8Yii8.js +0 -2
- package/dist/frameworkTableAssembly-YyVe32Cb.js +0 -2
- package/dist/inspect-CjTYzAs_.js +0 -1190
- package/dist/inspect-P4pxoMaV.js +0 -2
- package/dist/inspectGateHint-BF6608UT.js +0 -4
- package/dist/manifestBuild-COkJoyAr.js +0 -2
- package/dist/serveCommand-DNRF2nDI.js +0 -2
- package/dist/serveCommand-DnY4VS3D.js +0 -1767
- package/dist/updateCommand-B0J_T9Vs.js +0 -2
- package/dist/webDev-CcJfdSjl2.js +0 -2
|
@@ -15,7 +15,7 @@ var c = () => {
|
|
|
15
15
|
name: "list-templates",
|
|
16
16
|
summary: "List available app templates (kind, summary, tags).",
|
|
17
17
|
status: "wired",
|
|
18
|
-
run: (e) => import("./projectScaffold-
|
|
18
|
+
run: (e) => import("./projectScaffold-BEhhHjPr.js").then((t) => t.runListTemplates(e)),
|
|
19
19
|
help: {
|
|
20
20
|
usage: "",
|
|
21
21
|
examples: [["voltro list-templates", "every template `create-project` / `add-app` can scaffold"]]
|
|
@@ -25,7 +25,7 @@ var c = () => {
|
|
|
25
25
|
name: "create-project",
|
|
26
26
|
summary: "Scaffold a new project under apps/<name>/ from one or more templates (creates the workspace root when there is none).",
|
|
27
27
|
status: "wired",
|
|
28
|
-
run: (e) => import("./projectScaffold-
|
|
28
|
+
run: (e) => import("./projectScaffold-BEhhHjPr.js").then((t) => t.runCreateProject(e)),
|
|
29
29
|
help: {
|
|
30
30
|
usage: "<name> [--api <templateId>] [--web <templateId>] [--mobile[=<templateId>]] [--no-register]",
|
|
31
31
|
flags: [
|
|
@@ -48,13 +48,13 @@ var c = () => {
|
|
|
48
48
|
handlesHelp: !0,
|
|
49
49
|
summary: "Scaffold/convert workspace packages. Subcommands: create <name> [--publishable], publishable <name>, private <name>, status.",
|
|
50
50
|
status: "wired",
|
|
51
|
-
run: (e) => import("./packageCommand-
|
|
51
|
+
run: (e) => import("./packageCommand-9SVyvsSo.js").then((t) => t.runPackageCommand(e))
|
|
52
52
|
},
|
|
53
53
|
{
|
|
54
54
|
name: "create-package",
|
|
55
55
|
summary: "Scaffold a new workspace package (alias of `package create`). Use --publishable for npm-ready setup.",
|
|
56
56
|
status: "wired",
|
|
57
|
-
run: (e) => import("./packageCommand-
|
|
57
|
+
run: (e) => import("./packageCommand-9SVyvsSo.js").then((t) => t.runCreatePackage(e)),
|
|
58
58
|
help: {
|
|
59
59
|
usage: "<name> [--publishable]",
|
|
60
60
|
flags: [["--publishable", "npm-ready setup (build + exports + publishConfig) instead of a private package"]],
|
|
@@ -65,7 +65,7 @@ var c = () => {
|
|
|
65
65
|
name: "add-app",
|
|
66
66
|
summary: "Add a new app to an existing project from a template. Usage: voltro add-app <appName> --template <id> [--to <projectName>].",
|
|
67
67
|
status: "wired",
|
|
68
|
-
run: (e) => import("./projectScaffold-
|
|
68
|
+
run: (e) => import("./projectScaffold-BEhhHjPr.js").then((t) => t.runAddApp(e)),
|
|
69
69
|
help: {
|
|
70
70
|
usage: "<appName> --template <templateId> [--to <projectName>] [--no-register]",
|
|
71
71
|
flags: [
|
|
@@ -80,7 +80,7 @@ var c = () => {
|
|
|
80
80
|
name: "init",
|
|
81
81
|
summary: "Initialise the current directory as a Voltro workspace root (pnpm-workspace.yaml, root scripts, .gitignore, git init). Idempotent; takes no arguments.",
|
|
82
82
|
status: "wired",
|
|
83
|
-
run: (e) => import("./metaCommands-
|
|
83
|
+
run: (e) => import("./metaCommands-DUYR--Ts.js").then((t) => t.runInit(e)),
|
|
84
84
|
help: {
|
|
85
85
|
usage: "",
|
|
86
86
|
examples: [["voltro init", "make the current directory a workspace root, then `voltro create-project <name>`"]],
|
|
@@ -91,7 +91,7 @@ var c = () => {
|
|
|
91
91
|
name: "dev",
|
|
92
92
|
summary: "Start the local development server (auto-discovers routes / mutations).",
|
|
93
93
|
status: "wired",
|
|
94
|
-
run: (e) => import("./dev-
|
|
94
|
+
run: (e) => import("./dev-CjJAasDs.js").then((t) => t.runDev(e)),
|
|
95
95
|
help: {
|
|
96
96
|
usage: "[app]",
|
|
97
97
|
examples: [["voltro dev", "boot the app in the current directory"], ["voltro dev apps/acme/api", "boot a specific app"]],
|
|
@@ -109,7 +109,7 @@ var c = () => {
|
|
|
109
109
|
name: "dashboard",
|
|
110
110
|
summary: "Serve the DevTools dashboard standalone (from @voltro/dashboard). Targets via VOLTRO_DASHBOARD_APPS; --port to override.",
|
|
111
111
|
status: "wired",
|
|
112
|
-
run: (e) => import("./dashboardCommand-
|
|
112
|
+
run: (e) => import("./dashboardCommand-CwTZh-XZ.js").then((t) => t.runDashboardCommand(e)),
|
|
113
113
|
help: {
|
|
114
114
|
usage: "[--port <n>]",
|
|
115
115
|
flags: [["--port <n>", "port to serve the dashboard on"]],
|
|
@@ -121,7 +121,7 @@ var c = () => {
|
|
|
121
121
|
name: "check",
|
|
122
122
|
summary: "Verify the app graph (blast-radius checks) against a running api; LLM-shaped --json diagnostics. Flags: --json, --process <p>, --diff removeTable:<name>.",
|
|
123
123
|
status: "wired",
|
|
124
|
-
run: (e) => import("./checkCommand-
|
|
124
|
+
run: (e) => import("./checkCommand-D9qK_gtA.js").then((t) => t.runCheckCommand(e)),
|
|
125
125
|
help: {
|
|
126
126
|
usage: "[--json] [--offline] [--process <name>] [--diff removeTable:<name>]",
|
|
127
127
|
flags: [
|
|
@@ -155,7 +155,7 @@ var c = () => {
|
|
|
155
155
|
name: "webhooks",
|
|
156
156
|
summary: "Outbound-webhook artefacts. `consumer` generates the ZERO-DEPENDENCY Standard-Webhooks verification package a subscriber installs, from this app's own declared events; `events` lists the events a subscriber can register for. Usage: voltro webhooks <consumer|events> [path] [--out <dir>] [--name <pkg>] [--json].",
|
|
157
157
|
status: "wired",
|
|
158
|
-
run: (e) => import("./webhooksCommand-
|
|
158
|
+
run: (e) => import("./webhooksCommand-EccPZQZ4.js").then((t) => t.runWebhooksCommand(e)),
|
|
159
159
|
help: {
|
|
160
160
|
usage: "<consumer|events> [path] [--out <dir>] [--name <pkg>] [--json]",
|
|
161
161
|
flags: [
|
|
@@ -171,7 +171,7 @@ var c = () => {
|
|
|
171
171
|
name: "evolve",
|
|
172
172
|
summary: "Schema-evolution copilot: propose an observed-graph-driven codemod + a branch-verified backfill for a schema change (rename/retype/split/drop a column, rename a table). Dry-run by default; --write applies. Usage: voltro evolve rename-column <table>.<col> --to <newName> [--write] [--json].",
|
|
173
173
|
status: "wired",
|
|
174
|
-
run: (e) => import("./evolveCommand-
|
|
174
|
+
run: (e) => import("./evolveCommand-CWhBoe_P.js").then((t) => t.runEvolveCommand(e)),
|
|
175
175
|
help: {
|
|
176
176
|
usage: "<rename-column|rename-table|retype-column|split-column|drop-column> <target> [--to <new>] [--write]",
|
|
177
177
|
flags: [
|
|
@@ -188,7 +188,7 @@ var c = () => {
|
|
|
188
188
|
name: "codegen",
|
|
189
189
|
summary: "Emit rpcGroup.generated.ts from discovered route / mutation descriptors.",
|
|
190
190
|
status: "wired",
|
|
191
|
-
run: (e) => import("./codegenCommand-
|
|
191
|
+
run: (e) => import("./codegenCommand-CxOyKmc1.js").then((t) => t.runCodegenCommand(e)),
|
|
192
192
|
help: {
|
|
193
193
|
usage: "[app]",
|
|
194
194
|
examples: [["voltro codegen", "regenerate rpcGroup.generated.ts for the app in the cwd"]],
|
|
@@ -199,7 +199,7 @@ var c = () => {
|
|
|
199
199
|
name: "migrate",
|
|
200
200
|
summary: "Apply the declared schema to the database (alias of `db apply` — diffs declared vs live and emits the ALTERs). `--create-only` for the bootstrap-only CREATE TABLE IF NOT EXISTS path.",
|
|
201
201
|
status: "wired",
|
|
202
|
-
run: (e) => import("./migrate-
|
|
202
|
+
run: (e) => import("./migrate-BnPw2zC8.js").then((t) => t.runMigrateCommand(e)),
|
|
203
203
|
help: {
|
|
204
204
|
usage: "[app] [--create-only]",
|
|
205
205
|
flags: [["--create-only", "only CREATE TABLE IF NOT EXISTS — never ALTER (bootstrap)"]],
|
|
@@ -211,7 +211,7 @@ var c = () => {
|
|
|
211
211
|
name: "test",
|
|
212
212
|
summary: "Run vitest against the app at the cwd (auto-discovers *.test.ts/tsx).",
|
|
213
213
|
status: "wired",
|
|
214
|
-
run: (e) => import("./test-
|
|
214
|
+
run: (e) => import("./test-CLYXrZ2F.js").then((t) => t.runTestCommand(e)),
|
|
215
215
|
help: {
|
|
216
216
|
usage: "[dir] [filter…] [--watch] [-t <pattern>]",
|
|
217
217
|
flags: [
|
|
@@ -236,7 +236,7 @@ var c = () => {
|
|
|
236
236
|
name: "typecheck",
|
|
237
237
|
summary: "Type-check the app with tsc --noEmit, using the TypeScript it pins. Optional [app] path and --project <tsconfig>; any other flags pass straight through to tsc.",
|
|
238
238
|
status: "wired",
|
|
239
|
-
run: (e) => import("./typecheckCommand-
|
|
239
|
+
run: (e) => import("./typecheckCommand-BuCtT92o.js").then((t) => t.runTypecheckCommand(e)),
|
|
240
240
|
help: {
|
|
241
241
|
usage: "[app] [--project <tsconfig>] [… tsc flags]",
|
|
242
242
|
flags: [["--project <tsconfig>", "the tsconfig to use (alias: -p)"]],
|
|
@@ -259,7 +259,7 @@ var c = () => {
|
|
|
259
259
|
name: "info",
|
|
260
260
|
summary: "Report versions (CLI, node, every installed @voltro/* — flags lockstep skew), package manager, and dialect. --json for CI. Exits 1 on version skew.",
|
|
261
261
|
status: "wired",
|
|
262
|
-
run: (e) => import("./infoCommand-
|
|
262
|
+
run: (e) => import("./infoCommand-CTo8Jnhq.js").then((t) => t.runInfoCommand(e)),
|
|
263
263
|
help: {
|
|
264
264
|
usage: "[--json]",
|
|
265
265
|
flags: [["--json", "machine-readable report"]],
|
|
@@ -280,7 +280,7 @@ var c = () => {
|
|
|
280
280
|
name: "env",
|
|
281
281
|
summary: "Inspect/sync the typed-env manifest. Subcommands: check (default), sync (.env.example), types (env.generated.d.ts for CI tsc), turbo.",
|
|
282
282
|
status: "wired",
|
|
283
|
-
run: (e) => import("./envCommand-
|
|
283
|
+
run: (e) => import("./envCommand-CAkSgBbh.js").then((t) => t.runEnvCommand(e)),
|
|
284
284
|
help: {
|
|
285
285
|
usage: "[check|sync|types|turbo] [--force]",
|
|
286
286
|
flags: [["--force", "overwrite the generated file instead of refusing on a conflict"]],
|
|
@@ -295,7 +295,7 @@ var c = () => {
|
|
|
295
295
|
name: "e2e",
|
|
296
296
|
summary: "For a web app: boot the api + web siblings, run each e2e/**/*.spec.ts as a plain tsx script (WEB_URL/API_URL in env), tear down.",
|
|
297
297
|
status: "wired",
|
|
298
|
-
run: (e) => import("./e2eCmd-
|
|
298
|
+
run: (e) => import("./e2eCmd-uFHig1hV.js").then((t) => t.runE2eCommand(e)),
|
|
299
299
|
help: {
|
|
300
300
|
usage: "[app]",
|
|
301
301
|
examples: [["voltro e2e", "boot api + web, run every e2e/**/*.spec.ts, tear down"]],
|
|
@@ -309,12 +309,12 @@ var c = () => {
|
|
|
309
309
|
run: async (e) => {
|
|
310
310
|
let t = e.find((e) => !e.startsWith("-")) ?? process.cwd();
|
|
311
311
|
if (e.includes("--preflight")) {
|
|
312
|
-
let { runServePreflight: e } = await import("./doctorCommand-
|
|
312
|
+
let { runServePreflight: e } = await import("./doctorCommand-Cghssndo.js");
|
|
313
313
|
return e(a(t), !0);
|
|
314
314
|
}
|
|
315
|
-
let { tryRunWebServe: n } = await import("./webDev-
|
|
315
|
+
let { tryRunWebServe: n } = await import("./webDev-id3I5PvG.js"), r = await n(a(t));
|
|
316
316
|
if (!r.ran) {
|
|
317
|
-
let { runServeDispatch: t } = await import("./serveCommand-
|
|
317
|
+
let { runServeDispatch: t } = await import("./serveCommand-CW-goXvh.js");
|
|
318
318
|
return t(e);
|
|
319
319
|
}
|
|
320
320
|
return r.exitCode;
|
|
@@ -330,7 +330,7 @@ var c = () => {
|
|
|
330
330
|
name: "capabilities",
|
|
331
331
|
summary: "The framework's export surface, read from the installed @voltro packages (--json for the machine-readable form).",
|
|
332
332
|
status: "wired",
|
|
333
|
-
run: (e) => import("./capabilitiesCommand-
|
|
333
|
+
run: (e) => import("./capabilitiesCommand-D5gucwYa.js").then((t) => t.runCapabilitiesCommand(e)),
|
|
334
334
|
help: {
|
|
335
335
|
usage: "[--json]",
|
|
336
336
|
flags: [["--json", "machine-readable export surface"]],
|
|
@@ -342,13 +342,13 @@ var c = () => {
|
|
|
342
342
|
handlesHelp: !0,
|
|
343
343
|
summary: "Preflight an app for production: the precompiled serve bundle, hand-rolled primitives (naming the shipped one), @voltro/* version skew, executors with no access check, `.serverOnly()` leaks, and junction-FK gaps.",
|
|
344
344
|
status: "wired",
|
|
345
|
-
run: (e) => import("./doctorCommand-
|
|
345
|
+
run: (e) => import("./doctorCommand-Cghssndo.js").then((t) => t.runDoctorCommand(e))
|
|
346
346
|
},
|
|
347
347
|
{
|
|
348
348
|
name: "build",
|
|
349
349
|
summary: "Production build for a web app (vite build + per-page SSG pre-render).",
|
|
350
350
|
status: "wired",
|
|
351
|
-
run: (e) => import("./build-
|
|
351
|
+
run: (e) => import("./build-DORV5mLM.js").then((t) => t.runBuildCommand(e)),
|
|
352
352
|
help: {
|
|
353
353
|
usage: "[app] [--target <t>]",
|
|
354
354
|
flags: [["--target <t>", "build target"]],
|
|
@@ -364,14 +364,14 @@ var c = () => {
|
|
|
364
364
|
name: "prune-runtime",
|
|
365
365
|
summary: "Trim a deployed web tree’s node_modules to the reachable runtime set (standalone image slimming).",
|
|
366
366
|
status: "wired",
|
|
367
|
-
run: (e) => import("./runtimeTrace-
|
|
367
|
+
run: (e) => import("./runtimeTrace-gNXeLf6H.js").then((t) => t.runPruneRuntimeCommand(e)),
|
|
368
368
|
hidden: !0
|
|
369
369
|
},
|
|
370
370
|
{
|
|
371
371
|
name: "generate",
|
|
372
372
|
summary: "AI app-builder (round-2/06): generate app graph + files from a prompt, gated by `voltro check`. Dry-run by default; --write applies. Usage: voltro generate \"<prompt>\" [--write].",
|
|
373
373
|
status: "wired",
|
|
374
|
-
run: (e) => import("./generateCommand-
|
|
374
|
+
run: (e) => import("./generateCommand-CcyvH2ve.js").then((t) => t.runGenerateCommand(e)),
|
|
375
375
|
help: {
|
|
376
376
|
usage: "\"<prompt>\" [--write]",
|
|
377
377
|
flags: [["--write", "write the generated files (dry-run is the default)"]],
|
|
@@ -382,7 +382,7 @@ var c = () => {
|
|
|
382
382
|
name: "dormancy",
|
|
383
383
|
summary: "Single-node scale-to-zero: front the API with a wake-orchestrator that stops the app when idle and brings it back on a request or a due wakeup (cron/workflow). Needs a SQL store. Flags: --port, --app-port, --idle-grace-ms, --tick-ms.",
|
|
384
384
|
status: "wired",
|
|
385
|
-
run: (e) => import("./dormancyCommand-
|
|
385
|
+
run: (e) => import("./dormancyCommand-Bxe4WtHU.js").then((t) => t.runDormancyCommand(e)),
|
|
386
386
|
help: {
|
|
387
387
|
usage: "[app] [--port <n>] [--app-port <n>] [--idle-grace-ms <n>] [--tick-ms <n>]",
|
|
388
388
|
flags: [
|
|
@@ -399,7 +399,7 @@ var c = () => {
|
|
|
399
399
|
name: "start",
|
|
400
400
|
summary: "Production runtime: serves dist + SSR-on-demand for ssr/isr pages.",
|
|
401
401
|
status: "wired",
|
|
402
|
-
run: (e) => import("./start-
|
|
402
|
+
run: (e) => import("./start-BNuTWdRd.js").then((t) => t.runStartCommand(e)),
|
|
403
403
|
help: {
|
|
404
404
|
usage: "[app]",
|
|
405
405
|
examples: [["voltro start", "serve a built web app (dist + SSR-on-demand)"]],
|
|
@@ -410,7 +410,7 @@ var c = () => {
|
|
|
410
410
|
name: "deploy",
|
|
411
411
|
summary: "Show deploy options + `voltro deploy plan` auto-detects the target tier (static-cdn / container / functions) per app + function.",
|
|
412
412
|
status: "wired",
|
|
413
|
-
run: (e) => import("./metaCommands-
|
|
413
|
+
run: (e) => import("./metaCommands-DUYR--Ts.js").then((t) => t.runDeploy(e)),
|
|
414
414
|
help: {
|
|
415
415
|
usage: "[plan]",
|
|
416
416
|
examples: [["voltro deploy plan", "the auto-detected target tier per app + function"]]
|
|
@@ -421,7 +421,7 @@ var c = () => {
|
|
|
421
421
|
handlesHelp: !0,
|
|
422
422
|
summary: "Standalone *.serverless.ts functions. Subcommands: list, dev, serve, build, deploy [--target node|cloudflare|scaleway (default node)] [--dry-run].",
|
|
423
423
|
status: "wired",
|
|
424
|
-
run: (e) => import("./serverlessCommand-
|
|
424
|
+
run: (e) => import("./serverlessCommand-DbJ7Plg9.js").then((t) => t.runServerlessCommand(e))
|
|
425
425
|
},
|
|
426
426
|
{
|
|
427
427
|
name: "static",
|
|
@@ -453,7 +453,7 @@ var c = () => {
|
|
|
453
453
|
name: "db",
|
|
454
454
|
summary: "Database subcommands. Declarative flow: plan, apply, branch, plans, drift [--accept], squash, restore-snapshot. File migrations: generate [name], migrate, rollback, status, files, rollback-file. Data + housekeeping: seed, gc-snapshots, adopt. Credentials at rest: scan-credentials (find plaintext), encrypt-column (migrate a populated column onto .encrypted()).",
|
|
455
455
|
status: "wired",
|
|
456
|
-
run: (e) => import("./dbCommand-
|
|
456
|
+
run: (e) => import("./dbCommand-DcqEyxju.js").then((t) => t.runDbCommand(e)),
|
|
457
457
|
help: {
|
|
458
458
|
usage: t(n),
|
|
459
459
|
examples: [
|
|
@@ -469,7 +469,7 @@ var c = () => {
|
|
|
469
469
|
name: "data",
|
|
470
470
|
summary: "Export/import + backup/restore of app data. Logical (rows + optional assets): export <dir> [--tenant <id>|--tables a,b] [--assets] [--compression zstd|gzip|none] [--consistency live|snapshot]; import <dir> [--assets] [--no-verify]. Native (rows ONLY — no blobs): backup <dir> / restore <dir> (pg_dump/mariadb-dump/…). Resumable; typed-NDJSON; content-addressed assets on the logical path.",
|
|
471
471
|
status: "wired",
|
|
472
|
-
run: (e) => import("./dataCommand-
|
|
472
|
+
run: (e) => import("./dataCommand-Cc9RiLQZ.js").then((t) => t.runDataCommand(e)),
|
|
473
473
|
help: {
|
|
474
474
|
usage: "<export|import|backup|restore> <dir> [options]",
|
|
475
475
|
flags: [
|
|
@@ -500,13 +500,13 @@ var c = () => {
|
|
|
500
500
|
handlesHelp: !0,
|
|
501
501
|
summary: "Manage the project deploy baseline (bare / compose / helm). Subcommands: list, status, set.",
|
|
502
502
|
status: "wired",
|
|
503
|
-
run: (e) => import("./baselineCommand-
|
|
503
|
+
run: (e) => import("./baselineCommand-CXv680Dc.js").then((t) => t.runBaselineCommand(e))
|
|
504
504
|
},
|
|
505
505
|
{
|
|
506
506
|
name: "add",
|
|
507
507
|
summary: "Add an infra-backed integration to the project. Subcommands: redis (Redis cache backend + compose/helm/.env wiring); mssql (SQL Server store + the @effect/cluster mssql patch so durable cluster workflows work).",
|
|
508
508
|
status: "wired",
|
|
509
|
-
run: (e) => import("./addCommand-
|
|
509
|
+
run: (e) => import("./addCommand-C3MdJG-a.js").then((t) => t.runAddCommand(e)),
|
|
510
510
|
help: {
|
|
511
511
|
usage: "<redis|mssql>",
|
|
512
512
|
examples: [["voltro add redis", "Redis cache backend + compose/helm/.env wiring"], ["voltro add mssql", "SQL Server store + the @effect/cluster patch durable workflows need"]]
|
|
@@ -517,27 +517,27 @@ var c = () => {
|
|
|
517
517
|
handlesHelp: !0,
|
|
518
518
|
summary: "Generate strong secrets. `generate [purpose]` (data-transfer, session, bundle-key, field-encryption, …) emits the right var+format; `generate` alone prints a generic secret; `list` shows all. Encrypted per-env storage is in Voltro Cloud.",
|
|
519
519
|
status: "wired",
|
|
520
|
-
run: (e) => import("./metaCommands-
|
|
520
|
+
run: (e) => import("./metaCommands-DUYR--Ts.js").then((t) => t.runSecret(e))
|
|
521
521
|
},
|
|
522
522
|
{
|
|
523
523
|
name: "update",
|
|
524
524
|
handlesHelp: !0,
|
|
525
525
|
summary: "Upgrade the app to the latest framework: bump every @voltro/* dependency (across ALL workspace members, install once at the workspace root), then run the codemods shipped with the target version. Flags: --to <version>, --from <version>, --codemods-only, --dry-run, --force, --exact, --help. After: run `voltro db apply`.",
|
|
526
526
|
status: "wired",
|
|
527
|
-
run: (e) => import("./updateCommand-
|
|
527
|
+
run: (e) => import("./updateCommand-6FMU2klq.js").then((t) => t.runUpdateCommand(e))
|
|
528
528
|
},
|
|
529
529
|
{
|
|
530
530
|
name: "_apply-codemods",
|
|
531
531
|
summary: "Internal: apply shipped codemods for a framework version jump (re-exec target of `voltro update`).",
|
|
532
532
|
status: "wired",
|
|
533
533
|
hidden: !0,
|
|
534
|
-
run: (e) => import("./updateCommand-
|
|
534
|
+
run: (e) => import("./updateCommand-6FMU2klq.js").then((t) => t.runApplyCodemods(e))
|
|
535
535
|
},
|
|
536
536
|
{
|
|
537
537
|
name: "embeddings",
|
|
538
538
|
summary: "Embeddings tooling. Subcommand: backfill <table> --text <field> --vector <field> [--model <m>] [--model-field <f>] [--batch <n>] [--dry-run] — (re)embed rows the vectorEmbedding() mixin missed.",
|
|
539
539
|
status: "wired",
|
|
540
|
-
run: (e) => import("./embeddingsCommand-
|
|
540
|
+
run: (e) => import("./embeddingsCommand-CyNQkFIc.js").then((t) => t.runEmbeddingsCommand(e)),
|
|
541
541
|
help: {
|
|
542
542
|
usage: "backfill <table> --text <field> --vector <field> [--model <m>] [--batch <n>] [--dry-run]",
|
|
543
543
|
flags: [
|
|
@@ -555,7 +555,7 @@ var c = () => {
|
|
|
555
555
|
name: "telemetry",
|
|
556
556
|
summary: "Report telemetry status — Voltro collects none (no phone-home, nothing to opt out of).",
|
|
557
557
|
status: "wired",
|
|
558
|
-
run: (e) => import("./metaCommands-
|
|
558
|
+
run: (e) => import("./metaCommands-DUYR--Ts.js").then((t) => t.runTelemetry(e)),
|
|
559
559
|
help: {
|
|
560
560
|
usage: "",
|
|
561
561
|
examples: [["voltro telemetry", "confirm what is collected: nothing"]],
|
|
@@ -570,7 +570,7 @@ var c = () => {
|
|
|
570
570
|
name: "agents-md",
|
|
571
571
|
summary: "Write the framework-tailored AGENTS.md into the project root (use --force to overwrite).",
|
|
572
572
|
status: "wired",
|
|
573
|
-
run: (e) => import("./agentsMd-
|
|
573
|
+
run: (e) => import("./agentsMd-BFCXh2gl.js").then((t) => t.runAgentsMd(e)),
|
|
574
574
|
help: {
|
|
575
575
|
usage: "[--force]",
|
|
576
576
|
flags: [["--force", "overwrite existing files (both AGENTS.md and CLAUDE.md)"]],
|
|
@@ -583,7 +583,7 @@ var c = () => {
|
|
|
583
583
|
summary: "Ask a RUNNING app whether its declared access is enforced. `access` calls every guarded procedure with NO credentials and reports any that answer (--process, --url, --strict, --format).",
|
|
584
584
|
status: "wired",
|
|
585
585
|
handlesHelp: !0,
|
|
586
|
-
run: (e) => import("./probeCommand-
|
|
586
|
+
run: (e) => import("./probeCommand-C9gazU0H.js").then((t) => t.runProbeCommand(e))
|
|
587
587
|
},
|
|
588
588
|
{
|
|
589
589
|
name: "schedule",
|
|
@@ -596,7 +596,7 @@ var c = () => {
|
|
|
596
596
|
name: "schedule-manifest",
|
|
597
597
|
summary: "Emit external-scheduler config for trigger:'external' schedules. --provider kubernetes|aws|gcp|azure|generic --base-url <url>.",
|
|
598
598
|
status: "wired",
|
|
599
|
-
run: (e) => import("./scheduleManifestCmd-
|
|
599
|
+
run: (e) => import("./scheduleManifestCmd-kmWzrO_w.js").then((t) => t.runScheduleManifest(e)),
|
|
600
600
|
help: {
|
|
601
601
|
usage: "--provider <kubernetes|aws|gcp|azure|generic> --base-url <url> [--token-env <VAR>]",
|
|
602
602
|
flags: [
|
|
@@ -612,21 +612,21 @@ var c = () => {
|
|
|
612
612
|
handlesHelp: !0,
|
|
613
613
|
summary: "Tail recent log records from every running voltro process. --tail N --since 30s --level error --filter PAT --format json|pretty|text.",
|
|
614
614
|
status: "wired",
|
|
615
|
-
run: (e) => import("./logsCmd-
|
|
615
|
+
run: (e) => import("./logsCmd-B6oNsfaZ.js").then((t) => t.runLogsCommand(e))
|
|
616
616
|
},
|
|
617
617
|
{
|
|
618
618
|
name: "traces",
|
|
619
619
|
handlesHelp: !0,
|
|
620
620
|
summary: "Distributed traces from every running api. --tail N --errors --since 30s --process NAME --format json|pretty. Use --id <traceId> for the waterfall of one trace.",
|
|
621
621
|
status: "wired",
|
|
622
|
-
run: (e) => import("./tracesCmd-
|
|
622
|
+
run: (e) => import("./tracesCmd-DgtgOUdi.js").then((t) => t.runTracesCommand(e))
|
|
623
623
|
},
|
|
624
624
|
{
|
|
625
625
|
name: "inspect",
|
|
626
626
|
handlesHelp: !0,
|
|
627
627
|
summary: "Query the live /_voltro/inspect/* surface. Subcommands: app, routes, rpc, metrics, cache, schedules, aggregates, invoke. --process NAME --format json|pretty. `schedules --failing` reports only broken crons and exits 1 if any (usable as a post-deploy gate).",
|
|
628
628
|
status: "wired",
|
|
629
|
-
run: (e) => import("./inspectCmd-
|
|
629
|
+
run: (e) => import("./inspectCmd-niF97fAq.js").then((t) => t.runInspectCommand(e))
|
|
630
630
|
},
|
|
631
631
|
{
|
|
632
632
|
name: "workflows",
|
|
@@ -640,13 +640,13 @@ var c = () => {
|
|
|
640
640
|
handlesHelp: !0,
|
|
641
641
|
summary: "Clustering snapshot of every running api. Subcommand: status — per-instance replicaId, runner address, dialect, CDC flavor, coordination, server_id, + a flag for SQL runners stuck on localhost. --process NAME --format json|pretty.",
|
|
642
642
|
status: "wired",
|
|
643
|
-
run: (e) => import("./clusterCmd-
|
|
643
|
+
run: (e) => import("./clusterCmd-DrVFCzSj.js").then((t) => t.runClusterCommand(e))
|
|
644
644
|
},
|
|
645
645
|
{
|
|
646
646
|
name: "login",
|
|
647
647
|
summary: "Log in to Voltro Cloud — opens a browser (WorkOS) and returns to the CLI after success. Alias for `voltro cloud login`. `--token <t>` (or VOLTRO_CLOUD_TOKEN) for headless.",
|
|
648
648
|
status: "wired",
|
|
649
|
-
run: (e) => import("./cloudCmd-
|
|
649
|
+
run: (e) => import("./cloudCmd-C42gaO8s.js").then((t) => t.runCloudCommand(["login", ...e])),
|
|
650
650
|
help: {
|
|
651
651
|
usage: "[--token <t>]",
|
|
652
652
|
flags: [["--token <t>", "headless login with an existing token (or set VOLTRO_CLOUD_TOKEN)"]],
|
|
@@ -658,7 +658,7 @@ var c = () => {
|
|
|
658
658
|
handlesHelp: !0,
|
|
659
659
|
summary: "Control-plane client. Subcommands: login (browser/WorkOS), whoami, projects, project create, env list|set|pull, import, deploy, scan, rollback, register. Base url via VOLTRO_CLOUD_URL.",
|
|
660
660
|
status: "wired",
|
|
661
|
-
run: (e) => import("./cloudCmd-
|
|
661
|
+
run: (e) => import("./cloudCmd-C42gaO8s.js").then((t) => t.runCloudCommand(e))
|
|
662
662
|
},
|
|
663
663
|
{
|
|
664
664
|
name: "help",
|
|
@@ -16,7 +16,7 @@ var e = () => {
|
|
|
16
16
|
return Number.isInteger(t) && t > 0 ? t : void 0;
|
|
17
17
|
}, r = () => {
|
|
18
18
|
let e = process.env.PG_SSL;
|
|
19
|
-
if (
|
|
19
|
+
if (e !== void 0 && e !== "") {
|
|
20
20
|
if (e === "require") return !0;
|
|
21
21
|
if (e === "disable") return !1;
|
|
22
22
|
throw Error(`PG_SSL '${e}' is not supported — use 'require' (TLS without certificate verification) or 'disable' (plaintext).`);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { d as e } from "./dev-
|
|
2
|
-
import { P as t, j as n } from "./webDev-
|
|
3
|
-
import { t as r } from "./start-
|
|
1
|
+
import { d as e } from "./dev-3mgc8c-H.js";
|
|
2
|
+
import { P as t, j as n } from "./webDev-CTpSY-e_.js";
|
|
3
|
+
import { t as r } from "./start-ft_KzFTd.js";
|
|
4
4
|
import { join as i } from "node:path";
|
|
5
5
|
import { existsSync as a } from "node:fs";
|
|
6
6
|
import { createLogger as o } from "@voltro/logger";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as e } from "./cliError-BmdYnghb.js";
|
|
2
|
-
import { c as t, i as n, o as r } from "./dev-
|
|
2
|
+
import { c as t, i as n, o as r } from "./dev-3mgc8c-H.js";
|
|
3
3
|
import { n as i, t as a } from "./cliArgs-D4p8n7EE.js";
|
|
4
|
-
import { r as o } from "./dialectDriver-
|
|
4
|
+
import { r as o } from "./dialectDriver-czCHYpeH.js";
|
|
5
5
|
import { t as s } from "./dataProfile-dW-PsfLB.js";
|
|
6
6
|
import { o as c, t as l } from "./inspectFetch-EMuhTG_9.js";
|
|
7
|
-
import { r as u } from "./dbCommand-
|
|
7
|
+
import { r as u } from "./dbCommand-DSwGv9wS.js";
|
|
8
8
|
import { createLogger as d } from "@voltro/logger";
|
|
9
9
|
import { Effect as f, Stream as p } from "effect";
|
|
10
10
|
import { SqlClient as m } from "@effect/sql";
|
|
@@ -137,7 +137,7 @@ var P = "voltro-backup-stamp.json", le = (e) => ({
|
|
|
137
137
|
sameTarget: b(i, n?.databaseId),
|
|
138
138
|
...a === void 0 ? {} : { targetLabel: `${a.host}:${a.port}/${a.database}` }
|
|
139
139
|
});
|
|
140
|
-
return o
|
|
140
|
+
return !o || (L.error(s ?? "refusing: live instance detected"), !1);
|
|
141
141
|
}, H = i, me = [
|
|
142
142
|
"--api-url",
|
|
143
143
|
"--bundle-key",
|
|
@@ -163,13 +163,13 @@ var P = "voltro-backup-stamp.json", le = (e) => ({
|
|
|
163
163
|
let e = r(), t = [];
|
|
164
164
|
return e.url && t.push(I(e.url)), (e.host || e.database) && t.push(`${(e.host ?? "localhost").toLowerCase()}:${e.port ?? "(default)"}/${e.database ?? ""}`), t;
|
|
165
165
|
}, q = async () => {
|
|
166
|
-
let r =
|
|
167
|
-
if (!
|
|
168
|
-
let
|
|
166
|
+
let r = process.cwd(), i = await t(r);
|
|
167
|
+
if (!i) throw new e("voltro data: no app.config.ts found in the current directory.");
|
|
168
|
+
let a = await n(i, void 0), o = W();
|
|
169
169
|
return {
|
|
170
|
-
store:
|
|
171
|
-
snapshot: await K(
|
|
172
|
-
dialect:
|
|
170
|
+
store: a,
|
|
171
|
+
snapshot: await K(o),
|
|
172
|
+
dialect: o
|
|
173
173
|
};
|
|
174
174
|
}, J = (e) => x(e, {
|
|
175
175
|
table: S,
|
|
@@ -195,7 +195,10 @@ var P = "voltro-backup-stamp.json", le = (e) => ({
|
|
|
195
195
|
kind: "tables",
|
|
196
196
|
tables: n.split(",").map((e) => e.trim()).filter(Boolean)
|
|
197
197
|
} : { kind: "all" };
|
|
198
|
-
}, ye = async () =>
|
|
198
|
+
}, ye = async () => {
|
|
199
|
+
let e = await u(process.cwd());
|
|
200
|
+
return ne(h(e));
|
|
201
|
+
}, be = "voltro/tenant", xe = async () => {
|
|
199
202
|
let e = (await u(process.cwd())).filter((e) => (e.appliedMixins ?? []).some((e) => e.id === be)).map((e) => e.tableName);
|
|
200
203
|
return e.length > 0 ? e : void 0;
|
|
201
204
|
}, Q = (e) => {
|