@xanots/sdk 0.0.7 → 0.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +15 -0
- package/dist/.build-fingerprint +1 -1
- package/dist/bin.js +4 -4
- package/dist/{chunk-JAVB27HL.js → chunk-2ROR3AZC.js} +2 -2
- package/dist/{chunk-2V3JUXTF.js → chunk-3MDKV2VA.js} +2 -2
- package/dist/{chunk-NJGNUVXR.js → chunk-64QK6JEK.js} +8 -4
- package/dist/{chunk-JUHKEAHJ.js → chunk-7AXQKABT.js} +3 -3
- package/dist/{chunk-DBHE35JM.js → chunk-C3M5K4ZH.js} +2 -2
- package/dist/{chunk-FDKR4YMN.js → chunk-CDAQUY5W.js} +2 -2
- package/dist/{chunk-5PDOAR77.js → chunk-EM5QPTXP.js} +7 -7
- package/dist/{chunk-FAWNUE2U.js → chunk-FEQTQ6PM.js} +28 -5
- package/dist/{chunk-7BUTRVKA.js → chunk-PYS7UNNW.js} +2 -2
- package/dist/{chunk-CL2H2WYE.js → chunk-SNO3KHCY.js} +14 -14
- package/dist/{chunk-H2DEDWQF.js → chunk-XP7S3VWY.js} +2 -2
- package/dist/cli.js +3 -3
- package/dist/{codegen-command-DYH4H4TD.js → codegen-command-U2W72DLG.js} +8 -8
- package/dist/{deploy-command-HM57BINV.js → deploy-command-QZ3GNLAD.js} +7 -7
- package/dist/{env-target-WA3BH5YU.js → env-target-NAYVEXBH.js} +2 -2
- package/dist/{ephemeral-command-SD2KLX4P.js → ephemeral-command-DL7EY4LL.js} +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +5 -5
- package/dist/{init-command-VIPWAQYS.js → init-command-4MG3UKUO.js} +5 -5
- package/dist/internal.d.ts +2 -2
- package/dist/internal.js +6 -5
- package/dist/{lock-commands-7VJKAXV6.js → lock-commands-Y4S4NUCE.js} +4 -4
- package/dist/node.d.ts +2 -2
- package/dist/node.js +6 -6
- package/dist/{release-command-3IET7YII.js → release-command-DN75G5GJ.js} +7 -7
- package/dist/{store-DfuWu1tE.d.ts → store-CUCBSYLj.d.ts} +7 -3
- package/dist/{test-command-S7SMRWMP.js → test-command-RRNNJ45I.js} +2 -2
- package/dist/{upgrade-command-TZYSGXP7.js → upgrade-command-XFOAWDI3.js} +5 -5
- package/dist/{validate-command-MMXEVHH3.js → validate-command-GLF5ZOOW.js} +5 -5
- package/dist/{workspace-command-X6L7HTXO.js → workspace-command-QCFELEGR.js} +8 -8
- package/llms/fields.md +3 -2
- package/llms-full.txt +4 -3
- package/llms.txt +1 -1
- package/manifest.json +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -11,6 +11,21 @@ listed here.
|
|
|
11
11
|
|
|
12
12
|
---
|
|
13
13
|
|
|
14
|
+
## 0.0.7 — Verb pairs on one path
|
|
15
|
+
|
|
16
|
+
_2026-08-29_ · [release notes](https://github.com/xanots/sdk/releases/tag/v0.0.7)
|
|
17
|
+
|
|
18
|
+
Queries are now identified the way the engine identifies them — by api group, verb, and name together — so `GET /items` and `POST /items` are two endpoints instead of one export error. The grounding docs an AI agent reads got a full pass for people arriving at Xano for the first time, and two silent-failure classes now surface at `export()` instead of on a live endpoint.
|
|
19
|
+
|
|
20
|
+
- A `GET` and `POST` on the same path no longer collide
|
|
21
|
+
- ⚠️ A query's verb and api group are now part of its identity
|
|
22
|
+
- ⚠️ `s.api.call` takes the query handle, not a bare name
|
|
23
|
+
- A tagged value in a template literal now fails the build instead of shipping garbage
|
|
24
|
+
- The grounding docs assume no prior Xano knowledge
|
|
25
|
+
- `xanots deploy` no longer loops on "re-run the deploy" when your session has expired
|
|
26
|
+
|
|
27
|
+
---
|
|
28
|
+
|
|
14
29
|
## 0.0.6 — The action identity fix
|
|
15
30
|
|
|
16
31
|
_2026-08-28_ · [release notes](https://github.com/xanots/sdk/releases/tag/v0.0.6)
|
package/dist/.build-fingerprint
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
049c8539dd912ef18bb98e2cff4c903b31ac405b1efe787dc50be5d15411935c
|
package/dist/bin.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
maybeNotifyUpdate
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-CDAQUY5W.js";
|
|
5
5
|
import {
|
|
6
6
|
readVersion,
|
|
7
7
|
run
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-SNO3KHCY.js";
|
|
9
9
|
import {
|
|
10
10
|
exitCodeOf,
|
|
11
11
|
reportFailure
|
|
@@ -16,9 +16,9 @@ import {
|
|
|
16
16
|
clearProgress,
|
|
17
17
|
error
|
|
18
18
|
} from "./chunk-EZG76F7R.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-FEQTQ6PM.js";
|
|
20
20
|
import "./chunk-OKNSR7MT.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-64QK6JEK.js";
|
|
22
22
|
import "./chunk-WHOJWOSV.js";
|
|
23
23
|
import "./chunk-5XZ744TS.js";
|
|
24
24
|
import "./chunk-7JDT4PBU.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
c,
|
|
3
3
|
resp
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-64QK6JEK.js";
|
|
5
5
|
|
|
6
6
|
// src/values/expect.ts
|
|
7
7
|
var TEST_EXPECT_TYPES = [
|
|
@@ -90,4 +90,4 @@ export {
|
|
|
90
90
|
TEST_EXPECT_TYPES,
|
|
91
91
|
expect
|
|
92
92
|
};
|
|
93
|
-
//# sourceMappingURL=chunk-
|
|
93
|
+
//# sourceMappingURL=chunk-2ROR3AZC.js.map
|
|
@@ -35,7 +35,7 @@ import {
|
|
|
35
35
|
registerKind,
|
|
36
36
|
tableColumns,
|
|
37
37
|
withFilters
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-64QK6JEK.js";
|
|
39
39
|
import {
|
|
40
40
|
assertPathParamInputs,
|
|
41
41
|
fillPathParams,
|
|
@@ -3734,4 +3734,4 @@ export {
|
|
|
3734
3734
|
workspaceKind,
|
|
3735
3735
|
workspaceConfig
|
|
3736
3736
|
};
|
|
3737
|
-
//# sourceMappingURL=chunk-
|
|
3737
|
+
//# sourceMappingURL=chunk-3MDKV2VA.js.map
|
|
@@ -1456,9 +1456,13 @@ var input = {
|
|
|
1456
1456
|
*
|
|
1457
1457
|
* It is NOT a stored file resource and cannot be written to a file column
|
|
1458
1458
|
* directly. Store it first and write what you get back:
|
|
1459
|
-
* `s.storage.create_image({ as: "img", value:
|
|
1460
|
-
*
|
|
1461
|
-
*
|
|
1459
|
+
* `s.storage.create_image({ as: "img", value: inp("avatar") })`, then write
|
|
1460
|
+
* `ref("img")` to an `f.image()` column. Use {@link input.image} and friends
|
|
1461
|
+
* only when the caller already sends a stored file resource.
|
|
1462
|
+
*
|
|
1463
|
+
* Read the upload with `inp`, NOT `ref("input.avatar")`: `ref` is the `var`
|
|
1464
|
+
* tag, so that spelling makes the engine look for a stack variable named
|
|
1465
|
+
* `input` and fail the request with `Missing var entry: input`.
|
|
1462
1466
|
*/
|
|
1463
1467
|
file: makeInput("file"),
|
|
1464
1468
|
/**
|
|
@@ -4079,4 +4083,4 @@ export {
|
|
|
4079
4083
|
serializeBundle,
|
|
4080
4084
|
emitBundle
|
|
4081
4085
|
};
|
|
4082
|
-
//# sourceMappingURL=chunk-
|
|
4086
|
+
//# sourceMappingURL=chunk-64QK6JEK.js.map
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
realtimeChannelGuid,
|
|
7
7
|
realtimeServerRefName,
|
|
8
8
|
resolveRealtimeServerRef
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-3MDKV2VA.js";
|
|
10
10
|
import {
|
|
11
11
|
assertCanonical,
|
|
12
12
|
assertOneOf,
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
resolveAuthRef,
|
|
26
26
|
resolveMockKeys,
|
|
27
27
|
warnLiveDatasource
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-64QK6JEK.js";
|
|
29
29
|
import {
|
|
30
30
|
encodeStatement
|
|
31
31
|
} from "./chunk-5XZ744TS.js";
|
|
@@ -667,4 +667,4 @@ export {
|
|
|
667
667
|
addonKind,
|
|
668
668
|
addon
|
|
669
669
|
};
|
|
670
|
-
//# sourceMappingURL=chunk-
|
|
670
|
+
//# sourceMappingURL=chunk-7AXQKABT.js.map
|
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
} from "./chunk-Q77KNEUL.js";
|
|
42
42
|
import {
|
|
43
43
|
readVersion
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-SNO3KHCY.js";
|
|
45
45
|
import {
|
|
46
46
|
UsageError
|
|
47
47
|
} from "./chunk-JQLR64UC.js";
|
|
@@ -470,4 +470,4 @@ export {
|
|
|
470
470
|
projectShellFiles,
|
|
471
471
|
runInitCommand
|
|
472
472
|
};
|
|
473
|
-
//# sourceMappingURL=chunk-
|
|
473
|
+
//# sourceMappingURL=chunk-C3M5K4ZH.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
readVersion
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-SNO3KHCY.js";
|
|
4
4
|
import {
|
|
5
5
|
atomicWrite
|
|
6
6
|
} from "./chunk-GNPVYOPB.js";
|
|
@@ -170,4 +170,4 @@ export {
|
|
|
170
170
|
upgradeCommand,
|
|
171
171
|
maybeNotifyUpdate
|
|
172
172
|
};
|
|
173
|
-
//# sourceMappingURL=chunk-
|
|
173
|
+
//# sourceMappingURL=chunk-CDAQUY5W.js.map
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
resolveFrontendPreset,
|
|
28
28
|
resolveThemeChoice,
|
|
29
29
|
sanitizeAppName
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-C3M5K4ZH.js";
|
|
31
31
|
import {
|
|
32
32
|
XANO_DIR,
|
|
33
33
|
resolveAiPresets,
|
|
@@ -35,7 +35,7 @@ import {
|
|
|
35
35
|
} from "./chunk-4PE4ZAB7.js";
|
|
36
36
|
import {
|
|
37
37
|
TEST_EXPECT_TYPES
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-2ROR3AZC.js";
|
|
39
39
|
import {
|
|
40
40
|
raw
|
|
41
41
|
} from "./chunk-LU7TRWMC.js";
|
|
@@ -67,11 +67,11 @@ import {
|
|
|
67
67
|
searchConstrainsRows,
|
|
68
68
|
tableTrigger,
|
|
69
69
|
workspaceTrigger
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-3MDKV2VA.js";
|
|
71
71
|
import {
|
|
72
72
|
loadDefault,
|
|
73
73
|
readVersion
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-SNO3KHCY.js";
|
|
75
75
|
import {
|
|
76
76
|
UsageError
|
|
77
77
|
} from "./chunk-JQLR64UC.js";
|
|
@@ -115,7 +115,7 @@ import {
|
|
|
115
115
|
sys,
|
|
116
116
|
toolset,
|
|
117
117
|
withFilters
|
|
118
|
-
} from "./chunk-
|
|
118
|
+
} from "./chunk-64QK6JEK.js";
|
|
119
119
|
import {
|
|
120
120
|
parsePathParams,
|
|
121
121
|
unboundPathParams
|
|
@@ -6765,7 +6765,7 @@ async function fetchBundle(args, source) {
|
|
|
6765
6765
|
);
|
|
6766
6766
|
}
|
|
6767
6767
|
const auth3 = await getAccessToken(args);
|
|
6768
|
-
const { resolveLive, fetchEphemeralBundle } = await import("./ephemeral-command-
|
|
6768
|
+
const { resolveLive, fetchEphemeralBundle } = await import("./ephemeral-command-DL7EY4LL.js");
|
|
6769
6769
|
const summary = await resolveLive(auth3, auth3.workspaceId, name);
|
|
6770
6770
|
step(`Reading ephemeral "${name}"`);
|
|
6771
6771
|
return {
|
|
@@ -7034,4 +7034,4 @@ export {
|
|
|
7034
7034
|
verifyCrashEntry,
|
|
7035
7035
|
blameGeneratedFile
|
|
7036
7036
|
};
|
|
7037
|
-
//# sourceMappingURL=chunk-
|
|
7037
|
+
//# sourceMappingURL=chunk-EM5QPTXP.js.map
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
middlewareEntryGuid,
|
|
13
13
|
stackReferencesAuth,
|
|
14
14
|
tableColumns
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-64QK6JEK.js";
|
|
16
16
|
import {
|
|
17
17
|
CANONICAL_PAYLOAD_KEYS,
|
|
18
18
|
REFERENCEABLE_KINDS,
|
|
@@ -566,7 +566,22 @@ function checkRealtimeDeliver(bundleType, sections, bag) {
|
|
|
566
566
|
);
|
|
567
567
|
}
|
|
568
568
|
}
|
|
569
|
-
var
|
|
569
|
+
var RESERVED_VAR_NAMESPACES = {
|
|
570
|
+
auth: (path) => `the authenticated caller \u2014 use \`auth("${tail(path)}")\``,
|
|
571
|
+
input: (path) => `a request input \u2014 use \`inp("${tail(path) || "name"}")\``,
|
|
572
|
+
env: (path) => `a workspace env var \u2014 use \`env("${tail(path) || "NAME"}")\` (or \`sys.*\` for a request-context value)`,
|
|
573
|
+
response: (path) => `the response under test \u2014 use \`resp("${tail(path)}")\``,
|
|
574
|
+
output: (path) => `a statement output \u2014 use \`out("${tail(path) || "name"}")\``,
|
|
575
|
+
error: (path) => `a caught error \u2014 use \`caught("${tail(path) || "message"}")\``,
|
|
576
|
+
trycatch: (path) => `a caught error \u2014 use \`caught("${tail(path) || "message"}")\``,
|
|
577
|
+
db: (path) => `a table column \u2014 use \`col("${tail(path) || "column"}")\``,
|
|
578
|
+
toolset: (path) => `a toolset binding \u2014 use \`toolset("${tail(path) || "token"}")\``,
|
|
579
|
+
var: (path, base) => `the variable namespace itself \u2014 drop the \`${base}.\` prefix (\`ref("${tail(path)}")\`)`
|
|
580
|
+
};
|
|
581
|
+
function tail(path) {
|
|
582
|
+
const dot = path.indexOf(".");
|
|
583
|
+
return dot === -1 ? "" : path.slice(dot + 1);
|
|
584
|
+
}
|
|
570
585
|
function collectBindings(statements) {
|
|
571
586
|
const bound = /* @__PURE__ */ new Set();
|
|
572
587
|
for (const statement of statements) {
|
|
@@ -620,14 +635,22 @@ function checkUnboundVarRefs(sections, bag) {
|
|
|
620
635
|
for (const path of refs) {
|
|
621
636
|
const dot = path.indexOf(".");
|
|
622
637
|
const base = dot === -1 ? path : path.slice(0, dot);
|
|
623
|
-
if (base === "" || base.startsWith("$")
|
|
638
|
+
if (base === "" || base.startsWith("$")) continue;
|
|
624
639
|
if (bound.has(base)) continue;
|
|
625
640
|
if (reported.has(base)) continue;
|
|
626
641
|
reported.add(base);
|
|
642
|
+
const reserved = RESERVED_VAR_NAMESPACES[base];
|
|
643
|
+
if (reserved) {
|
|
644
|
+
bag.error(
|
|
645
|
+
"stack.reserved-var-namespace",
|
|
646
|
+
`${owner}: \`ref("${path}")\` reads a STACK VARIABLE named \`${base}\`, and nothing in this stack binds one \u2014 so the engine raises \`Missing var entry: ${base}\` (ERROR_FATAL, HTTP 500) on the first request. \`ref\` only ever spells a stack variable. For ${reserved(path, base)}. (If you really do mean a stack variable named \`${base}\`, bind it first with \`as: "${base}"\` and this passes.)`
|
|
647
|
+
);
|
|
648
|
+
continue;
|
|
649
|
+
}
|
|
627
650
|
const suggestion = didYouMean(base, bound);
|
|
628
651
|
bag.warn(
|
|
629
652
|
"stack.unbound-var",
|
|
630
|
-
`${owner}: \`ref("${path}")\` names a variable that nothing in this stack binds with \`as\`. At runtime this raises \`
|
|
653
|
+
`${owner}: \`ref("${path}")\` names a variable that nothing in this stack binds with \`as\`. At runtime this raises \`Missing var entry: ${base}\` \u2014 an HTTP 500 on the deployed environment.${suggestion ? ` Did you mean "${suggestion}"?` : ""} Bind it first (\`as: "${base}"\` on the statement that produces it). Do NOT reach for \`ref(\u2026, { safe: true })\` here: that is for drilling into a value that may be null, and against a name that binds nothing it just turns the 500 into a silent \`null\`.`
|
|
631
654
|
);
|
|
632
655
|
}
|
|
633
656
|
}
|
|
@@ -1683,4 +1706,4 @@ export {
|
|
|
1683
1706
|
Xano,
|
|
1684
1707
|
workspace
|
|
1685
1708
|
};
|
|
1686
|
-
//# sourceMappingURL=chunk-
|
|
1709
|
+
//# sourceMappingURL=chunk-FEQTQ6PM.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
compileBundle
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-SNO3KHCY.js";
|
|
4
4
|
import {
|
|
5
5
|
missingArgument
|
|
6
6
|
} from "./chunk-JQLR64UC.js";
|
|
@@ -34,4 +34,4 @@ export {
|
|
|
34
34
|
assertBundleInput,
|
|
35
35
|
loadBundleText
|
|
36
36
|
};
|
|
37
|
-
//# sourceMappingURL=chunk-
|
|
37
|
+
//# sourceMappingURL=chunk-PYS7UNNW.js.map
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
Xano,
|
|
25
25
|
assertSeedIds,
|
|
26
26
|
coerceSeedRowValues
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-FEQTQ6PM.js";
|
|
28
28
|
import {
|
|
29
29
|
getCommand,
|
|
30
30
|
getSubcommand,
|
|
@@ -44,7 +44,7 @@ import {
|
|
|
44
44
|
pathSegment,
|
|
45
45
|
serializeBundle,
|
|
46
46
|
tableColumns
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-64QK6JEK.js";
|
|
48
48
|
import {
|
|
49
49
|
WORKSPACE_KEY,
|
|
50
50
|
createLockContext,
|
|
@@ -955,7 +955,7 @@ async function run(argv) {
|
|
|
955
955
|
return;
|
|
956
956
|
}
|
|
957
957
|
if (command === "init") {
|
|
958
|
-
const { runInitCommand } = await import("./init-command-
|
|
958
|
+
const { runInitCommand } = await import("./init-command-4MG3UKUO.js");
|
|
959
959
|
return runInitCommand(args);
|
|
960
960
|
}
|
|
961
961
|
if (command === "completion") {
|
|
@@ -970,11 +970,11 @@ async function run(argv) {
|
|
|
970
970
|
return runCompletionCommand(shell);
|
|
971
971
|
}
|
|
972
972
|
if (command === "upgrade") {
|
|
973
|
-
const { runUpgradeCommand } = await import("./upgrade-command-
|
|
973
|
+
const { runUpgradeCommand } = await import("./upgrade-command-XFOAWDI3.js");
|
|
974
974
|
return runUpgradeCommand(args);
|
|
975
975
|
}
|
|
976
976
|
if (command === "lock") {
|
|
977
|
-
const { runLockCommand } = await import("./lock-commands-
|
|
977
|
+
const { runLockCommand } = await import("./lock-commands-Y4S4NUCE.js");
|
|
978
978
|
return runLockCommand(args);
|
|
979
979
|
}
|
|
980
980
|
if (command === "login") {
|
|
@@ -986,15 +986,15 @@ async function run(argv) {
|
|
|
986
986
|
return runLogoutCommand(args);
|
|
987
987
|
}
|
|
988
988
|
if (command === "deploy") {
|
|
989
|
-
const { runDeployCommand } = await import("./deploy-command-
|
|
989
|
+
const { runDeployCommand } = await import("./deploy-command-QZ3GNLAD.js");
|
|
990
990
|
return runDeployCommand(args);
|
|
991
991
|
}
|
|
992
992
|
if (command === "ephemeral") {
|
|
993
|
-
const { runEphemeralCommand } = await import("./ephemeral-command-
|
|
993
|
+
const { runEphemeralCommand } = await import("./ephemeral-command-DL7EY4LL.js");
|
|
994
994
|
return runEphemeralCommand(args);
|
|
995
995
|
}
|
|
996
996
|
if (command === "release") {
|
|
997
|
-
const { runReleaseCommand } = await import("./release-command-
|
|
997
|
+
const { runReleaseCommand } = await import("./release-command-DN75G5GJ.js");
|
|
998
998
|
return runReleaseCommand(args);
|
|
999
999
|
}
|
|
1000
1000
|
if (command === "sandbox") {
|
|
@@ -1010,21 +1010,21 @@ async function run(argv) {
|
|
|
1010
1010
|
return runSandboxExportCommand(args);
|
|
1011
1011
|
}
|
|
1012
1012
|
if (args.subcommand === "codegen") {
|
|
1013
|
-
const { runCodegenCommand } = await import("./codegen-command-
|
|
1013
|
+
const { runCodegenCommand } = await import("./codegen-command-U2W72DLG.js");
|
|
1014
1014
|
return runCodegenCommand(args, { kind: "sandbox" });
|
|
1015
1015
|
}
|
|
1016
1016
|
throw unknownSubcommand("sandbox", args.subcommand);
|
|
1017
1017
|
}
|
|
1018
1018
|
if (command === "test") {
|
|
1019
|
-
const { runTestCommand } = await import("./test-command-
|
|
1019
|
+
const { runTestCommand } = await import("./test-command-RRNNJ45I.js");
|
|
1020
1020
|
return runTestCommand(args);
|
|
1021
1021
|
}
|
|
1022
1022
|
if (command === "workspace") {
|
|
1023
|
-
const { runWorkspaceCommand } = await import("./workspace-command-
|
|
1023
|
+
const { runWorkspaceCommand } = await import("./workspace-command-QCFELEGR.js");
|
|
1024
1024
|
return runWorkspaceCommand(args);
|
|
1025
1025
|
}
|
|
1026
1026
|
if (command === "codegen") {
|
|
1027
|
-
const { runCodegenCommand } = await import("./codegen-command-
|
|
1027
|
+
const { runCodegenCommand } = await import("./codegen-command-U2W72DLG.js");
|
|
1028
1028
|
return runCodegenCommand(args, { kind: "file" });
|
|
1029
1029
|
}
|
|
1030
1030
|
if (command === "profile") {
|
|
@@ -1052,7 +1052,7 @@ async function run(argv) {
|
|
|
1052
1052
|
throw unknownCommand("push");
|
|
1053
1053
|
}
|
|
1054
1054
|
if (command === "validate") {
|
|
1055
|
-
const { runValidateCommand } = await import("./validate-command-
|
|
1055
|
+
const { runValidateCommand } = await import("./validate-command-GLF5ZOOW.js");
|
|
1056
1056
|
return runValidateCommand(args);
|
|
1057
1057
|
}
|
|
1058
1058
|
if (command !== "compile" && command !== "export" && command !== "paths" && command !== "routes") {
|
|
@@ -1317,4 +1317,4 @@ export {
|
|
|
1317
1317
|
exportBundleJson,
|
|
1318
1318
|
compileBundle
|
|
1319
1319
|
};
|
|
1320
|
-
//# sourceMappingURL=chunk-
|
|
1320
|
+
//# sourceMappingURL=chunk-SNO3KHCY.js.map
|
|
@@ -66,7 +66,7 @@ async function resolveMetaTarget(auth, opts, deps = {}) {
|
|
|
66
66
|
case "sandbox":
|
|
67
67
|
return resolveSandbox(auth);
|
|
68
68
|
case "ephemeral": {
|
|
69
|
-
const resolveLive = deps.resolveLive ?? (await import("./ephemeral-command-
|
|
69
|
+
const resolveLive = deps.resolveLive ?? (await import("./ephemeral-command-DL7EY4LL.js")).resolveLive;
|
|
70
70
|
return resolveEphemeral(auth, opts.name, { ...deps, resolveLive });
|
|
71
71
|
}
|
|
72
72
|
}
|
|
@@ -75,4 +75,4 @@ async function resolveMetaTarget(auth, opts, deps = {}) {
|
|
|
75
75
|
export {
|
|
76
76
|
resolveMetaTarget
|
|
77
77
|
};
|
|
78
|
-
//# sourceMappingURL=chunk-
|
|
78
|
+
//# sourceMappingURL=chunk-XP7S3VWY.js.map
|
package/dist/cli.js
CHANGED
|
@@ -8,14 +8,14 @@ import {
|
|
|
8
8
|
resolveHelpRequest,
|
|
9
9
|
resolveLockPath,
|
|
10
10
|
run
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-SNO3KHCY.js";
|
|
12
12
|
import "./chunk-JQLR64UC.js";
|
|
13
13
|
import "./chunk-OYMR5AMJ.js";
|
|
14
14
|
import "./chunk-GNPVYOPB.js";
|
|
15
15
|
import "./chunk-EZG76F7R.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-FEQTQ6PM.js";
|
|
17
17
|
import "./chunk-OKNSR7MT.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-64QK6JEK.js";
|
|
19
19
|
import "./chunk-WHOJWOSV.js";
|
|
20
20
|
import "./chunk-5XZ744TS.js";
|
|
21
21
|
import "./chunk-7JDT4PBU.js";
|
|
@@ -4,32 +4,32 @@ import {
|
|
|
4
4
|
isMissingDependencyError,
|
|
5
5
|
runCodegenCommand,
|
|
6
6
|
verifyCrashEntry
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-EM5QPTXP.js";
|
|
8
8
|
import "./chunk-ZOYMZZ3S.js";
|
|
9
9
|
import "./chunk-3QW5NFZJ.js";
|
|
10
10
|
import "./chunk-BKDJN76G.js";
|
|
11
11
|
import "./chunk-QTNO2WD6.js";
|
|
12
12
|
import "./chunk-ZUTSMMAG.js";
|
|
13
13
|
import "./chunk-X4DVXBFY.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-C3M5K4ZH.js";
|
|
15
15
|
import "./chunk-4PE4ZAB7.js";
|
|
16
16
|
import "./chunk-ZSYZTGJH.js";
|
|
17
17
|
import "./chunk-3IGNIP6R.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-2ROR3AZC.js";
|
|
19
19
|
import "./chunk-LU7TRWMC.js";
|
|
20
20
|
import "./chunk-MU3O43L2.js";
|
|
21
21
|
import "./chunk-P5C2YKAM.js";
|
|
22
22
|
import "./chunk-Q77KNEUL.js";
|
|
23
23
|
import "./chunk-4BXJGVZ3.js";
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-3MDKV2VA.js";
|
|
25
|
+
import "./chunk-SNO3KHCY.js";
|
|
26
26
|
import "./chunk-JQLR64UC.js";
|
|
27
27
|
import "./chunk-OYMR5AMJ.js";
|
|
28
28
|
import "./chunk-GNPVYOPB.js";
|
|
29
29
|
import "./chunk-EZG76F7R.js";
|
|
30
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-FEQTQ6PM.js";
|
|
31
31
|
import "./chunk-OKNSR7MT.js";
|
|
32
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-64QK6JEK.js";
|
|
33
33
|
import "./chunk-WHOJWOSV.js";
|
|
34
34
|
import "./chunk-5XZ744TS.js";
|
|
35
35
|
import "./chunk-7JDT4PBU.js";
|
|
@@ -40,4 +40,4 @@ export {
|
|
|
40
40
|
runCodegenCommand,
|
|
41
41
|
verifyCrashEntry
|
|
42
42
|
};
|
|
43
|
-
//# sourceMappingURL=codegen-command-
|
|
43
|
+
//# sourceMappingURL=codegen-command-U2W72DLG.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
assertBundleInput,
|
|
6
6
|
loadBundleText
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-PYS7UNNW.js";
|
|
8
8
|
import {
|
|
9
9
|
createEphemeral,
|
|
10
10
|
getEphemeral,
|
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
fetchOrExplain,
|
|
43
43
|
httpFailure
|
|
44
44
|
} from "./chunk-3IGNIP6R.js";
|
|
45
|
-
import "./chunk-
|
|
45
|
+
import "./chunk-SNO3KHCY.js";
|
|
46
46
|
import {
|
|
47
47
|
assertWritableDest
|
|
48
48
|
} from "./chunk-JQLR64UC.js";
|
|
@@ -62,9 +62,9 @@ import {
|
|
|
62
62
|
warn,
|
|
63
63
|
withSpinner
|
|
64
64
|
} from "./chunk-EZG76F7R.js";
|
|
65
|
-
import "./chunk-
|
|
65
|
+
import "./chunk-FEQTQ6PM.js";
|
|
66
66
|
import "./chunk-OKNSR7MT.js";
|
|
67
|
-
import "./chunk-
|
|
67
|
+
import "./chunk-64QK6JEK.js";
|
|
68
68
|
import "./chunk-WHOJWOSV.js";
|
|
69
69
|
import "./chunk-5XZ744TS.js";
|
|
70
70
|
import "./chunk-7JDT4PBU.js";
|
|
@@ -158,7 +158,7 @@ async function runDeployedTests(auth, dest, summary, args) {
|
|
|
158
158
|
}
|
|
159
159
|
}
|
|
160
160
|
async function runTestsOrThrow(auth, dest, summary, args) {
|
|
161
|
-
const { runSuite, EXIT_TESTS_FAILED } = await import("./test-command-
|
|
161
|
+
const { runSuite, EXIT_TESTS_FAILED } = await import("./test-command-RRNNJ45I.js");
|
|
162
162
|
let target;
|
|
163
163
|
if (dest === "ephemeral") {
|
|
164
164
|
if (summary.url === void 0) {
|
|
@@ -168,7 +168,7 @@ async function runTestsOrThrow(auth, dest, summary, args) {
|
|
|
168
168
|
const name = summary.ephemeral?.name;
|
|
169
169
|
target = { base: summary.url, workspaceId: 1, label: name ? `ephemeral ${name}` : "the ephemeral", env: name };
|
|
170
170
|
} else {
|
|
171
|
-
const { resolveMetaTarget } = await import("./env-target-
|
|
171
|
+
const { resolveMetaTarget } = await import("./env-target-NAYVEXBH.js");
|
|
172
172
|
target = await resolveMetaTarget(auth, { dest: "sandbox" });
|
|
173
173
|
}
|
|
174
174
|
const outcomes = await runSuite(auth, target, {
|
|
@@ -448,4 +448,4 @@ export {
|
|
|
448
448
|
runDeployedTests,
|
|
449
449
|
verifyMicroservices
|
|
450
450
|
};
|
|
451
|
-
//# sourceMappingURL=deploy-command-
|
|
451
|
+
//# sourceMappingURL=deploy-command-QZ3GNLAD.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveMetaTarget
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-XP7S3VWY.js";
|
|
4
4
|
import "./chunk-MDXR5E5Q.js";
|
|
5
5
|
import "./chunk-3EYUR3TX.js";
|
|
6
6
|
import "./chunk-NDZFBZHC.js";
|
|
@@ -13,4 +13,4 @@ import "./chunk-EZG76F7R.js";
|
|
|
13
13
|
export {
|
|
14
14
|
resolveMetaTarget
|
|
15
15
|
};
|
|
16
|
-
//# sourceMappingURL=env-target-
|
|
16
|
+
//# sourceMappingURL=env-target-NAYVEXBH.js.map
|
|
@@ -90,7 +90,7 @@ async function runEphemeralCommand(args) {
|
|
|
90
90
|
case "impersonate":
|
|
91
91
|
return runImpersonate(args);
|
|
92
92
|
case "codegen": {
|
|
93
|
-
const { runCodegenCommand } = await import("./codegen-command-
|
|
93
|
+
const { runCodegenCommand } = await import("./codegen-command-U2W72DLG.js");
|
|
94
94
|
return runCodegenCommand(args, { kind: "ephemeral" });
|
|
95
95
|
}
|
|
96
96
|
default:
|
|
@@ -239,4 +239,4 @@ export {
|
|
|
239
239
|
resolveLive,
|
|
240
240
|
runEphemeralCommand
|
|
241
241
|
};
|
|
242
|
-
//# sourceMappingURL=ephemeral-command-
|
|
242
|
+
//# sourceMappingURL=ephemeral-command-DL7EY4LL.js.map
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ef as Condition, eg as FilterResults, eh as ElementResult, ei as SameArrayResult, ej as GroupedArrayResult, ek as AgentResultOf, b3 as AddonDef, el as OutputPath, cZ as TableDef, em as QualifiedCol, bx as DbEval, cY as SortDirective, bz as DbWhere, en as OutputRoot, bM as InferRow, eo as AggregateRow, ep as EvalFields, eq as OutputAuthored, cb as MicroserviceDef, ah as generated, F as FunctionDef, co as QueryHandle } from './store-
|
|
2
|
-
export { b4 as AddonXdo, A as AdoptChange, a as AdoptResult, b5 as AgentDef, b6 as AgentHandle, b7 as AgentOutput, b8 as AgentSettingsXdo, b9 as AgentXdo, ba as AmbientBindings, bb as AnthropicLlm, bc as ApiGroupDef, bd as ApiGroupXdo, be as AuthRef, bf as Authored, B as Bundle, b as BundlePayload, c as BundleType, bg as Capturable, b0 as CaptureRecord, a_ as CaptureValue, bh as ChannelConversationDef, bi as ChannelDeliveryDef, bj as ChannelDeliveryGuarantee, bk as ChannelPublishDef, bl as ChannelPublishWho, bm as ChannelRateLimitDef, bn as ColumnDef, bo as Comparison, bp as ContainerEnv, bq as ContainerPort, br as ContainerResources, bs as ContainerVolume, bt as CorsConfig, bu as CorsMode, bv as DatabaseActions, bw as DatabaseInputs, by as DbEvalFilter, bA as ErrorInputs, bB as ExceptionPolicy, bC as FieldAccessor, bD as FieldRule, bE as GoogleGenAiLlm, bF as HistoryInput, bG as HttpVerb, bH as IndexDef, bI as IndexLang, bJ as IndexOp, bK as IndexType, bL as IndexXdo, bN as InputDescriptor, bO as InputOptions, bP as IteratingBindings, bQ as KnowledgeDef, bR as KnowledgeDirSource, bS as KnowledgeFileSource, bT as KnowledgeMode, bU as KnowledgeType, bV as LAMBDA_BINDINGS, bW as LAMBDA_CODE_FILTERS, bX as LAMBDA_GLOBALS, bY as LAMBDA_MODULE_GLOBALS, bZ as LAMBDA_STATEMENTS, b1 as LambdaBindings, b_ as LambdaBody, aZ as LambdaOptions, a$ as LambdaSurface, b$ as LlmPrompt, c0 as LlmProvider, c1 as LlmSettings, g as LockEntry, h as LockExportContext, i as LockFile, M as Manifest, j as ManifestField, k as ManifestKind, l as ManifestStatement, c2 as ManifestValue, c3 as McpPathOptions, c4 as McpServerDef, c5 as McpServerHandle, c6 as McpServerXdo, m as MergeResult, c7 as MessageDeliverTo, c8 as MicroserviceChart, c9 as MicroserviceConfig, ca as MicroserviceContainer, cc as MicroserviceDeployment, cd as MicroserviceIngress, ce as MicroserviceRegistryAuth, cf as MicroserviceVolume, cg as MicroserviceXdo, ch as MiddlewareAttach, ci as MiddlewareAttachEntry, cj as MiddlewareDef, ck as MiddlewareXdo, O as ObjectKind, cl as OpenAiLlm, n as PayloadArrayKey, cm as QueryDef, cn as QueryFilterName, cp as QueryResponseType, cq as QueryXdo, cr as RealtimeActions, cs as RealtimeChannelActions, ct as RealtimeChannelDef, cu as RealtimeChannelHandle, cv as RealtimeChannelRef, cw as RealtimeChannelTriggerInputs, cx as RealtimeChannelXdo, cy as RealtimeClient, cz as RealtimeInputs, cA as RealtimeMessageDef, cB as RealtimeMessageXdo, cC as RealtimeServerActions, cD as RealtimeServerDef, cE as RealtimeServerHandle, cF as RealtimeServerRef, cG as RealtimeServerTriggerInputs, cH as RealtimeServerXdo, cI as RealtimeUrlOptions, R as RenameResult, cJ as ResultStrategy, cK as Route, cL as RowOf, cM as ScheduleDef, cN as SchemaCols, cO as SchemaDef, cP as SearchComparison, cQ as SearchGroup, cR as SearchNode, cS as SearchOp, cT as SearchParamValue, cU as SeedFileSource, cV as SeedRow, cW as SeedSource, cX as SortDir, S as StatementSpec, c_ as TableXdo, c$ as TaskDef, d0 as TaskXdo, d1 as ToolDef, d2 as ToolXdo, d3 as ToolsetBaseDef, d4 as ToolsetBaseXdo, d5 as ToolsetInputs, d6 as ToolsetToolEntry, d7 as ToolsetToolRef, d8 as TriggerDef, d9 as TriggerObjType, da as TriggerXdo, db as ViewDef, dc as ViewXdo, dd as WorkflowTestDef, de as WorkflowTestXdo, df as WorkspaceActions, dg as WorkspaceConfigDef, dh as WorkspaceConfigXdo, di as WorkspaceHistoryDef, dj as WorkspaceHistoryXdo, dk as WorkspaceInputs, dl as WorkspaceMiddlewareDef, dm as WorkspaceMiddlewareXdo, b2 as Xano, dn as XanoFreeLlm, dp as addon, dq as agent, dr as agentTrigger, ds as and, dt as apiGroup, du as assertLambdaBody, dv as bitwiseAnd, dw as bitwiseOr, dx as bitwiseXor, dy as cmp, dz as defineFunction, dA as emit, dB as emitBundle, dC as errorTrigger, dD as expr, dE as fl, dF as input, dG as knowledge, dH as knowledgeDir, dI as knowledgeFile, er as lam, dJ as mathAdd, dK as mathDiv, dL as mathMul, dM as mathSub, dN as mcpServer, dO as mcpServerTrigger, dP as microservice, dQ as middleware, dR as mixed, dS as objectEntries, dT as objectKeys, dU as objectValues, dV as or, dW as query, dX as realtimeChannel, dY as realtimeChannelTrigger, dZ as realtimeMessage, d_ as realtimeServer, d$ as realtimeServerTrigger, e0 as realtimeTrigger, e1 as resetLockOverrides, e2 as seedFile, e3 as seedLockOverrides, e4 as table, e5 as tableTrigger, e6 as task, e7 as textAppend, e8 as textPrepend, e9 as toSearchParams, ea as tool, eb as workflowTest, ec as workspace, ed as workspaceConfig, ee as workspaceTrigger } from './store-
|
|
1
|
+
import { ef as Condition, eg as FilterResults, eh as ElementResult, ei as SameArrayResult, ej as GroupedArrayResult, ek as AgentResultOf, b3 as AddonDef, el as OutputPath, cZ as TableDef, em as QualifiedCol, bx as DbEval, cY as SortDirective, bz as DbWhere, en as OutputRoot, bM as InferRow, eo as AggregateRow, ep as EvalFields, eq as OutputAuthored, cb as MicroserviceDef, ah as generated, F as FunctionDef, co as QueryHandle } from './store-CUCBSYLj.js';
|
|
2
|
+
export { b4 as AddonXdo, A as AdoptChange, a as AdoptResult, b5 as AgentDef, b6 as AgentHandle, b7 as AgentOutput, b8 as AgentSettingsXdo, b9 as AgentXdo, ba as AmbientBindings, bb as AnthropicLlm, bc as ApiGroupDef, bd as ApiGroupXdo, be as AuthRef, bf as Authored, B as Bundle, b as BundlePayload, c as BundleType, bg as Capturable, b0 as CaptureRecord, a_ as CaptureValue, bh as ChannelConversationDef, bi as ChannelDeliveryDef, bj as ChannelDeliveryGuarantee, bk as ChannelPublishDef, bl as ChannelPublishWho, bm as ChannelRateLimitDef, bn as ColumnDef, bo as Comparison, bp as ContainerEnv, bq as ContainerPort, br as ContainerResources, bs as ContainerVolume, bt as CorsConfig, bu as CorsMode, bv as DatabaseActions, bw as DatabaseInputs, by as DbEvalFilter, bA as ErrorInputs, bB as ExceptionPolicy, bC as FieldAccessor, bD as FieldRule, bE as GoogleGenAiLlm, bF as HistoryInput, bG as HttpVerb, bH as IndexDef, bI as IndexLang, bJ as IndexOp, bK as IndexType, bL as IndexXdo, bN as InputDescriptor, bO as InputOptions, bP as IteratingBindings, bQ as KnowledgeDef, bR as KnowledgeDirSource, bS as KnowledgeFileSource, bT as KnowledgeMode, bU as KnowledgeType, bV as LAMBDA_BINDINGS, bW as LAMBDA_CODE_FILTERS, bX as LAMBDA_GLOBALS, bY as LAMBDA_MODULE_GLOBALS, bZ as LAMBDA_STATEMENTS, b1 as LambdaBindings, b_ as LambdaBody, aZ as LambdaOptions, a$ as LambdaSurface, b$ as LlmPrompt, c0 as LlmProvider, c1 as LlmSettings, g as LockEntry, h as LockExportContext, i as LockFile, M as Manifest, j as ManifestField, k as ManifestKind, l as ManifestStatement, c2 as ManifestValue, c3 as McpPathOptions, c4 as McpServerDef, c5 as McpServerHandle, c6 as McpServerXdo, m as MergeResult, c7 as MessageDeliverTo, c8 as MicroserviceChart, c9 as MicroserviceConfig, ca as MicroserviceContainer, cc as MicroserviceDeployment, cd as MicroserviceIngress, ce as MicroserviceRegistryAuth, cf as MicroserviceVolume, cg as MicroserviceXdo, ch as MiddlewareAttach, ci as MiddlewareAttachEntry, cj as MiddlewareDef, ck as MiddlewareXdo, O as ObjectKind, cl as OpenAiLlm, n as PayloadArrayKey, cm as QueryDef, cn as QueryFilterName, cp as QueryResponseType, cq as QueryXdo, cr as RealtimeActions, cs as RealtimeChannelActions, ct as RealtimeChannelDef, cu as RealtimeChannelHandle, cv as RealtimeChannelRef, cw as RealtimeChannelTriggerInputs, cx as RealtimeChannelXdo, cy as RealtimeClient, cz as RealtimeInputs, cA as RealtimeMessageDef, cB as RealtimeMessageXdo, cC as RealtimeServerActions, cD as RealtimeServerDef, cE as RealtimeServerHandle, cF as RealtimeServerRef, cG as RealtimeServerTriggerInputs, cH as RealtimeServerXdo, cI as RealtimeUrlOptions, R as RenameResult, cJ as ResultStrategy, cK as Route, cL as RowOf, cM as ScheduleDef, cN as SchemaCols, cO as SchemaDef, cP as SearchComparison, cQ as SearchGroup, cR as SearchNode, cS as SearchOp, cT as SearchParamValue, cU as SeedFileSource, cV as SeedRow, cW as SeedSource, cX as SortDir, S as StatementSpec, c_ as TableXdo, c$ as TaskDef, d0 as TaskXdo, d1 as ToolDef, d2 as ToolXdo, d3 as ToolsetBaseDef, d4 as ToolsetBaseXdo, d5 as ToolsetInputs, d6 as ToolsetToolEntry, d7 as ToolsetToolRef, d8 as TriggerDef, d9 as TriggerObjType, da as TriggerXdo, db as ViewDef, dc as ViewXdo, dd as WorkflowTestDef, de as WorkflowTestXdo, df as WorkspaceActions, dg as WorkspaceConfigDef, dh as WorkspaceConfigXdo, di as WorkspaceHistoryDef, dj as WorkspaceHistoryXdo, dk as WorkspaceInputs, dl as WorkspaceMiddlewareDef, dm as WorkspaceMiddlewareXdo, b2 as Xano, dn as XanoFreeLlm, dp as addon, dq as agent, dr as agentTrigger, ds as and, dt as apiGroup, du as assertLambdaBody, dv as bitwiseAnd, dw as bitwiseOr, dx as bitwiseXor, dy as cmp, dz as defineFunction, dA as emit, dB as emitBundle, dC as errorTrigger, dD as expr, dE as fl, dF as input, dG as knowledge, dH as knowledgeDir, dI as knowledgeFile, er as lam, dJ as mathAdd, dK as mathDiv, dL as mathMul, dM as mathSub, dN as mcpServer, dO as mcpServerTrigger, dP as microservice, dQ as middleware, dR as mixed, dS as objectEntries, dT as objectKeys, dU as objectValues, dV as or, dW as query, dX as realtimeChannel, dY as realtimeChannelTrigger, dZ as realtimeMessage, d_ as realtimeServer, d$ as realtimeServerTrigger, e0 as realtimeTrigger, e1 as resetLockOverrides, e2 as seedFile, e3 as seedLockOverrides, e4 as table, e5 as tableTrigger, e6 as task, e7 as textAppend, e8 as textPrepend, e9 as toSearchParams, ea as tool, eb as workflowTest, ec as workspace, ed as workspaceConfig, ee as workspaceTrigger } from './store-CUCBSYLj.js';
|
|
3
3
|
import { a2 as StatementAnnotations, a1 as Statement, y as FromFieldMap, w as FilterXdo, V as Value, S as ObjValue, aH as Prettify, x as FilteredValue, X as RefValue, aM as AsShapeBrand, aj as XanoFileRef, a4 as StatementOptions, T as ObjectRef, P as ObjInput, F as FunctionXdo } from './response-CVAE2kMj.js';
|
|
4
4
|
export { B as BrandOpts, c as BrandValue, C as CacheXdo, f as CaughtField, h as ConditionalContext, j as ConditionalElifContext, D as DecimalMethod, E as EmailMethod, k as ExprGroup, l as ExprNode, m as ExprOperand, n as ExprStatement, o as FieldAccess, p as FieldDescriptor, q as FieldMap, s as FieldOpts, u as FieldStyleType, v as FieldXdo, H as HistoryXdo, I as InputXdo, z as IntMethod, L as ListBoundsXdo, M as MethodArg, A as MethodOpts, G as MethodSpec, J as MethodXdo, K as MockEntry, N as MockMap, O as MockXdo, Q as ObjMember, U as PasswordMethod, W as PersistedFunctionRow, Y as RegexValue, Z as ResponseDef, _ as ResultItemXdo, $ as RowFromFieldMap, a0 as StackItemXdo, a3 as StatementInputXdo, a5 as TAGS, a6 as TEST_EXPECT_TYPES, a7 as TableRefMethod, a8 as Tag, a9 as TaggedValue, aa as TestDef, ab as TestExpect, ac as TestExpectType, ad as TestXdo, ae as TextFormat, af as TextMethod, ag as TypeBrand, ah as ValueOf, ai as VectorMethod, ak as XanoGeoPosition, al as XanoGeoValue, am as annotate, an as auth, ao as c, ap as caught, aq as col, ar as env, as as expect, at as f, au as filter, av as inp, aw as obj, ax as out, ay as ref, az as resp, aA as setting, aB as statements, aC as sys, aD as test, aE as toolset, aF as withFilters } from './response-CVAE2kMj.js';
|
|
5
5
|
|
package/dist/index.js
CHANGED
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
TEST_EXPECT_TYPES,
|
|
7
7
|
expect
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-2ROR3AZC.js";
|
|
9
9
|
import {
|
|
10
10
|
addon,
|
|
11
11
|
agent,
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
task,
|
|
18
18
|
tool,
|
|
19
19
|
workflowTest
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-7AXQKABT.js";
|
|
21
21
|
import {
|
|
22
22
|
actionCall,
|
|
23
23
|
actionPackageCall,
|
|
@@ -100,11 +100,11 @@ import {
|
|
|
100
100
|
workflowTestCall,
|
|
101
101
|
workspaceConfig,
|
|
102
102
|
workspaceTrigger
|
|
103
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-3MDKV2VA.js";
|
|
104
104
|
import {
|
|
105
105
|
Xano,
|
|
106
106
|
workspace
|
|
107
|
-
} from "./chunk-
|
|
107
|
+
} from "./chunk-FEQTQ6PM.js";
|
|
108
108
|
import {
|
|
109
109
|
LAMBDA_BINDINGS,
|
|
110
110
|
LAMBDA_CODE_FILTERS,
|
|
@@ -148,7 +148,7 @@ import {
|
|
|
148
148
|
toSearchParams,
|
|
149
149
|
toolset,
|
|
150
150
|
withFilters
|
|
151
|
-
} from "./chunk-
|
|
151
|
+
} from "./chunk-64QK6JEK.js";
|
|
152
152
|
import "./chunk-WHOJWOSV.js";
|
|
153
153
|
import {
|
|
154
154
|
annotate,
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
projectShellFiles,
|
|
3
3
|
runInitCommand,
|
|
4
4
|
sanitizeAppName
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-C3M5K4ZH.js";
|
|
6
6
|
import {
|
|
7
7
|
resolveAiFlags
|
|
8
8
|
} from "./chunk-4PE4ZAB7.js";
|
|
@@ -10,14 +10,14 @@ import "./chunk-ZSYZTGJH.js";
|
|
|
10
10
|
import "./chunk-MU3O43L2.js";
|
|
11
11
|
import "./chunk-P5C2YKAM.js";
|
|
12
12
|
import "./chunk-Q77KNEUL.js";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-SNO3KHCY.js";
|
|
14
14
|
import "./chunk-JQLR64UC.js";
|
|
15
15
|
import "./chunk-OYMR5AMJ.js";
|
|
16
16
|
import "./chunk-GNPVYOPB.js";
|
|
17
17
|
import "./chunk-EZG76F7R.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-FEQTQ6PM.js";
|
|
19
19
|
import "./chunk-OKNSR7MT.js";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-64QK6JEK.js";
|
|
21
21
|
import "./chunk-WHOJWOSV.js";
|
|
22
22
|
import "./chunk-5XZ744TS.js";
|
|
23
23
|
import "./chunk-7JDT4PBU.js";
|
|
@@ -27,4 +27,4 @@ export {
|
|
|
27
27
|
runInitCommand,
|
|
28
28
|
sanitizeAppName
|
|
29
29
|
};
|
|
30
|
-
//# sourceMappingURL=init-command-
|
|
30
|
+
//# sourceMappingURL=init-command-4MG3UKUO.js.map
|
package/dist/internal.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { F as FunctionXdo } from './response-CVAE2kMj.js';
|
|
2
2
|
export { a as FIELD_METHODS, R as REFERENCEABLE_KINDS, d as deriveGuid, e as encodeResponse, b as encodeStatement, g as getStatementFactory, i as isRegisteredStatement, r as resolveRef, t as toNestedFields } from './response-CVAE2kMj.js';
|
|
3
|
-
import { S as StatementSpec, F as FunctionDef, O as ObjectKind } from './store-
|
|
4
|
-
export { A as AdoptChange, a as AdoptResult, B as Bundle, b as BundlePayload, c as BundleType, d as FILTER_NAMES, G as GENERATED_STATEMENT_NAMES, K as KNOWLEDGE_DIR, e as KNOWLEDGE_FILE, L as LLMS_TXT, f as LOCK_VERSION, g as LockEntry, h as LockExportContext, i as LockFile, M as Manifest, j as ManifestField, k as ManifestKind, l as ManifestStatement, m as MergeResult, P as PAYLOAD_ARRAY_KEYS, n as PayloadArrayKey, Q as QUERY_EXPRESSION_FILTERS, R as RenameResult, T as TOTAL_OBJECT_KINDS, V as VECTOR_FILTERS, W as WORKSPACE_KEY, o as addonKind, p as adoptFromBundle, q as agentKind, r as apiGroupKind, s as buildBundle, t as buildManifest, u as buildMiddlewareBlock, v as buildWorkspaceHistory, w as calcSignatureJson, x as channelPathParams, y as createLockContext, z as declaredServicePorts, C as emptyLock, D as encodeAddon, E as encodeAgent, H as encodeApiGroup, I as encodeColumn, J as encodeContainerHistory, N as encodeFromSpec, U as encodeHistory, X as encodeIndex, Y as encodeKnowledge, Z as encodeMcpServer, _ as encodeMicroservice, $ as encodeMiddleware, a0 as encodeMiddlewareEntry, a1 as encodeMiddlewareList, a2 as encodeObject, a3 as encodeQuery, a4 as encodeRealtimeChannel, a5 as encodeRealtimeMessage, a6 as encodeRealtimeServer, a7 as encodeSchedule, a8 as encodeTable, a9 as encodeTask, aa as encodeTool, ab as encodeToolRefs, ac as encodeToolsetBase, ad as encodeTrigger, ae as encodeView, af as encodeWorkflowTest, ag as encodeWorkspaceConfig, ah as generatedStatements, ai as getKind, aj as getLockedCanonical, ak as getLockedGuid, al as isKnowledgeDirSource, am as isKnowledgeFileSource, an as isLockSeeded, ao as isQueryExpressionFilter, ap as isRegisteredKind, aq as knowledgeKind, ar as lockKey, as as mcpServerKind, at as mergeObserved, au as microserviceKind, av as middlewareKind, aw as mintCanonical, ax as parseLock, ay as phpJsonEncode, az as queryKind, aA as realtimeChannelGuid, aB as realtimeChannelKind, aC as realtimeMessageGuid, aD as realtimeMessageKind, aE as realtimeServerKind, aF as recordObserved, aG as registerKind, aH as registerSpec, aI as registeredKinds, aJ as renameLockEntry, aK as renderDocs, aL as renderLlmsTxt, aM as resolveAuthRef, aN as resolvePayloadKey, aO as resolveRealtimeServerCanonical, aP as resolveToolsetCanonical, aQ as serializeBundle, aR as serializeLock, aS as tableKind, aT as taskKind, aU as toolKind, aV as triggerKind, aW as validateLockModel, aX as workflowTestKind, aY as workspaceKind } from './store-
|
|
3
|
+
import { S as StatementSpec, F as FunctionDef, O as ObjectKind } from './store-CUCBSYLj.js';
|
|
4
|
+
export { A as AdoptChange, a as AdoptResult, B as Bundle, b as BundlePayload, c as BundleType, d as FILTER_NAMES, G as GENERATED_STATEMENT_NAMES, K as KNOWLEDGE_DIR, e as KNOWLEDGE_FILE, L as LLMS_TXT, f as LOCK_VERSION, g as LockEntry, h as LockExportContext, i as LockFile, M as Manifest, j as ManifestField, k as ManifestKind, l as ManifestStatement, m as MergeResult, P as PAYLOAD_ARRAY_KEYS, n as PayloadArrayKey, Q as QUERY_EXPRESSION_FILTERS, R as RenameResult, T as TOTAL_OBJECT_KINDS, V as VECTOR_FILTERS, W as WORKSPACE_KEY, o as addonKind, p as adoptFromBundle, q as agentKind, r as apiGroupKind, s as buildBundle, t as buildManifest, u as buildMiddlewareBlock, v as buildWorkspaceHistory, w as calcSignatureJson, x as channelPathParams, y as createLockContext, z as declaredServicePorts, C as emptyLock, D as encodeAddon, E as encodeAgent, H as encodeApiGroup, I as encodeColumn, J as encodeContainerHistory, N as encodeFromSpec, U as encodeHistory, X as encodeIndex, Y as encodeKnowledge, Z as encodeMcpServer, _ as encodeMicroservice, $ as encodeMiddleware, a0 as encodeMiddlewareEntry, a1 as encodeMiddlewareList, a2 as encodeObject, a3 as encodeQuery, a4 as encodeRealtimeChannel, a5 as encodeRealtimeMessage, a6 as encodeRealtimeServer, a7 as encodeSchedule, a8 as encodeTable, a9 as encodeTask, aa as encodeTool, ab as encodeToolRefs, ac as encodeToolsetBase, ad as encodeTrigger, ae as encodeView, af as encodeWorkflowTest, ag as encodeWorkspaceConfig, ah as generatedStatements, ai as getKind, aj as getLockedCanonical, ak as getLockedGuid, al as isKnowledgeDirSource, am as isKnowledgeFileSource, an as isLockSeeded, ao as isQueryExpressionFilter, ap as isRegisteredKind, aq as knowledgeKind, ar as lockKey, as as mcpServerKind, at as mergeObserved, au as microserviceKind, av as middlewareKind, aw as mintCanonical, ax as parseLock, ay as phpJsonEncode, az as queryKind, aA as realtimeChannelGuid, aB as realtimeChannelKind, aC as realtimeMessageGuid, aD as realtimeMessageKind, aE as realtimeServerKind, aF as recordObserved, aG as registerKind, aH as registerSpec, aI as registeredKinds, aJ as renameLockEntry, aK as renderDocs, aL as renderLlmsTxt, aM as resolveAuthRef, aN as resolvePayloadKey, aO as resolveRealtimeServerCanonical, aP as resolveToolsetCanonical, aQ as serializeBundle, aR as serializeLock, aS as tableKind, aT as taskKind, aU as toolKind, aV as triggerKind, aW as validateLockModel, aX as workflowTestKind, aY as workspaceKind } from './store-CUCBSYLj.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* AUTO-GENERATED by scripts/codegen.ts — DO NOT EDIT BY HAND.
|
package/dist/internal.js
CHANGED
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
taskKind,
|
|
34
34
|
toolKind,
|
|
35
35
|
workflowTestKind
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-7AXQKABT.js";
|
|
37
37
|
import {
|
|
38
38
|
GENERATED_SPECS,
|
|
39
39
|
GENERATED_STATEMENT_NAMES,
|
|
@@ -55,7 +55,7 @@ import {
|
|
|
55
55
|
registerSpec,
|
|
56
56
|
triggerKind,
|
|
57
57
|
workspaceKind
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-3MDKV2VA.js";
|
|
59
59
|
import {
|
|
60
60
|
COMMANDS,
|
|
61
61
|
FLAGS,
|
|
@@ -109,7 +109,7 @@ import {
|
|
|
109
109
|
serializeBundle,
|
|
110
110
|
tableKind,
|
|
111
111
|
toNestedFields
|
|
112
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-64QK6JEK.js";
|
|
113
113
|
import "./chunk-WHOJWOSV.js";
|
|
114
114
|
import {
|
|
115
115
|
encodeStatement,
|
|
@@ -1501,8 +1501,9 @@ function renderSections(m) {
|
|
|
1501
1501
|
"typed forms over `input.json()` when the shape is known.",
|
|
1502
1502
|
"**A file reaches a column in two steps.** `input.file` is the RAW upload (the request's",
|
|
1503
1503
|
"multipart/base64 bytes) and cannot be written to a file column directly: store it first \u2014",
|
|
1504
|
-
'`s.storage.create_image({ as: "img", value:
|
|
1505
|
-
'(
|
|
1504
|
+
'`s.storage.create_image({ as: "img", value: inp("avatar"), access: "public" })`',
|
|
1505
|
+
'(read the upload with `inp`; `ref("input.avatar")` spells a stack VARIABLE named',
|
|
1506
|
+
"`input` and fails the request with `Missing var entry: input`) \u2014 then write",
|
|
1506
1507
|
'`ref("img")` into the `f.image()` cell with `s.db.add`/`edit`. `access` defaults to',
|
|
1507
1508
|
'`"public"` (a guessable URL): pass `"private"` and hand out `s.storage.sign_private_url`',
|
|
1508
1509
|
"results for anything user-scoped. `create_video`/`create_audio`/`create_attachment` are",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
loadDefault
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-SNO3KHCY.js";
|
|
4
4
|
import {
|
|
5
5
|
UsageError,
|
|
6
6
|
missingArgument,
|
|
@@ -14,9 +14,9 @@ import "./chunk-GNPVYOPB.js";
|
|
|
14
14
|
import "./chunk-EZG76F7R.js";
|
|
15
15
|
import {
|
|
16
16
|
Xano
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-FEQTQ6PM.js";
|
|
18
18
|
import "./chunk-OKNSR7MT.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-64QK6JEK.js";
|
|
20
20
|
import "./chunk-WHOJWOSV.js";
|
|
21
21
|
import "./chunk-5XZ744TS.js";
|
|
22
22
|
import {
|
|
@@ -229,4 +229,4 @@ ${lines}
|
|
|
229
229
|
export {
|
|
230
230
|
runLockCommand
|
|
231
231
|
};
|
|
232
|
-
//# sourceMappingURL=lock-commands-
|
|
232
|
+
//# sourceMappingURL=lock-commands-Y4S4NUCE.js.map
|
package/dist/node.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { aZ as LambdaOptions, a_ as CaptureValue, a$ as LambdaSurface, b0 as CaptureRecord, b1 as LambdaBindings, F as FunctionDef, b2 as Xano, i as LockFile } from './store-
|
|
2
|
-
export { b3 as AddonDef, b4 as AddonXdo, A as AdoptChange, a as AdoptResult, b5 as AgentDef, b6 as AgentHandle, b7 as AgentOutput, b8 as AgentSettingsXdo, b9 as AgentXdo, ba as AmbientBindings, bb as AnthropicLlm, bc as ApiGroupDef, bd as ApiGroupXdo, be as AuthRef, bf as Authored, B as Bundle, b as BundlePayload, c as BundleType, bg as Capturable, bh as ChannelConversationDef, bi as ChannelDeliveryDef, bj as ChannelDeliveryGuarantee, bk as ChannelPublishDef, bl as ChannelPublishWho, bm as ChannelRateLimitDef, bn as ColumnDef, bo as Comparison, bp as ContainerEnv, bq as ContainerPort, br as ContainerResources, bs as ContainerVolume, bt as CorsConfig, bu as CorsMode, bv as DatabaseActions, bw as DatabaseInputs, bx as DbEval, by as DbEvalFilter, bz as DbWhere, bA as ErrorInputs, bB as ExceptionPolicy, bC as FieldAccessor, bD as FieldRule, bE as GoogleGenAiLlm, bF as HistoryInput, bG as HttpVerb, bH as IndexDef, bI as IndexLang, bJ as IndexOp, bK as IndexType, bL as IndexXdo, bM as InferRow, bN as InputDescriptor, bO as InputOptions, bP as IteratingBindings, bQ as KnowledgeDef, bR as KnowledgeDirSource, bS as KnowledgeFileSource, bT as KnowledgeMode, bU as KnowledgeType, bV as LAMBDA_BINDINGS, bW as LAMBDA_CODE_FILTERS, bX as LAMBDA_GLOBALS, bY as LAMBDA_MODULE_GLOBALS, bZ as LAMBDA_STATEMENTS, b_ as LambdaBody, b$ as LlmPrompt, c0 as LlmProvider, c1 as LlmSettings, g as LockEntry, h as LockExportContext, M as Manifest, j as ManifestField, k as ManifestKind, l as ManifestStatement, c2 as ManifestValue, c3 as McpPathOptions, c4 as McpServerDef, c5 as McpServerHandle, c6 as McpServerXdo, m as MergeResult, c7 as MessageDeliverTo, c8 as MicroserviceChart, c9 as MicroserviceConfig, ca as MicroserviceContainer, cb as MicroserviceDef, cc as MicroserviceDeployment, cd as MicroserviceIngress, ce as MicroserviceRegistryAuth, cf as MicroserviceVolume, cg as MicroserviceXdo, ch as MiddlewareAttach, ci as MiddlewareAttachEntry, cj as MiddlewareDef, ck as MiddlewareXdo, O as ObjectKind, cl as OpenAiLlm, n as PayloadArrayKey, cm as QueryDef, cn as QueryFilterName, co as QueryHandle, cp as QueryResponseType, cq as QueryXdo, cr as RealtimeActions, cs as RealtimeChannelActions, ct as RealtimeChannelDef, cu as RealtimeChannelHandle, cv as RealtimeChannelRef, cw as RealtimeChannelTriggerInputs, cx as RealtimeChannelXdo, cy as RealtimeClient, cz as RealtimeInputs, cA as RealtimeMessageDef, cB as RealtimeMessageXdo, cC as RealtimeServerActions, cD as RealtimeServerDef, cE as RealtimeServerHandle, cF as RealtimeServerRef, cG as RealtimeServerTriggerInputs, cH as RealtimeServerXdo, cI as RealtimeUrlOptions, R as RenameResult, cJ as ResultStrategy, cK as Route, cL as RowOf, cM as ScheduleDef, cN as SchemaCols, cO as SchemaDef, cP as SearchComparison, cQ as SearchGroup, cR as SearchNode, cS as SearchOp, cT as SearchParamValue, cU as SeedFileSource, cV as SeedRow, cW as SeedSource, cX as SortDir, cY as SortDirective, S as StatementSpec, cZ as TableDef, c_ as TableXdo, c$ as TaskDef, d0 as TaskXdo, d1 as ToolDef, d2 as ToolXdo, d3 as ToolsetBaseDef, d4 as ToolsetBaseXdo, d5 as ToolsetInputs, d6 as ToolsetToolEntry, d7 as ToolsetToolRef, d8 as TriggerDef, d9 as TriggerObjType, da as TriggerXdo, db as ViewDef, dc as ViewXdo, dd as WorkflowTestDef, de as WorkflowTestXdo, df as WorkspaceActions, dg as WorkspaceConfigDef, dh as WorkspaceConfigXdo, di as WorkspaceHistoryDef, dj as WorkspaceHistoryXdo, dk as WorkspaceInputs, dl as WorkspaceMiddlewareDef, dm as WorkspaceMiddlewareXdo, dn as XanoFreeLlm, dp as addon, dq as agent, dr as agentTrigger, ds as and, dt as apiGroup, du as assertLambdaBody, dv as bitwiseAnd, dw as bitwiseOr, dx as bitwiseXor, dy as cmp, dz as defineFunction, dA as emit, dB as emitBundle, dC as errorTrigger, dD as expr, dE as fl, dF as input, dG as knowledge, dH as knowledgeDir, dI as knowledgeFile, dJ as mathAdd, dK as mathDiv, dL as mathMul, dM as mathSub, dN as mcpServer, dO as mcpServerTrigger, dP as microservice, dQ as middleware, dR as mixed, dS as objectEntries, dT as objectKeys, dU as objectValues, dV as or, dW as query, dX as realtimeChannel, dY as realtimeChannelTrigger, dZ as realtimeMessage, d_ as realtimeServer, d$ as realtimeServerTrigger, e0 as realtimeTrigger, e1 as resetLockOverrides, e2 as seedFile, e3 as seedLockOverrides, e4 as table, e5 as tableTrigger, e6 as task, e7 as textAppend, e8 as textPrepend, e9 as toSearchParams, ea as tool, eb as workflowTest, ec as workspace, ed as workspaceConfig, ee as workspaceTrigger } from './store-
|
|
1
|
+
import { aZ as LambdaOptions, a_ as CaptureValue, a$ as LambdaSurface, b0 as CaptureRecord, b1 as LambdaBindings, F as FunctionDef, b2 as Xano, i as LockFile } from './store-CUCBSYLj.js';
|
|
2
|
+
export { b3 as AddonDef, b4 as AddonXdo, A as AdoptChange, a as AdoptResult, b5 as AgentDef, b6 as AgentHandle, b7 as AgentOutput, b8 as AgentSettingsXdo, b9 as AgentXdo, ba as AmbientBindings, bb as AnthropicLlm, bc as ApiGroupDef, bd as ApiGroupXdo, be as AuthRef, bf as Authored, B as Bundle, b as BundlePayload, c as BundleType, bg as Capturable, bh as ChannelConversationDef, bi as ChannelDeliveryDef, bj as ChannelDeliveryGuarantee, bk as ChannelPublishDef, bl as ChannelPublishWho, bm as ChannelRateLimitDef, bn as ColumnDef, bo as Comparison, bp as ContainerEnv, bq as ContainerPort, br as ContainerResources, bs as ContainerVolume, bt as CorsConfig, bu as CorsMode, bv as DatabaseActions, bw as DatabaseInputs, bx as DbEval, by as DbEvalFilter, bz as DbWhere, bA as ErrorInputs, bB as ExceptionPolicy, bC as FieldAccessor, bD as FieldRule, bE as GoogleGenAiLlm, bF as HistoryInput, bG as HttpVerb, bH as IndexDef, bI as IndexLang, bJ as IndexOp, bK as IndexType, bL as IndexXdo, bM as InferRow, bN as InputDescriptor, bO as InputOptions, bP as IteratingBindings, bQ as KnowledgeDef, bR as KnowledgeDirSource, bS as KnowledgeFileSource, bT as KnowledgeMode, bU as KnowledgeType, bV as LAMBDA_BINDINGS, bW as LAMBDA_CODE_FILTERS, bX as LAMBDA_GLOBALS, bY as LAMBDA_MODULE_GLOBALS, bZ as LAMBDA_STATEMENTS, b_ as LambdaBody, b$ as LlmPrompt, c0 as LlmProvider, c1 as LlmSettings, g as LockEntry, h as LockExportContext, M as Manifest, j as ManifestField, k as ManifestKind, l as ManifestStatement, c2 as ManifestValue, c3 as McpPathOptions, c4 as McpServerDef, c5 as McpServerHandle, c6 as McpServerXdo, m as MergeResult, c7 as MessageDeliverTo, c8 as MicroserviceChart, c9 as MicroserviceConfig, ca as MicroserviceContainer, cb as MicroserviceDef, cc as MicroserviceDeployment, cd as MicroserviceIngress, ce as MicroserviceRegistryAuth, cf as MicroserviceVolume, cg as MicroserviceXdo, ch as MiddlewareAttach, ci as MiddlewareAttachEntry, cj as MiddlewareDef, ck as MiddlewareXdo, O as ObjectKind, cl as OpenAiLlm, n as PayloadArrayKey, cm as QueryDef, cn as QueryFilterName, co as QueryHandle, cp as QueryResponseType, cq as QueryXdo, cr as RealtimeActions, cs as RealtimeChannelActions, ct as RealtimeChannelDef, cu as RealtimeChannelHandle, cv as RealtimeChannelRef, cw as RealtimeChannelTriggerInputs, cx as RealtimeChannelXdo, cy as RealtimeClient, cz as RealtimeInputs, cA as RealtimeMessageDef, cB as RealtimeMessageXdo, cC as RealtimeServerActions, cD as RealtimeServerDef, cE as RealtimeServerHandle, cF as RealtimeServerRef, cG as RealtimeServerTriggerInputs, cH as RealtimeServerXdo, cI as RealtimeUrlOptions, R as RenameResult, cJ as ResultStrategy, cK as Route, cL as RowOf, cM as ScheduleDef, cN as SchemaCols, cO as SchemaDef, cP as SearchComparison, cQ as SearchGroup, cR as SearchNode, cS as SearchOp, cT as SearchParamValue, cU as SeedFileSource, cV as SeedRow, cW as SeedSource, cX as SortDir, cY as SortDirective, S as StatementSpec, cZ as TableDef, c_ as TableXdo, c$ as TaskDef, d0 as TaskXdo, d1 as ToolDef, d2 as ToolXdo, d3 as ToolsetBaseDef, d4 as ToolsetBaseXdo, d5 as ToolsetInputs, d6 as ToolsetToolEntry, d7 as ToolsetToolRef, d8 as TriggerDef, d9 as TriggerObjType, da as TriggerXdo, db as ViewDef, dc as ViewXdo, dd as WorkflowTestDef, de as WorkflowTestXdo, df as WorkspaceActions, dg as WorkspaceConfigDef, dh as WorkspaceConfigXdo, di as WorkspaceHistoryDef, dj as WorkspaceHistoryXdo, dk as WorkspaceInputs, dl as WorkspaceMiddlewareDef, dm as WorkspaceMiddlewareXdo, dn as XanoFreeLlm, dp as addon, dq as agent, dr as agentTrigger, ds as and, dt as apiGroup, du as assertLambdaBody, dv as bitwiseAnd, dw as bitwiseOr, dx as bitwiseXor, dy as cmp, dz as defineFunction, dA as emit, dB as emitBundle, dC as errorTrigger, dD as expr, dE as fl, dF as input, dG as knowledge, dH as knowledgeDir, dI as knowledgeFile, dJ as mathAdd, dK as mathDiv, dL as mathMul, dM as mathSub, dN as mcpServer, dO as mcpServerTrigger, dP as microservice, dQ as middleware, dR as mixed, dS as objectEntries, dT as objectKeys, dU as objectValues, dV as or, dW as query, dX as realtimeChannel, dY as realtimeChannelTrigger, dZ as realtimeMessage, d_ as realtimeServer, d$ as realtimeServerTrigger, e0 as realtimeTrigger, e1 as resetLockOverrides, e2 as seedFile, e3 as seedLockOverrides, e4 as table, e5 as tableTrigger, e6 as task, e7 as textAppend, e8 as textPrepend, e9 as toSearchParams, ea as tool, eb as workflowTest, ec as workspace, ed as workspaceConfig, ee as workspaceTrigger } from './store-CUCBSYLj.js';
|
|
3
3
|
export { ActionCallArgs, AddonCallArgs, AddonSpec, AgentRunResult, AiAgentRunArgs, AnyAddonDef, AnyFunctionDef, AnyQueryDef, AnyTableDef, ApiCallArgs, ApplyFilter, ApplyFilters, ArrayMapArgs, CloudJobArgs, CloudJobAwaitArgs, CloudJobStatusArgs, CreateAuthTokenArgs, DbAddArgs, DbAddOrEditArgs, DbAggregate, DbAggregatePaging, DbBind, DbBulkAddArgs, DbBulkDeleteArgs, DbBulkWriteArgs, DbDelArgs, DbDirectQueryArgs, DbDistinct, DbEditArgs, DbExternal, DbExternalPermissions, DbExternalQueryArgs, DbField, DbGetArgs, DbHasArgs, DbJoin, DbPaging, DbPatchArgs, DbQueryArgs, DbResponseType, DbReturnType, DbSchemaArgs, DbTransactionArgs, DbTruncateArgs, ExpectToThrowArgs, ExternalSqlEngine, ForArgs, ForeachArgs, FunctionCallArgs, FunctionRunArgs, GetRawInputArgs, HeaderMap, HttpMethod, InferInput, InferResponse, IpLookupArgs, IpLookupResult, MiddlewareCallArgs, RealtimeEventArgs, StackTupleWidened, SwitchArgs, SwitchCaseArgs, TaskCallArgs, ToolCallArgs, TriggerCallArgs, TryCatchArgs, WhileArgs, WorkflowTestCallArgs, actionCall, actionPackageCall, addonCall, aiAgentRun, apiCall, arrayMap, arrayUnion, cloudJob, cloudJobAwait, cloudJobStatus, comment, compile, conditional, createAuthToken, dbAdd, dbAddOrEdit, dbBulkAdd, dbBulkDelete, dbBulkPatch, dbBulkUpdate, dbDel, dbDirectQuery, dbEdit, dbExternalQuery, dbGet, dbHas, dbPatch, dbQuery, dbSchema, dbTransaction, dbTruncate, debugLog, die, expectToThrow, fileUrl, forLoop, foreachBreak, foreachContinue, foreachLoop, foreachRemove, functionCall, functionRun, getRawInput, group, ignored, ipLookup, middlewareCall, postProcess, realtimeEvent, returnValue, s, setVar, switchCase, switchStatement, taskCall, toolCall, triggerCall, tryCatch, updateVar, whileLoop, workflowTestCall } from './index.js';
|
|
4
4
|
import { V as Value } from './response-CVAE2kMj.js';
|
|
5
5
|
export { B as BrandOpts, c as BrandValue, C as CacheXdo, f as CaughtField, h as ConditionalContext, j as ConditionalElifContext, D as DecimalMethod, E as EmailMethod, k as ExprGroup, l as ExprNode, m as ExprOperand, n as ExprStatement, o as FieldAccess, p as FieldDescriptor, q as FieldMap, s as FieldOpts, u as FieldStyleType, v as FieldXdo, w as FilterXdo, x as FilteredValue, y as FromFieldMap, F as FunctionXdo, H as HistoryXdo, I as InputXdo, z as IntMethod, L as ListBoundsXdo, M as MethodArg, A as MethodOpts, G as MethodSpec, J as MethodXdo, K as MockEntry, N as MockMap, O as MockXdo, P as ObjInput, Q as ObjMember, S as ObjValue, T as ObjectRef, U as PasswordMethod, W as PersistedFunctionRow, X as RefValue, Y as RegexValue, Z as ResponseDef, _ as ResultItemXdo, $ as RowFromFieldMap, a0 as StackItemXdo, a1 as Statement, a2 as StatementAnnotations, a3 as StatementInputXdo, a4 as StatementOptions, a5 as TAGS, a6 as TEST_EXPECT_TYPES, a7 as TableRefMethod, a8 as Tag, a9 as TaggedValue, aa as TestDef, ab as TestExpect, ac as TestExpectType, ad as TestXdo, ae as TextFormat, af as TextMethod, ag as TypeBrand, ah as ValueOf, ai as VectorMethod, aj as XanoFileRef, ak as XanoGeoPosition, al as XanoGeoValue, am as annotate, an as auth, ao as c, ap as caught, aq as col, ar as env, as as expect, at as f, au as filter, av as inp, aw as obj, ax as out, ay as ref, az as resp, aA as setting, aB as statements, aC as sys, aD as test, aE as toolset, aF as withFilters } from './response-CVAE2kMj.js';
|
package/dist/node.js
CHANGED
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
TEST_EXPECT_TYPES,
|
|
7
7
|
expect
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-2ROR3AZC.js";
|
|
9
9
|
import {
|
|
10
10
|
addon,
|
|
11
11
|
agent,
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
task,
|
|
18
18
|
tool,
|
|
19
19
|
workflowTest
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-7AXQKABT.js";
|
|
21
21
|
import {
|
|
22
22
|
actionCall,
|
|
23
23
|
actionPackageCall,
|
|
@@ -100,7 +100,7 @@ import {
|
|
|
100
100
|
workflowTestCall,
|
|
101
101
|
workspaceConfig,
|
|
102
102
|
workspaceTrigger
|
|
103
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-3MDKV2VA.js";
|
|
104
104
|
import {
|
|
105
105
|
exportBundleJson,
|
|
106
106
|
loadDefault,
|
|
@@ -108,7 +108,7 @@ import {
|
|
|
108
108
|
run,
|
|
109
109
|
writeArtifact,
|
|
110
110
|
writeBundle
|
|
111
|
-
} from "./chunk-
|
|
111
|
+
} from "./chunk-SNO3KHCY.js";
|
|
112
112
|
import "./chunk-JQLR64UC.js";
|
|
113
113
|
import {
|
|
114
114
|
readLockFile,
|
|
@@ -119,7 +119,7 @@ import "./chunk-EZG76F7R.js";
|
|
|
119
119
|
import {
|
|
120
120
|
Xano,
|
|
121
121
|
workspace
|
|
122
|
-
} from "./chunk-
|
|
122
|
+
} from "./chunk-FEQTQ6PM.js";
|
|
123
123
|
import "./chunk-OKNSR7MT.js";
|
|
124
124
|
import {
|
|
125
125
|
LAMBDA_BINDINGS,
|
|
@@ -167,7 +167,7 @@ import {
|
|
|
167
167
|
toSearchParams,
|
|
168
168
|
toolset,
|
|
169
169
|
withFilters
|
|
170
|
-
} from "./chunk-
|
|
170
|
+
} from "./chunk-64QK6JEK.js";
|
|
171
171
|
import "./chunk-WHOJWOSV.js";
|
|
172
172
|
import {
|
|
173
173
|
annotate,
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
import {
|
|
7
7
|
assertBundleInput,
|
|
8
8
|
loadBundleText
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-PYS7UNNW.js";
|
|
10
10
|
import {
|
|
11
11
|
sharedSchemaChanges
|
|
12
12
|
} from "./chunk-5HCDZ2XN.js";
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
import "./chunk-3IGNIP6R.js";
|
|
38
38
|
import {
|
|
39
39
|
resolveLockPath
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-SNO3KHCY.js";
|
|
41
41
|
import {
|
|
42
42
|
UsageError,
|
|
43
43
|
assertWritableDest
|
|
@@ -55,9 +55,9 @@ import {
|
|
|
55
55
|
success,
|
|
56
56
|
warn
|
|
57
57
|
} from "./chunk-EZG76F7R.js";
|
|
58
|
-
import "./chunk-
|
|
58
|
+
import "./chunk-FEQTQ6PM.js";
|
|
59
59
|
import "./chunk-OKNSR7MT.js";
|
|
60
|
-
import "./chunk-
|
|
60
|
+
import "./chunk-64QK6JEK.js";
|
|
61
61
|
import "./chunk-WHOJWOSV.js";
|
|
62
62
|
import "./chunk-5XZ744TS.js";
|
|
63
63
|
import {
|
|
@@ -443,7 +443,7 @@ async function runReleaseCommand(args) {
|
|
|
443
443
|
{ withSeed: req.records === true }
|
|
444
444
|
);
|
|
445
445
|
if (args.static !== void 0) {
|
|
446
|
-
const { assertNoSeedLeaks } = await import("./deploy-command-
|
|
446
|
+
const { assertNoSeedLeaks } = await import("./deploy-command-QZ3GNLAD.js");
|
|
447
447
|
await assertNoSeedLeaks(args.static, nonPublicSeedValues, args.allowSeedInStatic);
|
|
448
448
|
}
|
|
449
449
|
const workspaceId = auth.workspaceId;
|
|
@@ -585,7 +585,7 @@ Retry, or drop \`--backup-branch\` to release without one.`,
|
|
|
585
585
|
...backupLabel !== void 0 ? { backupBranch: backupLabel } : {}
|
|
586
586
|
};
|
|
587
587
|
if (args.static !== void 0) {
|
|
588
|
-
const { buildStaticEnv, deployStaticTo } = await import("./deploy-command-
|
|
588
|
+
const { buildStaticEnv, deployStaticTo } = await import("./deploy-command-QZ3GNLAD.js");
|
|
589
589
|
const env = buildStaticEnv(auth.instance, args.staticEnv);
|
|
590
590
|
const explicit = Object.keys(args.staticEnv).length > 0;
|
|
591
591
|
summary.static = await deployStaticTo(
|
|
@@ -604,4 +604,4 @@ Retry, or drop \`--backup-branch\` to release without one.`,
|
|
|
604
604
|
export {
|
|
605
605
|
runReleaseCommand
|
|
606
606
|
};
|
|
607
|
-
//# sourceMappingURL=release-command-
|
|
607
|
+
//# sourceMappingURL=release-command-DN75G5GJ.js.map
|
|
@@ -628,9 +628,13 @@ declare const input: {
|
|
|
628
628
|
*
|
|
629
629
|
* It is NOT a stored file resource and cannot be written to a file column
|
|
630
630
|
* directly. Store it first and write what you get back:
|
|
631
|
-
* `s.storage.create_image({ as: "img", value:
|
|
632
|
-
*
|
|
633
|
-
*
|
|
631
|
+
* `s.storage.create_image({ as: "img", value: inp("avatar") })`, then write
|
|
632
|
+
* `ref("img")` to an `f.image()` column. Use {@link input.image} and friends
|
|
633
|
+
* only when the caller already sends a stored file resource.
|
|
634
|
+
*
|
|
635
|
+
* Read the upload with `inp`, NOT `ref("input.avatar")`: `ref` is the `var`
|
|
636
|
+
* tag, so that spelling makes the engine look for a stack variable named
|
|
637
|
+
* `input` and fail the request with `Missing var entry: input`.
|
|
634
638
|
*/
|
|
635
639
|
file: <const O extends ConstInputOpts<never> = Record<string, never>>(options?: O) => InputDescriptor & TypeBrand<XanoFileUpload, O>;
|
|
636
640
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveMetaTarget
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-XP7S3VWY.js";
|
|
4
4
|
import "./chunk-MDXR5E5Q.js";
|
|
5
5
|
import "./chunk-3EYUR3TX.js";
|
|
6
6
|
import "./chunk-NDZFBZHC.js";
|
|
@@ -380,4 +380,4 @@ export {
|
|
|
380
380
|
runSuite,
|
|
381
381
|
runTestCommand
|
|
382
382
|
};
|
|
383
|
-
//# sourceMappingURL=test-command-
|
|
383
|
+
//# sourceMappingURL=test-command-RRNNJ45I.js.map
|
|
@@ -22,8 +22,8 @@ import {
|
|
|
22
22
|
registryUrl,
|
|
23
23
|
suppressUpdateNotice,
|
|
24
24
|
upgradeCommand
|
|
25
|
-
} from "./chunk-
|
|
26
|
-
import "./chunk-
|
|
25
|
+
} from "./chunk-CDAQUY5W.js";
|
|
26
|
+
import "./chunk-SNO3KHCY.js";
|
|
27
27
|
import "./chunk-JQLR64UC.js";
|
|
28
28
|
import "./chunk-OYMR5AMJ.js";
|
|
29
29
|
import "./chunk-GNPVYOPB.js";
|
|
@@ -35,9 +35,9 @@ import {
|
|
|
35
35
|
success,
|
|
36
36
|
warn
|
|
37
37
|
} from "./chunk-EZG76F7R.js";
|
|
38
|
-
import "./chunk-
|
|
38
|
+
import "./chunk-FEQTQ6PM.js";
|
|
39
39
|
import "./chunk-OKNSR7MT.js";
|
|
40
|
-
import "./chunk-
|
|
40
|
+
import "./chunk-64QK6JEK.js";
|
|
41
41
|
import "./chunk-WHOJWOSV.js";
|
|
42
42
|
import "./chunk-5XZ744TS.js";
|
|
43
43
|
import "./chunk-7JDT4PBU.js";
|
|
@@ -174,4 +174,4 @@ function messageOf(err) {
|
|
|
174
174
|
export {
|
|
175
175
|
runUpgradeCommand
|
|
176
176
|
};
|
|
177
|
-
//# sourceMappingURL=upgrade-command-
|
|
177
|
+
//# sourceMappingURL=upgrade-command-XFOAWDI3.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
assertBundleInput,
|
|
3
3
|
loadBundleText
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-PYS7UNNW.js";
|
|
5
|
+
import "./chunk-SNO3KHCY.js";
|
|
6
6
|
import "./chunk-JQLR64UC.js";
|
|
7
7
|
import "./chunk-OYMR5AMJ.js";
|
|
8
8
|
import "./chunk-GNPVYOPB.js";
|
|
@@ -14,9 +14,9 @@ import {
|
|
|
14
14
|
success,
|
|
15
15
|
warn
|
|
16
16
|
} from "./chunk-EZG76F7R.js";
|
|
17
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-FEQTQ6PM.js";
|
|
18
18
|
import "./chunk-OKNSR7MT.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-64QK6JEK.js";
|
|
20
20
|
import "./chunk-WHOJWOSV.js";
|
|
21
21
|
import "./chunk-5XZ744TS.js";
|
|
22
22
|
import "./chunk-7JDT4PBU.js";
|
|
@@ -119,4 +119,4 @@ function fmt(v) {
|
|
|
119
119
|
export {
|
|
120
120
|
runValidateCommand
|
|
121
121
|
};
|
|
122
|
-
//# sourceMappingURL=validate-command-
|
|
122
|
+
//# sourceMappingURL=validate-command-GLF5ZOOW.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fetchWorkspaceBundle,
|
|
3
3
|
runCodegenCommand
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-EM5QPTXP.js";
|
|
5
5
|
import "./chunk-ZOYMZZ3S.js";
|
|
6
6
|
import {
|
|
7
7
|
resolveOutputTarget
|
|
@@ -19,7 +19,7 @@ import "./chunk-BKDJN76G.js";
|
|
|
19
19
|
import "./chunk-QTNO2WD6.js";
|
|
20
20
|
import "./chunk-ZUTSMMAG.js";
|
|
21
21
|
import "./chunk-X4DVXBFY.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-C3M5K4ZH.js";
|
|
23
23
|
import {
|
|
24
24
|
isMachineOutput,
|
|
25
25
|
writeJson
|
|
@@ -30,14 +30,14 @@ import {
|
|
|
30
30
|
fetchOrExplain,
|
|
31
31
|
httpFailure
|
|
32
32
|
} from "./chunk-3IGNIP6R.js";
|
|
33
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-2ROR3AZC.js";
|
|
34
34
|
import "./chunk-LU7TRWMC.js";
|
|
35
35
|
import "./chunk-MU3O43L2.js";
|
|
36
36
|
import "./chunk-P5C2YKAM.js";
|
|
37
37
|
import "./chunk-Q77KNEUL.js";
|
|
38
38
|
import "./chunk-4BXJGVZ3.js";
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import "./chunk-
|
|
39
|
+
import "./chunk-3MDKV2VA.js";
|
|
40
|
+
import "./chunk-SNO3KHCY.js";
|
|
41
41
|
import {
|
|
42
42
|
removedSubcommand,
|
|
43
43
|
unknownSubcommand
|
|
@@ -50,9 +50,9 @@ import {
|
|
|
50
50
|
step,
|
|
51
51
|
success
|
|
52
52
|
} from "./chunk-EZG76F7R.js";
|
|
53
|
-
import "./chunk-
|
|
53
|
+
import "./chunk-FEQTQ6PM.js";
|
|
54
54
|
import "./chunk-OKNSR7MT.js";
|
|
55
|
-
import "./chunk-
|
|
55
|
+
import "./chunk-64QK6JEK.js";
|
|
56
56
|
import "./chunk-WHOJWOSV.js";
|
|
57
57
|
import "./chunk-5XZ744TS.js";
|
|
58
58
|
import "./chunk-7JDT4PBU.js";
|
|
@@ -160,4 +160,4 @@ async function runExport(args) {
|
|
|
160
160
|
export {
|
|
161
161
|
runWorkspaceCommand
|
|
162
162
|
};
|
|
163
|
-
//# sourceMappingURL=workspace-command-
|
|
163
|
+
//# sourceMappingURL=workspace-command-QCFELEGR.js.map
|
package/llms/fields.md
CHANGED
|
@@ -59,8 +59,9 @@ the entry's own name. `hidden: ["created_at"]` drops columns from that expansion
|
|
|
59
59
|
typed forms over `input.json()` when the shape is known.
|
|
60
60
|
**A file reaches a column in two steps.** `input.file` is the RAW upload (the request's
|
|
61
61
|
multipart/base64 bytes) and cannot be written to a file column directly: store it first —
|
|
62
|
-
`s.storage.create_image({ as: "img", value:
|
|
63
|
-
(
|
|
62
|
+
`s.storage.create_image({ as: "img", value: inp("avatar"), access: "public" })`
|
|
63
|
+
(read the upload with `inp`; `ref("input.avatar")` spells a stack VARIABLE named
|
|
64
|
+
`input` and fails the request with `Missing var entry: input`) — then write
|
|
64
65
|
`ref("img")` into the `f.image()` cell with `s.db.add`/`edit`. `access` defaults to
|
|
65
66
|
`"public"` (a guessable URL): pass `"private"` and hand out `s.storage.sign_private_url`
|
|
66
67
|
results for anything user-scoped. `create_video`/`create_audio`/`create_attachment` are
|
package/llms-full.txt
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# xanots v0.0.
|
|
1
|
+
# xanots v0.0.8
|
|
2
2
|
|
|
3
3
|
> TypeScript SDK that compiles a typed Xano workspace into the importable packageExport JSON bundle.
|
|
4
4
|
|
|
@@ -1010,8 +1010,9 @@ the entry's own name. `hidden: ["created_at"]` drops columns from that expansion
|
|
|
1010
1010
|
typed forms over `input.json()` when the shape is known.
|
|
1011
1011
|
**A file reaches a column in two steps.** `input.file` is the RAW upload (the request's
|
|
1012
1012
|
multipart/base64 bytes) and cannot be written to a file column directly: store it first —
|
|
1013
|
-
`s.storage.create_image({ as: "img", value:
|
|
1014
|
-
(
|
|
1013
|
+
`s.storage.create_image({ as: "img", value: inp("avatar"), access: "public" })`
|
|
1014
|
+
(read the upload with `inp`; `ref("input.avatar")` spells a stack VARIABLE named
|
|
1015
|
+
`input` and fails the request with `Missing var entry: input`) — then write
|
|
1015
1016
|
`ref("img")` into the `f.image()` cell with `s.db.add`/`edit`. `access` defaults to
|
|
1016
1017
|
`"public"` (a guessable URL): pass `"private"` and hand out `s.storage.sign_private_url`
|
|
1017
1018
|
results for anything user-scoped. `create_video`/`create_audio`/`create_attachment` are
|
package/llms.txt
CHANGED
package/manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xanots/sdk",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.8",
|
|
4
4
|
"description": "XanoTS — your Xano backend as TypeScript. `xanots deploy` ships your typed workspace (and an optional static frontend) to a live, auto-expiring ephemeral environment and prints its URL. init → deploy → URL.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"xanots",
|