@xano/sdk 1.0.8-mesh0.1 → 1.0.8-mesh0.2
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/.build-fingerprint +1 -1
- package/dist/{agent-file-refresh-YBE5LZFJ.js → agent-file-refresh-AJLZIJ2N.js} +4 -4
- package/dist/{agent-skill-command-DDHOBL3L.js → agent-skill-command-IAVOUXKD.js} +13 -13
- package/dist/{backend-dir-5GL5WFFV.js → backend-dir-SJMCONLH.js} +4 -4
- package/dist/bin.js +13 -13
- package/dist/{branch-commands-QI575RSG.js → branch-commands-K5V36EJB.js} +7 -7
- package/dist/bundle.js +2 -2
- package/dist/{chunk-4HQE5CXQ.js → chunk-247YR3CN.js} +2 -2
- package/dist/{chunk-NJHUQSDH.js → chunk-37I6HG6Y.js} +3 -3
- package/dist/{chunk-VK76LFW2.js → chunk-3NZIPHT5.js} +2 -2
- package/dist/{chunk-FPQBPJPS.js → chunk-4H4TUMZP.js} +2 -2
- package/dist/{chunk-UM42ZIEU.js → chunk-4KOAFZBJ.js} +4 -4
- package/dist/{chunk-2EQBS63A.js → chunk-6DS66KLF.js} +2 -2
- package/dist/{chunk-IBTPQQI6.js → chunk-A57HD4QS.js} +1 -1
- package/dist/{chunk-AQG4FFDT.js → chunk-AFADLT6M.js} +2 -2
- package/dist/{chunk-LDWK6F57.js → chunk-ASLIHONG.js} +6 -6
- package/dist/{chunk-DESS5BLU.js → chunk-BKF2KQLY.js} +28 -28
- package/dist/{chunk-U32NHVSS.js → chunk-D7F5ZXMQ.js} +2 -2
- package/dist/{chunk-IXISAJ67.js → chunk-DB4DAAK3.js} +2 -2
- package/dist/{chunk-RGJ7UZFP.js → chunk-E25PRQPL.js} +2 -2
- package/dist/{chunk-TXPWOFJS.js → chunk-E72KJBB5.js} +2 -2
- package/dist/{chunk-RB3UNDOE.js → chunk-EDSXEPNV.js} +3 -3
- package/dist/{chunk-CKJK2QTT.js → chunk-EFBTLL4M.js} +2 -2
- package/dist/{chunk-LI3UQFJY.js → chunk-ERFDE5EM.js} +2 -2
- package/dist/{chunk-F647T23K.js → chunk-FJJVAH7L.js} +7 -7
- package/dist/{chunk-EFJBGKRK.js → chunk-GD6GETUN.js} +13 -13
- package/dist/{chunk-6TMB3UUM.js → chunk-GKJ5LPLW.js} +2 -2
- package/dist/{chunk-XFHLOYUZ.js → chunk-GOREO2VQ.js} +55 -55
- package/dist/{chunk-XMV3E7EC.js → chunk-GS46HAGO.js} +16 -16
- package/dist/{chunk-HOKRELBK.js → chunk-IAUYWBIM.js} +2 -2
- package/dist/{chunk-TGHRAXKL.js → chunk-IWCP3LFR.js} +2 -2
- package/dist/{chunk-6P3ISGGI.js → chunk-KE25GKBL.js} +2 -2
- package/dist/{chunk-D57SMZVV.js → chunk-KJPTTFHD.js} +2 -2
- package/dist/{chunk-P2IPFNP4.js → chunk-LLCV3AYQ.js} +2 -2
- package/dist/{chunk-VDG4UKGP.js → chunk-LQ77WMMX.js} +7 -7
- package/dist/{chunk-VL3JRW4S.js → chunk-NUXP744Z.js} +19 -19
- package/dist/{chunk-AQ34CEDI.js → chunk-P5Y2NC4I.js} +2 -2
- package/dist/{chunk-4KBZ6ZEW.js → chunk-PKZHVJKM.js} +2 -2
- package/dist/{chunk-4AE3AVY3.js → chunk-PT2XJWRL.js} +2 -2
- package/dist/{chunk-ZEUEYKQ6.js → chunk-Q32T4PBY.js} +2 -2
- package/dist/{chunk-4BPUM6DK.js → chunk-RLXZ5QI6.js} +2 -2
- package/dist/{chunk-GH6ZWSTH.js → chunk-SWXTZBJ3.js} +40 -40
- package/dist/{chunk-UICFYANB.js → chunk-T4R4VVSQ.js} +3 -3
- package/dist/{chunk-XC4E3PUJ.js → chunk-VIOAY7L2.js} +2 -2
- package/dist/{chunk-LZ2E76UO.js → chunk-XRPOPTL3.js} +3 -3
- package/dist/{chunk-JZ4WNPKY.js → chunk-XSXIYWKC.js} +3 -3
- package/dist/{chunk-BVPGV55J.js → chunk-XY4XJRQQ.js} +16 -16
- package/dist/{chunk-64FL5VXX.js → chunk-XZBZIDUC.js} +2 -2
- package/dist/{chunk-LC3KQ5SO.js → chunk-YYHARYXJ.js} +25 -1
- package/dist/cli.js +12 -12
- package/dist/{codegen-command-AIZB3FUC.js → codegen-command-5IBRYKIA.js} +24 -24
- package/dist/{deploy-command-V5DMS4ZX.js → deploy-command-7TS5ZGCG.js} +16 -16
- package/dist/{deploy-source-2TSXX3VB.js → deploy-source-AVE5IAS5.js} +7 -7
- package/dist/{dev-env-sync-EQQ3AJGG.js → dev-env-sync-NVB33NVF.js} +13 -13
- package/dist/{env-example-refresh-4IBD3MBJ.js → env-example-refresh-GS6PBNSU.js} +25 -25
- package/dist/{env-pull-command-DBRHTBWT.js → env-pull-command-WIZV26E7.js} +15 -15
- package/dist/{env-target-K23V5FZA.js → env-target-SWWQU5WQ.js} +2 -2
- package/dist/{env-var-command-W7ZSG2Z3.js → env-var-command-UH7CUT6I.js} +13 -13
- package/dist/{ephemeral-command-JSCJSX22.js → ephemeral-command-KCYS4JFI.js} +16 -16
- package/dist/{generate-command-M2C6ZZUQ.js → generate-command-6HOQX63C.js} +28 -28
- package/dist/{gitignore-Z6B3GR2I.js → gitignore-NN5EZ7JA.js} +6 -6
- package/dist/{impersonate-command-P63YGMQM.js → impersonate-command-JHIIBNYX.js} +9 -9
- package/dist/{init-command-EUJ6MUM2.js → init-command-OAEPKBQB.js} +15 -15
- package/dist/{init-modules-GP3KBD4E.js → init-modules-HPHQJOYQ.js} +2 -2
- package/dist/{keep-data-merge-V7NUOHLT.js → keep-data-merge-54OYUP56.js} +8 -8
- package/dist/{landing-record-7UKEQ25N.js → landing-record-NPCQMJ3R.js} +5 -5
- package/dist/{live-diff-Y5VDHSZM.js → live-diff-KZMXFJWG.js} +3 -3
- package/dist/{local-engine-choice-AFCKFASJ.js → local-engine-choice-ZA2UKOXF.js} +8 -8
- package/dist/{local-engine-command-MTPDD4ID.js → local-engine-command-5KWMKXWH.js} +9 -9
- package/dist/{local-engine-mcp-command-WXZVCUJD.js → local-engine-mcp-command-7LIE47WY.js} +9 -9
- package/dist/{lock-commands-2I3X22S2.js → lock-commands-GKJ7ZAD2.js} +13 -13
- package/dist/{login-command-RVM2IFKQ.js → login-command-YNKJPILZ.js} +9 -9
- package/dist/{logout-command-EPWRAN3N.js → logout-command-RGI6NQCE.js} +3 -3
- package/dist/{loop-67FOZNJN.js → loop-H2O27DJ3.js} +3 -3
- package/dist/{marketplace-command-HN35TMQO.js → marketplace-command-ISKF2EVB.js} +13 -13
- package/dist/{meta-client-52JNOTRR.js → meta-client-UC4GJ4AP.js} +2 -2
- package/dist/node.js +16 -16
- package/dist/{operation-outcome-SZRJPLHR.js → operation-outcome-X6RFHDQ2.js} +4 -4
- package/dist/{output-target-OEPSECGR.js → output-target-7JON62FD.js} +7 -7
- package/dist/{plan-disclosure-NPTMOR2Q.js → plan-disclosure-DVZFZ3QW.js} +5 -5
- package/dist/{preflight-command-ZB7HRYVT.js → preflight-command-TUROG3E7.js} +21 -21
- package/dist/{profile-command-RX47NDY4.js → profile-command-HYFTN5M7.js} +10 -10
- package/dist/{promote-command-KOEKHI34.js → promote-command-KJEOUDI5.js} +32 -32
- package/dist/{publish-command-ARKUFNJ3.js → publish-command-NZNQ3LZ2.js} +16 -16
- package/dist/{pull-command-QHPQPFZX.js → pull-command-BNV7ALGF.js} +26 -26
- package/dist/{release-command-KUQ5ZBMW.js → release-command-6NCARJNQ.js} +24 -24
- package/dist/{release-ns-command-AKHCEYGS.js → release-ns-command-GZGBL6EQ.js} +33 -33
- package/dist/{routes-manifest-file-6MSRYJTC.js → routes-manifest-file-I7COAGHC.js} +2 -2
- package/dist/{secrets-file-6HPZRMHS.js → secrets-file-NAZBFYNF.js} +5 -5
- package/dist/{secrets-fill-command-ANBQVXOR.js → secrets-fill-command-VWZCMR32.js} +15 -15
- package/dist/{source-resolve-CI7JQVTM.js → source-resolve-GN7AN3GL.js} +3 -3
- package/dist/{status-command-RS57KOKP.js → status-command-ZRKQ25RP.js} +12 -12
- package/dist/{sync-baseline-WDN3J7NI.js → sync-baseline-V6ORHH6L.js} +5 -5
- package/dist/{sync-contributions-WUL5TGW6.js → sync-contributions-HNW4U5K5.js} +2 -2
- package/dist/{tables-command-QYLUJV7Y.js → tables-command-PT7GYD3W.js} +10 -10
- package/dist/{tenant-command-PAMMMYXG.js → tenant-command-44IKFFHV.js} +38 -38
- package/dist/{test-command-METJGZ5E.js → test-command-YLLKNOT2.js} +10 -10
- package/dist/{token-XBCHSFRV.js → token-2NAPZVNN.js} +2 -2
- package/dist/{toolchain-modules-H2X4YWST.js → toolchain-modules-VL2HNPRJ.js} +2 -2
- package/dist/{tracked-backend-KTLIMNNQ.js → tracked-backend-YR756H6A.js} +9 -9
- package/dist/{update-check-5XQA5WRN.js → update-check-4RCHIJPC.js} +14 -14
- package/dist/{upgrade-command-ULPZNSVS.js → upgrade-command-TGYC7EEZ.js} +16 -16
- package/dist/{whoami-command-IBLF4B3G.js → whoami-command-PTZFYTKZ.js} +4 -4
- package/dist/{workspace-OB2PKO6N.js → workspace-HZWVT2GT.js} +2 -2
- package/dist/{workspace-binding-UEFR3SZX.js → workspace-binding-Y2QVDRCL.js} +3 -3
- package/dist/{workspace-command-JMVE42JJ.js → workspace-command-JDK3JBY5.js} +34 -34
- package/dist/{workspace-env-D34C7PFJ.js → workspace-env-DRGTQVE2.js} +5 -5
- package/dist/{xanosdk-import-KACWOZ2Y.js → xanosdk-import-22DT5LZN.js} +2 -2
- package/dist/{xanosdk-project-PTONYVWE.js → xanosdk-project-NMWIYGIR.js} +5 -5
- package/llms-full.txt +1 -1
- package/llms.txt +1 -1
- package/manifest.json +1 -1
- package/package.json +1 -1
- package/skills/xano-backend/SKILL.md +2 -2
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
passwordHashesWarning,
|
|
6
6
|
passwordOrigin
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-IWCP3LFR.js";
|
|
8
8
|
import {
|
|
9
9
|
isAwaited,
|
|
10
10
|
microserviceLine,
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
ImportNotSentError,
|
|
32
32
|
XanoSdkImportRefusal,
|
|
33
33
|
xanosdkImport
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-KE25GKBL.js";
|
|
35
35
|
import {
|
|
36
36
|
archiveHostedFiles,
|
|
37
37
|
decodeWorkspaceArchive,
|
|
@@ -48,19 +48,19 @@ import {
|
|
|
48
48
|
missingLockDir,
|
|
49
49
|
refuseCompileValueFlags,
|
|
50
50
|
refuseValueFlagsBesideBundle
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-GOREO2VQ.js";
|
|
52
52
|
import {
|
|
53
53
|
recordDeployed
|
|
54
54
|
} from "./chunk-PBK257CI.js";
|
|
55
55
|
import {
|
|
56
56
|
lookupEphemeral
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-GKJ5LPLW.js";
|
|
58
58
|
import {
|
|
59
59
|
getAccessToken
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-XSXIYWKC.js";
|
|
61
61
|
import {
|
|
62
62
|
otherCredentialRefusal
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-LLCV3AYQ.js";
|
|
64
64
|
import {
|
|
65
65
|
engineNameForProject,
|
|
66
66
|
getEngineRecord
|
|
@@ -266,7 +266,7 @@ async function runDeployedTests(auth, summary, args) {
|
|
|
266
266
|
try {
|
|
267
267
|
return await runTestsOrThrow(auth, summary, args, settled, notRun);
|
|
268
268
|
} catch (err) {
|
|
269
|
-
const { isSuiteUnreachable, suiteUnreachableCheck } = await import("./test-command-
|
|
269
|
+
const { isSuiteUnreachable, suiteUnreachableCheck } = await import("./test-command-YLLKNOT2.js");
|
|
270
270
|
const message = err instanceof Error ? err.message : String(err);
|
|
271
271
|
const reason = isSuiteUnreachable(err) ? `${message.split("\n")[0] ?? message}
|
|
272
272
|
${suiteUnreachableCheck(
|
|
@@ -291,11 +291,11 @@ function testRunAllCommand(summary, args) {
|
|
|
291
291
|
return `xanosdk test run-all --on ${on}${kind}${concurrency}${flags}`;
|
|
292
292
|
}
|
|
293
293
|
async function testSummaryOf(outcomes, notRun = []) {
|
|
294
|
-
const { suiteCounts, testRow } = await import("./test-command-
|
|
294
|
+
const { suiteCounts, testRow } = await import("./test-command-YLLKNOT2.js");
|
|
295
295
|
return { ...suiteCounts(outcomes, notRun), tests: outcomes.map(testRow) };
|
|
296
296
|
}
|
|
297
297
|
async function runTestsOrThrow(auth, summary, args, settled, notRun) {
|
|
298
|
-
const { runSuite, printTally, noTestsFound, EXIT_TESTS_FAILED } = await import("./test-command-
|
|
298
|
+
const { runSuite, printTally, noTestsFound, EXIT_TESTS_FAILED } = await import("./test-command-YLLKNOT2.js");
|
|
299
299
|
const { qualifiedName } = await import("./tests-CLDZWLKF.js");
|
|
300
300
|
if (summary.url === void 0) {
|
|
301
301
|
warn("Skipped --test: the ephemeral reported no base URL to run against.", "deploy.tests-not-run");
|
|
@@ -339,15 +339,15 @@ async function ignoreBackendSecretFilesRead(args) {
|
|
|
339
339
|
if (args.bundle !== void 0 || args.file === void 0) return;
|
|
340
340
|
const paths = [];
|
|
341
341
|
if (args.envFile === void 0) {
|
|
342
|
-
const { defaultWorkspaceEnvPath } = await import("./workspace-env-
|
|
342
|
+
const { defaultWorkspaceEnvPath } = await import("./workspace-env-DRGTQVE2.js");
|
|
343
343
|
paths.push(defaultWorkspaceEnvPath(args.file));
|
|
344
344
|
}
|
|
345
345
|
if (args.secretsFile === void 0) {
|
|
346
|
-
const { defaultWorkspaceSecretsPath } = await import("./secrets-file-
|
|
346
|
+
const { defaultWorkspaceSecretsPath } = await import("./secrets-file-NAZBFYNF.js");
|
|
347
347
|
paths.push(defaultWorkspaceSecretsPath(args.file));
|
|
348
348
|
}
|
|
349
349
|
const { gitSaysIgnored } = await import("./store-YFNDD6GZ.js");
|
|
350
|
-
const { ensureSecretPathGitignored, refuseIfTracked, secretPathLabel } = await import("./gitignore-
|
|
350
|
+
const { ensureSecretPathGitignored, refuseIfTracked, secretPathLabel } = await import("./gitignore-NN5EZ7JA.js");
|
|
351
351
|
for (const path of paths) {
|
|
352
352
|
if (!existsSync(path)) continue;
|
|
353
353
|
if (gitSaysIgnored(path) !== false) continue;
|
|
@@ -422,8 +422,8 @@ async function soleTrackedEphemeral() {
|
|
|
422
422
|
}
|
|
423
423
|
async function runDeployToDestination(args, to) {
|
|
424
424
|
const { requireBackendSlot, parseSlot } = await import("./backend-slot-TTRNOQF5.js");
|
|
425
|
-
const { resolveSource, describeBackend } = await import("./source-resolve-
|
|
426
|
-
const { looksLikeSource, resolveProjectEntry } = await import("./deploy-source-
|
|
425
|
+
const { resolveSource, describeBackend } = await import("./source-resolve-GN7AN3GL.js");
|
|
426
|
+
const { looksLikeSource, resolveProjectEntry } = await import("./deploy-source-AVE5IAS5.js");
|
|
427
427
|
const dest = parseSlot(requireBackendSlot("deploy", void 0, "to"), to, to.trim() === "ephemeral" ? await soleTrackedEphemeral() : void 0);
|
|
428
428
|
if (dest.kind !== "workspace" && dest.kind !== "tenant") {
|
|
429
429
|
throw new Error(`Internal: \`deploy --to\` parsed ${withArticle(dest.kind)}, which its slot does not accept.`);
|
|
@@ -498,7 +498,7 @@ async function runDeployToDestination(args, to) {
|
|
|
498
498
|
)
|
|
499
499
|
);
|
|
500
500
|
};
|
|
501
|
-
const { runReleaseCommand } = await import("./release-command-
|
|
501
|
+
const { runReleaseCommand } = await import("./release-command-6NCARJNQ.js");
|
|
502
502
|
return runReleaseCommand(args, {
|
|
503
503
|
base: resolved.target.base,
|
|
504
504
|
workspaceId: resolved.target.workspaceId,
|
|
@@ -639,9 +639,9 @@ async function deployToLocalEngine(args, dest, sourceCredential, ctx) {
|
|
|
639
639
|
const { startedAt } = ctx;
|
|
640
640
|
const dir = process.cwd();
|
|
641
641
|
const fetchedSource = sourceCredential !== void 0 && args.file !== void 0 ? { credential: sourceCredential, spec: args.file } : void 0;
|
|
642
|
-
const { discoverToolchainPlugins } = await import("./toolchain-modules-
|
|
642
|
+
const { discoverToolchainPlugins } = await import("./toolchain-modules-VL2HNPRJ.js");
|
|
643
643
|
const toolchain = await discoverToolchainPlugins(dir, { frozen: args.frozenLock === true });
|
|
644
|
-
const { archive, shownSource, bundleObject, bundleText, content, passwordColumns, classifiedLock, commitLock, nonPublicSeedValues } = fetchedSource ? await import("./deploy-source-
|
|
644
|
+
const { archive, shownSource, bundleObject, bundleText, content, passwordColumns, classifiedLock, commitLock, nonPublicSeedValues } = fetchedSource ? await import("./deploy-source-AVE5IAS5.js").then(async (m) => {
|
|
645
645
|
const f = await m.fetchSourceArchive(fetchedSource.credential, fetchedSource.spec, dir);
|
|
646
646
|
const decoded = decodeWorkspaceArchive(f.archive);
|
|
647
647
|
noteReleaseCarriesNoEnv(fetchedSource.spec, m.gatedApiGroups(decoded));
|
|
@@ -702,7 +702,7 @@ async function deployToLocalEngine(args, dest, sourceCredential, ctx) {
|
|
|
702
702
|
"; nothing was deployed"
|
|
703
703
|
);
|
|
704
704
|
}
|
|
705
|
-
const { chooseLocalEngine, explainOverrideFailure, pinAfterAcquire } = await import("./local-engine-choice-
|
|
705
|
+
const { chooseLocalEngine, explainOverrideFailure, pinAfterAcquire } = await import("./local-engine-choice-ZA2UKOXF.js");
|
|
706
706
|
const choice = await chooseLocalEngine(dest.downloadUrl, dir, isMachineOutput(args));
|
|
707
707
|
const { ensureProjectEngine } = await import("./local-engine-deploy-ID4JJXB5.js");
|
|
708
708
|
const pin = pinAfterAcquire(choice, dir);
|
|
@@ -753,7 +753,7 @@ async function deployToLocalEngine(args, dest, sourceCredential, ctx) {
|
|
|
753
753
|
};
|
|
754
754
|
try {
|
|
755
755
|
if (arm.arm === "merge") {
|
|
756
|
-
const { mergeKeepingData } = await import("./keep-data-merge-
|
|
756
|
+
const { mergeKeepingData } = await import("./keep-data-merge-54OYUP56.js");
|
|
757
757
|
merged = await mergeKeepingData({
|
|
758
758
|
auth: bearer,
|
|
759
759
|
baseUrl: engine.url,
|
|
@@ -795,7 +795,7 @@ async function deployToLocalEngine(args, dest, sourceCredential, ctx) {
|
|
|
795
795
|
}
|
|
796
796
|
} catch (err) {
|
|
797
797
|
if (err instanceof XanoSdkImportRefusal && err.retryable) {
|
|
798
|
-
const { importInProgressError } = await import("./keep-data-merge-
|
|
798
|
+
const { importInProgressError } = await import("./keep-data-merge-54OYUP56.js");
|
|
799
799
|
throw importInProgressError(`Xano Engine ${engine.name}`, rerunOf(args), err);
|
|
800
800
|
}
|
|
801
801
|
const { explainUnsupportedEngineImport } = await import("./local-engine-deploy-ID4JJXB5.js");
|
|
@@ -1118,15 +1118,15 @@ async function runDeploy(args) {
|
|
|
1118
1118
|
if (args.reset && !args.keepData) {
|
|
1119
1119
|
info("`--reset` changes nothing here: it only overrides `--keep-data`, and without it a deploy already replaces the environment.");
|
|
1120
1120
|
}
|
|
1121
|
-
const { looksLikeSource, resolveProjectEntry, fetchSourceArchive, passwordSeedColumns, archiveSeedContent, gatedApiGroups } = await import("./deploy-source-
|
|
1121
|
+
const { looksLikeSource, resolveProjectEntry, fetchSourceArchive, passwordSeedColumns, archiveSeedContent, gatedApiGroups } = await import("./deploy-source-AVE5IAS5.js");
|
|
1122
1122
|
const fetching = args.file !== void 0 && looksLikeSource(args.file);
|
|
1123
1123
|
const sourceSpec = fetching ? await parseDeploySource(args.file) : void 0;
|
|
1124
1124
|
if (sourceSpec !== void 0) refuseValueFlagsForSource(args, args.file, sourceSpec);
|
|
1125
1125
|
if (destination.kind === "local") {
|
|
1126
1126
|
refuseSameEngine(sourceSpec, process.cwd());
|
|
1127
|
-
const { refuseProfileForLocal } = await import("./tracked-backend-
|
|
1127
|
+
const { refuseProfileForLocal } = await import("./tracked-backend-YR756H6A.js");
|
|
1128
1128
|
refuseProfileForLocal(args.profile, sourceSpec === void 0 ? ["local"] : ["local", sourceSpec.kind], void 0, {});
|
|
1129
|
-
const { refuseCredentialFlagsForLocal } = await import("./local-engine-choice-
|
|
1129
|
+
const { refuseCredentialFlagsForLocal } = await import("./local-engine-choice-ZA2UKOXF.js");
|
|
1130
1130
|
refuseCredentialFlagsForLocal(args, sourceSpec === void 0 ? ["local"] : ["local", sourceSpec.kind]);
|
|
1131
1131
|
}
|
|
1132
1132
|
if (!fetching) {
|
|
@@ -1142,7 +1142,7 @@ async function runDeploy(args) {
|
|
|
1142
1142
|
}
|
|
1143
1143
|
refuseMissingStaticDir(args);
|
|
1144
1144
|
if (destination.kind === "local") {
|
|
1145
|
-
const { memoCredential } = await import("./tracked-backend-
|
|
1145
|
+
const { memoCredential } = await import("./tracked-backend-YR756H6A.js");
|
|
1146
1146
|
return deployToLocalEngine(
|
|
1147
1147
|
args,
|
|
1148
1148
|
destination,
|
|
@@ -1154,7 +1154,7 @@ async function runDeploy(args) {
|
|
|
1154
1154
|
const auth = await getAccessToken(args);
|
|
1155
1155
|
refuseSameEphemeral(sourceSpec, auth, process.cwd(), contextFlags(args), args.keepData && !args.reset);
|
|
1156
1156
|
await noteRunScopeFor(auth);
|
|
1157
|
-
const { discoverToolchainPlugins } = await import("./toolchain-modules-
|
|
1157
|
+
const { discoverToolchainPlugins } = await import("./toolchain-modules-VL2HNPRJ.js");
|
|
1158
1158
|
const toolchain = await discoverToolchainPlugins(process.cwd(), {
|
|
1159
1159
|
frozen: args.frozenLock === true
|
|
1160
1160
|
});
|
|
@@ -1288,9 +1288,9 @@ async function runDeploy(args) {
|
|
|
1288
1288
|
}).finally(() => noteLanded(void 0));
|
|
1289
1289
|
if (staticSummary !== void 0) summary.static = staticSummary;
|
|
1290
1290
|
if (summary.ephemeral !== void 0) {
|
|
1291
|
-
const { landingLockPath, recordLanding, recordForeignLanding } = await import("./landing-record-
|
|
1291
|
+
const { landingLockPath, recordLanding, recordForeignLanding } = await import("./landing-record-NPCQMJ3R.js");
|
|
1292
1292
|
const dest = { kind: "ephemeral", name: summary.ephemeral.name };
|
|
1293
|
-
const { storedColumnsAfter } = await import("./live-diff-
|
|
1293
|
+
const { storedColumnsAfter } = await import("./live-diff-KZMXFJWG.js");
|
|
1294
1294
|
const sent = JSON.parse(bundle);
|
|
1295
1295
|
const stored = summary.data === "kept" ? removedOut.storedColumns : storedColumnsAfter(sent, void 0, /* @__PURE__ */ new Map(), "rebuild");
|
|
1296
1296
|
if (fetching || args.bundle !== void 0) {
|
|
@@ -1352,7 +1352,7 @@ async function runDeploy(args) {
|
|
|
1352
1352
|
async function syncDevEnvAfterDeploy(args, summary, cwd = process.cwd(), opts = {}) {
|
|
1353
1353
|
if (args.noDevEnv || summary.url === void 0) return;
|
|
1354
1354
|
if (opts.staticServing === true || summary.static !== void 0 && summary.static.error === void 0) {
|
|
1355
|
-
const { staleDevEnv } = await import("./dev-env-sync-
|
|
1355
|
+
const { staleDevEnv } = await import("./dev-env-sync-NVB33NVF.js");
|
|
1356
1356
|
let stale;
|
|
1357
1357
|
try {
|
|
1358
1358
|
stale = staleDevEnv(cwd, summary.url);
|
|
@@ -1366,7 +1366,7 @@ async function syncDevEnvAfterDeploy(args, summary, cwd = process.cwd(), opts =
|
|
|
1366
1366
|
}
|
|
1367
1367
|
return;
|
|
1368
1368
|
}
|
|
1369
|
-
const { syncDevEnv } = await import("./dev-env-sync-
|
|
1369
|
+
const { syncDevEnv } = await import("./dev-env-sync-NVB33NVF.js");
|
|
1370
1370
|
try {
|
|
1371
1371
|
const written = syncDevEnv(cwd, summary.url);
|
|
1372
1372
|
if (written === void 0) return;
|
|
@@ -1476,7 +1476,7 @@ async function latestEngineRelease(err) {
|
|
|
1476
1476
|
}
|
|
1477
1477
|
async function mergeGuards(args, lock, outgoing) {
|
|
1478
1478
|
const interactive = process.stdin.isTTY === true && !isMachineOutput(args);
|
|
1479
|
-
const pinned = outgoing === void 0 ? [] : (await import("./release-command-
|
|
1479
|
+
const pinned = outgoing === void 0 ? [] : (await import("./release-command-6NCARJNQ.js")).pinnedCanonicalGuids(outgoing.bundle, lock, outgoing.compiled);
|
|
1480
1480
|
const guards = {
|
|
1481
1481
|
...pinned.length > 0 ? { pinned } : {},
|
|
1482
1482
|
allowForeignDeletes: args.yes === true,
|
|
@@ -1497,7 +1497,7 @@ async function mergeGuards(args, lock, outgoing) {
|
|
|
1497
1497
|
for (const guid of e.replaced ?? []) replaced.set(guid, key.slice("dbo:".length));
|
|
1498
1498
|
}
|
|
1499
1499
|
const { orphanFixUps, resolveLockPath, composedChildren } = await import("./cli.js");
|
|
1500
|
-
const { clearReplacedCommand } = await import("./keep-data-merge-
|
|
1500
|
+
const { clearReplacedCommand } = await import("./keep-data-merge-54OYUP56.js");
|
|
1501
1501
|
const lockPath = resolveLockPath(args, entry);
|
|
1502
1502
|
const run = (line) => (line ?? "").replace(/^(renamed|deleted)\? run: /, "");
|
|
1503
1503
|
const keys = Object.keys(lock.objects);
|
|
@@ -1738,7 +1738,7 @@ Re-run as \`${rerun}\` to answer yes without being asked.${note}`,
|
|
|
1738
1738
|
}
|
|
1739
1739
|
const { confirm } = await import("./prompt-ZZUYWFQX.js");
|
|
1740
1740
|
if (await confirm(question, { flag: "--yes", refusal: { details, rerun, note } })) return;
|
|
1741
|
-
const { KeepDataDeclined } = await import("./keep-data-merge-
|
|
1741
|
+
const { KeepDataDeclined } = await import("./keep-data-merge-54OYUP56.js");
|
|
1742
1742
|
throw new KeepDataDeclined(label, "deployed");
|
|
1743
1743
|
}
|
|
1744
1744
|
function recordedEntry(file) {
|
|
@@ -1773,7 +1773,7 @@ async function refuseOtherProfileEphemeral(state, auth) {
|
|
|
1773
1773
|
{ hintFor: { command: "deploy" } }
|
|
1774
1774
|
);
|
|
1775
1775
|
if (refusal === void 0) return;
|
|
1776
|
-
const { reachableFirst } = await import("./env-target-
|
|
1776
|
+
const { reachableFirst } = await import("./env-target-SWWQU5WQ.js");
|
|
1777
1777
|
throw await reachableFirst(refusal, auth);
|
|
1778
1778
|
}
|
|
1779
1779
|
async function refuseKeepDataElsewhere(state, auth) {
|
|
@@ -1787,7 +1787,7 @@ async function refuseKeepDataElsewhere(state, auth) {
|
|
|
1787
1787
|
{ hintFor: { command: "deploy" } }
|
|
1788
1788
|
);
|
|
1789
1789
|
if (refusal === void 0) return;
|
|
1790
|
-
const { reachableFirst } = await import("./env-target-
|
|
1790
|
+
const { reachableFirst } = await import("./env-target-SWWQU5WQ.js");
|
|
1791
1791
|
throw await reachableFirst(refusal, auth);
|
|
1792
1792
|
}
|
|
1793
1793
|
async function reconcileRename(err, auth, name, display) {
|
|
@@ -1899,7 +1899,7 @@ async function deployEphemeralGuarded(auth, ctx, createGuard) {
|
|
|
1899
1899
|
}).finally(() => creating?.clear()).catch(async (err) => {
|
|
1900
1900
|
if (isEphemeralDisabled(err)) throw ephemeralDisabledError(source);
|
|
1901
1901
|
if (err.status === 404) {
|
|
1902
|
-
const { refuseUnreachableWorkspace } = await import("./workspace-binding-
|
|
1902
|
+
const { refuseUnreachableWorkspace } = await import("./workspace-binding-Y2QVDRCL.js");
|
|
1903
1903
|
await refuseUnreachableWorkspace(auth);
|
|
1904
1904
|
}
|
|
1905
1905
|
throw unknownCreateOutcome(err, display, flags, retryCommand(args, { creates: true }));
|
|
@@ -1967,7 +1967,7 @@ ${createdButFailedNote(fresh.name, false, args, false, { untracked: true })}`);
|
|
|
1967
1967
|
if (arm.arm === "replace") refuseStaticHostAReplaceClears(args, true);
|
|
1968
1968
|
else await assertStaticHostExists(args, auth, { baseUrl, workspaceId: 1 });
|
|
1969
1969
|
if (arm.arm === "replace") {
|
|
1970
|
-
const { gateForeignReplace } = await import("./keep-data-merge-
|
|
1970
|
+
const { gateForeignReplace } = await import("./keep-data-merge-54OYUP56.js");
|
|
1971
1971
|
const { allowForeignDeletes, confirm } = await mergeGuards(args, void 0);
|
|
1972
1972
|
await gateForeignReplace({
|
|
1973
1973
|
auth,
|
|
@@ -2039,7 +2039,7 @@ ${createdButFailedNote(fresh.name, false, args, false, { untracked: true })}`);
|
|
|
2039
2039
|
let merged;
|
|
2040
2040
|
try {
|
|
2041
2041
|
if (arm.arm === "merge") {
|
|
2042
|
-
const { mergeKeepingData } = await import("./keep-data-merge-
|
|
2042
|
+
const { mergeKeepingData } = await import("./keep-data-merge-54OYUP56.js");
|
|
2043
2043
|
merged = await mergeKeepingData({
|
|
2044
2044
|
auth,
|
|
2045
2045
|
baseUrl,
|
|
@@ -2093,11 +2093,11 @@ ${createdButFailedNote(fresh.name, false, args, false, { untracked: true })}`);
|
|
|
2093
2093
|
if (!lockCommitted) ctx.warnOrphansUncommitted?.();
|
|
2094
2094
|
if (err instanceof Error && err.name === "KeepDataDeclined") throw err;
|
|
2095
2095
|
if (err instanceof XanoSdkImportRefusal && err.retryable) {
|
|
2096
|
-
const { importInProgressError } = await import("./keep-data-merge-
|
|
2096
|
+
const { importInProgressError } = await import("./keep-data-merge-54OYUP56.js");
|
|
2097
2097
|
const retry = retryCommand(args);
|
|
2098
2098
|
throw importInProgressError(namedEphemeral(target), { command: retry.command, note: withheldNote(retry.withheld) }, err);
|
|
2099
2099
|
}
|
|
2100
|
-
const { withSignatureHint } = await import("./release-command-
|
|
2100
|
+
const { withSignatureHint } = await import("./release-command-6NCARJNQ.js");
|
|
2101
2101
|
importFailure = withSignatureHint(err, args.bundle);
|
|
2102
2102
|
}
|
|
2103
2103
|
if (arm.arm === "merge" && renamedTo !== void 0) target = { ...target, display: renamedTo };
|
|
@@ -2391,4 +2391,4 @@ export {
|
|
|
2391
2391
|
unknownCreateOutcome,
|
|
2392
2392
|
deployStaticTo
|
|
2393
2393
|
};
|
|
2394
|
-
//# sourceMappingURL=chunk-
|
|
2394
|
+
//# sourceMappingURL=chunk-SWXTZBJ3.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
backendDirFor,
|
|
3
3
|
backendDirIn
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-XZBZIDUC.js";
|
|
5
5
|
import {
|
|
6
6
|
XANO_DIR
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-DB4DAAK3.js";
|
|
8
8
|
import {
|
|
9
9
|
projectRootFrom
|
|
10
10
|
} from "./chunk-HU7F56VF.js";
|
|
@@ -242,4 +242,4 @@ export {
|
|
|
242
242
|
namesInEnvExample,
|
|
243
243
|
renderWorkspaceEnvFile
|
|
244
244
|
};
|
|
245
|
-
//# sourceMappingURL=chunk-
|
|
245
|
+
//# sourceMappingURL=chunk-T4R4VVSQ.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
} from "./chunk-2TFRR6JV.js";
|
|
8
8
|
import {
|
|
9
9
|
readVersion
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-GOREO2VQ.js";
|
|
11
11
|
import {
|
|
12
12
|
readPathEnvVar
|
|
13
13
|
} from "./chunk-EUUUMY7J.js";
|
|
@@ -351,4 +351,4 @@ export {
|
|
|
351
351
|
runExitedClean,
|
|
352
352
|
maybeNotifyUpdate
|
|
353
353
|
};
|
|
354
|
-
//# sourceMappingURL=chunk-
|
|
354
|
+
//# sourceMappingURL=chunk-VIOAY7L2.js.map
|
|
@@ -10,13 +10,13 @@ import {
|
|
|
10
10
|
} from "./chunk-X4DVXBFY.js";
|
|
11
11
|
import {
|
|
12
12
|
resolveSource
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-GKJ5LPLW.js";
|
|
14
14
|
import {
|
|
15
15
|
downloadRelease
|
|
16
16
|
} from "./chunk-7JKNWDYN.js";
|
|
17
17
|
import {
|
|
18
18
|
backendDirIn
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-XZBZIDUC.js";
|
|
20
20
|
import {
|
|
21
21
|
BARE,
|
|
22
22
|
UsageError,
|
|
@@ -144,4 +144,4 @@ export {
|
|
|
144
144
|
gatedApiGroups,
|
|
145
145
|
asWorkspaceArchive
|
|
146
146
|
};
|
|
147
|
-
//# sourceMappingURL=chunk-
|
|
147
|
+
//# sourceMappingURL=chunk-XRPOPTL3.js.map
|
|
@@ -381,7 +381,7 @@ The refresh token may be expired or already spent \u2014 refresh tokens rotate o
|
|
|
381
381
|
);
|
|
382
382
|
}
|
|
383
383
|
assertHttpsOrigin(instance, "instance");
|
|
384
|
-
const { resolveScopedWorkspaceId } = await import("./workspace-
|
|
384
|
+
const { resolveScopedWorkspaceId } = await import("./workspace-HZWVT2GT.js");
|
|
385
385
|
const workspaceId = await resolveScopedWorkspaceId({ access_token: set.access_token, instance });
|
|
386
386
|
return { access_token: set.access_token, instance, workspaceId, credentialType: "oauth-refresh" };
|
|
387
387
|
}
|
|
@@ -499,7 +499,7 @@ async function warnIfUnpinnedMachineDefault(file, selection, pin, saved, path) {
|
|
|
499
499
|
if (selection.source !== "file-default" && selection.source !== "implicit") return;
|
|
500
500
|
const stored = file === null ? [] : profileNames(file);
|
|
501
501
|
if (stored.length < 2) return;
|
|
502
|
-
const { projectDirFrom } = await import("./xanosdk-project-
|
|
502
|
+
const { projectDirFrom } = await import("./xanosdk-project-NMWIYGIR.js");
|
|
503
503
|
if (projectDirFrom(process.cwd()) === void 0) return;
|
|
504
504
|
const target = targetOf(saved);
|
|
505
505
|
credentialWarning(
|
|
@@ -862,4 +862,4 @@ export {
|
|
|
862
862
|
notSignedIn,
|
|
863
863
|
assertStoredAuthHost
|
|
864
864
|
};
|
|
865
|
-
//# sourceMappingURL=chunk-
|
|
865
|
+
//# sourceMappingURL=chunk-XSXIYWKC.js.map
|
|
@@ -6,14 +6,14 @@ import {
|
|
|
6
6
|
} from "./chunk-HQPL34O6.js";
|
|
7
7
|
import {
|
|
8
8
|
ensureWorkspaceEnvGitignored
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-P5Y2NC4I.js";
|
|
10
10
|
import {
|
|
11
11
|
readVersion
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-GOREO2VQ.js";
|
|
13
13
|
import {
|
|
14
14
|
WORKSPACE_ENV_EXAMPLE_FILE,
|
|
15
15
|
renderWorkspaceEnvExample
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-T4R4VVSQ.js";
|
|
17
17
|
import {
|
|
18
18
|
parseSlot,
|
|
19
19
|
requireBackendSlot
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
existingProjectClashes,
|
|
27
27
|
isNonEmptyDir,
|
|
28
28
|
scaffoldProject
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-DB4DAAK3.js";
|
|
30
30
|
import {
|
|
31
31
|
inProject,
|
|
32
32
|
installModules,
|
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
preflightPackages,
|
|
35
35
|
rebaseLocalSpec,
|
|
36
36
|
renderXanoIndexWithModules
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-PKZHVJKM.js";
|
|
38
38
|
import {
|
|
39
39
|
npmViewVersion
|
|
40
40
|
} from "./chunk-ZFDZKNGG.js";
|
|
@@ -728,7 +728,7 @@ async function runInitCommand(args) {
|
|
|
728
728
|
}
|
|
729
729
|
const source = resolveFromSource(args.from);
|
|
730
730
|
if (source.kind === "file") await refuseUnknownProfileFlag(args, resolve(args.positionals[0] ?? "."));
|
|
731
|
-
const { runInitFromCommand } = await import("./codegen-command-
|
|
731
|
+
const { runInitFromCommand } = await import("./codegen-command-5IBRYKIA.js");
|
|
732
732
|
return runInitFromCommand(args, source);
|
|
733
733
|
}
|
|
734
734
|
rejectPullOnlyFlags(args);
|
|
@@ -792,7 +792,7 @@ async function runInitCommand(args) {
|
|
|
792
792
|
}
|
|
793
793
|
let scaffolded = false;
|
|
794
794
|
try {
|
|
795
|
-
const { discoverToolchainPlugins } = await import("./toolchain-modules-
|
|
795
|
+
const { discoverToolchainPlugins } = await import("./toolchain-modules-VL2HNPRJ.js");
|
|
796
796
|
const toolchain = await discoverToolchainPlugins(targetDir, { frozen: false, configuring: true });
|
|
797
797
|
const preset = flagFrontend !== void 0 ? flagFrontend : await resolveFrontendPreset(args.framework);
|
|
798
798
|
if (preset === null && flagFrontend === void 0) refuseFrontendOnlyFlags(args, "no frontend was chosen");
|
|
@@ -927,7 +927,7 @@ async function runInitCommand(args) {
|
|
|
927
927
|
const { skewedProjectSdk } = await import("./project-sdk-IYMFVQRC.js");
|
|
928
928
|
const installedSdk = skewedProjectSdk(targetDir, readVersion());
|
|
929
929
|
if (installedSdk !== void 0) {
|
|
930
|
-
const { reconcileWithInstalled } = await import("./upgrade-command-
|
|
930
|
+
const { reconcileWithInstalled } = await import("./upgrade-command-TGYC7EEZ.js");
|
|
931
931
|
const rendered = reconcileWithInstalled(targetDir);
|
|
932
932
|
if (rendered.length > 0) {
|
|
933
933
|
info(`Rendered ${rendered.join(", ")} with the installed @xano/sdk ${installedSdk.version} (this CLI is ${readVersion()}).`);
|
|
@@ -1071,14 +1071,14 @@ async function writeDerivedFiles(targetDir, renderIndexWithEnv, toolchain) {
|
|
|
1071
1071
|
const { readLockFile, writeLockFile } = await import("./io-PGTCBSIQ.js");
|
|
1072
1072
|
const { setDiagnosticSink } = await import("./diagnostics-FNVNRYMB.js");
|
|
1073
1073
|
const { planRouteManifest } = await import("./routes-manifest-RIZGSOZC.js");
|
|
1074
|
-
const { renderManifestFile, reportModuleFailures } = await import("./routes-manifest-file-
|
|
1075
|
-
const { isEnabled } = await import("./toolchain-modules-
|
|
1074
|
+
const { renderManifestFile, reportModuleFailures } = await import("./routes-manifest-file-I7COAGHC.js");
|
|
1075
|
+
const { isEnabled } = await import("./toolchain-modules-VL2HNPRJ.js");
|
|
1076
1076
|
const existing = existsSync(lockPath) ? readLockFile(lockPath) : void 0;
|
|
1077
1077
|
resetLockOverrides();
|
|
1078
1078
|
if (existing !== void 0) seedLockOverrides(existing);
|
|
1079
1079
|
const ctx = createLockContext(existing);
|
|
1080
1080
|
const { envNamesRead } = await import("./guards-4VPSEOAI.js");
|
|
1081
|
-
const { refreshEnvExample } = await import("./env-example-refresh-
|
|
1081
|
+
const { refreshEnvExample } = await import("./env-example-refresh-GS6PBNSU.js");
|
|
1082
1082
|
const def = await loadDefault(join(targetDir, XANO_DIR, "index.ts"));
|
|
1083
1083
|
if (!Xano.isXano(def)) return { written, env: declaredEnv };
|
|
1084
1084
|
const previousSink = setDiagnosticSink(() => {
|
|
@@ -1145,7 +1145,7 @@ async function refuseUnknownProfileFlag(args, targetDir) {
|
|
|
1145
1145
|
const file = readCredentialFile(path);
|
|
1146
1146
|
const stored = file === null ? [] : profileNames(file);
|
|
1147
1147
|
if (stored.includes(name)) return;
|
|
1148
|
-
const { ProfileNotFoundError } = await import("./token-
|
|
1148
|
+
const { ProfileNotFoundError } = await import("./token-2NAPZVNN.js");
|
|
1149
1149
|
const have = stored.length === 0 ? "Nothing is signed in on this machine." : `Stored profiles: ${quotedNames(stored)}.`;
|
|
1150
1150
|
throw new ProfileNotFoundError(
|
|
1151
1151
|
`No credential profile "${name}" in ${path} (from ${fromEnv ? `$${ENV_PROFILE}` : "--profile"}), so there is nothing to pin this project to. ${have} Run ${loginHint(name)} to add it, or name a stored one${fromEnv ? ` (or unset ${ENV_PROFILE})` : ""}.`,
|
|
@@ -1154,7 +1154,7 @@ async function refuseUnknownProfileFlag(args, targetDir) {
|
|
|
1154
1154
|
);
|
|
1155
1155
|
}
|
|
1156
1156
|
async function envCredentialSet() {
|
|
1157
|
-
const { envMetaCredentialVarsSet } = await import("./token-
|
|
1157
|
+
const { envMetaCredentialVarsSet } = await import("./token-2NAPZVNN.js");
|
|
1158
1158
|
return envMetaCredentialVarsSet().length > 0;
|
|
1159
1159
|
}
|
|
1160
1160
|
function loginNextStep(pin, projectDir) {
|
|
@@ -1209,7 +1209,7 @@ async function planProfilePin(args, targetDir, opts = {}) {
|
|
|
1209
1209
|
};
|
|
1210
1210
|
}
|
|
1211
1211
|
if (opts.credentialRead === true) {
|
|
1212
|
-
const { environmentCredentialVars } = await import("./token-
|
|
1212
|
+
const { environmentCredentialVars } = await import("./token-2NAPZVNN.js");
|
|
1213
1213
|
const env = environmentCredentialVars();
|
|
1214
1214
|
if (env.complete) {
|
|
1215
1215
|
return {
|
|
@@ -1232,7 +1232,7 @@ async function planProfilePin(args, targetDir, opts = {}) {
|
|
|
1232
1232
|
});
|
|
1233
1233
|
const stored = file === null ? [] : profileNames(file);
|
|
1234
1234
|
if (!stored.includes(selection.name)) {
|
|
1235
|
-
const env = stored.length === 0 ? (await import("./token-
|
|
1235
|
+
const env = stored.length === 0 ? (await import("./token-2NAPZVNN.js")).environmentCredentialVars() : void 0;
|
|
1236
1236
|
const storeEnv = env?.complete === true ? await storeEnvCredentialCommand(credentialPath, targetDir) : "";
|
|
1237
1237
|
return {
|
|
1238
1238
|
name: null,
|
|
@@ -1325,4 +1325,4 @@ export {
|
|
|
1325
1325
|
projectCli,
|
|
1326
1326
|
planProfilePin
|
|
1327
1327
|
};
|
|
1328
|
-
//# sourceMappingURL=chunk-
|
|
1328
|
+
//# sourceMappingURL=chunk-XY4XJRQQ.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
XANO_DIR
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-DB4DAAK3.js";
|
|
4
4
|
import {
|
|
5
5
|
projectRootFrom
|
|
6
6
|
} from "./chunk-HU7F56VF.js";
|
|
@@ -67,4 +67,4 @@ export {
|
|
|
67
67
|
backendDirIn,
|
|
68
68
|
resolveBackendDir
|
|
69
69
|
};
|
|
70
|
-
//# sourceMappingURL=chunk-
|
|
70
|
+
//# sourceMappingURL=chunk-XZBZIDUC.js.map
|
|
@@ -292,6 +292,25 @@ function isDefaultMesh0Block(v) {
|
|
|
292
292
|
([member, value]) => member === "inherit" ? value === true : /^(?:[a-z]+_)?logging$/.test(member) && value === "inherit"
|
|
293
293
|
);
|
|
294
294
|
}
|
|
295
|
+
var DEFAULT_TABLE_BLOCK_MEMBERS = {
|
|
296
|
+
audit: {
|
|
297
|
+
enabled: (value) => value === false,
|
|
298
|
+
mask: isEmptyArray,
|
|
299
|
+
exclude: isEmptyArray
|
|
300
|
+
},
|
|
301
|
+
audit_log: {
|
|
302
|
+
table_id: (value) => value === 0,
|
|
303
|
+
table_guid: (value) => value === ""
|
|
304
|
+
}
|
|
305
|
+
};
|
|
306
|
+
function isDefaultTableBlock(key, v) {
|
|
307
|
+
if (isEmptyArray(v)) return true;
|
|
308
|
+
if (v === null || typeof v !== "object" || Array.isArray(v)) return false;
|
|
309
|
+
const members = DEFAULT_TABLE_BLOCK_MEMBERS[key];
|
|
310
|
+
return Object.entries(v).every(
|
|
311
|
+
([member, value]) => Object.hasOwn(members, member) && members[member](value)
|
|
312
|
+
);
|
|
313
|
+
}
|
|
295
314
|
function isRawSqlContext(container) {
|
|
296
315
|
return container !== null && typeof container === "object" && typeof container.code === "string";
|
|
297
316
|
}
|
|
@@ -448,6 +467,11 @@ function isDefaultEnvelopeMember(key, v) {
|
|
|
448
467
|
// {@link isDefaultMesh0Block}.
|
|
449
468
|
case "mesh0":
|
|
450
469
|
return isDefaultMesh0Block(v);
|
|
470
|
+
// A table that is not audited and is not an audit log. See
|
|
471
|
+
// {@link isDefaultTableBlock}.
|
|
472
|
+
case "audit":
|
|
473
|
+
case "audit_log":
|
|
474
|
+
return isDefaultTableBlock(key, v);
|
|
451
475
|
// Two unrelated `offset`s, both at a default. An addon's is the response path
|
|
452
476
|
// its rows are spliced into, `""` when spliced at the root. A list context's
|
|
453
477
|
// paging offset is declared to default to 0. Neither carries information at
|
|
@@ -1074,4 +1098,4 @@ export {
|
|
|
1074
1098
|
filledContext,
|
|
1075
1099
|
normalize
|
|
1076
1100
|
};
|
|
1077
|
-
//# sourceMappingURL=chunk-
|
|
1101
|
+
//# sourceMappingURL=chunk-YYHARYXJ.js.map
|
package/dist/cli.js
CHANGED
|
@@ -34,17 +34,17 @@ import {
|
|
|
34
34
|
tsxEsmApiPath,
|
|
35
35
|
tsxRemedy,
|
|
36
36
|
withoutSecretValue
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-GOREO2VQ.js";
|
|
38
38
|
import "./chunk-XQO4A4Q4.js";
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import "./chunk-
|
|
39
|
+
import "./chunk-T4R4VVSQ.js";
|
|
40
|
+
import "./chunk-LQ77WMMX.js";
|
|
41
41
|
import "./chunk-PBK257CI.js";
|
|
42
|
-
import "./chunk-
|
|
42
|
+
import "./chunk-GKJ5LPLW.js";
|
|
43
43
|
import "./chunk-7JKNWDYN.js";
|
|
44
|
-
import "./chunk-
|
|
44
|
+
import "./chunk-E25PRQPL.js";
|
|
45
45
|
import "./chunk-VJTTTIIB.js";
|
|
46
|
-
import "./chunk-
|
|
47
|
-
import "./chunk-
|
|
46
|
+
import "./chunk-XSXIYWKC.js";
|
|
47
|
+
import "./chunk-LLCV3AYQ.js";
|
|
48
48
|
import "./chunk-5Y5HWQ2P.js";
|
|
49
49
|
import "./chunk-F3IA3YWI.js";
|
|
50
50
|
import "./chunk-LCOCRJ4K.js";
|
|
@@ -53,9 +53,9 @@ import "./chunk-YE7MHW45.js";
|
|
|
53
53
|
import "./chunk-2MNLRIOX.js";
|
|
54
54
|
import "./chunk-PFW7WFAT.js";
|
|
55
55
|
import "./chunk-CJDPSCMX.js";
|
|
56
|
-
import "./chunk-
|
|
56
|
+
import "./chunk-3NZIPHT5.js";
|
|
57
57
|
import "./chunk-VD7YTLWL.js";
|
|
58
|
-
import "./chunk-
|
|
58
|
+
import "./chunk-AFADLT6M.js";
|
|
59
59
|
import "./chunk-S42TFTM5.js";
|
|
60
60
|
import "./chunk-ZYJP6BOO.js";
|
|
61
61
|
import "./chunk-QO6BVGS5.js";
|
|
@@ -66,9 +66,9 @@ import "./chunk-622HUCZT.js";
|
|
|
66
66
|
import "./chunk-6S263KTM.js";
|
|
67
67
|
import "./chunk-IB6SKACE.js";
|
|
68
68
|
import "./chunk-EUUUMY7J.js";
|
|
69
|
-
import "./chunk-
|
|
70
|
-
import "./chunk-
|
|
71
|
-
import "./chunk-
|
|
69
|
+
import "./chunk-XZBZIDUC.js";
|
|
70
|
+
import "./chunk-DB4DAAK3.js";
|
|
71
|
+
import "./chunk-PKZHVJKM.js";
|
|
72
72
|
import "./chunk-B3NH5UBI.js";
|
|
73
73
|
import "./chunk-ZFDZKNGG.js";
|
|
74
74
|
import "./chunk-FWD7AL6N.js";
|