busa-sdk 0.19.2 → 0.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/airapp-check.d.ts +117 -0
- package/dist/airapp-check.js +159 -0
- package/dist/airapp-node.d.ts +34 -1
- package/dist/airapp-node.js +22 -1
- package/dist/airapp.d.ts +1 -1
- package/dist/airapp.js +30 -5
- package/dist/{client-kiUJSr_d.d.ts → client-CVz2pqrF.d.ts} +3512 -26
- package/dist/index.d.ts +5 -2769
- package/dist/index.js +284 -164
- package/package.json +5 -1
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
import { ContractRouterClient } from "@orpc/contract";
|
|
2
2
|
import { z } from "zod";
|
|
3
|
+
//#region ../../packages/busabase-contract/src/domains/types.d.ts
|
|
4
|
+
/**
|
|
5
|
+
* Shared interfaces for node-type modules. Each node type lives in its own module
|
|
6
|
+
* (./folder, ./base, ./skill, …) and exports a definition that satisfies
|
|
7
|
+
* `NodeTypeDefinition`; the registry composes + registers them.
|
|
8
|
+
*/
|
|
9
|
+
type NodePublicAccess = "detail" | "submit" | "runtime" | "no";
|
|
10
|
+
//#endregion
|
|
3
11
|
//#region ../../packages/busabase-contract/src/domains/registry.d.ts
|
|
4
12
|
declare const GENERIC_NODE_OPERATIONS: readonly [{
|
|
5
13
|
readonly kind: "node_create";
|
|
@@ -32,6 +40,7 @@ declare const BUILTIN_NODE_TYPES: readonly [{
|
|
|
32
40
|
readonly container: true;
|
|
33
41
|
readonly creatable: true;
|
|
34
42
|
readonly hasDetail: true;
|
|
43
|
+
readonly publicAccess: "detail";
|
|
35
44
|
};
|
|
36
45
|
readonly operations: readonly [];
|
|
37
46
|
}, {
|
|
@@ -41,6 +50,7 @@ declare const BUILTIN_NODE_TYPES: readonly [{
|
|
|
41
50
|
readonly capabilities: {
|
|
42
51
|
readonly hasDetail: true;
|
|
43
52
|
readonly creatable: true;
|
|
53
|
+
readonly publicAccess: "detail";
|
|
44
54
|
};
|
|
45
55
|
readonly operations: readonly [{
|
|
46
56
|
readonly kind: "record_create";
|
|
@@ -118,6 +128,7 @@ declare const BUILTIN_NODE_TYPES: readonly [{
|
|
|
118
128
|
readonly capabilities: {
|
|
119
129
|
readonly hasDetail: true;
|
|
120
130
|
readonly creatable: true;
|
|
131
|
+
readonly publicAccess: NodePublicAccess;
|
|
121
132
|
};
|
|
122
133
|
readonly operations: readonly [{
|
|
123
134
|
readonly kind: `${string}_file_create`;
|
|
@@ -143,6 +154,7 @@ declare const BUILTIN_NODE_TYPES: readonly [{
|
|
|
143
154
|
readonly capabilities: {
|
|
144
155
|
readonly hasDetail: true;
|
|
145
156
|
readonly creatable: true;
|
|
157
|
+
readonly publicAccess: NodePublicAccess;
|
|
146
158
|
};
|
|
147
159
|
readonly operations: readonly [{
|
|
148
160
|
readonly kind: `${string}_file_create`;
|
|
@@ -168,6 +180,7 @@ declare const BUILTIN_NODE_TYPES: readonly [{
|
|
|
168
180
|
readonly capabilities: {
|
|
169
181
|
readonly hasDetail: true;
|
|
170
182
|
readonly creatable: true;
|
|
183
|
+
readonly publicAccess: NodePublicAccess;
|
|
171
184
|
};
|
|
172
185
|
readonly operations: readonly [{
|
|
173
186
|
readonly kind: `${string}_file_create`;
|
|
@@ -193,6 +206,7 @@ declare const BUILTIN_NODE_TYPES: readonly [{
|
|
|
193
206
|
readonly capabilities: {
|
|
194
207
|
readonly hasDetail: true;
|
|
195
208
|
readonly creatable: true;
|
|
209
|
+
readonly publicAccess: "detail";
|
|
196
210
|
};
|
|
197
211
|
readonly operations: readonly [];
|
|
198
212
|
}, {
|
|
@@ -202,6 +216,7 @@ declare const BUILTIN_NODE_TYPES: readonly [{
|
|
|
202
216
|
readonly capabilities: {
|
|
203
217
|
readonly hasDetail: true;
|
|
204
218
|
readonly creatable: true;
|
|
219
|
+
readonly publicAccess: "detail";
|
|
205
220
|
};
|
|
206
221
|
readonly operations: readonly [{
|
|
207
222
|
readonly kind: "doc_update";
|
|
@@ -215,6 +230,7 @@ declare const BUILTIN_NODE_TYPES: readonly [{
|
|
|
215
230
|
readonly capabilities: {
|
|
216
231
|
readonly hasDetail: true;
|
|
217
232
|
readonly creatable: true;
|
|
233
|
+
readonly publicAccess: "submit";
|
|
218
234
|
};
|
|
219
235
|
readonly operations: readonly [];
|
|
220
236
|
}, {
|
|
@@ -224,6 +240,7 @@ declare const BUILTIN_NODE_TYPES: readonly [{
|
|
|
224
240
|
readonly capabilities: {
|
|
225
241
|
readonly hasDetail: true;
|
|
226
242
|
readonly creatable: true;
|
|
243
|
+
readonly publicAccess: "detail";
|
|
227
244
|
};
|
|
228
245
|
readonly operations: readonly [{
|
|
229
246
|
readonly kind: "whiteboard_document_update";
|
|
@@ -237,6 +254,7 @@ declare const BUILTIN_NODE_TYPES: readonly [{
|
|
|
237
254
|
readonly capabilities: {
|
|
238
255
|
readonly hasDetail: true;
|
|
239
256
|
readonly creatable: true;
|
|
257
|
+
readonly publicAccess: "detail";
|
|
240
258
|
};
|
|
241
259
|
readonly operations: readonly [{
|
|
242
260
|
readonly kind: "workflow_document_update";
|
|
@@ -250,6 +268,7 @@ declare const BUILTIN_NODE_TYPES: readonly [{
|
|
|
250
268
|
readonly capabilities: {
|
|
251
269
|
readonly hasDetail: true;
|
|
252
270
|
readonly creatable: true;
|
|
271
|
+
readonly publicAccess: "no";
|
|
253
272
|
};
|
|
254
273
|
readonly operations: readonly [{
|
|
255
274
|
readonly kind: "html_document_update";
|
|
@@ -420,12 +439,14 @@ declare const cloudContract: {
|
|
|
420
439
|
sources: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodEnum<{
|
|
421
440
|
files: "files";
|
|
422
441
|
names: "names";
|
|
442
|
+
nodes: "nodes";
|
|
423
443
|
records: "records";
|
|
424
444
|
}>>, z.ZodEnum<{
|
|
425
445
|
files: "files";
|
|
426
446
|
names: "names";
|
|
447
|
+
nodes: "nodes";
|
|
427
448
|
records: "records";
|
|
428
|
-
}>]>, z.ZodTransform<("files" | "names" | "records")[], "files" | "names" | "records" | ("files" | "names" | "records")[]>>>;
|
|
449
|
+
}>]>, z.ZodTransform<("files" | "names" | "nodes" | "records")[], "files" | "names" | "nodes" | "records" | ("files" | "names" | "nodes" | "records")[]>>>;
|
|
429
450
|
}, z.core.$strip>, z.ZodObject<{
|
|
430
451
|
query: z.ZodString;
|
|
431
452
|
limit: z.ZodNumber;
|
|
@@ -437,6 +458,7 @@ declare const cloudContract: {
|
|
|
437
458
|
base: "base";
|
|
438
459
|
change_request: "change_request";
|
|
439
460
|
file: "file";
|
|
461
|
+
node: "node";
|
|
440
462
|
record: "record";
|
|
441
463
|
}>;
|
|
442
464
|
title: z.ZodString;
|
|
@@ -445,6 +467,7 @@ declare const cloudContract: {
|
|
|
445
467
|
href: z.ZodString;
|
|
446
468
|
updatedAt: z.ZodNullable<z.ZodString>;
|
|
447
469
|
}, z.core.$strip>>;
|
|
470
|
+
contentTruncated: z.ZodDefault<z.ZodBoolean>;
|
|
448
471
|
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Record<never, never>>, Record<never, never>>;
|
|
449
472
|
grep: import("@orpc/contract").ContractProcedure<z.ZodObject<{
|
|
450
473
|
pattern: z.ZodString;
|
|
@@ -570,6 +593,14 @@ declare const cloudContract: {
|
|
|
570
593
|
}, z.core.$strip>, z.ZodObject<{
|
|
571
594
|
isDescendant: z.ZodBoolean;
|
|
572
595
|
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Record<never, never>>, Record<never, never>>;
|
|
596
|
+
ancestors: import("@orpc/contract").ContractProcedure<z.ZodObject<{
|
|
597
|
+
nodeId: z.ZodString;
|
|
598
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
599
|
+
[x: string]: string;
|
|
600
|
+
}>>;
|
|
601
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
602
|
+
ancestorIds: z.ZodArray<z.ZodString>;
|
|
603
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Record<never, never>>, Record<never, never>>;
|
|
573
604
|
createChangeRequest: import("@orpc/contract").ContractProcedure<z.ZodObject<{
|
|
574
605
|
message: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
575
606
|
submittedBy: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
@@ -752,6 +783,22 @@ declare const cloudContract: {
|
|
|
752
783
|
image: z.ZodNullable<z.ZodString>;
|
|
753
784
|
role: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
754
785
|
}, z.core.$strip>>>>;
|
|
786
|
+
sourceAttribution: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
787
|
+
displayName: z.ZodNullable<z.ZodString>;
|
|
788
|
+
ownerName: z.ZodNullable<z.ZodString>;
|
|
789
|
+
channel: z.ZodNullable<z.ZodEnum<{
|
|
790
|
+
automation: "automation";
|
|
791
|
+
browser: "browser";
|
|
792
|
+
cli: "cli";
|
|
793
|
+
import: "import";
|
|
794
|
+
mcp: "mcp";
|
|
795
|
+
openapi: "openapi";
|
|
796
|
+
sdk: "sdk";
|
|
797
|
+
skill: "skill";
|
|
798
|
+
web_ui: "web_ui";
|
|
799
|
+
webhook: "webhook";
|
|
800
|
+
}>>;
|
|
801
|
+
}, z.core.$strip>>>;
|
|
755
802
|
sourceMeta: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
756
803
|
reviewPolicySnapshot: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
757
804
|
mergeSummary: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
@@ -1171,6 +1218,22 @@ declare const cloudContract: {
|
|
|
1171
1218
|
image: z.ZodNullable<z.ZodString>;
|
|
1172
1219
|
role: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1173
1220
|
}, z.core.$strip>>>>;
|
|
1221
|
+
sourceAttribution: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1222
|
+
displayName: z.ZodNullable<z.ZodString>;
|
|
1223
|
+
ownerName: z.ZodNullable<z.ZodString>;
|
|
1224
|
+
channel: z.ZodNullable<z.ZodEnum<{
|
|
1225
|
+
automation: "automation";
|
|
1226
|
+
browser: "browser";
|
|
1227
|
+
cli: "cli";
|
|
1228
|
+
import: "import";
|
|
1229
|
+
mcp: "mcp";
|
|
1230
|
+
openapi: "openapi";
|
|
1231
|
+
sdk: "sdk";
|
|
1232
|
+
skill: "skill";
|
|
1233
|
+
web_ui: "web_ui";
|
|
1234
|
+
webhook: "webhook";
|
|
1235
|
+
}>>;
|
|
1236
|
+
}, z.core.$strip>>>;
|
|
1174
1237
|
sourceMeta: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1175
1238
|
reviewPolicySnapshot: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1176
1239
|
mergeSummary: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
@@ -1728,6 +1791,22 @@ declare const cloudContract: {
|
|
|
1728
1791
|
image: z.ZodNullable<z.ZodString>;
|
|
1729
1792
|
role: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1730
1793
|
}, z.core.$strip>>>>;
|
|
1794
|
+
sourceAttribution: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1795
|
+
displayName: z.ZodNullable<z.ZodString>;
|
|
1796
|
+
ownerName: z.ZodNullable<z.ZodString>;
|
|
1797
|
+
channel: z.ZodNullable<z.ZodEnum<{
|
|
1798
|
+
automation: "automation";
|
|
1799
|
+
browser: "browser";
|
|
1800
|
+
cli: "cli";
|
|
1801
|
+
import: "import";
|
|
1802
|
+
mcp: "mcp";
|
|
1803
|
+
openapi: "openapi";
|
|
1804
|
+
sdk: "sdk";
|
|
1805
|
+
skill: "skill";
|
|
1806
|
+
web_ui: "web_ui";
|
|
1807
|
+
webhook: "webhook";
|
|
1808
|
+
}>>;
|
|
1809
|
+
}, z.core.$strip>>>;
|
|
1731
1810
|
sourceMeta: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1732
1811
|
reviewPolicySnapshot: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1733
1812
|
mergeSummary: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
@@ -2660,6 +2739,22 @@ declare const cloudContract: {
|
|
|
2660
2739
|
image: z.ZodNullable<z.ZodString>;
|
|
2661
2740
|
role: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2662
2741
|
}, z.core.$strip>>>>;
|
|
2742
|
+
sourceAttribution: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2743
|
+
displayName: z.ZodNullable<z.ZodString>;
|
|
2744
|
+
ownerName: z.ZodNullable<z.ZodString>;
|
|
2745
|
+
channel: z.ZodNullable<z.ZodEnum<{
|
|
2746
|
+
automation: "automation";
|
|
2747
|
+
browser: "browser";
|
|
2748
|
+
cli: "cli";
|
|
2749
|
+
import: "import";
|
|
2750
|
+
mcp: "mcp";
|
|
2751
|
+
openapi: "openapi";
|
|
2752
|
+
sdk: "sdk";
|
|
2753
|
+
skill: "skill";
|
|
2754
|
+
web_ui: "web_ui";
|
|
2755
|
+
webhook: "webhook";
|
|
2756
|
+
}>>;
|
|
2757
|
+
}, z.core.$strip>>>;
|
|
2663
2758
|
baseId: z.ZodNullable<z.ZodString>;
|
|
2664
2759
|
recordId: z.ZodNullable<z.ZodString>;
|
|
2665
2760
|
changeRequestId: z.ZodNullable<z.ZodString>;
|
|
@@ -2730,6 +2825,22 @@ declare const cloudContract: {
|
|
|
2730
2825
|
image: z.ZodNullable<z.ZodString>;
|
|
2731
2826
|
role: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2732
2827
|
}, z.core.$strip>>>>;
|
|
2828
|
+
sourceAttribution: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2829
|
+
displayName: z.ZodNullable<z.ZodString>;
|
|
2830
|
+
ownerName: z.ZodNullable<z.ZodString>;
|
|
2831
|
+
channel: z.ZodNullable<z.ZodEnum<{
|
|
2832
|
+
automation: "automation";
|
|
2833
|
+
browser: "browser";
|
|
2834
|
+
cli: "cli";
|
|
2835
|
+
import: "import";
|
|
2836
|
+
mcp: "mcp";
|
|
2837
|
+
openapi: "openapi";
|
|
2838
|
+
sdk: "sdk";
|
|
2839
|
+
skill: "skill";
|
|
2840
|
+
web_ui: "web_ui";
|
|
2841
|
+
webhook: "webhook";
|
|
2842
|
+
}>>;
|
|
2843
|
+
}, z.core.$strip>>>;
|
|
2733
2844
|
baseId: z.ZodNullable<z.ZodString>;
|
|
2734
2845
|
recordId: z.ZodNullable<z.ZodString>;
|
|
2735
2846
|
changeRequestId: z.ZodNullable<z.ZodString>;
|
|
@@ -2772,6 +2883,22 @@ declare const cloudContract: {
|
|
|
2772
2883
|
image: z.ZodNullable<z.ZodString>;
|
|
2773
2884
|
role: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2774
2885
|
}, z.core.$strip>>>>;
|
|
2886
|
+
sourceAttribution: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2887
|
+
displayName: z.ZodNullable<z.ZodString>;
|
|
2888
|
+
ownerName: z.ZodNullable<z.ZodString>;
|
|
2889
|
+
channel: z.ZodNullable<z.ZodEnum<{
|
|
2890
|
+
automation: "automation";
|
|
2891
|
+
browser: "browser";
|
|
2892
|
+
cli: "cli";
|
|
2893
|
+
import: "import";
|
|
2894
|
+
mcp: "mcp";
|
|
2895
|
+
openapi: "openapi";
|
|
2896
|
+
sdk: "sdk";
|
|
2897
|
+
skill: "skill";
|
|
2898
|
+
web_ui: "web_ui";
|
|
2899
|
+
webhook: "webhook";
|
|
2900
|
+
}>>;
|
|
2901
|
+
}, z.core.$strip>>>;
|
|
2775
2902
|
sourceMeta: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2776
2903
|
reviewPolicySnapshot: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2777
2904
|
mergeSummary: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
@@ -3189,6 +3316,22 @@ declare const cloudContract: {
|
|
|
3189
3316
|
image: z.ZodNullable<z.ZodString>;
|
|
3190
3317
|
role: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3191
3318
|
}, z.core.$strip>>>>;
|
|
3319
|
+
sourceAttribution: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3320
|
+
displayName: z.ZodNullable<z.ZodString>;
|
|
3321
|
+
ownerName: z.ZodNullable<z.ZodString>;
|
|
3322
|
+
channel: z.ZodNullable<z.ZodEnum<{
|
|
3323
|
+
automation: "automation";
|
|
3324
|
+
browser: "browser";
|
|
3325
|
+
cli: "cli";
|
|
3326
|
+
import: "import";
|
|
3327
|
+
mcp: "mcp";
|
|
3328
|
+
openapi: "openapi";
|
|
3329
|
+
sdk: "sdk";
|
|
3330
|
+
skill: "skill";
|
|
3331
|
+
web_ui: "web_ui";
|
|
3332
|
+
webhook: "webhook";
|
|
3333
|
+
}>>;
|
|
3334
|
+
}, z.core.$strip>>>;
|
|
3192
3335
|
sourceMeta: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3193
3336
|
reviewPolicySnapshot: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3194
3337
|
mergeSummary: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
@@ -3813,6 +3956,22 @@ declare const cloudContract: {
|
|
|
3813
3956
|
image: z.ZodNullable<z.ZodString>;
|
|
3814
3957
|
role: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3815
3958
|
}, z.core.$strip>>>>;
|
|
3959
|
+
sourceAttribution: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3960
|
+
displayName: z.ZodNullable<z.ZodString>;
|
|
3961
|
+
ownerName: z.ZodNullable<z.ZodString>;
|
|
3962
|
+
channel: z.ZodNullable<z.ZodEnum<{
|
|
3963
|
+
automation: "automation";
|
|
3964
|
+
browser: "browser";
|
|
3965
|
+
cli: "cli";
|
|
3966
|
+
import: "import";
|
|
3967
|
+
mcp: "mcp";
|
|
3968
|
+
openapi: "openapi";
|
|
3969
|
+
sdk: "sdk";
|
|
3970
|
+
skill: "skill";
|
|
3971
|
+
web_ui: "web_ui";
|
|
3972
|
+
webhook: "webhook";
|
|
3973
|
+
}>>;
|
|
3974
|
+
}, z.core.$strip>>>;
|
|
3816
3975
|
baseId: z.ZodNullable<z.ZodString>;
|
|
3817
3976
|
recordId: z.ZodNullable<z.ZodString>;
|
|
3818
3977
|
changeRequestId: z.ZodNullable<z.ZodString>;
|
|
@@ -4053,6 +4212,22 @@ declare const cloudContract: {
|
|
|
4053
4212
|
image: z.ZodNullable<z.ZodString>;
|
|
4054
4213
|
role: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4055
4214
|
}, z.core.$strip>>>>;
|
|
4215
|
+
sourceAttribution: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4216
|
+
displayName: z.ZodNullable<z.ZodString>;
|
|
4217
|
+
ownerName: z.ZodNullable<z.ZodString>;
|
|
4218
|
+
channel: z.ZodNullable<z.ZodEnum<{
|
|
4219
|
+
automation: "automation";
|
|
4220
|
+
browser: "browser";
|
|
4221
|
+
cli: "cli";
|
|
4222
|
+
import: "import";
|
|
4223
|
+
mcp: "mcp";
|
|
4224
|
+
openapi: "openapi";
|
|
4225
|
+
sdk: "sdk";
|
|
4226
|
+
skill: "skill";
|
|
4227
|
+
web_ui: "web_ui";
|
|
4228
|
+
webhook: "webhook";
|
|
4229
|
+
}>>;
|
|
4230
|
+
}, z.core.$strip>>>;
|
|
4056
4231
|
sourceMeta: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
4057
4232
|
reviewPolicySnapshot: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
4058
4233
|
mergeSummary: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
@@ -4470,6 +4645,22 @@ declare const cloudContract: {
|
|
|
4470
4645
|
image: z.ZodNullable<z.ZodString>;
|
|
4471
4646
|
role: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4472
4647
|
}, z.core.$strip>>>>;
|
|
4648
|
+
sourceAttribution: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4649
|
+
displayName: z.ZodNullable<z.ZodString>;
|
|
4650
|
+
ownerName: z.ZodNullable<z.ZodString>;
|
|
4651
|
+
channel: z.ZodNullable<z.ZodEnum<{
|
|
4652
|
+
automation: "automation";
|
|
4653
|
+
browser: "browser";
|
|
4654
|
+
cli: "cli";
|
|
4655
|
+
import: "import";
|
|
4656
|
+
mcp: "mcp";
|
|
4657
|
+
openapi: "openapi";
|
|
4658
|
+
sdk: "sdk";
|
|
4659
|
+
skill: "skill";
|
|
4660
|
+
web_ui: "web_ui";
|
|
4661
|
+
webhook: "webhook";
|
|
4662
|
+
}>>;
|
|
4663
|
+
}, z.core.$strip>>>;
|
|
4473
4664
|
sourceMeta: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
4474
4665
|
reviewPolicySnapshot: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
4475
4666
|
mergeSummary: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
@@ -5094,6 +5285,22 @@ declare const cloudContract: {
|
|
|
5094
5285
|
image: z.ZodNullable<z.ZodString>;
|
|
5095
5286
|
role: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5096
5287
|
}, z.core.$strip>>>>;
|
|
5288
|
+
sourceAttribution: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
5289
|
+
displayName: z.ZodNullable<z.ZodString>;
|
|
5290
|
+
ownerName: z.ZodNullable<z.ZodString>;
|
|
5291
|
+
channel: z.ZodNullable<z.ZodEnum<{
|
|
5292
|
+
automation: "automation";
|
|
5293
|
+
browser: "browser";
|
|
5294
|
+
cli: "cli";
|
|
5295
|
+
import: "import";
|
|
5296
|
+
mcp: "mcp";
|
|
5297
|
+
openapi: "openapi";
|
|
5298
|
+
sdk: "sdk";
|
|
5299
|
+
skill: "skill";
|
|
5300
|
+
web_ui: "web_ui";
|
|
5301
|
+
webhook: "webhook";
|
|
5302
|
+
}>>;
|
|
5303
|
+
}, z.core.$strip>>>;
|
|
5097
5304
|
baseId: z.ZodNullable<z.ZodString>;
|
|
5098
5305
|
recordId: z.ZodNullable<z.ZodString>;
|
|
5099
5306
|
changeRequestId: z.ZodNullable<z.ZodString>;
|
|
@@ -5332,6 +5539,22 @@ declare const cloudContract: {
|
|
|
5332
5539
|
image: z.ZodNullable<z.ZodString>;
|
|
5333
5540
|
role: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5334
5541
|
}, z.core.$strip>>>>;
|
|
5542
|
+
sourceAttribution: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
5543
|
+
displayName: z.ZodNullable<z.ZodString>;
|
|
5544
|
+
ownerName: z.ZodNullable<z.ZodString>;
|
|
5545
|
+
channel: z.ZodNullable<z.ZodEnum<{
|
|
5546
|
+
automation: "automation";
|
|
5547
|
+
browser: "browser";
|
|
5548
|
+
cli: "cli";
|
|
5549
|
+
import: "import";
|
|
5550
|
+
mcp: "mcp";
|
|
5551
|
+
openapi: "openapi";
|
|
5552
|
+
sdk: "sdk";
|
|
5553
|
+
skill: "skill";
|
|
5554
|
+
web_ui: "web_ui";
|
|
5555
|
+
webhook: "webhook";
|
|
5556
|
+
}>>;
|
|
5557
|
+
}, z.core.$strip>>>;
|
|
5335
5558
|
sourceMeta: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
5336
5559
|
reviewPolicySnapshot: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
5337
5560
|
mergeSummary: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
@@ -5749,6 +5972,22 @@ declare const cloudContract: {
|
|
|
5749
5972
|
image: z.ZodNullable<z.ZodString>;
|
|
5750
5973
|
role: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5751
5974
|
}, z.core.$strip>>>>;
|
|
5975
|
+
sourceAttribution: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
5976
|
+
displayName: z.ZodNullable<z.ZodString>;
|
|
5977
|
+
ownerName: z.ZodNullable<z.ZodString>;
|
|
5978
|
+
channel: z.ZodNullable<z.ZodEnum<{
|
|
5979
|
+
automation: "automation";
|
|
5980
|
+
browser: "browser";
|
|
5981
|
+
cli: "cli";
|
|
5982
|
+
import: "import";
|
|
5983
|
+
mcp: "mcp";
|
|
5984
|
+
openapi: "openapi";
|
|
5985
|
+
sdk: "sdk";
|
|
5986
|
+
skill: "skill";
|
|
5987
|
+
web_ui: "web_ui";
|
|
5988
|
+
webhook: "webhook";
|
|
5989
|
+
}>>;
|
|
5990
|
+
}, z.core.$strip>>>;
|
|
5752
5991
|
sourceMeta: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
5753
5992
|
reviewPolicySnapshot: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
5754
5993
|
mergeSummary: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
@@ -6373,6 +6612,22 @@ declare const cloudContract: {
|
|
|
6373
6612
|
image: z.ZodNullable<z.ZodString>;
|
|
6374
6613
|
role: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6375
6614
|
}, z.core.$strip>>>>;
|
|
6615
|
+
sourceAttribution: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
6616
|
+
displayName: z.ZodNullable<z.ZodString>;
|
|
6617
|
+
ownerName: z.ZodNullable<z.ZodString>;
|
|
6618
|
+
channel: z.ZodNullable<z.ZodEnum<{
|
|
6619
|
+
automation: "automation";
|
|
6620
|
+
browser: "browser";
|
|
6621
|
+
cli: "cli";
|
|
6622
|
+
import: "import";
|
|
6623
|
+
mcp: "mcp";
|
|
6624
|
+
openapi: "openapi";
|
|
6625
|
+
sdk: "sdk";
|
|
6626
|
+
skill: "skill";
|
|
6627
|
+
web_ui: "web_ui";
|
|
6628
|
+
webhook: "webhook";
|
|
6629
|
+
}>>;
|
|
6630
|
+
}, z.core.$strip>>>;
|
|
6376
6631
|
baseId: z.ZodNullable<z.ZodString>;
|
|
6377
6632
|
recordId: z.ZodNullable<z.ZodString>;
|
|
6378
6633
|
changeRequestId: z.ZodNullable<z.ZodString>;
|
|
@@ -6681,6 +6936,22 @@ declare const cloudContract: {
|
|
|
6681
6936
|
image: z.ZodNullable<z.ZodString>;
|
|
6682
6937
|
role: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6683
6938
|
}, z.core.$strip>>>>;
|
|
6939
|
+
sourceAttribution: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
6940
|
+
displayName: z.ZodNullable<z.ZodString>;
|
|
6941
|
+
ownerName: z.ZodNullable<z.ZodString>;
|
|
6942
|
+
channel: z.ZodNullable<z.ZodEnum<{
|
|
6943
|
+
automation: "automation";
|
|
6944
|
+
browser: "browser";
|
|
6945
|
+
cli: "cli";
|
|
6946
|
+
import: "import";
|
|
6947
|
+
mcp: "mcp";
|
|
6948
|
+
openapi: "openapi";
|
|
6949
|
+
sdk: "sdk";
|
|
6950
|
+
skill: "skill";
|
|
6951
|
+
web_ui: "web_ui";
|
|
6952
|
+
webhook: "webhook";
|
|
6953
|
+
}>>;
|
|
6954
|
+
}, z.core.$strip>>>;
|
|
6684
6955
|
sourceMeta: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
6685
6956
|
reviewPolicySnapshot: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
6686
6957
|
mergeSummary: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
@@ -7828,6 +8099,22 @@ declare const cloudContract: {
|
|
|
7828
8099
|
image: z.ZodNullable<z.ZodString>;
|
|
7829
8100
|
role: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7830
8101
|
}, z.core.$strip>>>>;
|
|
8102
|
+
sourceAttribution: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
8103
|
+
displayName: z.ZodNullable<z.ZodString>;
|
|
8104
|
+
ownerName: z.ZodNullable<z.ZodString>;
|
|
8105
|
+
channel: z.ZodNullable<z.ZodEnum<{
|
|
8106
|
+
automation: "automation";
|
|
8107
|
+
browser: "browser";
|
|
8108
|
+
cli: "cli";
|
|
8109
|
+
import: "import";
|
|
8110
|
+
mcp: "mcp";
|
|
8111
|
+
openapi: "openapi";
|
|
8112
|
+
sdk: "sdk";
|
|
8113
|
+
skill: "skill";
|
|
8114
|
+
web_ui: "web_ui";
|
|
8115
|
+
webhook: "webhook";
|
|
8116
|
+
}>>;
|
|
8117
|
+
}, z.core.$strip>>>;
|
|
7831
8118
|
sourceMeta: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
7832
8119
|
reviewPolicySnapshot: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
7833
8120
|
mergeSummary: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
@@ -8447,6 +8734,22 @@ declare const cloudContract: {
|
|
|
8447
8734
|
image: z.ZodNullable<z.ZodString>;
|
|
8448
8735
|
role: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8449
8736
|
}, z.core.$strip>>>>;
|
|
8737
|
+
sourceAttribution: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
8738
|
+
displayName: z.ZodNullable<z.ZodString>;
|
|
8739
|
+
ownerName: z.ZodNullable<z.ZodString>;
|
|
8740
|
+
channel: z.ZodNullable<z.ZodEnum<{
|
|
8741
|
+
automation: "automation";
|
|
8742
|
+
browser: "browser";
|
|
8743
|
+
cli: "cli";
|
|
8744
|
+
import: "import";
|
|
8745
|
+
mcp: "mcp";
|
|
8746
|
+
openapi: "openapi";
|
|
8747
|
+
sdk: "sdk";
|
|
8748
|
+
skill: "skill";
|
|
8749
|
+
web_ui: "web_ui";
|
|
8750
|
+
webhook: "webhook";
|
|
8751
|
+
}>>;
|
|
8752
|
+
}, z.core.$strip>>>;
|
|
8450
8753
|
sourceMeta: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
8451
8754
|
reviewPolicySnapshot: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
8452
8755
|
mergeSummary: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
@@ -8868,6 +9171,22 @@ declare const cloudContract: {
|
|
|
8868
9171
|
image: z.ZodNullable<z.ZodString>;
|
|
8869
9172
|
role: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8870
9173
|
}, z.core.$strip>>>>;
|
|
9174
|
+
sourceAttribution: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
9175
|
+
displayName: z.ZodNullable<z.ZodString>;
|
|
9176
|
+
ownerName: z.ZodNullable<z.ZodString>;
|
|
9177
|
+
channel: z.ZodNullable<z.ZodEnum<{
|
|
9178
|
+
automation: "automation";
|
|
9179
|
+
browser: "browser";
|
|
9180
|
+
cli: "cli";
|
|
9181
|
+
import: "import";
|
|
9182
|
+
mcp: "mcp";
|
|
9183
|
+
openapi: "openapi";
|
|
9184
|
+
sdk: "sdk";
|
|
9185
|
+
skill: "skill";
|
|
9186
|
+
web_ui: "web_ui";
|
|
9187
|
+
webhook: "webhook";
|
|
9188
|
+
}>>;
|
|
9189
|
+
}, z.core.$strip>>>;
|
|
8871
9190
|
sourceMeta: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
8872
9191
|
reviewPolicySnapshot: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
8873
9192
|
mergeSummary: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
@@ -9293,6 +9612,22 @@ declare const cloudContract: {
|
|
|
9293
9612
|
image: z.ZodNullable<z.ZodString>;
|
|
9294
9613
|
role: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9295
9614
|
}, z.core.$strip>>>>;
|
|
9615
|
+
sourceAttribution: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
9616
|
+
displayName: z.ZodNullable<z.ZodString>;
|
|
9617
|
+
ownerName: z.ZodNullable<z.ZodString>;
|
|
9618
|
+
channel: z.ZodNullable<z.ZodEnum<{
|
|
9619
|
+
automation: "automation";
|
|
9620
|
+
browser: "browser";
|
|
9621
|
+
cli: "cli";
|
|
9622
|
+
import: "import";
|
|
9623
|
+
mcp: "mcp";
|
|
9624
|
+
openapi: "openapi";
|
|
9625
|
+
sdk: "sdk";
|
|
9626
|
+
skill: "skill";
|
|
9627
|
+
web_ui: "web_ui";
|
|
9628
|
+
webhook: "webhook";
|
|
9629
|
+
}>>;
|
|
9630
|
+
}, z.core.$strip>>>;
|
|
9296
9631
|
sourceMeta: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
9297
9632
|
reviewPolicySnapshot: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
9298
9633
|
mergeSummary: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
@@ -10191,6 +10526,22 @@ declare const cloudContract: {
|
|
|
10191
10526
|
image: z.ZodNullable<z.ZodString>;
|
|
10192
10527
|
role: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10193
10528
|
}, z.core.$strip>>>>;
|
|
10529
|
+
sourceAttribution: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
10530
|
+
displayName: z.ZodNullable<z.ZodString>;
|
|
10531
|
+
ownerName: z.ZodNullable<z.ZodString>;
|
|
10532
|
+
channel: z.ZodNullable<z.ZodEnum<{
|
|
10533
|
+
automation: "automation";
|
|
10534
|
+
browser: "browser";
|
|
10535
|
+
cli: "cli";
|
|
10536
|
+
import: "import";
|
|
10537
|
+
mcp: "mcp";
|
|
10538
|
+
openapi: "openapi";
|
|
10539
|
+
sdk: "sdk";
|
|
10540
|
+
skill: "skill";
|
|
10541
|
+
web_ui: "web_ui";
|
|
10542
|
+
webhook: "webhook";
|
|
10543
|
+
}>>;
|
|
10544
|
+
}, z.core.$strip>>>;
|
|
10194
10545
|
sourceMeta: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
10195
10546
|
reviewPolicySnapshot: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
10196
10547
|
mergeSummary: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
@@ -10658,6 +11009,22 @@ declare const cloudContract: {
|
|
|
10658
11009
|
image: z.ZodNullable<z.ZodString>;
|
|
10659
11010
|
role: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10660
11011
|
}, z.core.$strip>>>>;
|
|
11012
|
+
sourceAttribution: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
11013
|
+
displayName: z.ZodNullable<z.ZodString>;
|
|
11014
|
+
ownerName: z.ZodNullable<z.ZodString>;
|
|
11015
|
+
channel: z.ZodNullable<z.ZodEnum<{
|
|
11016
|
+
automation: "automation";
|
|
11017
|
+
browser: "browser";
|
|
11018
|
+
cli: "cli";
|
|
11019
|
+
import: "import";
|
|
11020
|
+
mcp: "mcp";
|
|
11021
|
+
openapi: "openapi";
|
|
11022
|
+
sdk: "sdk";
|
|
11023
|
+
skill: "skill";
|
|
11024
|
+
web_ui: "web_ui";
|
|
11025
|
+
webhook: "webhook";
|
|
11026
|
+
}>>;
|
|
11027
|
+
}, z.core.$strip>>>;
|
|
10661
11028
|
sourceMeta: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
10662
11029
|
reviewPolicySnapshot: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
10663
11030
|
mergeSummary: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
@@ -11125,6 +11492,22 @@ declare const cloudContract: {
|
|
|
11125
11492
|
image: z.ZodNullable<z.ZodString>;
|
|
11126
11493
|
role: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11127
11494
|
}, z.core.$strip>>>>;
|
|
11495
|
+
sourceAttribution: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
11496
|
+
displayName: z.ZodNullable<z.ZodString>;
|
|
11497
|
+
ownerName: z.ZodNullable<z.ZodString>;
|
|
11498
|
+
channel: z.ZodNullable<z.ZodEnum<{
|
|
11499
|
+
automation: "automation";
|
|
11500
|
+
browser: "browser";
|
|
11501
|
+
cli: "cli";
|
|
11502
|
+
import: "import";
|
|
11503
|
+
mcp: "mcp";
|
|
11504
|
+
openapi: "openapi";
|
|
11505
|
+
sdk: "sdk";
|
|
11506
|
+
skill: "skill";
|
|
11507
|
+
web_ui: "web_ui";
|
|
11508
|
+
webhook: "webhook";
|
|
11509
|
+
}>>;
|
|
11510
|
+
}, z.core.$strip>>>;
|
|
11128
11511
|
sourceMeta: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
11129
11512
|
reviewPolicySnapshot: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
11130
11513
|
mergeSummary: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
@@ -11622,6 +12005,22 @@ declare const cloudContract: {
|
|
|
11622
12005
|
image: z.ZodNullable<z.ZodString>;
|
|
11623
12006
|
role: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11624
12007
|
}, z.core.$strip>>>>;
|
|
12008
|
+
sourceAttribution: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
12009
|
+
displayName: z.ZodNullable<z.ZodString>;
|
|
12010
|
+
ownerName: z.ZodNullable<z.ZodString>;
|
|
12011
|
+
channel: z.ZodNullable<z.ZodEnum<{
|
|
12012
|
+
automation: "automation";
|
|
12013
|
+
browser: "browser";
|
|
12014
|
+
cli: "cli";
|
|
12015
|
+
import: "import";
|
|
12016
|
+
mcp: "mcp";
|
|
12017
|
+
openapi: "openapi";
|
|
12018
|
+
sdk: "sdk";
|
|
12019
|
+
skill: "skill";
|
|
12020
|
+
web_ui: "web_ui";
|
|
12021
|
+
webhook: "webhook";
|
|
12022
|
+
}>>;
|
|
12023
|
+
}, z.core.$strip>>>;
|
|
11625
12024
|
sourceMeta: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
11626
12025
|
reviewPolicySnapshot: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
11627
12026
|
mergeSummary: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
@@ -12115,6 +12514,22 @@ declare const cloudContract: {
|
|
|
12115
12514
|
image: z.ZodNullable<z.ZodString>;
|
|
12116
12515
|
role: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12117
12516
|
}, z.core.$strip>>>>;
|
|
12517
|
+
sourceAttribution: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
12518
|
+
displayName: z.ZodNullable<z.ZodString>;
|
|
12519
|
+
ownerName: z.ZodNullable<z.ZodString>;
|
|
12520
|
+
channel: z.ZodNullable<z.ZodEnum<{
|
|
12521
|
+
automation: "automation";
|
|
12522
|
+
browser: "browser";
|
|
12523
|
+
cli: "cli";
|
|
12524
|
+
import: "import";
|
|
12525
|
+
mcp: "mcp";
|
|
12526
|
+
openapi: "openapi";
|
|
12527
|
+
sdk: "sdk";
|
|
12528
|
+
skill: "skill";
|
|
12529
|
+
web_ui: "web_ui";
|
|
12530
|
+
webhook: "webhook";
|
|
12531
|
+
}>>;
|
|
12532
|
+
}, z.core.$strip>>>;
|
|
12118
12533
|
sourceMeta: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
12119
12534
|
reviewPolicySnapshot: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
12120
12535
|
mergeSummary: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
@@ -12543,6 +12958,22 @@ declare const cloudContract: {
|
|
|
12543
12958
|
image: z.ZodNullable<z.ZodString>;
|
|
12544
12959
|
role: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12545
12960
|
}, z.core.$strip>>>>;
|
|
12961
|
+
sourceAttribution: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
12962
|
+
displayName: z.ZodNullable<z.ZodString>;
|
|
12963
|
+
ownerName: z.ZodNullable<z.ZodString>;
|
|
12964
|
+
channel: z.ZodNullable<z.ZodEnum<{
|
|
12965
|
+
automation: "automation";
|
|
12966
|
+
browser: "browser";
|
|
12967
|
+
cli: "cli";
|
|
12968
|
+
import: "import";
|
|
12969
|
+
mcp: "mcp";
|
|
12970
|
+
openapi: "openapi";
|
|
12971
|
+
sdk: "sdk";
|
|
12972
|
+
skill: "skill";
|
|
12973
|
+
web_ui: "web_ui";
|
|
12974
|
+
webhook: "webhook";
|
|
12975
|
+
}>>;
|
|
12976
|
+
}, z.core.$strip>>>;
|
|
12546
12977
|
sourceMeta: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
12547
12978
|
reviewPolicySnapshot: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
12548
12979
|
mergeSummary: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
@@ -13593,6 +14024,22 @@ declare const cloudContract: {
|
|
|
13593
14024
|
image: z.ZodNullable<z.ZodString>;
|
|
13594
14025
|
role: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13595
14026
|
}, z.core.$strip>>>>;
|
|
14027
|
+
sourceAttribution: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
14028
|
+
displayName: z.ZodNullable<z.ZodString>;
|
|
14029
|
+
ownerName: z.ZodNullable<z.ZodString>;
|
|
14030
|
+
channel: z.ZodNullable<z.ZodEnum<{
|
|
14031
|
+
automation: "automation";
|
|
14032
|
+
browser: "browser";
|
|
14033
|
+
cli: "cli";
|
|
14034
|
+
import: "import";
|
|
14035
|
+
mcp: "mcp";
|
|
14036
|
+
openapi: "openapi";
|
|
14037
|
+
sdk: "sdk";
|
|
14038
|
+
skill: "skill";
|
|
14039
|
+
web_ui: "web_ui";
|
|
14040
|
+
webhook: "webhook";
|
|
14041
|
+
}>>;
|
|
14042
|
+
}, z.core.$strip>>>;
|
|
13596
14043
|
sourceMeta: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
13597
14044
|
reviewPolicySnapshot: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
13598
14045
|
mergeSummary: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
@@ -14009,7 +14456,12 @@ declare const cloudContract: {
|
|
|
14009
14456
|
deletedSessionCount: z.ZodNumber;
|
|
14010
14457
|
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Record<never, never>>, Record<never, never>>;
|
|
14011
14458
|
connections: {
|
|
14012
|
-
list: import("@orpc/contract").ContractProcedure<
|
|
14459
|
+
list: import("@orpc/contract").ContractProcedure<z.ZodObject<{
|
|
14460
|
+
scope: z.ZodDefault<z.ZodEnum<{
|
|
14461
|
+
mine: "mine";
|
|
14462
|
+
space: "space";
|
|
14463
|
+
}>>;
|
|
14464
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
14013
14465
|
slug: z.ZodString;
|
|
14014
14466
|
agentName: z.ZodString;
|
|
14015
14467
|
transport: z.ZodEnum<{
|
|
@@ -14037,6 +14489,7 @@ declare const cloudContract: {
|
|
|
14037
14489
|
lastActivityAt: z.ZodString;
|
|
14038
14490
|
error: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
14039
14491
|
}, z.core.$strip>>;
|
|
14492
|
+
ownedByCurrentUser: z.ZodBoolean;
|
|
14040
14493
|
}, z.core.$strip>>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Record<never, never>>, Record<never, never>>;
|
|
14041
14494
|
};
|
|
14042
14495
|
sessions: {
|
|
@@ -14088,10 +14541,12 @@ declare const cloudContract: {
|
|
|
14088
14541
|
attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
14089
14542
|
kind: z.ZodEnum<{
|
|
14090
14543
|
audio: "audio";
|
|
14544
|
+
file: "file";
|
|
14091
14545
|
image: "image";
|
|
14092
14546
|
}>;
|
|
14093
14547
|
data: z.ZodString;
|
|
14094
14548
|
mimeType: z.ZodString;
|
|
14549
|
+
filename: z.ZodOptional<z.ZodString>;
|
|
14095
14550
|
}, z.core.$strip>>>;
|
|
14096
14551
|
}, z.core.$strip>, z.ZodObject<{
|
|
14097
14552
|
accepted: z.ZodBoolean;
|
|
@@ -14670,7 +15125,9 @@ declare const cloudContract: {
|
|
|
14670
15125
|
textContentHash: z.ZodNullable<z.ZodString>;
|
|
14671
15126
|
byteCount: z.ZodNumber;
|
|
14672
15127
|
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Record<never, never>>, Record<never, never>>;
|
|
14673
|
-
importBegin: import("@orpc/contract").ContractProcedure<
|
|
15128
|
+
importBegin: import("@orpc/contract").ContractProcedure<z.ZodObject<{
|
|
15129
|
+
sourceSpaceId: z.ZodString;
|
|
15130
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
14674
15131
|
sessionId: z.ZodString;
|
|
14675
15132
|
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Record<never, never>>, Record<never, never>>;
|
|
14676
15133
|
importTables: import("@orpc/contract").ContractProcedure<z.ZodObject<{
|
|
@@ -14868,6 +15325,7 @@ declare const cloudContract: {
|
|
|
14868
15325
|
rejected: "rejected";
|
|
14869
15326
|
}>>>;
|
|
14870
15327
|
mine: z.ZodOptional<z.ZodBoolean>;
|
|
15328
|
+
affectsNodeId: z.ZodOptional<z.ZodString>;
|
|
14871
15329
|
}, z.core.$strip>>>, z.ZodObject<{
|
|
14872
15330
|
changeRequests: z.ZodArray<z.ZodObject<{
|
|
14873
15331
|
id: z.ZodString;
|
|
@@ -14894,6 +15352,22 @@ declare const cloudContract: {
|
|
|
14894
15352
|
image: z.ZodNullable<z.ZodString>;
|
|
14895
15353
|
role: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14896
15354
|
}, z.core.$strip>>>>;
|
|
15355
|
+
sourceAttribution: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
15356
|
+
displayName: z.ZodNullable<z.ZodString>;
|
|
15357
|
+
ownerName: z.ZodNullable<z.ZodString>;
|
|
15358
|
+
channel: z.ZodNullable<z.ZodEnum<{
|
|
15359
|
+
automation: "automation";
|
|
15360
|
+
browser: "browser";
|
|
15361
|
+
cli: "cli";
|
|
15362
|
+
import: "import";
|
|
15363
|
+
mcp: "mcp";
|
|
15364
|
+
openapi: "openapi";
|
|
15365
|
+
sdk: "sdk";
|
|
15366
|
+
skill: "skill";
|
|
15367
|
+
web_ui: "web_ui";
|
|
15368
|
+
webhook: "webhook";
|
|
15369
|
+
}>>;
|
|
15370
|
+
}, z.core.$strip>>>;
|
|
14897
15371
|
sourceMeta: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
14898
15372
|
reviewPolicySnapshot: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
14899
15373
|
mergeSummary: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
@@ -15297,6 +15771,7 @@ declare const cloudContract: {
|
|
|
15297
15771
|
rejected: "rejected";
|
|
15298
15772
|
}>>>;
|
|
15299
15773
|
mine: z.ZodOptional<z.ZodBoolean>;
|
|
15774
|
+
affectsNodeId: z.ZodOptional<z.ZodString>;
|
|
15300
15775
|
}, z.core.$strip>>>, z.ZodObject<{
|
|
15301
15776
|
changeRequests: z.ZodArray<z.ZodObject<{
|
|
15302
15777
|
id: z.ZodString;
|
|
@@ -15323,6 +15798,22 @@ declare const cloudContract: {
|
|
|
15323
15798
|
image: z.ZodNullable<z.ZodString>;
|
|
15324
15799
|
role: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15325
15800
|
}, z.core.$strip>>>>;
|
|
15801
|
+
sourceAttribution: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
15802
|
+
displayName: z.ZodNullable<z.ZodString>;
|
|
15803
|
+
ownerName: z.ZodNullable<z.ZodString>;
|
|
15804
|
+
channel: z.ZodNullable<z.ZodEnum<{
|
|
15805
|
+
automation: "automation";
|
|
15806
|
+
browser: "browser";
|
|
15807
|
+
cli: "cli";
|
|
15808
|
+
import: "import";
|
|
15809
|
+
mcp: "mcp";
|
|
15810
|
+
openapi: "openapi";
|
|
15811
|
+
sdk: "sdk";
|
|
15812
|
+
skill: "skill";
|
|
15813
|
+
web_ui: "web_ui";
|
|
15814
|
+
webhook: "webhook";
|
|
15815
|
+
}>>;
|
|
15816
|
+
}, z.core.$strip>>>;
|
|
15326
15817
|
sourceMeta: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
15327
15818
|
reviewPolicySnapshot: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
15328
15819
|
mergeSummary: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
@@ -15755,6 +16246,22 @@ declare const cloudContract: {
|
|
|
15755
16246
|
image: z.ZodNullable<z.ZodString>;
|
|
15756
16247
|
role: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15757
16248
|
}, z.core.$strip>>>>;
|
|
16249
|
+
sourceAttribution: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
16250
|
+
displayName: z.ZodNullable<z.ZodString>;
|
|
16251
|
+
ownerName: z.ZodNullable<z.ZodString>;
|
|
16252
|
+
channel: z.ZodNullable<z.ZodEnum<{
|
|
16253
|
+
automation: "automation";
|
|
16254
|
+
browser: "browser";
|
|
16255
|
+
cli: "cli";
|
|
16256
|
+
import: "import";
|
|
16257
|
+
mcp: "mcp";
|
|
16258
|
+
openapi: "openapi";
|
|
16259
|
+
sdk: "sdk";
|
|
16260
|
+
skill: "skill";
|
|
16261
|
+
web_ui: "web_ui";
|
|
16262
|
+
webhook: "webhook";
|
|
16263
|
+
}>>;
|
|
16264
|
+
}, z.core.$strip>>>;
|
|
15758
16265
|
sourceMeta: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
15759
16266
|
reviewPolicySnapshot: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
15760
16267
|
mergeSummary: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
@@ -16191,6 +16698,22 @@ declare const cloudContract: {
|
|
|
16191
16698
|
image: z.ZodNullable<z.ZodString>;
|
|
16192
16699
|
role: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16193
16700
|
}, z.core.$strip>>>>;
|
|
16701
|
+
sourceAttribution: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
16702
|
+
displayName: z.ZodNullable<z.ZodString>;
|
|
16703
|
+
ownerName: z.ZodNullable<z.ZodString>;
|
|
16704
|
+
channel: z.ZodNullable<z.ZodEnum<{
|
|
16705
|
+
automation: "automation";
|
|
16706
|
+
browser: "browser";
|
|
16707
|
+
cli: "cli";
|
|
16708
|
+
import: "import";
|
|
16709
|
+
mcp: "mcp";
|
|
16710
|
+
openapi: "openapi";
|
|
16711
|
+
sdk: "sdk";
|
|
16712
|
+
skill: "skill";
|
|
16713
|
+
web_ui: "web_ui";
|
|
16714
|
+
webhook: "webhook";
|
|
16715
|
+
}>>;
|
|
16716
|
+
}, z.core.$strip>>>;
|
|
16194
16717
|
sourceMeta: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
16195
16718
|
reviewPolicySnapshot: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
16196
16719
|
mergeSummary: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
@@ -16616,6 +17139,22 @@ declare const cloudContract: {
|
|
|
16616
17139
|
image: z.ZodNullable<z.ZodString>;
|
|
16617
17140
|
role: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16618
17141
|
}, z.core.$strip>>>>;
|
|
17142
|
+
sourceAttribution: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
17143
|
+
displayName: z.ZodNullable<z.ZodString>;
|
|
17144
|
+
ownerName: z.ZodNullable<z.ZodString>;
|
|
17145
|
+
channel: z.ZodNullable<z.ZodEnum<{
|
|
17146
|
+
automation: "automation";
|
|
17147
|
+
browser: "browser";
|
|
17148
|
+
cli: "cli";
|
|
17149
|
+
import: "import";
|
|
17150
|
+
mcp: "mcp";
|
|
17151
|
+
openapi: "openapi";
|
|
17152
|
+
sdk: "sdk";
|
|
17153
|
+
skill: "skill";
|
|
17154
|
+
web_ui: "web_ui";
|
|
17155
|
+
webhook: "webhook";
|
|
17156
|
+
}>>;
|
|
17157
|
+
}, z.core.$strip>>>;
|
|
16619
17158
|
sourceMeta: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
16620
17159
|
reviewPolicySnapshot: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
16621
17160
|
mergeSummary: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
@@ -17040,6 +17579,22 @@ declare const cloudContract: {
|
|
|
17040
17579
|
image: z.ZodNullable<z.ZodString>;
|
|
17041
17580
|
role: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17042
17581
|
}, z.core.$strip>>>>;
|
|
17582
|
+
sourceAttribution: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
17583
|
+
displayName: z.ZodNullable<z.ZodString>;
|
|
17584
|
+
ownerName: z.ZodNullable<z.ZodString>;
|
|
17585
|
+
channel: z.ZodNullable<z.ZodEnum<{
|
|
17586
|
+
automation: "automation";
|
|
17587
|
+
browser: "browser";
|
|
17588
|
+
cli: "cli";
|
|
17589
|
+
import: "import";
|
|
17590
|
+
mcp: "mcp";
|
|
17591
|
+
openapi: "openapi";
|
|
17592
|
+
sdk: "sdk";
|
|
17593
|
+
skill: "skill";
|
|
17594
|
+
web_ui: "web_ui";
|
|
17595
|
+
webhook: "webhook";
|
|
17596
|
+
}>>;
|
|
17597
|
+
}, z.core.$strip>>>;
|
|
17043
17598
|
sourceMeta: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
17044
17599
|
reviewPolicySnapshot: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
17045
17600
|
mergeSummary: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
@@ -17460,6 +18015,22 @@ declare const cloudContract: {
|
|
|
17460
18015
|
image: z.ZodNullable<z.ZodString>;
|
|
17461
18016
|
role: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17462
18017
|
}, z.core.$strip>>>>;
|
|
18018
|
+
sourceAttribution: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
18019
|
+
displayName: z.ZodNullable<z.ZodString>;
|
|
18020
|
+
ownerName: z.ZodNullable<z.ZodString>;
|
|
18021
|
+
channel: z.ZodNullable<z.ZodEnum<{
|
|
18022
|
+
automation: "automation";
|
|
18023
|
+
browser: "browser";
|
|
18024
|
+
cli: "cli";
|
|
18025
|
+
import: "import";
|
|
18026
|
+
mcp: "mcp";
|
|
18027
|
+
openapi: "openapi";
|
|
18028
|
+
sdk: "sdk";
|
|
18029
|
+
skill: "skill";
|
|
18030
|
+
web_ui: "web_ui";
|
|
18031
|
+
webhook: "webhook";
|
|
18032
|
+
}>>;
|
|
18033
|
+
}, z.core.$strip>>>;
|
|
17463
18034
|
sourceMeta: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
17464
18035
|
reviewPolicySnapshot: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
17465
18036
|
mergeSummary: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
@@ -18160,6 +18731,22 @@ declare const cloudContract: {
|
|
|
18160
18731
|
image: z.ZodNullable<z.ZodString>;
|
|
18161
18732
|
role: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18162
18733
|
}, z.core.$strip>>>>;
|
|
18734
|
+
sourceAttribution: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
18735
|
+
displayName: z.ZodNullable<z.ZodString>;
|
|
18736
|
+
ownerName: z.ZodNullable<z.ZodString>;
|
|
18737
|
+
channel: z.ZodNullable<z.ZodEnum<{
|
|
18738
|
+
automation: "automation";
|
|
18739
|
+
browser: "browser";
|
|
18740
|
+
cli: "cli";
|
|
18741
|
+
import: "import";
|
|
18742
|
+
mcp: "mcp";
|
|
18743
|
+
openapi: "openapi";
|
|
18744
|
+
sdk: "sdk";
|
|
18745
|
+
skill: "skill";
|
|
18746
|
+
web_ui: "web_ui";
|
|
18747
|
+
webhook: "webhook";
|
|
18748
|
+
}>>;
|
|
18749
|
+
}, z.core.$strip>>>;
|
|
18163
18750
|
sourceMeta: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
18164
18751
|
reviewPolicySnapshot: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
18165
18752
|
mergeSummary: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
@@ -19670,6 +20257,22 @@ declare const cloudContract: {
|
|
|
19670
20257
|
image: z.ZodNullable<z.ZodString>;
|
|
19671
20258
|
role: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19672
20259
|
}, z.core.$strip>>>>;
|
|
20260
|
+
sourceAttribution: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
20261
|
+
displayName: z.ZodNullable<z.ZodString>;
|
|
20262
|
+
ownerName: z.ZodNullable<z.ZodString>;
|
|
20263
|
+
channel: z.ZodNullable<z.ZodEnum<{
|
|
20264
|
+
automation: "automation";
|
|
20265
|
+
browser: "browser";
|
|
20266
|
+
cli: "cli";
|
|
20267
|
+
import: "import";
|
|
20268
|
+
mcp: "mcp";
|
|
20269
|
+
openapi: "openapi";
|
|
20270
|
+
sdk: "sdk";
|
|
20271
|
+
skill: "skill";
|
|
20272
|
+
web_ui: "web_ui";
|
|
20273
|
+
webhook: "webhook";
|
|
20274
|
+
}>>;
|
|
20275
|
+
}, z.core.$strip>>>;
|
|
19673
20276
|
sourceMeta: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
19674
20277
|
reviewPolicySnapshot: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
19675
20278
|
mergeSummary: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
@@ -20086,6 +20689,22 @@ declare const cloudContract: {
|
|
|
20086
20689
|
image: z.ZodNullable<z.ZodString>;
|
|
20087
20690
|
role: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20088
20691
|
}, z.core.$strip>>>>;
|
|
20692
|
+
sourceAttribution: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
20693
|
+
displayName: z.ZodNullable<z.ZodString>;
|
|
20694
|
+
ownerName: z.ZodNullable<z.ZodString>;
|
|
20695
|
+
channel: z.ZodNullable<z.ZodEnum<{
|
|
20696
|
+
automation: "automation";
|
|
20697
|
+
browser: "browser";
|
|
20698
|
+
cli: "cli";
|
|
20699
|
+
import: "import";
|
|
20700
|
+
mcp: "mcp";
|
|
20701
|
+
openapi: "openapi";
|
|
20702
|
+
sdk: "sdk";
|
|
20703
|
+
skill: "skill";
|
|
20704
|
+
web_ui: "web_ui";
|
|
20705
|
+
webhook: "webhook";
|
|
20706
|
+
}>>;
|
|
20707
|
+
}, z.core.$strip>>>;
|
|
20089
20708
|
sourceMeta: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
20090
20709
|
reviewPolicySnapshot: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
20091
20710
|
mergeSummary: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
@@ -20720,6 +21339,22 @@ declare const cloudContract: {
|
|
|
20720
21339
|
image: z.ZodNullable<z.ZodString>;
|
|
20721
21340
|
role: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20722
21341
|
}, z.core.$strip>>>>;
|
|
21342
|
+
sourceAttribution: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
21343
|
+
displayName: z.ZodNullable<z.ZodString>;
|
|
21344
|
+
ownerName: z.ZodNullable<z.ZodString>;
|
|
21345
|
+
channel: z.ZodNullable<z.ZodEnum<{
|
|
21346
|
+
automation: "automation";
|
|
21347
|
+
browser: "browser";
|
|
21348
|
+
cli: "cli";
|
|
21349
|
+
import: "import";
|
|
21350
|
+
mcp: "mcp";
|
|
21351
|
+
openapi: "openapi";
|
|
21352
|
+
sdk: "sdk";
|
|
21353
|
+
skill: "skill";
|
|
21354
|
+
web_ui: "web_ui";
|
|
21355
|
+
webhook: "webhook";
|
|
21356
|
+
}>>;
|
|
21357
|
+
}, z.core.$strip>>>;
|
|
20723
21358
|
sourceMeta: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
20724
21359
|
reviewPolicySnapshot: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
20725
21360
|
mergeSummary: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
@@ -21204,7 +21839,12 @@ declare const cloudContract: {
|
|
|
21204
21839
|
};
|
|
21205
21840
|
embedLinks: {
|
|
21206
21841
|
create: import("@orpc/contract").ContractProcedure<z.ZodObject<{
|
|
21207
|
-
|
|
21842
|
+
type: z.ZodEnum<{
|
|
21843
|
+
"change-request": "change-request";
|
|
21844
|
+
node: "node";
|
|
21845
|
+
"record-detail": "record-detail";
|
|
21846
|
+
}>;
|
|
21847
|
+
typeId: z.ZodString;
|
|
21208
21848
|
expiresInMinutes: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
21209
21849
|
framePolicy: z.ZodDefault<z.ZodOptional<z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
21210
21850
|
mode: z.ZodLiteral<"anywhere">;
|
|
@@ -21230,9 +21870,14 @@ declare const cloudContract: {
|
|
|
21230
21870
|
}>>>>;
|
|
21231
21871
|
}, z.core.$strip>, z.ZodObject<{
|
|
21232
21872
|
id: z.ZodString;
|
|
21233
|
-
|
|
21234
|
-
|
|
21235
|
-
|
|
21873
|
+
type: z.ZodEnum<{
|
|
21874
|
+
"change-request": "change-request";
|
|
21875
|
+
node: "node";
|
|
21876
|
+
"record-detail": "record-detail";
|
|
21877
|
+
}>;
|
|
21878
|
+
typeId: z.ZodString;
|
|
21879
|
+
targetName: z.ZodString;
|
|
21880
|
+
nodeType: z.ZodNullable<z.ZodEnum<{
|
|
21236
21881
|
airapp: "airapp";
|
|
21237
21882
|
base: "base";
|
|
21238
21883
|
doc: "doc";
|
|
@@ -21240,7 +21885,7 @@ declare const cloudContract: {
|
|
|
21240
21885
|
file: "file";
|
|
21241
21886
|
folder: "folder";
|
|
21242
21887
|
skill: "skill";
|
|
21243
|
-
}
|
|
21888
|
+
}>>;
|
|
21244
21889
|
createdAt: z.ZodString;
|
|
21245
21890
|
expiresAt: z.ZodString;
|
|
21246
21891
|
revokedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -21256,28 +21901,28 @@ declare const cloudContract: {
|
|
|
21256
21901
|
url: z.ZodString;
|
|
21257
21902
|
iframeUrl: z.ZodString;
|
|
21258
21903
|
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
21259
|
-
|
|
21904
|
+
BAD_REQUEST: {
|
|
21260
21905
|
status: number;
|
|
21261
21906
|
message: string;
|
|
21262
21907
|
data: z.ZodObject<{
|
|
21263
21908
|
error: z.ZodString;
|
|
21264
21909
|
}, z.core.$strip>;
|
|
21265
21910
|
};
|
|
21266
|
-
|
|
21911
|
+
UNAUTHORIZED: {
|
|
21267
21912
|
status: number;
|
|
21268
21913
|
message: string;
|
|
21269
21914
|
data: z.ZodObject<{
|
|
21270
21915
|
error: z.ZodString;
|
|
21271
21916
|
}, z.core.$strip>;
|
|
21272
21917
|
};
|
|
21273
|
-
|
|
21918
|
+
FORBIDDEN: {
|
|
21274
21919
|
status: number;
|
|
21275
21920
|
message: string;
|
|
21276
21921
|
data: z.ZodObject<{
|
|
21277
21922
|
error: z.ZodString;
|
|
21278
21923
|
}, z.core.$strip>;
|
|
21279
21924
|
};
|
|
21280
|
-
|
|
21925
|
+
NOT_FOUND: {
|
|
21281
21926
|
status: number;
|
|
21282
21927
|
message: string;
|
|
21283
21928
|
data: z.ZodObject<{
|
|
@@ -21286,12 +21931,22 @@ declare const cloudContract: {
|
|
|
21286
21931
|
};
|
|
21287
21932
|
}>>, Record<never, never>>;
|
|
21288
21933
|
list: import("@orpc/contract").ContractProcedure<z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
21289
|
-
|
|
21934
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
21935
|
+
"change-request": "change-request";
|
|
21936
|
+
node: "node";
|
|
21937
|
+
"record-detail": "record-detail";
|
|
21938
|
+
}>>;
|
|
21939
|
+
typeId: z.ZodOptional<z.ZodString>;
|
|
21290
21940
|
}, z.core.$strip>>>, z.ZodArray<z.ZodObject<{
|
|
21291
21941
|
id: z.ZodString;
|
|
21292
|
-
|
|
21293
|
-
|
|
21294
|
-
|
|
21942
|
+
type: z.ZodEnum<{
|
|
21943
|
+
"change-request": "change-request";
|
|
21944
|
+
node: "node";
|
|
21945
|
+
"record-detail": "record-detail";
|
|
21946
|
+
}>;
|
|
21947
|
+
typeId: z.ZodString;
|
|
21948
|
+
targetName: z.ZodString;
|
|
21949
|
+
nodeType: z.ZodNullable<z.ZodEnum<{
|
|
21295
21950
|
airapp: "airapp";
|
|
21296
21951
|
base: "base";
|
|
21297
21952
|
doc: "doc";
|
|
@@ -21299,7 +21954,7 @@ declare const cloudContract: {
|
|
|
21299
21954
|
file: "file";
|
|
21300
21955
|
folder: "folder";
|
|
21301
21956
|
skill: "skill";
|
|
21302
|
-
}
|
|
21957
|
+
}>>;
|
|
21303
21958
|
createdAt: z.ZodString;
|
|
21304
21959
|
expiresAt: z.ZodString;
|
|
21305
21960
|
revokedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -21313,28 +21968,28 @@ declare const cloudContract: {
|
|
|
21313
21968
|
allowedOrigins: z.ZodArray<z.ZodString>;
|
|
21314
21969
|
}, z.core.$strip>;
|
|
21315
21970
|
}, z.core.$strip>>, import("@orpc/contract").MergedErrorMap<Record<never, never>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
21316
|
-
|
|
21971
|
+
BAD_REQUEST: {
|
|
21317
21972
|
status: number;
|
|
21318
21973
|
message: string;
|
|
21319
21974
|
data: z.ZodObject<{
|
|
21320
21975
|
error: z.ZodString;
|
|
21321
21976
|
}, z.core.$strip>;
|
|
21322
21977
|
};
|
|
21323
|
-
|
|
21978
|
+
UNAUTHORIZED: {
|
|
21324
21979
|
status: number;
|
|
21325
21980
|
message: string;
|
|
21326
21981
|
data: z.ZodObject<{
|
|
21327
21982
|
error: z.ZodString;
|
|
21328
21983
|
}, z.core.$strip>;
|
|
21329
21984
|
};
|
|
21330
|
-
|
|
21985
|
+
FORBIDDEN: {
|
|
21331
21986
|
status: number;
|
|
21332
21987
|
message: string;
|
|
21333
21988
|
data: z.ZodObject<{
|
|
21334
21989
|
error: z.ZodString;
|
|
21335
21990
|
}, z.core.$strip>;
|
|
21336
21991
|
};
|
|
21337
|
-
|
|
21992
|
+
NOT_FOUND: {
|
|
21338
21993
|
status: number;
|
|
21339
21994
|
message: string;
|
|
21340
21995
|
data: z.ZodObject<{
|
|
@@ -21347,28 +22002,28 @@ declare const cloudContract: {
|
|
|
21347
22002
|
}, z.core.$strip>, z.ZodObject<{
|
|
21348
22003
|
revoked: z.ZodLiteral<true>;
|
|
21349
22004
|
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
21350
|
-
|
|
22005
|
+
BAD_REQUEST: {
|
|
21351
22006
|
status: number;
|
|
21352
22007
|
message: string;
|
|
21353
22008
|
data: z.ZodObject<{
|
|
21354
22009
|
error: z.ZodString;
|
|
21355
22010
|
}, z.core.$strip>;
|
|
21356
22011
|
};
|
|
21357
|
-
|
|
22012
|
+
UNAUTHORIZED: {
|
|
21358
22013
|
status: number;
|
|
21359
22014
|
message: string;
|
|
21360
22015
|
data: z.ZodObject<{
|
|
21361
22016
|
error: z.ZodString;
|
|
21362
22017
|
}, z.core.$strip>;
|
|
21363
22018
|
};
|
|
21364
|
-
|
|
22019
|
+
FORBIDDEN: {
|
|
21365
22020
|
status: number;
|
|
21366
22021
|
message: string;
|
|
21367
22022
|
data: z.ZodObject<{
|
|
21368
22023
|
error: z.ZodString;
|
|
21369
22024
|
}, z.core.$strip>;
|
|
21370
22025
|
};
|
|
21371
|
-
|
|
22026
|
+
NOT_FOUND: {
|
|
21372
22027
|
status: number;
|
|
21373
22028
|
message: string;
|
|
21374
22029
|
data: z.ZodObject<{
|
|
@@ -21380,6 +22035,2834 @@ declare const cloudContract: {
|
|
|
21380
22035
|
};
|
|
21381
22036
|
type CloudContract = typeof cloudContract;
|
|
21382
22037
|
//#endregion
|
|
22038
|
+
//#region ../../packages/open-domains/attachments/types/attachments.d.ts
|
|
22039
|
+
/**
|
|
22040
|
+
* Denormalized attachment reference stored inline in a record's `attachment`
|
|
22041
|
+
* field value (Airtable-style: the cell holds an array of these, so rendering
|
|
22042
|
+
* needs no join). `id` points at the `attachments` registry row.
|
|
22043
|
+
*/
|
|
22044
|
+
declare const AttachmentRefSchema: z.ZodObject<{
|
|
22045
|
+
id: z.ZodString;
|
|
22046
|
+
url: z.ZodString;
|
|
22047
|
+
fileName: z.ZodString;
|
|
22048
|
+
mimeType: z.ZodString;
|
|
22049
|
+
size: z.ZodNumber;
|
|
22050
|
+
}, z.core.$strip>;
|
|
22051
|
+
type AttachmentRef = z.infer<typeof AttachmentRefSchema>;
|
|
22052
|
+
//#endregion
|
|
22053
|
+
//#region ../../packages/openlib/i18n/i-string.d.ts
|
|
22054
|
+
declare const iStringSchema: z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodEnum<{
|
|
22055
|
+
de: "de";
|
|
22056
|
+
en: "en";
|
|
22057
|
+
es: "es";
|
|
22058
|
+
fr: "fr";
|
|
22059
|
+
ja: "ja";
|
|
22060
|
+
ko: "ko";
|
|
22061
|
+
pt: "pt";
|
|
22062
|
+
"zh-CN": "zh-CN";
|
|
22063
|
+
"zh-TW": "zh-TW";
|
|
22064
|
+
}> & z.core.$partial, z.ZodString>]>;
|
|
22065
|
+
type iString = z.infer<typeof iStringSchema>;
|
|
22066
|
+
//#endregion
|
|
22067
|
+
//#region ../../packages/busabase-contract/src/domains/base/types.d.ts
|
|
22068
|
+
interface AssetAttachmentRef extends AttachmentRef {
|
|
22069
|
+
attachmentId: string;
|
|
22070
|
+
assetId?: string;
|
|
22071
|
+
}
|
|
22072
|
+
interface BaseFieldVO {
|
|
22073
|
+
id: string;
|
|
22074
|
+
baseId: string;
|
|
22075
|
+
slug: string;
|
|
22076
|
+
/**
|
|
22077
|
+
* Display name — a plain string or a locale-keyed record
|
|
22078
|
+
* (e.g. { en: "Company", "zh-CN": "公司" }). Resolve with iStringParse.
|
|
22079
|
+
*/
|
|
22080
|
+
name: iString;
|
|
22081
|
+
type: FieldType;
|
|
22082
|
+
required: boolean;
|
|
22083
|
+
position: number;
|
|
22084
|
+
options: {
|
|
22085
|
+
ai?: {
|
|
22086
|
+
model?: string;
|
|
22087
|
+
prompt?: string;
|
|
22088
|
+
reviewRequired?: boolean;
|
|
22089
|
+
sourceFieldIds?: string[];
|
|
22090
|
+
};
|
|
22091
|
+
attachment?: {
|
|
22092
|
+
maxFiles?: number;
|
|
22093
|
+
allowedMimeTypes?: string[];
|
|
22094
|
+
maxFileSize?: number;
|
|
22095
|
+
};
|
|
22096
|
+
choices?: Array<{
|
|
22097
|
+
color?: string;
|
|
22098
|
+
id: string;
|
|
22099
|
+
name: string;
|
|
22100
|
+
}>;
|
|
22101
|
+
code?: {
|
|
22102
|
+
language?: string;
|
|
22103
|
+
};
|
|
22104
|
+
embed?: {
|
|
22105
|
+
aspectRatio?: "16:9" | "4:3" | "1:1";
|
|
22106
|
+
height?: number;
|
|
22107
|
+
providers?: string[];
|
|
22108
|
+
};
|
|
22109
|
+
formula?: {
|
|
22110
|
+
expression: string;
|
|
22111
|
+
};
|
|
22112
|
+
inverseFieldId?: string;
|
|
22113
|
+
lookup?: {
|
|
22114
|
+
relationFieldSlug: string;
|
|
22115
|
+
targetFieldSlug: string;
|
|
22116
|
+
rollup?: LookupRollup;
|
|
22117
|
+
limit?: "all" | "first";
|
|
22118
|
+
};
|
|
22119
|
+
multiple?: boolean;
|
|
22120
|
+
targetBaseId?: string;
|
|
22121
|
+
number?: {
|
|
22122
|
+
format?: "plain" | "currency";
|
|
22123
|
+
currency?: string;
|
|
22124
|
+
locale?: string;
|
|
22125
|
+
};
|
|
22126
|
+
};
|
|
22127
|
+
}
|
|
22128
|
+
interface BaseVO {
|
|
22129
|
+
id: string;
|
|
22130
|
+
nodeId: string;
|
|
22131
|
+
slug: string;
|
|
22132
|
+
name: string;
|
|
22133
|
+
description: string;
|
|
22134
|
+
reviewPolicy: {
|
|
22135
|
+
kind: "single";
|
|
22136
|
+
requiredApprovals: number;
|
|
22137
|
+
};
|
|
22138
|
+
createdAt: string;
|
|
22139
|
+
fields: BaseFieldVO[];
|
|
22140
|
+
}
|
|
22141
|
+
type ViewFilterOperator = "contains" | "equals" | "not_empty" | "is_empty" | "is_true" | "is_false";
|
|
22142
|
+
interface ViewFilterVO {
|
|
22143
|
+
fieldSlug: string;
|
|
22144
|
+
fieldId?: string;
|
|
22145
|
+
operator: ViewFilterOperator;
|
|
22146
|
+
value?: unknown;
|
|
22147
|
+
}
|
|
22148
|
+
interface ViewSortVO {
|
|
22149
|
+
direction: "asc" | "desc";
|
|
22150
|
+
fieldSlug: string;
|
|
22151
|
+
fieldId?: string;
|
|
22152
|
+
}
|
|
22153
|
+
type ViewType = "table" | "gallery" | "kanban" | "calendar" | "gantt";
|
|
22154
|
+
type GalleryCoverFit = "cover" | "fit";
|
|
22155
|
+
type GalleryCardSize = "small" | "medium" | "large";
|
|
22156
|
+
type GanttScale = "week" | "month";
|
|
22157
|
+
declare const VIEW_FIELD_MIN_WIDTH = 92;
|
|
22158
|
+
declare const VIEW_FIELD_MAX_WIDTH = 640;
|
|
22159
|
+
interface ViewConfigVO {
|
|
22160
|
+
filters: ViewFilterVO[];
|
|
22161
|
+
sorts: ViewSortVO[];
|
|
22162
|
+
visibleFieldSlugs?: string[] | null;
|
|
22163
|
+
/** Table-only column widths in pixels, keyed by field slug. */
|
|
22164
|
+
fieldWidths?: Record<string, number>;
|
|
22165
|
+
coverFieldSlug?: string | null;
|
|
22166
|
+
coverFit?: GalleryCoverFit;
|
|
22167
|
+
cardSize?: GalleryCardSize;
|
|
22168
|
+
showFieldLabels?: boolean;
|
|
22169
|
+
stackByFieldSlug?: string | null;
|
|
22170
|
+
dateFieldSlug?: string | null;
|
|
22171
|
+
startFieldSlug?: string | null;
|
|
22172
|
+
endFieldSlug?: string | null;
|
|
22173
|
+
ganttScale?: GanttScale;
|
|
22174
|
+
}
|
|
22175
|
+
interface ViewVO {
|
|
22176
|
+
id: string;
|
|
22177
|
+
baseId: string;
|
|
22178
|
+
slug: string;
|
|
22179
|
+
name: string;
|
|
22180
|
+
description: string;
|
|
22181
|
+
type: ViewType;
|
|
22182
|
+
config: ViewConfigVO;
|
|
22183
|
+
status: "active" | "archived";
|
|
22184
|
+
createdBy: string;
|
|
22185
|
+
createdByUser?: UserRefVO | null;
|
|
22186
|
+
archivedAt: string | null;
|
|
22187
|
+
createdAt: string;
|
|
22188
|
+
updatedAt: string;
|
|
22189
|
+
}
|
|
22190
|
+
interface RecordVO {
|
|
22191
|
+
id: string;
|
|
22192
|
+
baseId: string;
|
|
22193
|
+
headCommitId: string;
|
|
22194
|
+
parentRecordId: string | null;
|
|
22195
|
+
parentCommitId: string | null;
|
|
22196
|
+
status: "active" | "archived";
|
|
22197
|
+
createdBy: string;
|
|
22198
|
+
createdByUser?: UserRefVO | null;
|
|
22199
|
+
archivedAt: string | null;
|
|
22200
|
+
createdAt: string;
|
|
22201
|
+
updatedAt: string;
|
|
22202
|
+
base: BaseVO;
|
|
22203
|
+
headCommit: CommitVO;
|
|
22204
|
+
}
|
|
22205
|
+
interface RecordLinkVO {
|
|
22206
|
+
id: string;
|
|
22207
|
+
baseId: string;
|
|
22208
|
+
fieldId: string;
|
|
22209
|
+
fieldSlug: string;
|
|
22210
|
+
sourceRecordId: string;
|
|
22211
|
+
targetBaseId: string;
|
|
22212
|
+
targetRecordId: string;
|
|
22213
|
+
commitId: string;
|
|
22214
|
+
position: number;
|
|
22215
|
+
createdAt: string;
|
|
22216
|
+
updatedAt: string;
|
|
22217
|
+
}
|
|
22218
|
+
//#endregion
|
|
22219
|
+
//#region ../../packages/busabase-contract/src/domains/form/types.d.ts
|
|
22220
|
+
/**
|
|
22221
|
+
* One input-to-field mapping. `inputName` is the name the agent-authored page
|
|
22222
|
+
* uses for a control; `fieldSlug` is the target Base field it writes to.
|
|
22223
|
+
* `required`/`label`/`help` are per-form overrides that DON'T mutate the Base
|
|
22224
|
+
* field definition (fixing APITable's "form not self-contained" limitation).
|
|
22225
|
+
*/
|
|
22226
|
+
declare const FormFieldBindingSchema: z.ZodObject<{
|
|
22227
|
+
inputName: z.ZodString;
|
|
22228
|
+
fieldSlug: z.ZodString;
|
|
22229
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
22230
|
+
label: z.ZodOptional<z.ZodString>;
|
|
22231
|
+
help: z.ZodOptional<z.ZodString>;
|
|
22232
|
+
}, z.core.$strip>;
|
|
22233
|
+
type FormFieldBindingVO = z.infer<typeof FormFieldBindingSchema>;
|
|
22234
|
+
/**
|
|
22235
|
+
* Client-safe control metadata for one bound Base field. Public Forms expose
|
|
22236
|
+
* only these curated fields, never the target Base or its records.
|
|
22237
|
+
*/
|
|
22238
|
+
declare const FormBoundFieldSchema: z.ZodObject<{
|
|
22239
|
+
slug: z.ZodString;
|
|
22240
|
+
name: z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodEnum<{
|
|
22241
|
+
de: "de";
|
|
22242
|
+
en: "en";
|
|
22243
|
+
es: "es";
|
|
22244
|
+
fr: "fr";
|
|
22245
|
+
ja: "ja";
|
|
22246
|
+
ko: "ko";
|
|
22247
|
+
pt: "pt";
|
|
22248
|
+
"zh-CN": "zh-CN";
|
|
22249
|
+
"zh-TW": "zh-TW";
|
|
22250
|
+
}> & z.core.$partial, z.ZodString>]>;
|
|
22251
|
+
type: z.ZodEnum<{
|
|
22252
|
+
ai_summary: "ai_summary";
|
|
22253
|
+
ai_tags: "ai_tags";
|
|
22254
|
+
attachment: "attachment";
|
|
22255
|
+
auto_number: "auto_number";
|
|
22256
|
+
checkbox: "checkbox";
|
|
22257
|
+
code: "code";
|
|
22258
|
+
created_by: "created_by";
|
|
22259
|
+
created_time: "created_time";
|
|
22260
|
+
date: "date";
|
|
22261
|
+
email: "email";
|
|
22262
|
+
embed: "embed";
|
|
22263
|
+
formula: "formula";
|
|
22264
|
+
html: "html";
|
|
22265
|
+
json: "json";
|
|
22266
|
+
longtext: "longtext";
|
|
22267
|
+
lookup: "lookup";
|
|
22268
|
+
markdown: "markdown";
|
|
22269
|
+
multiselect: "multiselect";
|
|
22270
|
+
number: "number";
|
|
22271
|
+
phone: "phone";
|
|
22272
|
+
relation: "relation";
|
|
22273
|
+
select: "select";
|
|
22274
|
+
text: "text";
|
|
22275
|
+
updated_by: "updated_by";
|
|
22276
|
+
updated_time: "updated_time";
|
|
22277
|
+
url: "url";
|
|
22278
|
+
whiteboard: "whiteboard";
|
|
22279
|
+
yaml: "yaml";
|
|
22280
|
+
}>;
|
|
22281
|
+
choices: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
22282
|
+
id: z.ZodString;
|
|
22283
|
+
name: z.ZodString;
|
|
22284
|
+
}, z.core.$strip>>>;
|
|
22285
|
+
}, z.core.$strip>;
|
|
22286
|
+
type FormBoundFieldVO = z.infer<typeof FormBoundFieldSchema>;
|
|
22287
|
+
/** Optional theme tokens layered over the agent-authored page. */
|
|
22288
|
+
declare const FormThemeSchema: z.ZodObject<{
|
|
22289
|
+
logoUrl: z.ZodOptional<z.ZodString>;
|
|
22290
|
+
coverUrl: z.ZodOptional<z.ZodString>;
|
|
22291
|
+
brandColor: z.ZodOptional<z.ZodString>;
|
|
22292
|
+
hideBranding: z.ZodOptional<z.ZodBoolean>;
|
|
22293
|
+
}, z.core.$strip>;
|
|
22294
|
+
type FormThemeVO = z.infer<typeof FormThemeSchema>;
|
|
22295
|
+
/**
|
|
22296
|
+
* Page source: ONE HTML document the agent authors — `<style>`/`<script>` live
|
|
22297
|
+
* inside it, exactly as a real web page does. (This was briefly split into
|
|
22298
|
+
* html/css/js, but the renderer only ever concatenated the parts back into a
|
|
22299
|
+
* single document and no step needed them apart — the split was ceremony.)
|
|
22300
|
+
* Block-drag authoring is intentionally NOT built; the agent writes code.
|
|
22301
|
+
*/
|
|
22302
|
+
declare const FormPageSourceSchema: z.ZodObject<{
|
|
22303
|
+
code: z.ZodOptional<z.ZodString>;
|
|
22304
|
+
theme: z.ZodOptional<z.ZodObject<{
|
|
22305
|
+
logoUrl: z.ZodOptional<z.ZodString>;
|
|
22306
|
+
coverUrl: z.ZodOptional<z.ZodString>;
|
|
22307
|
+
brandColor: z.ZodOptional<z.ZodString>;
|
|
22308
|
+
hideBranding: z.ZodOptional<z.ZodBoolean>;
|
|
22309
|
+
}, z.core.$strip>>;
|
|
22310
|
+
}, z.core.$strip>;
|
|
22311
|
+
type FormPageSourceVO = z.infer<typeof FormPageSourceSchema>;
|
|
22312
|
+
/**
|
|
22313
|
+
* Public/anonymous settings. No shareToken — the submit endpoint gates on these
|
|
22314
|
+
* flags. Three states: private / public+anonymous / public+require-login.
|
|
22315
|
+
*/
|
|
22316
|
+
declare const FormShareSchema: z.ZodObject<{
|
|
22317
|
+
isPublic: z.ZodDefault<z.ZodBoolean>;
|
|
22318
|
+
anonymousSubmit: z.ZodDefault<z.ZodBoolean>;
|
|
22319
|
+
submitLimit: z.ZodOptional<z.ZodNumber>;
|
|
22320
|
+
requireCaptcha: z.ZodOptional<z.ZodBoolean>;
|
|
22321
|
+
}, z.core.$strip>;
|
|
22322
|
+
type FormShareVO = z.infer<typeof FormShareSchema>;
|
|
22323
|
+
declare const FormVOSchema: z.ZodObject<{
|
|
22324
|
+
id: z.ZodString;
|
|
22325
|
+
nodeId: z.ZodString;
|
|
22326
|
+
spaceId: z.ZodString;
|
|
22327
|
+
targetBaseId: z.ZodString;
|
|
22328
|
+
name: z.ZodString;
|
|
22329
|
+
description: z.ZodString;
|
|
22330
|
+
bindings: z.ZodArray<z.ZodObject<{
|
|
22331
|
+
inputName: z.ZodString;
|
|
22332
|
+
fieldSlug: z.ZodString;
|
|
22333
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
22334
|
+
label: z.ZodOptional<z.ZodString>;
|
|
22335
|
+
help: z.ZodOptional<z.ZodString>;
|
|
22336
|
+
}, z.core.$strip>>;
|
|
22337
|
+
boundFields: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
22338
|
+
slug: z.ZodString;
|
|
22339
|
+
name: z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodEnum<{
|
|
22340
|
+
de: "de";
|
|
22341
|
+
en: "en";
|
|
22342
|
+
es: "es";
|
|
22343
|
+
fr: "fr";
|
|
22344
|
+
ja: "ja";
|
|
22345
|
+
ko: "ko";
|
|
22346
|
+
pt: "pt";
|
|
22347
|
+
"zh-CN": "zh-CN";
|
|
22348
|
+
"zh-TW": "zh-TW";
|
|
22349
|
+
}> & z.core.$partial, z.ZodString>]>;
|
|
22350
|
+
type: z.ZodEnum<{
|
|
22351
|
+
ai_summary: "ai_summary";
|
|
22352
|
+
ai_tags: "ai_tags";
|
|
22353
|
+
attachment: "attachment";
|
|
22354
|
+
auto_number: "auto_number";
|
|
22355
|
+
checkbox: "checkbox";
|
|
22356
|
+
code: "code";
|
|
22357
|
+
created_by: "created_by";
|
|
22358
|
+
created_time: "created_time";
|
|
22359
|
+
date: "date";
|
|
22360
|
+
email: "email";
|
|
22361
|
+
embed: "embed";
|
|
22362
|
+
formula: "formula";
|
|
22363
|
+
html: "html";
|
|
22364
|
+
json: "json";
|
|
22365
|
+
longtext: "longtext";
|
|
22366
|
+
lookup: "lookup";
|
|
22367
|
+
markdown: "markdown";
|
|
22368
|
+
multiselect: "multiselect";
|
|
22369
|
+
number: "number";
|
|
22370
|
+
phone: "phone";
|
|
22371
|
+
relation: "relation";
|
|
22372
|
+
select: "select";
|
|
22373
|
+
text: "text";
|
|
22374
|
+
updated_by: "updated_by";
|
|
22375
|
+
updated_time: "updated_time";
|
|
22376
|
+
url: "url";
|
|
22377
|
+
whiteboard: "whiteboard";
|
|
22378
|
+
yaml: "yaml";
|
|
22379
|
+
}>;
|
|
22380
|
+
choices: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
22381
|
+
id: z.ZodString;
|
|
22382
|
+
name: z.ZodString;
|
|
22383
|
+
}, z.core.$strip>>>;
|
|
22384
|
+
}, z.core.$strip>>>;
|
|
22385
|
+
page: z.ZodObject<{
|
|
22386
|
+
code: z.ZodOptional<z.ZodString>;
|
|
22387
|
+
theme: z.ZodOptional<z.ZodObject<{
|
|
22388
|
+
logoUrl: z.ZodOptional<z.ZodString>;
|
|
22389
|
+
coverUrl: z.ZodOptional<z.ZodString>;
|
|
22390
|
+
brandColor: z.ZodOptional<z.ZodString>;
|
|
22391
|
+
hideBranding: z.ZodOptional<z.ZodBoolean>;
|
|
22392
|
+
}, z.core.$strip>>;
|
|
22393
|
+
}, z.core.$strip>;
|
|
22394
|
+
share: z.ZodObject<{
|
|
22395
|
+
isPublic: z.ZodDefault<z.ZodBoolean>;
|
|
22396
|
+
anonymousSubmit: z.ZodDefault<z.ZodBoolean>;
|
|
22397
|
+
submitLimit: z.ZodOptional<z.ZodNumber>;
|
|
22398
|
+
requireCaptcha: z.ZodOptional<z.ZodBoolean>;
|
|
22399
|
+
}, z.core.$strip>;
|
|
22400
|
+
submissionCount: z.ZodDefault<z.ZodNumber>;
|
|
22401
|
+
status: z.ZodEnum<{
|
|
22402
|
+
active: "active";
|
|
22403
|
+
archived: "archived";
|
|
22404
|
+
}>;
|
|
22405
|
+
createdBy: z.ZodString;
|
|
22406
|
+
createdAt: z.ZodString;
|
|
22407
|
+
updatedAt: z.ZodString;
|
|
22408
|
+
}, z.core.$strip>;
|
|
22409
|
+
type FormVO = z.infer<typeof FormVOSchema>;
|
|
22410
|
+
declare const ListFormsInputSchema: z.ZodObject<{
|
|
22411
|
+
targetBaseId: z.ZodString;
|
|
22412
|
+
limit: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
22413
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
22414
|
+
}, z.core.$strip>;
|
|
22415
|
+
type ListFormsDTO = z.infer<typeof ListFormsInputSchema>;
|
|
22416
|
+
declare const ListFormsVOSchema: z.ZodObject<{
|
|
22417
|
+
forms: z.ZodArray<z.ZodObject<{
|
|
22418
|
+
id: z.ZodString;
|
|
22419
|
+
nodeId: z.ZodString;
|
|
22420
|
+
spaceId: z.ZodString;
|
|
22421
|
+
targetBaseId: z.ZodString;
|
|
22422
|
+
name: z.ZodString;
|
|
22423
|
+
description: z.ZodString;
|
|
22424
|
+
bindings: z.ZodArray<z.ZodObject<{
|
|
22425
|
+
inputName: z.ZodString;
|
|
22426
|
+
fieldSlug: z.ZodString;
|
|
22427
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
22428
|
+
label: z.ZodOptional<z.ZodString>;
|
|
22429
|
+
help: z.ZodOptional<z.ZodString>;
|
|
22430
|
+
}, z.core.$strip>>;
|
|
22431
|
+
boundFields: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
22432
|
+
slug: z.ZodString;
|
|
22433
|
+
name: z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodEnum<{
|
|
22434
|
+
de: "de";
|
|
22435
|
+
en: "en";
|
|
22436
|
+
es: "es";
|
|
22437
|
+
fr: "fr";
|
|
22438
|
+
ja: "ja";
|
|
22439
|
+
ko: "ko";
|
|
22440
|
+
pt: "pt";
|
|
22441
|
+
"zh-CN": "zh-CN";
|
|
22442
|
+
"zh-TW": "zh-TW";
|
|
22443
|
+
}> & z.core.$partial, z.ZodString>]>;
|
|
22444
|
+
type: z.ZodEnum<{
|
|
22445
|
+
ai_summary: "ai_summary";
|
|
22446
|
+
ai_tags: "ai_tags";
|
|
22447
|
+
attachment: "attachment";
|
|
22448
|
+
auto_number: "auto_number";
|
|
22449
|
+
checkbox: "checkbox";
|
|
22450
|
+
code: "code";
|
|
22451
|
+
created_by: "created_by";
|
|
22452
|
+
created_time: "created_time";
|
|
22453
|
+
date: "date";
|
|
22454
|
+
email: "email";
|
|
22455
|
+
embed: "embed";
|
|
22456
|
+
formula: "formula";
|
|
22457
|
+
html: "html";
|
|
22458
|
+
json: "json";
|
|
22459
|
+
longtext: "longtext";
|
|
22460
|
+
lookup: "lookup";
|
|
22461
|
+
markdown: "markdown";
|
|
22462
|
+
multiselect: "multiselect";
|
|
22463
|
+
number: "number";
|
|
22464
|
+
phone: "phone";
|
|
22465
|
+
relation: "relation";
|
|
22466
|
+
select: "select";
|
|
22467
|
+
text: "text";
|
|
22468
|
+
updated_by: "updated_by";
|
|
22469
|
+
updated_time: "updated_time";
|
|
22470
|
+
url: "url";
|
|
22471
|
+
whiteboard: "whiteboard";
|
|
22472
|
+
yaml: "yaml";
|
|
22473
|
+
}>;
|
|
22474
|
+
choices: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
22475
|
+
id: z.ZodString;
|
|
22476
|
+
name: z.ZodString;
|
|
22477
|
+
}, z.core.$strip>>>;
|
|
22478
|
+
}, z.core.$strip>>>;
|
|
22479
|
+
page: z.ZodObject<{
|
|
22480
|
+
code: z.ZodOptional<z.ZodString>;
|
|
22481
|
+
theme: z.ZodOptional<z.ZodObject<{
|
|
22482
|
+
logoUrl: z.ZodOptional<z.ZodString>;
|
|
22483
|
+
coverUrl: z.ZodOptional<z.ZodString>;
|
|
22484
|
+
brandColor: z.ZodOptional<z.ZodString>;
|
|
22485
|
+
hideBranding: z.ZodOptional<z.ZodBoolean>;
|
|
22486
|
+
}, z.core.$strip>>;
|
|
22487
|
+
}, z.core.$strip>;
|
|
22488
|
+
share: z.ZodObject<{
|
|
22489
|
+
isPublic: z.ZodDefault<z.ZodBoolean>;
|
|
22490
|
+
anonymousSubmit: z.ZodDefault<z.ZodBoolean>;
|
|
22491
|
+
submitLimit: z.ZodOptional<z.ZodNumber>;
|
|
22492
|
+
requireCaptcha: z.ZodOptional<z.ZodBoolean>;
|
|
22493
|
+
}, z.core.$strip>;
|
|
22494
|
+
submissionCount: z.ZodDefault<z.ZodNumber>;
|
|
22495
|
+
status: z.ZodEnum<{
|
|
22496
|
+
active: "active";
|
|
22497
|
+
archived: "archived";
|
|
22498
|
+
}>;
|
|
22499
|
+
createdBy: z.ZodString;
|
|
22500
|
+
createdAt: z.ZodString;
|
|
22501
|
+
updatedAt: z.ZodString;
|
|
22502
|
+
}, z.core.$strip>>;
|
|
22503
|
+
nextCursor: z.ZodNullable<z.ZodString>;
|
|
22504
|
+
}, z.core.$strip>;
|
|
22505
|
+
type ListFormsVO = z.infer<typeof ListFormsVOSchema>;
|
|
22506
|
+
declare const CreateFormInputSchema: z.ZodObject<{
|
|
22507
|
+
nodeId: z.ZodString;
|
|
22508
|
+
targetBaseId: z.ZodString;
|
|
22509
|
+
name: z.ZodString;
|
|
22510
|
+
description: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
22511
|
+
bindings: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
22512
|
+
inputName: z.ZodString;
|
|
22513
|
+
fieldSlug: z.ZodString;
|
|
22514
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
22515
|
+
label: z.ZodOptional<z.ZodString>;
|
|
22516
|
+
help: z.ZodOptional<z.ZodString>;
|
|
22517
|
+
}, z.core.$strip>>>>;
|
|
22518
|
+
page: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
22519
|
+
code: z.ZodOptional<z.ZodString>;
|
|
22520
|
+
theme: z.ZodOptional<z.ZodObject<{
|
|
22521
|
+
logoUrl: z.ZodOptional<z.ZodString>;
|
|
22522
|
+
coverUrl: z.ZodOptional<z.ZodString>;
|
|
22523
|
+
brandColor: z.ZodOptional<z.ZodString>;
|
|
22524
|
+
hideBranding: z.ZodOptional<z.ZodBoolean>;
|
|
22525
|
+
}, z.core.$strip>>;
|
|
22526
|
+
}, z.core.$strip>>>;
|
|
22527
|
+
share: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
22528
|
+
isPublic: z.ZodDefault<z.ZodBoolean>;
|
|
22529
|
+
anonymousSubmit: z.ZodDefault<z.ZodBoolean>;
|
|
22530
|
+
submitLimit: z.ZodOptional<z.ZodNumber>;
|
|
22531
|
+
requireCaptcha: z.ZodOptional<z.ZodBoolean>;
|
|
22532
|
+
}, z.core.$strip>>>;
|
|
22533
|
+
}, z.core.$strip>;
|
|
22534
|
+
type CreateFormDTO = z.input<typeof CreateFormInputSchema>;
|
|
22535
|
+
declare const UpdateFormInputSchema: z.ZodObject<{
|
|
22536
|
+
name: z.ZodOptional<z.ZodString>;
|
|
22537
|
+
description: z.ZodOptional<z.ZodString>;
|
|
22538
|
+
bindings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
22539
|
+
inputName: z.ZodString;
|
|
22540
|
+
fieldSlug: z.ZodString;
|
|
22541
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
22542
|
+
label: z.ZodOptional<z.ZodString>;
|
|
22543
|
+
help: z.ZodOptional<z.ZodString>;
|
|
22544
|
+
}, z.core.$strip>>>;
|
|
22545
|
+
page: z.ZodOptional<z.ZodObject<{
|
|
22546
|
+
code: z.ZodOptional<z.ZodString>;
|
|
22547
|
+
theme: z.ZodOptional<z.ZodObject<{
|
|
22548
|
+
logoUrl: z.ZodOptional<z.ZodString>;
|
|
22549
|
+
coverUrl: z.ZodOptional<z.ZodString>;
|
|
22550
|
+
brandColor: z.ZodOptional<z.ZodString>;
|
|
22551
|
+
hideBranding: z.ZodOptional<z.ZodBoolean>;
|
|
22552
|
+
}, z.core.$strip>>;
|
|
22553
|
+
}, z.core.$strip>>;
|
|
22554
|
+
share: z.ZodOptional<z.ZodObject<{
|
|
22555
|
+
isPublic: z.ZodDefault<z.ZodBoolean>;
|
|
22556
|
+
anonymousSubmit: z.ZodDefault<z.ZodBoolean>;
|
|
22557
|
+
submitLimit: z.ZodOptional<z.ZodNumber>;
|
|
22558
|
+
requireCaptcha: z.ZodOptional<z.ZodBoolean>;
|
|
22559
|
+
}, z.core.$strip>>;
|
|
22560
|
+
}, z.core.$strip>;
|
|
22561
|
+
type UpdateFormDTO = z.input<typeof UpdateFormInputSchema>;
|
|
22562
|
+
/** A filled-in submission: input names → values, plus optional anti-abuse token. */
|
|
22563
|
+
declare const SubmitFormInputSchema: z.ZodObject<{
|
|
22564
|
+
values: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
22565
|
+
captchaToken: z.ZodOptional<z.ZodString>;
|
|
22566
|
+
}, z.core.$strip>;
|
|
22567
|
+
type SubmitFormDTO = z.input<typeof SubmitFormInputSchema>;
|
|
22568
|
+
/** What the submit endpoint returns — the pending ChangeRequest id, never data. */
|
|
22569
|
+
declare const FormSubmitResultSchema: z.ZodObject<{
|
|
22570
|
+
changeRequestId: z.ZodString;
|
|
22571
|
+
status: z.ZodLiteral<"pending_review">;
|
|
22572
|
+
}, z.core.$strip>;
|
|
22573
|
+
type FormSubmitResultVO = z.infer<typeof FormSubmitResultSchema>;
|
|
22574
|
+
//#endregion
|
|
22575
|
+
//#region ../../packages/busabase-contract/src/contract/activity-schemas.d.ts
|
|
22576
|
+
/**
|
|
22577
|
+
* One activity-feed row, discriminated by `kind`. Each carries the VO(s) the
|
|
22578
|
+
* client needs to render its title/body/href:
|
|
22579
|
+
* - `change_request` — the CR "updated / opened / approved / merged" row.
|
|
22580
|
+
* - `operation` — one row per operation; `operationId` selects it within the CR.
|
|
22581
|
+
* - `record` — a record "updated / archived" row.
|
|
22582
|
+
* - `audit` — an audit-log row; `record` is the referenced record (for its href)
|
|
22583
|
+
* when the event points at one, else null.
|
|
22584
|
+
*/
|
|
22585
|
+
declare const activityItemSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
22586
|
+
kind: z.ZodLiteral<"change_request">;
|
|
22587
|
+
timestamp: z.ZodString;
|
|
22588
|
+
changeRequest: z.ZodObject<{
|
|
22589
|
+
id: z.ZodString;
|
|
22590
|
+
baseId: z.ZodNullable<z.ZodString>;
|
|
22591
|
+
targetType: z.ZodEnum<{
|
|
22592
|
+
base: "base";
|
|
22593
|
+
node: "node";
|
|
22594
|
+
}>;
|
|
22595
|
+
nodeId: z.ZodNullable<z.ZodString>;
|
|
22596
|
+
status: z.ZodEnum<{
|
|
22597
|
+
abandoned: "abandoned";
|
|
22598
|
+
approved: "approved";
|
|
22599
|
+
changes_requested: "changes_requested";
|
|
22600
|
+
conflict: "conflict";
|
|
22601
|
+
in_review: "in_review";
|
|
22602
|
+
merged: "merged";
|
|
22603
|
+
rejected: "rejected";
|
|
22604
|
+
}>;
|
|
22605
|
+
submittedBy: z.ZodString;
|
|
22606
|
+
submittedByUser: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
22607
|
+
id: z.ZodString;
|
|
22608
|
+
name: z.ZodNullable<z.ZodString>;
|
|
22609
|
+
email: z.ZodNullable<z.ZodString>;
|
|
22610
|
+
image: z.ZodNullable<z.ZodString>;
|
|
22611
|
+
role: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22612
|
+
}, z.core.$strip>>>>;
|
|
22613
|
+
sourceAttribution: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
22614
|
+
displayName: z.ZodNullable<z.ZodString>;
|
|
22615
|
+
ownerName: z.ZodNullable<z.ZodString>;
|
|
22616
|
+
channel: z.ZodNullable<z.ZodEnum<{
|
|
22617
|
+
automation: "automation";
|
|
22618
|
+
browser: "browser";
|
|
22619
|
+
cli: "cli";
|
|
22620
|
+
import: "import";
|
|
22621
|
+
mcp: "mcp";
|
|
22622
|
+
openapi: "openapi";
|
|
22623
|
+
sdk: "sdk";
|
|
22624
|
+
skill: "skill";
|
|
22625
|
+
web_ui: "web_ui";
|
|
22626
|
+
webhook: "webhook";
|
|
22627
|
+
}>>;
|
|
22628
|
+
}, z.core.$strip>>>;
|
|
22629
|
+
sourceMeta: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
22630
|
+
reviewPolicySnapshot: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
22631
|
+
mergeSummary: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
22632
|
+
rejectedReason: z.ZodNullable<z.ZodString>;
|
|
22633
|
+
reviewedAt: z.ZodNullable<z.ZodString>;
|
|
22634
|
+
mergedAt: z.ZodNullable<z.ZodString>;
|
|
22635
|
+
createdAt: z.ZodString;
|
|
22636
|
+
updatedAt: z.ZodString;
|
|
22637
|
+
base: z.ZodNullable<z.ZodObject<{
|
|
22638
|
+
id: z.ZodString;
|
|
22639
|
+
nodeId: z.ZodString;
|
|
22640
|
+
slug: z.ZodString;
|
|
22641
|
+
name: z.ZodString;
|
|
22642
|
+
description: z.ZodString;
|
|
22643
|
+
reviewPolicy: z.ZodObject<{
|
|
22644
|
+
kind: z.ZodLiteral<"single">;
|
|
22645
|
+
requiredApprovals: z.ZodNumber;
|
|
22646
|
+
}, z.core.$strip>;
|
|
22647
|
+
createdAt: z.ZodString;
|
|
22648
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
22649
|
+
id: z.ZodString;
|
|
22650
|
+
baseId: z.ZodString;
|
|
22651
|
+
slug: z.ZodString;
|
|
22652
|
+
name: z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodEnum<{
|
|
22653
|
+
de: "de";
|
|
22654
|
+
en: "en";
|
|
22655
|
+
es: "es";
|
|
22656
|
+
fr: "fr";
|
|
22657
|
+
ja: "ja";
|
|
22658
|
+
ko: "ko";
|
|
22659
|
+
pt: "pt";
|
|
22660
|
+
"zh-CN": "zh-CN";
|
|
22661
|
+
"zh-TW": "zh-TW";
|
|
22662
|
+
}> & z.core.$partial, z.ZodString>]>;
|
|
22663
|
+
type: z.ZodEnum<{
|
|
22664
|
+
ai_summary: "ai_summary";
|
|
22665
|
+
ai_tags: "ai_tags";
|
|
22666
|
+
attachment: "attachment";
|
|
22667
|
+
auto_number: "auto_number";
|
|
22668
|
+
checkbox: "checkbox";
|
|
22669
|
+
code: "code";
|
|
22670
|
+
created_by: "created_by";
|
|
22671
|
+
created_time: "created_time";
|
|
22672
|
+
date: "date";
|
|
22673
|
+
email: "email";
|
|
22674
|
+
embed: "embed";
|
|
22675
|
+
formula: "formula";
|
|
22676
|
+
html: "html";
|
|
22677
|
+
json: "json";
|
|
22678
|
+
longtext: "longtext";
|
|
22679
|
+
lookup: "lookup";
|
|
22680
|
+
markdown: "markdown";
|
|
22681
|
+
multiselect: "multiselect";
|
|
22682
|
+
number: "number";
|
|
22683
|
+
phone: "phone";
|
|
22684
|
+
relation: "relation";
|
|
22685
|
+
select: "select";
|
|
22686
|
+
text: "text";
|
|
22687
|
+
updated_by: "updated_by";
|
|
22688
|
+
updated_time: "updated_time";
|
|
22689
|
+
url: "url";
|
|
22690
|
+
whiteboard: "whiteboard";
|
|
22691
|
+
yaml: "yaml";
|
|
22692
|
+
}>;
|
|
22693
|
+
required: z.ZodBoolean;
|
|
22694
|
+
position: z.ZodNumber;
|
|
22695
|
+
options: z.ZodDefault<z.ZodObject<{
|
|
22696
|
+
ai: z.ZodOptional<z.ZodObject<{
|
|
22697
|
+
model: z.ZodOptional<z.ZodString>;
|
|
22698
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
22699
|
+
reviewRequired: z.ZodOptional<z.ZodBoolean>;
|
|
22700
|
+
sourceFieldIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
22701
|
+
}, z.core.$strip>>;
|
|
22702
|
+
attachment: z.ZodOptional<z.ZodObject<{
|
|
22703
|
+
maxFiles: z.ZodOptional<z.ZodNumber>;
|
|
22704
|
+
allowedMimeTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
22705
|
+
maxFileSize: z.ZodOptional<z.ZodNumber>;
|
|
22706
|
+
}, z.core.$strip>>;
|
|
22707
|
+
choices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
22708
|
+
color: z.ZodOptional<z.ZodString>;
|
|
22709
|
+
id: z.ZodString;
|
|
22710
|
+
name: z.ZodString;
|
|
22711
|
+
}, z.core.$strip>>>;
|
|
22712
|
+
code: z.ZodOptional<z.ZodObject<{
|
|
22713
|
+
language: z.ZodOptional<z.ZodString>;
|
|
22714
|
+
}, z.core.$strip>>;
|
|
22715
|
+
embed: z.ZodOptional<z.ZodObject<{
|
|
22716
|
+
aspectRatio: z.ZodOptional<z.ZodEnum<{
|
|
22717
|
+
"16:9": "16:9";
|
|
22718
|
+
"1:1": "1:1";
|
|
22719
|
+
"4:3": "4:3";
|
|
22720
|
+
}>>;
|
|
22721
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
22722
|
+
providers: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
22723
|
+
}, z.core.$strip>>;
|
|
22724
|
+
formula: z.ZodOptional<z.ZodObject<{
|
|
22725
|
+
expression: z.ZodString;
|
|
22726
|
+
}, z.core.$strip>>;
|
|
22727
|
+
inverseFieldId: z.ZodOptional<z.ZodString>;
|
|
22728
|
+
lookup: z.ZodOptional<z.ZodObject<{
|
|
22729
|
+
relationFieldSlug: z.ZodString;
|
|
22730
|
+
targetFieldSlug: z.ZodString;
|
|
22731
|
+
rollup: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
22732
|
+
average: "average";
|
|
22733
|
+
concatenate: "concatenate";
|
|
22734
|
+
count: "count";
|
|
22735
|
+
max: "max";
|
|
22736
|
+
min: "min";
|
|
22737
|
+
sum: "sum";
|
|
22738
|
+
values: "values";
|
|
22739
|
+
}>>>;
|
|
22740
|
+
limit: z.ZodOptional<z.ZodEnum<{
|
|
22741
|
+
all: "all";
|
|
22742
|
+
first: "first";
|
|
22743
|
+
}>>;
|
|
22744
|
+
}, z.core.$strip>>;
|
|
22745
|
+
multiple: z.ZodOptional<z.ZodBoolean>;
|
|
22746
|
+
number: z.ZodOptional<z.ZodObject<{
|
|
22747
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
22748
|
+
currency: "currency";
|
|
22749
|
+
plain: "plain";
|
|
22750
|
+
}>>;
|
|
22751
|
+
currency: z.ZodOptional<z.ZodString>;
|
|
22752
|
+
locale: z.ZodOptional<z.ZodString>;
|
|
22753
|
+
}, z.core.$strip>>;
|
|
22754
|
+
targetBaseId: z.ZodOptional<z.ZodString>;
|
|
22755
|
+
targetBaseSlug: z.ZodOptional<z.ZodString>;
|
|
22756
|
+
}, z.core.$strip>>;
|
|
22757
|
+
}, z.core.$strip>>;
|
|
22758
|
+
}, z.core.$strip>>;
|
|
22759
|
+
node: z.ZodNullable<z.ZodType<NodeOutput, unknown, z.core.$ZodTypeInternals<NodeOutput, unknown>>>;
|
|
22760
|
+
operations: z.ZodArray<z.ZodObject<{
|
|
22761
|
+
id: z.ZodString;
|
|
22762
|
+
changeRequestId: z.ZodString;
|
|
22763
|
+
baseId: z.ZodNullable<z.ZodString>;
|
|
22764
|
+
targetType: z.ZodEnum<{
|
|
22765
|
+
base: "base";
|
|
22766
|
+
node: "node";
|
|
22767
|
+
}>;
|
|
22768
|
+
nodeId: z.ZodNullable<z.ZodString>;
|
|
22769
|
+
operation: z.ZodEnum<{
|
|
22770
|
+
[x: `${string}_file_create`]: `${string}_file_create`;
|
|
22771
|
+
[x: `${string}_file_delete`]: `${string}_file_delete`;
|
|
22772
|
+
[x: `${string}_file_update`]: `${string}_file_update`;
|
|
22773
|
+
[x: `${string}_metadata_update`]: `${string}_metadata_update`;
|
|
22774
|
+
base_add_field: "base_add_field";
|
|
22775
|
+
base_archive: "base_archive";
|
|
22776
|
+
base_convert_field: "base_convert_field";
|
|
22777
|
+
base_delete_field: "base_delete_field";
|
|
22778
|
+
base_reorder_fields: "base_reorder_fields";
|
|
22779
|
+
base_restore: "base_restore";
|
|
22780
|
+
base_restore_field: "base_restore_field";
|
|
22781
|
+
base_update_field: "base_update_field";
|
|
22782
|
+
doc_update: "doc_update";
|
|
22783
|
+
html_document_update: "html_document_update";
|
|
22784
|
+
node_create: "node_create";
|
|
22785
|
+
node_delete: "node_delete";
|
|
22786
|
+
node_move: "node_move";
|
|
22787
|
+
node_rename: "node_rename";
|
|
22788
|
+
node_restore: "node_restore";
|
|
22789
|
+
record_create: "record_create";
|
|
22790
|
+
record_delete: "record_delete";
|
|
22791
|
+
record_restore: "record_restore";
|
|
22792
|
+
record_update: "record_update";
|
|
22793
|
+
record_variant: "record_variant";
|
|
22794
|
+
view_create: "view_create";
|
|
22795
|
+
view_delete: "view_delete";
|
|
22796
|
+
view_restore: "view_restore";
|
|
22797
|
+
view_update: "view_update";
|
|
22798
|
+
whiteboard_document_update: "whiteboard_document_update";
|
|
22799
|
+
workflow_document_update: "workflow_document_update";
|
|
22800
|
+
}>;
|
|
22801
|
+
status: z.ZodEnum<{
|
|
22802
|
+
archived: "archived";
|
|
22803
|
+
failed: "failed";
|
|
22804
|
+
merged: "merged";
|
|
22805
|
+
pending: "pending";
|
|
22806
|
+
}>;
|
|
22807
|
+
targetRecordId: z.ZodNullable<z.ZodString>;
|
|
22808
|
+
targetViewId: z.ZodNullable<z.ZodString>;
|
|
22809
|
+
filePath: z.ZodNullable<z.ZodString>;
|
|
22810
|
+
sourceRecordId: z.ZodNullable<z.ZodString>;
|
|
22811
|
+
sourceCommitId: z.ZodNullable<z.ZodString>;
|
|
22812
|
+
baseCommitId: z.ZodNullable<z.ZodString>;
|
|
22813
|
+
headCommitId: z.ZodString;
|
|
22814
|
+
deleteMode: z.ZodEnum<{
|
|
22815
|
+
archive: "archive";
|
|
22816
|
+
}>;
|
|
22817
|
+
mergedRecordId: z.ZodNullable<z.ZodString>;
|
|
22818
|
+
mergedViewId: z.ZodNullable<z.ZodString>;
|
|
22819
|
+
position: z.ZodNumber;
|
|
22820
|
+
createdAt: z.ZodString;
|
|
22821
|
+
updatedAt: z.ZodString;
|
|
22822
|
+
headCommit: z.ZodObject<{
|
|
22823
|
+
id: z.ZodString;
|
|
22824
|
+
baseId: z.ZodNullable<z.ZodString>;
|
|
22825
|
+
targetType: z.ZodEnum<{
|
|
22826
|
+
base: "base";
|
|
22827
|
+
node: "node";
|
|
22828
|
+
}>;
|
|
22829
|
+
nodeId: z.ZodNullable<z.ZodString>;
|
|
22830
|
+
operationId: z.ZodNullable<z.ZodString>;
|
|
22831
|
+
parentCommitId: z.ZodNullable<z.ZodString>;
|
|
22832
|
+
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
22833
|
+
operation: z.ZodEnum<{
|
|
22834
|
+
[x: `${string}_file_create`]: `${string}_file_create`;
|
|
22835
|
+
[x: `${string}_file_delete`]: `${string}_file_delete`;
|
|
22836
|
+
[x: `${string}_file_update`]: `${string}_file_update`;
|
|
22837
|
+
[x: `${string}_metadata_update`]: `${string}_metadata_update`;
|
|
22838
|
+
base_add_field: "base_add_field";
|
|
22839
|
+
base_archive: "base_archive";
|
|
22840
|
+
base_convert_field: "base_convert_field";
|
|
22841
|
+
base_delete_field: "base_delete_field";
|
|
22842
|
+
base_reorder_fields: "base_reorder_fields";
|
|
22843
|
+
base_restore: "base_restore";
|
|
22844
|
+
base_restore_field: "base_restore_field";
|
|
22845
|
+
base_update_field: "base_update_field";
|
|
22846
|
+
doc_update: "doc_update";
|
|
22847
|
+
html_document_update: "html_document_update";
|
|
22848
|
+
node_create: "node_create";
|
|
22849
|
+
node_delete: "node_delete";
|
|
22850
|
+
node_move: "node_move";
|
|
22851
|
+
node_rename: "node_rename";
|
|
22852
|
+
node_restore: "node_restore";
|
|
22853
|
+
record_create: "record_create";
|
|
22854
|
+
record_delete: "record_delete";
|
|
22855
|
+
record_restore: "record_restore";
|
|
22856
|
+
record_update: "record_update";
|
|
22857
|
+
record_variant: "record_variant";
|
|
22858
|
+
view_create: "view_create";
|
|
22859
|
+
view_delete: "view_delete";
|
|
22860
|
+
view_restore: "view_restore";
|
|
22861
|
+
view_update: "view_update";
|
|
22862
|
+
whiteboard_document_update: "whiteboard_document_update";
|
|
22863
|
+
workflow_document_update: "workflow_document_update";
|
|
22864
|
+
}>;
|
|
22865
|
+
message: z.ZodString;
|
|
22866
|
+
author: z.ZodString;
|
|
22867
|
+
authorUser: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
22868
|
+
id: z.ZodString;
|
|
22869
|
+
name: z.ZodNullable<z.ZodString>;
|
|
22870
|
+
email: z.ZodNullable<z.ZodString>;
|
|
22871
|
+
image: z.ZodNullable<z.ZodString>;
|
|
22872
|
+
role: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22873
|
+
}, z.core.$strip>>>>;
|
|
22874
|
+
createdAt: z.ZodString;
|
|
22875
|
+
}, z.core.$strip>;
|
|
22876
|
+
baseFields: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
22877
|
+
}, z.core.$strip>>;
|
|
22878
|
+
primaryOperation: z.ZodNullable<z.ZodObject<{
|
|
22879
|
+
id: z.ZodString;
|
|
22880
|
+
changeRequestId: z.ZodString;
|
|
22881
|
+
baseId: z.ZodNullable<z.ZodString>;
|
|
22882
|
+
targetType: z.ZodEnum<{
|
|
22883
|
+
base: "base";
|
|
22884
|
+
node: "node";
|
|
22885
|
+
}>;
|
|
22886
|
+
nodeId: z.ZodNullable<z.ZodString>;
|
|
22887
|
+
operation: z.ZodEnum<{
|
|
22888
|
+
[x: `${string}_file_create`]: `${string}_file_create`;
|
|
22889
|
+
[x: `${string}_file_delete`]: `${string}_file_delete`;
|
|
22890
|
+
[x: `${string}_file_update`]: `${string}_file_update`;
|
|
22891
|
+
[x: `${string}_metadata_update`]: `${string}_metadata_update`;
|
|
22892
|
+
base_add_field: "base_add_field";
|
|
22893
|
+
base_archive: "base_archive";
|
|
22894
|
+
base_convert_field: "base_convert_field";
|
|
22895
|
+
base_delete_field: "base_delete_field";
|
|
22896
|
+
base_reorder_fields: "base_reorder_fields";
|
|
22897
|
+
base_restore: "base_restore";
|
|
22898
|
+
base_restore_field: "base_restore_field";
|
|
22899
|
+
base_update_field: "base_update_field";
|
|
22900
|
+
doc_update: "doc_update";
|
|
22901
|
+
html_document_update: "html_document_update";
|
|
22902
|
+
node_create: "node_create";
|
|
22903
|
+
node_delete: "node_delete";
|
|
22904
|
+
node_move: "node_move";
|
|
22905
|
+
node_rename: "node_rename";
|
|
22906
|
+
node_restore: "node_restore";
|
|
22907
|
+
record_create: "record_create";
|
|
22908
|
+
record_delete: "record_delete";
|
|
22909
|
+
record_restore: "record_restore";
|
|
22910
|
+
record_update: "record_update";
|
|
22911
|
+
record_variant: "record_variant";
|
|
22912
|
+
view_create: "view_create";
|
|
22913
|
+
view_delete: "view_delete";
|
|
22914
|
+
view_restore: "view_restore";
|
|
22915
|
+
view_update: "view_update";
|
|
22916
|
+
whiteboard_document_update: "whiteboard_document_update";
|
|
22917
|
+
workflow_document_update: "workflow_document_update";
|
|
22918
|
+
}>;
|
|
22919
|
+
status: z.ZodEnum<{
|
|
22920
|
+
archived: "archived";
|
|
22921
|
+
failed: "failed";
|
|
22922
|
+
merged: "merged";
|
|
22923
|
+
pending: "pending";
|
|
22924
|
+
}>;
|
|
22925
|
+
targetRecordId: z.ZodNullable<z.ZodString>;
|
|
22926
|
+
targetViewId: z.ZodNullable<z.ZodString>;
|
|
22927
|
+
filePath: z.ZodNullable<z.ZodString>;
|
|
22928
|
+
sourceRecordId: z.ZodNullable<z.ZodString>;
|
|
22929
|
+
sourceCommitId: z.ZodNullable<z.ZodString>;
|
|
22930
|
+
baseCommitId: z.ZodNullable<z.ZodString>;
|
|
22931
|
+
headCommitId: z.ZodString;
|
|
22932
|
+
deleteMode: z.ZodEnum<{
|
|
22933
|
+
archive: "archive";
|
|
22934
|
+
}>;
|
|
22935
|
+
mergedRecordId: z.ZodNullable<z.ZodString>;
|
|
22936
|
+
mergedViewId: z.ZodNullable<z.ZodString>;
|
|
22937
|
+
position: z.ZodNumber;
|
|
22938
|
+
createdAt: z.ZodString;
|
|
22939
|
+
updatedAt: z.ZodString;
|
|
22940
|
+
headCommit: z.ZodObject<{
|
|
22941
|
+
id: z.ZodString;
|
|
22942
|
+
baseId: z.ZodNullable<z.ZodString>;
|
|
22943
|
+
targetType: z.ZodEnum<{
|
|
22944
|
+
base: "base";
|
|
22945
|
+
node: "node";
|
|
22946
|
+
}>;
|
|
22947
|
+
nodeId: z.ZodNullable<z.ZodString>;
|
|
22948
|
+
operationId: z.ZodNullable<z.ZodString>;
|
|
22949
|
+
parentCommitId: z.ZodNullable<z.ZodString>;
|
|
22950
|
+
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
22951
|
+
operation: z.ZodEnum<{
|
|
22952
|
+
[x: `${string}_file_create`]: `${string}_file_create`;
|
|
22953
|
+
[x: `${string}_file_delete`]: `${string}_file_delete`;
|
|
22954
|
+
[x: `${string}_file_update`]: `${string}_file_update`;
|
|
22955
|
+
[x: `${string}_metadata_update`]: `${string}_metadata_update`;
|
|
22956
|
+
base_add_field: "base_add_field";
|
|
22957
|
+
base_archive: "base_archive";
|
|
22958
|
+
base_convert_field: "base_convert_field";
|
|
22959
|
+
base_delete_field: "base_delete_field";
|
|
22960
|
+
base_reorder_fields: "base_reorder_fields";
|
|
22961
|
+
base_restore: "base_restore";
|
|
22962
|
+
base_restore_field: "base_restore_field";
|
|
22963
|
+
base_update_field: "base_update_field";
|
|
22964
|
+
doc_update: "doc_update";
|
|
22965
|
+
html_document_update: "html_document_update";
|
|
22966
|
+
node_create: "node_create";
|
|
22967
|
+
node_delete: "node_delete";
|
|
22968
|
+
node_move: "node_move";
|
|
22969
|
+
node_rename: "node_rename";
|
|
22970
|
+
node_restore: "node_restore";
|
|
22971
|
+
record_create: "record_create";
|
|
22972
|
+
record_delete: "record_delete";
|
|
22973
|
+
record_restore: "record_restore";
|
|
22974
|
+
record_update: "record_update";
|
|
22975
|
+
record_variant: "record_variant";
|
|
22976
|
+
view_create: "view_create";
|
|
22977
|
+
view_delete: "view_delete";
|
|
22978
|
+
view_restore: "view_restore";
|
|
22979
|
+
view_update: "view_update";
|
|
22980
|
+
whiteboard_document_update: "whiteboard_document_update";
|
|
22981
|
+
workflow_document_update: "workflow_document_update";
|
|
22982
|
+
}>;
|
|
22983
|
+
message: z.ZodString;
|
|
22984
|
+
author: z.ZodString;
|
|
22985
|
+
authorUser: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
22986
|
+
id: z.ZodString;
|
|
22987
|
+
name: z.ZodNullable<z.ZodString>;
|
|
22988
|
+
email: z.ZodNullable<z.ZodString>;
|
|
22989
|
+
image: z.ZodNullable<z.ZodString>;
|
|
22990
|
+
role: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22991
|
+
}, z.core.$strip>>>>;
|
|
22992
|
+
createdAt: z.ZodString;
|
|
22993
|
+
}, z.core.$strip>;
|
|
22994
|
+
baseFields: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
22995
|
+
}, z.core.$strip>>;
|
|
22996
|
+
operationCount: z.ZodNumber;
|
|
22997
|
+
reviews: z.ZodArray<z.ZodObject<{
|
|
22998
|
+
id: z.ZodString;
|
|
22999
|
+
changeRequestId: z.ZodString;
|
|
23000
|
+
reviewerId: z.ZodString;
|
|
23001
|
+
reviewer: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
23002
|
+
id: z.ZodString;
|
|
23003
|
+
name: z.ZodNullable<z.ZodString>;
|
|
23004
|
+
email: z.ZodNullable<z.ZodString>;
|
|
23005
|
+
image: z.ZodNullable<z.ZodString>;
|
|
23006
|
+
role: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23007
|
+
}, z.core.$strip>>>>;
|
|
23008
|
+
verdict: z.ZodEnum<{
|
|
23009
|
+
approved: "approved";
|
|
23010
|
+
rejected: "rejected";
|
|
23011
|
+
}>;
|
|
23012
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
23013
|
+
visibleOperationHeads: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
23014
|
+
createdAt: z.ZodString;
|
|
23015
|
+
}, z.core.$strip>>;
|
|
23016
|
+
}, z.core.$strip>;
|
|
23017
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
23018
|
+
kind: z.ZodLiteral<"operation">;
|
|
23019
|
+
timestamp: z.ZodString;
|
|
23020
|
+
operationId: z.ZodString;
|
|
23021
|
+
changeRequest: z.ZodObject<{
|
|
23022
|
+
id: z.ZodString;
|
|
23023
|
+
baseId: z.ZodNullable<z.ZodString>;
|
|
23024
|
+
targetType: z.ZodEnum<{
|
|
23025
|
+
base: "base";
|
|
23026
|
+
node: "node";
|
|
23027
|
+
}>;
|
|
23028
|
+
nodeId: z.ZodNullable<z.ZodString>;
|
|
23029
|
+
status: z.ZodEnum<{
|
|
23030
|
+
abandoned: "abandoned";
|
|
23031
|
+
approved: "approved";
|
|
23032
|
+
changes_requested: "changes_requested";
|
|
23033
|
+
conflict: "conflict";
|
|
23034
|
+
in_review: "in_review";
|
|
23035
|
+
merged: "merged";
|
|
23036
|
+
rejected: "rejected";
|
|
23037
|
+
}>;
|
|
23038
|
+
submittedBy: z.ZodString;
|
|
23039
|
+
submittedByUser: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
23040
|
+
id: z.ZodString;
|
|
23041
|
+
name: z.ZodNullable<z.ZodString>;
|
|
23042
|
+
email: z.ZodNullable<z.ZodString>;
|
|
23043
|
+
image: z.ZodNullable<z.ZodString>;
|
|
23044
|
+
role: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23045
|
+
}, z.core.$strip>>>>;
|
|
23046
|
+
sourceAttribution: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
23047
|
+
displayName: z.ZodNullable<z.ZodString>;
|
|
23048
|
+
ownerName: z.ZodNullable<z.ZodString>;
|
|
23049
|
+
channel: z.ZodNullable<z.ZodEnum<{
|
|
23050
|
+
automation: "automation";
|
|
23051
|
+
browser: "browser";
|
|
23052
|
+
cli: "cli";
|
|
23053
|
+
import: "import";
|
|
23054
|
+
mcp: "mcp";
|
|
23055
|
+
openapi: "openapi";
|
|
23056
|
+
sdk: "sdk";
|
|
23057
|
+
skill: "skill";
|
|
23058
|
+
web_ui: "web_ui";
|
|
23059
|
+
webhook: "webhook";
|
|
23060
|
+
}>>;
|
|
23061
|
+
}, z.core.$strip>>>;
|
|
23062
|
+
sourceMeta: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
23063
|
+
reviewPolicySnapshot: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
23064
|
+
mergeSummary: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
23065
|
+
rejectedReason: z.ZodNullable<z.ZodString>;
|
|
23066
|
+
reviewedAt: z.ZodNullable<z.ZodString>;
|
|
23067
|
+
mergedAt: z.ZodNullable<z.ZodString>;
|
|
23068
|
+
createdAt: z.ZodString;
|
|
23069
|
+
updatedAt: z.ZodString;
|
|
23070
|
+
base: z.ZodNullable<z.ZodObject<{
|
|
23071
|
+
id: z.ZodString;
|
|
23072
|
+
nodeId: z.ZodString;
|
|
23073
|
+
slug: z.ZodString;
|
|
23074
|
+
name: z.ZodString;
|
|
23075
|
+
description: z.ZodString;
|
|
23076
|
+
reviewPolicy: z.ZodObject<{
|
|
23077
|
+
kind: z.ZodLiteral<"single">;
|
|
23078
|
+
requiredApprovals: z.ZodNumber;
|
|
23079
|
+
}, z.core.$strip>;
|
|
23080
|
+
createdAt: z.ZodString;
|
|
23081
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
23082
|
+
id: z.ZodString;
|
|
23083
|
+
baseId: z.ZodString;
|
|
23084
|
+
slug: z.ZodString;
|
|
23085
|
+
name: z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodEnum<{
|
|
23086
|
+
de: "de";
|
|
23087
|
+
en: "en";
|
|
23088
|
+
es: "es";
|
|
23089
|
+
fr: "fr";
|
|
23090
|
+
ja: "ja";
|
|
23091
|
+
ko: "ko";
|
|
23092
|
+
pt: "pt";
|
|
23093
|
+
"zh-CN": "zh-CN";
|
|
23094
|
+
"zh-TW": "zh-TW";
|
|
23095
|
+
}> & z.core.$partial, z.ZodString>]>;
|
|
23096
|
+
type: z.ZodEnum<{
|
|
23097
|
+
ai_summary: "ai_summary";
|
|
23098
|
+
ai_tags: "ai_tags";
|
|
23099
|
+
attachment: "attachment";
|
|
23100
|
+
auto_number: "auto_number";
|
|
23101
|
+
checkbox: "checkbox";
|
|
23102
|
+
code: "code";
|
|
23103
|
+
created_by: "created_by";
|
|
23104
|
+
created_time: "created_time";
|
|
23105
|
+
date: "date";
|
|
23106
|
+
email: "email";
|
|
23107
|
+
embed: "embed";
|
|
23108
|
+
formula: "formula";
|
|
23109
|
+
html: "html";
|
|
23110
|
+
json: "json";
|
|
23111
|
+
longtext: "longtext";
|
|
23112
|
+
lookup: "lookup";
|
|
23113
|
+
markdown: "markdown";
|
|
23114
|
+
multiselect: "multiselect";
|
|
23115
|
+
number: "number";
|
|
23116
|
+
phone: "phone";
|
|
23117
|
+
relation: "relation";
|
|
23118
|
+
select: "select";
|
|
23119
|
+
text: "text";
|
|
23120
|
+
updated_by: "updated_by";
|
|
23121
|
+
updated_time: "updated_time";
|
|
23122
|
+
url: "url";
|
|
23123
|
+
whiteboard: "whiteboard";
|
|
23124
|
+
yaml: "yaml";
|
|
23125
|
+
}>;
|
|
23126
|
+
required: z.ZodBoolean;
|
|
23127
|
+
position: z.ZodNumber;
|
|
23128
|
+
options: z.ZodDefault<z.ZodObject<{
|
|
23129
|
+
ai: z.ZodOptional<z.ZodObject<{
|
|
23130
|
+
model: z.ZodOptional<z.ZodString>;
|
|
23131
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
23132
|
+
reviewRequired: z.ZodOptional<z.ZodBoolean>;
|
|
23133
|
+
sourceFieldIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
23134
|
+
}, z.core.$strip>>;
|
|
23135
|
+
attachment: z.ZodOptional<z.ZodObject<{
|
|
23136
|
+
maxFiles: z.ZodOptional<z.ZodNumber>;
|
|
23137
|
+
allowedMimeTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
23138
|
+
maxFileSize: z.ZodOptional<z.ZodNumber>;
|
|
23139
|
+
}, z.core.$strip>>;
|
|
23140
|
+
choices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
23141
|
+
color: z.ZodOptional<z.ZodString>;
|
|
23142
|
+
id: z.ZodString;
|
|
23143
|
+
name: z.ZodString;
|
|
23144
|
+
}, z.core.$strip>>>;
|
|
23145
|
+
code: z.ZodOptional<z.ZodObject<{
|
|
23146
|
+
language: z.ZodOptional<z.ZodString>;
|
|
23147
|
+
}, z.core.$strip>>;
|
|
23148
|
+
embed: z.ZodOptional<z.ZodObject<{
|
|
23149
|
+
aspectRatio: z.ZodOptional<z.ZodEnum<{
|
|
23150
|
+
"16:9": "16:9";
|
|
23151
|
+
"1:1": "1:1";
|
|
23152
|
+
"4:3": "4:3";
|
|
23153
|
+
}>>;
|
|
23154
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
23155
|
+
providers: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
23156
|
+
}, z.core.$strip>>;
|
|
23157
|
+
formula: z.ZodOptional<z.ZodObject<{
|
|
23158
|
+
expression: z.ZodString;
|
|
23159
|
+
}, z.core.$strip>>;
|
|
23160
|
+
inverseFieldId: z.ZodOptional<z.ZodString>;
|
|
23161
|
+
lookup: z.ZodOptional<z.ZodObject<{
|
|
23162
|
+
relationFieldSlug: z.ZodString;
|
|
23163
|
+
targetFieldSlug: z.ZodString;
|
|
23164
|
+
rollup: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
23165
|
+
average: "average";
|
|
23166
|
+
concatenate: "concatenate";
|
|
23167
|
+
count: "count";
|
|
23168
|
+
max: "max";
|
|
23169
|
+
min: "min";
|
|
23170
|
+
sum: "sum";
|
|
23171
|
+
values: "values";
|
|
23172
|
+
}>>>;
|
|
23173
|
+
limit: z.ZodOptional<z.ZodEnum<{
|
|
23174
|
+
all: "all";
|
|
23175
|
+
first: "first";
|
|
23176
|
+
}>>;
|
|
23177
|
+
}, z.core.$strip>>;
|
|
23178
|
+
multiple: z.ZodOptional<z.ZodBoolean>;
|
|
23179
|
+
number: z.ZodOptional<z.ZodObject<{
|
|
23180
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
23181
|
+
currency: "currency";
|
|
23182
|
+
plain: "plain";
|
|
23183
|
+
}>>;
|
|
23184
|
+
currency: z.ZodOptional<z.ZodString>;
|
|
23185
|
+
locale: z.ZodOptional<z.ZodString>;
|
|
23186
|
+
}, z.core.$strip>>;
|
|
23187
|
+
targetBaseId: z.ZodOptional<z.ZodString>;
|
|
23188
|
+
targetBaseSlug: z.ZodOptional<z.ZodString>;
|
|
23189
|
+
}, z.core.$strip>>;
|
|
23190
|
+
}, z.core.$strip>>;
|
|
23191
|
+
}, z.core.$strip>>;
|
|
23192
|
+
node: z.ZodNullable<z.ZodType<NodeOutput, unknown, z.core.$ZodTypeInternals<NodeOutput, unknown>>>;
|
|
23193
|
+
operations: z.ZodArray<z.ZodObject<{
|
|
23194
|
+
id: z.ZodString;
|
|
23195
|
+
changeRequestId: z.ZodString;
|
|
23196
|
+
baseId: z.ZodNullable<z.ZodString>;
|
|
23197
|
+
targetType: z.ZodEnum<{
|
|
23198
|
+
base: "base";
|
|
23199
|
+
node: "node";
|
|
23200
|
+
}>;
|
|
23201
|
+
nodeId: z.ZodNullable<z.ZodString>;
|
|
23202
|
+
operation: z.ZodEnum<{
|
|
23203
|
+
[x: `${string}_file_create`]: `${string}_file_create`;
|
|
23204
|
+
[x: `${string}_file_delete`]: `${string}_file_delete`;
|
|
23205
|
+
[x: `${string}_file_update`]: `${string}_file_update`;
|
|
23206
|
+
[x: `${string}_metadata_update`]: `${string}_metadata_update`;
|
|
23207
|
+
base_add_field: "base_add_field";
|
|
23208
|
+
base_archive: "base_archive";
|
|
23209
|
+
base_convert_field: "base_convert_field";
|
|
23210
|
+
base_delete_field: "base_delete_field";
|
|
23211
|
+
base_reorder_fields: "base_reorder_fields";
|
|
23212
|
+
base_restore: "base_restore";
|
|
23213
|
+
base_restore_field: "base_restore_field";
|
|
23214
|
+
base_update_field: "base_update_field";
|
|
23215
|
+
doc_update: "doc_update";
|
|
23216
|
+
html_document_update: "html_document_update";
|
|
23217
|
+
node_create: "node_create";
|
|
23218
|
+
node_delete: "node_delete";
|
|
23219
|
+
node_move: "node_move";
|
|
23220
|
+
node_rename: "node_rename";
|
|
23221
|
+
node_restore: "node_restore";
|
|
23222
|
+
record_create: "record_create";
|
|
23223
|
+
record_delete: "record_delete";
|
|
23224
|
+
record_restore: "record_restore";
|
|
23225
|
+
record_update: "record_update";
|
|
23226
|
+
record_variant: "record_variant";
|
|
23227
|
+
view_create: "view_create";
|
|
23228
|
+
view_delete: "view_delete";
|
|
23229
|
+
view_restore: "view_restore";
|
|
23230
|
+
view_update: "view_update";
|
|
23231
|
+
whiteboard_document_update: "whiteboard_document_update";
|
|
23232
|
+
workflow_document_update: "workflow_document_update";
|
|
23233
|
+
}>;
|
|
23234
|
+
status: z.ZodEnum<{
|
|
23235
|
+
archived: "archived";
|
|
23236
|
+
failed: "failed";
|
|
23237
|
+
merged: "merged";
|
|
23238
|
+
pending: "pending";
|
|
23239
|
+
}>;
|
|
23240
|
+
targetRecordId: z.ZodNullable<z.ZodString>;
|
|
23241
|
+
targetViewId: z.ZodNullable<z.ZodString>;
|
|
23242
|
+
filePath: z.ZodNullable<z.ZodString>;
|
|
23243
|
+
sourceRecordId: z.ZodNullable<z.ZodString>;
|
|
23244
|
+
sourceCommitId: z.ZodNullable<z.ZodString>;
|
|
23245
|
+
baseCommitId: z.ZodNullable<z.ZodString>;
|
|
23246
|
+
headCommitId: z.ZodString;
|
|
23247
|
+
deleteMode: z.ZodEnum<{
|
|
23248
|
+
archive: "archive";
|
|
23249
|
+
}>;
|
|
23250
|
+
mergedRecordId: z.ZodNullable<z.ZodString>;
|
|
23251
|
+
mergedViewId: z.ZodNullable<z.ZodString>;
|
|
23252
|
+
position: z.ZodNumber;
|
|
23253
|
+
createdAt: z.ZodString;
|
|
23254
|
+
updatedAt: z.ZodString;
|
|
23255
|
+
headCommit: z.ZodObject<{
|
|
23256
|
+
id: z.ZodString;
|
|
23257
|
+
baseId: z.ZodNullable<z.ZodString>;
|
|
23258
|
+
targetType: z.ZodEnum<{
|
|
23259
|
+
base: "base";
|
|
23260
|
+
node: "node";
|
|
23261
|
+
}>;
|
|
23262
|
+
nodeId: z.ZodNullable<z.ZodString>;
|
|
23263
|
+
operationId: z.ZodNullable<z.ZodString>;
|
|
23264
|
+
parentCommitId: z.ZodNullable<z.ZodString>;
|
|
23265
|
+
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
23266
|
+
operation: z.ZodEnum<{
|
|
23267
|
+
[x: `${string}_file_create`]: `${string}_file_create`;
|
|
23268
|
+
[x: `${string}_file_delete`]: `${string}_file_delete`;
|
|
23269
|
+
[x: `${string}_file_update`]: `${string}_file_update`;
|
|
23270
|
+
[x: `${string}_metadata_update`]: `${string}_metadata_update`;
|
|
23271
|
+
base_add_field: "base_add_field";
|
|
23272
|
+
base_archive: "base_archive";
|
|
23273
|
+
base_convert_field: "base_convert_field";
|
|
23274
|
+
base_delete_field: "base_delete_field";
|
|
23275
|
+
base_reorder_fields: "base_reorder_fields";
|
|
23276
|
+
base_restore: "base_restore";
|
|
23277
|
+
base_restore_field: "base_restore_field";
|
|
23278
|
+
base_update_field: "base_update_field";
|
|
23279
|
+
doc_update: "doc_update";
|
|
23280
|
+
html_document_update: "html_document_update";
|
|
23281
|
+
node_create: "node_create";
|
|
23282
|
+
node_delete: "node_delete";
|
|
23283
|
+
node_move: "node_move";
|
|
23284
|
+
node_rename: "node_rename";
|
|
23285
|
+
node_restore: "node_restore";
|
|
23286
|
+
record_create: "record_create";
|
|
23287
|
+
record_delete: "record_delete";
|
|
23288
|
+
record_restore: "record_restore";
|
|
23289
|
+
record_update: "record_update";
|
|
23290
|
+
record_variant: "record_variant";
|
|
23291
|
+
view_create: "view_create";
|
|
23292
|
+
view_delete: "view_delete";
|
|
23293
|
+
view_restore: "view_restore";
|
|
23294
|
+
view_update: "view_update";
|
|
23295
|
+
whiteboard_document_update: "whiteboard_document_update";
|
|
23296
|
+
workflow_document_update: "workflow_document_update";
|
|
23297
|
+
}>;
|
|
23298
|
+
message: z.ZodString;
|
|
23299
|
+
author: z.ZodString;
|
|
23300
|
+
authorUser: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
23301
|
+
id: z.ZodString;
|
|
23302
|
+
name: z.ZodNullable<z.ZodString>;
|
|
23303
|
+
email: z.ZodNullable<z.ZodString>;
|
|
23304
|
+
image: z.ZodNullable<z.ZodString>;
|
|
23305
|
+
role: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23306
|
+
}, z.core.$strip>>>>;
|
|
23307
|
+
createdAt: z.ZodString;
|
|
23308
|
+
}, z.core.$strip>;
|
|
23309
|
+
baseFields: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
23310
|
+
}, z.core.$strip>>;
|
|
23311
|
+
primaryOperation: z.ZodNullable<z.ZodObject<{
|
|
23312
|
+
id: z.ZodString;
|
|
23313
|
+
changeRequestId: z.ZodString;
|
|
23314
|
+
baseId: z.ZodNullable<z.ZodString>;
|
|
23315
|
+
targetType: z.ZodEnum<{
|
|
23316
|
+
base: "base";
|
|
23317
|
+
node: "node";
|
|
23318
|
+
}>;
|
|
23319
|
+
nodeId: z.ZodNullable<z.ZodString>;
|
|
23320
|
+
operation: z.ZodEnum<{
|
|
23321
|
+
[x: `${string}_file_create`]: `${string}_file_create`;
|
|
23322
|
+
[x: `${string}_file_delete`]: `${string}_file_delete`;
|
|
23323
|
+
[x: `${string}_file_update`]: `${string}_file_update`;
|
|
23324
|
+
[x: `${string}_metadata_update`]: `${string}_metadata_update`;
|
|
23325
|
+
base_add_field: "base_add_field";
|
|
23326
|
+
base_archive: "base_archive";
|
|
23327
|
+
base_convert_field: "base_convert_field";
|
|
23328
|
+
base_delete_field: "base_delete_field";
|
|
23329
|
+
base_reorder_fields: "base_reorder_fields";
|
|
23330
|
+
base_restore: "base_restore";
|
|
23331
|
+
base_restore_field: "base_restore_field";
|
|
23332
|
+
base_update_field: "base_update_field";
|
|
23333
|
+
doc_update: "doc_update";
|
|
23334
|
+
html_document_update: "html_document_update";
|
|
23335
|
+
node_create: "node_create";
|
|
23336
|
+
node_delete: "node_delete";
|
|
23337
|
+
node_move: "node_move";
|
|
23338
|
+
node_rename: "node_rename";
|
|
23339
|
+
node_restore: "node_restore";
|
|
23340
|
+
record_create: "record_create";
|
|
23341
|
+
record_delete: "record_delete";
|
|
23342
|
+
record_restore: "record_restore";
|
|
23343
|
+
record_update: "record_update";
|
|
23344
|
+
record_variant: "record_variant";
|
|
23345
|
+
view_create: "view_create";
|
|
23346
|
+
view_delete: "view_delete";
|
|
23347
|
+
view_restore: "view_restore";
|
|
23348
|
+
view_update: "view_update";
|
|
23349
|
+
whiteboard_document_update: "whiteboard_document_update";
|
|
23350
|
+
workflow_document_update: "workflow_document_update";
|
|
23351
|
+
}>;
|
|
23352
|
+
status: z.ZodEnum<{
|
|
23353
|
+
archived: "archived";
|
|
23354
|
+
failed: "failed";
|
|
23355
|
+
merged: "merged";
|
|
23356
|
+
pending: "pending";
|
|
23357
|
+
}>;
|
|
23358
|
+
targetRecordId: z.ZodNullable<z.ZodString>;
|
|
23359
|
+
targetViewId: z.ZodNullable<z.ZodString>;
|
|
23360
|
+
filePath: z.ZodNullable<z.ZodString>;
|
|
23361
|
+
sourceRecordId: z.ZodNullable<z.ZodString>;
|
|
23362
|
+
sourceCommitId: z.ZodNullable<z.ZodString>;
|
|
23363
|
+
baseCommitId: z.ZodNullable<z.ZodString>;
|
|
23364
|
+
headCommitId: z.ZodString;
|
|
23365
|
+
deleteMode: z.ZodEnum<{
|
|
23366
|
+
archive: "archive";
|
|
23367
|
+
}>;
|
|
23368
|
+
mergedRecordId: z.ZodNullable<z.ZodString>;
|
|
23369
|
+
mergedViewId: z.ZodNullable<z.ZodString>;
|
|
23370
|
+
position: z.ZodNumber;
|
|
23371
|
+
createdAt: z.ZodString;
|
|
23372
|
+
updatedAt: z.ZodString;
|
|
23373
|
+
headCommit: z.ZodObject<{
|
|
23374
|
+
id: z.ZodString;
|
|
23375
|
+
baseId: z.ZodNullable<z.ZodString>;
|
|
23376
|
+
targetType: z.ZodEnum<{
|
|
23377
|
+
base: "base";
|
|
23378
|
+
node: "node";
|
|
23379
|
+
}>;
|
|
23380
|
+
nodeId: z.ZodNullable<z.ZodString>;
|
|
23381
|
+
operationId: z.ZodNullable<z.ZodString>;
|
|
23382
|
+
parentCommitId: z.ZodNullable<z.ZodString>;
|
|
23383
|
+
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
23384
|
+
operation: z.ZodEnum<{
|
|
23385
|
+
[x: `${string}_file_create`]: `${string}_file_create`;
|
|
23386
|
+
[x: `${string}_file_delete`]: `${string}_file_delete`;
|
|
23387
|
+
[x: `${string}_file_update`]: `${string}_file_update`;
|
|
23388
|
+
[x: `${string}_metadata_update`]: `${string}_metadata_update`;
|
|
23389
|
+
base_add_field: "base_add_field";
|
|
23390
|
+
base_archive: "base_archive";
|
|
23391
|
+
base_convert_field: "base_convert_field";
|
|
23392
|
+
base_delete_field: "base_delete_field";
|
|
23393
|
+
base_reorder_fields: "base_reorder_fields";
|
|
23394
|
+
base_restore: "base_restore";
|
|
23395
|
+
base_restore_field: "base_restore_field";
|
|
23396
|
+
base_update_field: "base_update_field";
|
|
23397
|
+
doc_update: "doc_update";
|
|
23398
|
+
html_document_update: "html_document_update";
|
|
23399
|
+
node_create: "node_create";
|
|
23400
|
+
node_delete: "node_delete";
|
|
23401
|
+
node_move: "node_move";
|
|
23402
|
+
node_rename: "node_rename";
|
|
23403
|
+
node_restore: "node_restore";
|
|
23404
|
+
record_create: "record_create";
|
|
23405
|
+
record_delete: "record_delete";
|
|
23406
|
+
record_restore: "record_restore";
|
|
23407
|
+
record_update: "record_update";
|
|
23408
|
+
record_variant: "record_variant";
|
|
23409
|
+
view_create: "view_create";
|
|
23410
|
+
view_delete: "view_delete";
|
|
23411
|
+
view_restore: "view_restore";
|
|
23412
|
+
view_update: "view_update";
|
|
23413
|
+
whiteboard_document_update: "whiteboard_document_update";
|
|
23414
|
+
workflow_document_update: "workflow_document_update";
|
|
23415
|
+
}>;
|
|
23416
|
+
message: z.ZodString;
|
|
23417
|
+
author: z.ZodString;
|
|
23418
|
+
authorUser: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
23419
|
+
id: z.ZodString;
|
|
23420
|
+
name: z.ZodNullable<z.ZodString>;
|
|
23421
|
+
email: z.ZodNullable<z.ZodString>;
|
|
23422
|
+
image: z.ZodNullable<z.ZodString>;
|
|
23423
|
+
role: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23424
|
+
}, z.core.$strip>>>>;
|
|
23425
|
+
createdAt: z.ZodString;
|
|
23426
|
+
}, z.core.$strip>;
|
|
23427
|
+
baseFields: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
23428
|
+
}, z.core.$strip>>;
|
|
23429
|
+
operationCount: z.ZodNumber;
|
|
23430
|
+
reviews: z.ZodArray<z.ZodObject<{
|
|
23431
|
+
id: z.ZodString;
|
|
23432
|
+
changeRequestId: z.ZodString;
|
|
23433
|
+
reviewerId: z.ZodString;
|
|
23434
|
+
reviewer: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
23435
|
+
id: z.ZodString;
|
|
23436
|
+
name: z.ZodNullable<z.ZodString>;
|
|
23437
|
+
email: z.ZodNullable<z.ZodString>;
|
|
23438
|
+
image: z.ZodNullable<z.ZodString>;
|
|
23439
|
+
role: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23440
|
+
}, z.core.$strip>>>>;
|
|
23441
|
+
verdict: z.ZodEnum<{
|
|
23442
|
+
approved: "approved";
|
|
23443
|
+
rejected: "rejected";
|
|
23444
|
+
}>;
|
|
23445
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
23446
|
+
visibleOperationHeads: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
23447
|
+
createdAt: z.ZodString;
|
|
23448
|
+
}, z.core.$strip>>;
|
|
23449
|
+
}, z.core.$strip>;
|
|
23450
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
23451
|
+
kind: z.ZodLiteral<"record">;
|
|
23452
|
+
timestamp: z.ZodString;
|
|
23453
|
+
record: z.ZodObject<{
|
|
23454
|
+
id: z.ZodString;
|
|
23455
|
+
baseId: z.ZodString;
|
|
23456
|
+
headCommitId: z.ZodString;
|
|
23457
|
+
parentRecordId: z.ZodNullable<z.ZodString>;
|
|
23458
|
+
parentCommitId: z.ZodNullable<z.ZodString>;
|
|
23459
|
+
status: z.ZodEnum<{
|
|
23460
|
+
active: "active";
|
|
23461
|
+
archived: "archived";
|
|
23462
|
+
}>;
|
|
23463
|
+
createdBy: z.ZodString;
|
|
23464
|
+
createdByUser: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
23465
|
+
id: z.ZodString;
|
|
23466
|
+
name: z.ZodNullable<z.ZodString>;
|
|
23467
|
+
email: z.ZodNullable<z.ZodString>;
|
|
23468
|
+
image: z.ZodNullable<z.ZodString>;
|
|
23469
|
+
role: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23470
|
+
}, z.core.$strip>>>>;
|
|
23471
|
+
archivedAt: z.ZodNullable<z.ZodString>;
|
|
23472
|
+
createdAt: z.ZodString;
|
|
23473
|
+
updatedAt: z.ZodString;
|
|
23474
|
+
base: z.ZodObject<{
|
|
23475
|
+
id: z.ZodString;
|
|
23476
|
+
nodeId: z.ZodString;
|
|
23477
|
+
slug: z.ZodString;
|
|
23478
|
+
name: z.ZodString;
|
|
23479
|
+
description: z.ZodString;
|
|
23480
|
+
reviewPolicy: z.ZodObject<{
|
|
23481
|
+
kind: z.ZodLiteral<"single">;
|
|
23482
|
+
requiredApprovals: z.ZodNumber;
|
|
23483
|
+
}, z.core.$strip>;
|
|
23484
|
+
createdAt: z.ZodString;
|
|
23485
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
23486
|
+
id: z.ZodString;
|
|
23487
|
+
baseId: z.ZodString;
|
|
23488
|
+
slug: z.ZodString;
|
|
23489
|
+
name: z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodEnum<{
|
|
23490
|
+
de: "de";
|
|
23491
|
+
en: "en";
|
|
23492
|
+
es: "es";
|
|
23493
|
+
fr: "fr";
|
|
23494
|
+
ja: "ja";
|
|
23495
|
+
ko: "ko";
|
|
23496
|
+
pt: "pt";
|
|
23497
|
+
"zh-CN": "zh-CN";
|
|
23498
|
+
"zh-TW": "zh-TW";
|
|
23499
|
+
}> & z.core.$partial, z.ZodString>]>;
|
|
23500
|
+
type: z.ZodEnum<{
|
|
23501
|
+
ai_summary: "ai_summary";
|
|
23502
|
+
ai_tags: "ai_tags";
|
|
23503
|
+
attachment: "attachment";
|
|
23504
|
+
auto_number: "auto_number";
|
|
23505
|
+
checkbox: "checkbox";
|
|
23506
|
+
code: "code";
|
|
23507
|
+
created_by: "created_by";
|
|
23508
|
+
created_time: "created_time";
|
|
23509
|
+
date: "date";
|
|
23510
|
+
email: "email";
|
|
23511
|
+
embed: "embed";
|
|
23512
|
+
formula: "formula";
|
|
23513
|
+
html: "html";
|
|
23514
|
+
json: "json";
|
|
23515
|
+
longtext: "longtext";
|
|
23516
|
+
lookup: "lookup";
|
|
23517
|
+
markdown: "markdown";
|
|
23518
|
+
multiselect: "multiselect";
|
|
23519
|
+
number: "number";
|
|
23520
|
+
phone: "phone";
|
|
23521
|
+
relation: "relation";
|
|
23522
|
+
select: "select";
|
|
23523
|
+
text: "text";
|
|
23524
|
+
updated_by: "updated_by";
|
|
23525
|
+
updated_time: "updated_time";
|
|
23526
|
+
url: "url";
|
|
23527
|
+
whiteboard: "whiteboard";
|
|
23528
|
+
yaml: "yaml";
|
|
23529
|
+
}>;
|
|
23530
|
+
required: z.ZodBoolean;
|
|
23531
|
+
position: z.ZodNumber;
|
|
23532
|
+
options: z.ZodDefault<z.ZodObject<{
|
|
23533
|
+
ai: z.ZodOptional<z.ZodObject<{
|
|
23534
|
+
model: z.ZodOptional<z.ZodString>;
|
|
23535
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
23536
|
+
reviewRequired: z.ZodOptional<z.ZodBoolean>;
|
|
23537
|
+
sourceFieldIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
23538
|
+
}, z.core.$strip>>;
|
|
23539
|
+
attachment: z.ZodOptional<z.ZodObject<{
|
|
23540
|
+
maxFiles: z.ZodOptional<z.ZodNumber>;
|
|
23541
|
+
allowedMimeTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
23542
|
+
maxFileSize: z.ZodOptional<z.ZodNumber>;
|
|
23543
|
+
}, z.core.$strip>>;
|
|
23544
|
+
choices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
23545
|
+
color: z.ZodOptional<z.ZodString>;
|
|
23546
|
+
id: z.ZodString;
|
|
23547
|
+
name: z.ZodString;
|
|
23548
|
+
}, z.core.$strip>>>;
|
|
23549
|
+
code: z.ZodOptional<z.ZodObject<{
|
|
23550
|
+
language: z.ZodOptional<z.ZodString>;
|
|
23551
|
+
}, z.core.$strip>>;
|
|
23552
|
+
embed: z.ZodOptional<z.ZodObject<{
|
|
23553
|
+
aspectRatio: z.ZodOptional<z.ZodEnum<{
|
|
23554
|
+
"16:9": "16:9";
|
|
23555
|
+
"1:1": "1:1";
|
|
23556
|
+
"4:3": "4:3";
|
|
23557
|
+
}>>;
|
|
23558
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
23559
|
+
providers: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
23560
|
+
}, z.core.$strip>>;
|
|
23561
|
+
formula: z.ZodOptional<z.ZodObject<{
|
|
23562
|
+
expression: z.ZodString;
|
|
23563
|
+
}, z.core.$strip>>;
|
|
23564
|
+
inverseFieldId: z.ZodOptional<z.ZodString>;
|
|
23565
|
+
lookup: z.ZodOptional<z.ZodObject<{
|
|
23566
|
+
relationFieldSlug: z.ZodString;
|
|
23567
|
+
targetFieldSlug: z.ZodString;
|
|
23568
|
+
rollup: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
23569
|
+
average: "average";
|
|
23570
|
+
concatenate: "concatenate";
|
|
23571
|
+
count: "count";
|
|
23572
|
+
max: "max";
|
|
23573
|
+
min: "min";
|
|
23574
|
+
sum: "sum";
|
|
23575
|
+
values: "values";
|
|
23576
|
+
}>>>;
|
|
23577
|
+
limit: z.ZodOptional<z.ZodEnum<{
|
|
23578
|
+
all: "all";
|
|
23579
|
+
first: "first";
|
|
23580
|
+
}>>;
|
|
23581
|
+
}, z.core.$strip>>;
|
|
23582
|
+
multiple: z.ZodOptional<z.ZodBoolean>;
|
|
23583
|
+
number: z.ZodOptional<z.ZodObject<{
|
|
23584
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
23585
|
+
currency: "currency";
|
|
23586
|
+
plain: "plain";
|
|
23587
|
+
}>>;
|
|
23588
|
+
currency: z.ZodOptional<z.ZodString>;
|
|
23589
|
+
locale: z.ZodOptional<z.ZodString>;
|
|
23590
|
+
}, z.core.$strip>>;
|
|
23591
|
+
targetBaseId: z.ZodOptional<z.ZodString>;
|
|
23592
|
+
targetBaseSlug: z.ZodOptional<z.ZodString>;
|
|
23593
|
+
}, z.core.$strip>>;
|
|
23594
|
+
}, z.core.$strip>>;
|
|
23595
|
+
}, z.core.$strip>;
|
|
23596
|
+
headCommit: z.ZodObject<{
|
|
23597
|
+
id: z.ZodString;
|
|
23598
|
+
baseId: z.ZodNullable<z.ZodString>;
|
|
23599
|
+
targetType: z.ZodEnum<{
|
|
23600
|
+
base: "base";
|
|
23601
|
+
node: "node";
|
|
23602
|
+
}>;
|
|
23603
|
+
nodeId: z.ZodNullable<z.ZodString>;
|
|
23604
|
+
operationId: z.ZodNullable<z.ZodString>;
|
|
23605
|
+
parentCommitId: z.ZodNullable<z.ZodString>;
|
|
23606
|
+
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
23607
|
+
operation: z.ZodEnum<{
|
|
23608
|
+
[x: `${string}_file_create`]: `${string}_file_create`;
|
|
23609
|
+
[x: `${string}_file_delete`]: `${string}_file_delete`;
|
|
23610
|
+
[x: `${string}_file_update`]: `${string}_file_update`;
|
|
23611
|
+
[x: `${string}_metadata_update`]: `${string}_metadata_update`;
|
|
23612
|
+
base_add_field: "base_add_field";
|
|
23613
|
+
base_archive: "base_archive";
|
|
23614
|
+
base_convert_field: "base_convert_field";
|
|
23615
|
+
base_delete_field: "base_delete_field";
|
|
23616
|
+
base_reorder_fields: "base_reorder_fields";
|
|
23617
|
+
base_restore: "base_restore";
|
|
23618
|
+
base_restore_field: "base_restore_field";
|
|
23619
|
+
base_update_field: "base_update_field";
|
|
23620
|
+
doc_update: "doc_update";
|
|
23621
|
+
html_document_update: "html_document_update";
|
|
23622
|
+
node_create: "node_create";
|
|
23623
|
+
node_delete: "node_delete";
|
|
23624
|
+
node_move: "node_move";
|
|
23625
|
+
node_rename: "node_rename";
|
|
23626
|
+
node_restore: "node_restore";
|
|
23627
|
+
record_create: "record_create";
|
|
23628
|
+
record_delete: "record_delete";
|
|
23629
|
+
record_restore: "record_restore";
|
|
23630
|
+
record_update: "record_update";
|
|
23631
|
+
record_variant: "record_variant";
|
|
23632
|
+
view_create: "view_create";
|
|
23633
|
+
view_delete: "view_delete";
|
|
23634
|
+
view_restore: "view_restore";
|
|
23635
|
+
view_update: "view_update";
|
|
23636
|
+
whiteboard_document_update: "whiteboard_document_update";
|
|
23637
|
+
workflow_document_update: "workflow_document_update";
|
|
23638
|
+
}>;
|
|
23639
|
+
message: z.ZodString;
|
|
23640
|
+
author: z.ZodString;
|
|
23641
|
+
authorUser: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
23642
|
+
id: z.ZodString;
|
|
23643
|
+
name: z.ZodNullable<z.ZodString>;
|
|
23644
|
+
email: z.ZodNullable<z.ZodString>;
|
|
23645
|
+
image: z.ZodNullable<z.ZodString>;
|
|
23646
|
+
role: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23647
|
+
}, z.core.$strip>>>>;
|
|
23648
|
+
createdAt: z.ZodString;
|
|
23649
|
+
}, z.core.$strip>;
|
|
23650
|
+
}, z.core.$strip>;
|
|
23651
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
23652
|
+
kind: z.ZodLiteral<"audit">;
|
|
23653
|
+
timestamp: z.ZodString;
|
|
23654
|
+
auditEvent: z.ZodObject<{
|
|
23655
|
+
id: z.ZodString;
|
|
23656
|
+
action: z.ZodEnum<{
|
|
23657
|
+
"airapp.created": "airapp.created";
|
|
23658
|
+
"asset.deleted": "asset.deleted";
|
|
23659
|
+
"asset.metadata_updated": "asset.metadata_updated";
|
|
23660
|
+
"asset.text_marked_none": "asset.text_marked_none";
|
|
23661
|
+
"asset.text_written": "asset.text_written";
|
|
23662
|
+
"base.created": "base.created";
|
|
23663
|
+
"change_request.created": "change_request.created";
|
|
23664
|
+
"change_request.deleted": "change_request.deleted";
|
|
23665
|
+
"change_request.merged": "change_request.merged";
|
|
23666
|
+
"change_request.reviewed": "change_request.reviewed";
|
|
23667
|
+
"change_request.updated": "change_request.updated";
|
|
23668
|
+
"doc.created": "doc.created";
|
|
23669
|
+
"doc.updated": "doc.updated";
|
|
23670
|
+
"drive.created": "drive.created";
|
|
23671
|
+
"field.created": "field.created";
|
|
23672
|
+
"file.created": "file.created";
|
|
23673
|
+
"node.metadata_updated": "node.metadata_updated";
|
|
23674
|
+
"node.purged": "node.purged";
|
|
23675
|
+
"record.viewed": "record.viewed";
|
|
23676
|
+
"skill.created": "skill.created";
|
|
23677
|
+
}>;
|
|
23678
|
+
actorId: z.ZodString;
|
|
23679
|
+
actor: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
23680
|
+
id: z.ZodString;
|
|
23681
|
+
name: z.ZodNullable<z.ZodString>;
|
|
23682
|
+
email: z.ZodNullable<z.ZodString>;
|
|
23683
|
+
image: z.ZodNullable<z.ZodString>;
|
|
23684
|
+
role: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23685
|
+
}, z.core.$strip>>>>;
|
|
23686
|
+
sourceAttribution: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
23687
|
+
displayName: z.ZodNullable<z.ZodString>;
|
|
23688
|
+
ownerName: z.ZodNullable<z.ZodString>;
|
|
23689
|
+
channel: z.ZodNullable<z.ZodEnum<{
|
|
23690
|
+
automation: "automation";
|
|
23691
|
+
browser: "browser";
|
|
23692
|
+
cli: "cli";
|
|
23693
|
+
import: "import";
|
|
23694
|
+
mcp: "mcp";
|
|
23695
|
+
openapi: "openapi";
|
|
23696
|
+
sdk: "sdk";
|
|
23697
|
+
skill: "skill";
|
|
23698
|
+
web_ui: "web_ui";
|
|
23699
|
+
webhook: "webhook";
|
|
23700
|
+
}>>;
|
|
23701
|
+
}, z.core.$strip>>>;
|
|
23702
|
+
baseId: z.ZodNullable<z.ZodString>;
|
|
23703
|
+
recordId: z.ZodNullable<z.ZodString>;
|
|
23704
|
+
changeRequestId: z.ZodNullable<z.ZodString>;
|
|
23705
|
+
operationId: z.ZodNullable<z.ZodString>;
|
|
23706
|
+
commitId: z.ZodNullable<z.ZodString>;
|
|
23707
|
+
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
23708
|
+
createdAt: z.ZodString;
|
|
23709
|
+
}, z.core.$strip>;
|
|
23710
|
+
record: z.ZodNullable<z.ZodObject<{
|
|
23711
|
+
id: z.ZodString;
|
|
23712
|
+
baseId: z.ZodString;
|
|
23713
|
+
headCommitId: z.ZodString;
|
|
23714
|
+
parentRecordId: z.ZodNullable<z.ZodString>;
|
|
23715
|
+
parentCommitId: z.ZodNullable<z.ZodString>;
|
|
23716
|
+
status: z.ZodEnum<{
|
|
23717
|
+
active: "active";
|
|
23718
|
+
archived: "archived";
|
|
23719
|
+
}>;
|
|
23720
|
+
createdBy: z.ZodString;
|
|
23721
|
+
createdByUser: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
23722
|
+
id: z.ZodString;
|
|
23723
|
+
name: z.ZodNullable<z.ZodString>;
|
|
23724
|
+
email: z.ZodNullable<z.ZodString>;
|
|
23725
|
+
image: z.ZodNullable<z.ZodString>;
|
|
23726
|
+
role: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23727
|
+
}, z.core.$strip>>>>;
|
|
23728
|
+
archivedAt: z.ZodNullable<z.ZodString>;
|
|
23729
|
+
createdAt: z.ZodString;
|
|
23730
|
+
updatedAt: z.ZodString;
|
|
23731
|
+
base: z.ZodObject<{
|
|
23732
|
+
id: z.ZodString;
|
|
23733
|
+
nodeId: z.ZodString;
|
|
23734
|
+
slug: z.ZodString;
|
|
23735
|
+
name: z.ZodString;
|
|
23736
|
+
description: z.ZodString;
|
|
23737
|
+
reviewPolicy: z.ZodObject<{
|
|
23738
|
+
kind: z.ZodLiteral<"single">;
|
|
23739
|
+
requiredApprovals: z.ZodNumber;
|
|
23740
|
+
}, z.core.$strip>;
|
|
23741
|
+
createdAt: z.ZodString;
|
|
23742
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
23743
|
+
id: z.ZodString;
|
|
23744
|
+
baseId: z.ZodString;
|
|
23745
|
+
slug: z.ZodString;
|
|
23746
|
+
name: z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodEnum<{
|
|
23747
|
+
de: "de";
|
|
23748
|
+
en: "en";
|
|
23749
|
+
es: "es";
|
|
23750
|
+
fr: "fr";
|
|
23751
|
+
ja: "ja";
|
|
23752
|
+
ko: "ko";
|
|
23753
|
+
pt: "pt";
|
|
23754
|
+
"zh-CN": "zh-CN";
|
|
23755
|
+
"zh-TW": "zh-TW";
|
|
23756
|
+
}> & z.core.$partial, z.ZodString>]>;
|
|
23757
|
+
type: z.ZodEnum<{
|
|
23758
|
+
ai_summary: "ai_summary";
|
|
23759
|
+
ai_tags: "ai_tags";
|
|
23760
|
+
attachment: "attachment";
|
|
23761
|
+
auto_number: "auto_number";
|
|
23762
|
+
checkbox: "checkbox";
|
|
23763
|
+
code: "code";
|
|
23764
|
+
created_by: "created_by";
|
|
23765
|
+
created_time: "created_time";
|
|
23766
|
+
date: "date";
|
|
23767
|
+
email: "email";
|
|
23768
|
+
embed: "embed";
|
|
23769
|
+
formula: "formula";
|
|
23770
|
+
html: "html";
|
|
23771
|
+
json: "json";
|
|
23772
|
+
longtext: "longtext";
|
|
23773
|
+
lookup: "lookup";
|
|
23774
|
+
markdown: "markdown";
|
|
23775
|
+
multiselect: "multiselect";
|
|
23776
|
+
number: "number";
|
|
23777
|
+
phone: "phone";
|
|
23778
|
+
relation: "relation";
|
|
23779
|
+
select: "select";
|
|
23780
|
+
text: "text";
|
|
23781
|
+
updated_by: "updated_by";
|
|
23782
|
+
updated_time: "updated_time";
|
|
23783
|
+
url: "url";
|
|
23784
|
+
whiteboard: "whiteboard";
|
|
23785
|
+
yaml: "yaml";
|
|
23786
|
+
}>;
|
|
23787
|
+
required: z.ZodBoolean;
|
|
23788
|
+
position: z.ZodNumber;
|
|
23789
|
+
options: z.ZodDefault<z.ZodObject<{
|
|
23790
|
+
ai: z.ZodOptional<z.ZodObject<{
|
|
23791
|
+
model: z.ZodOptional<z.ZodString>;
|
|
23792
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
23793
|
+
reviewRequired: z.ZodOptional<z.ZodBoolean>;
|
|
23794
|
+
sourceFieldIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
23795
|
+
}, z.core.$strip>>;
|
|
23796
|
+
attachment: z.ZodOptional<z.ZodObject<{
|
|
23797
|
+
maxFiles: z.ZodOptional<z.ZodNumber>;
|
|
23798
|
+
allowedMimeTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
23799
|
+
maxFileSize: z.ZodOptional<z.ZodNumber>;
|
|
23800
|
+
}, z.core.$strip>>;
|
|
23801
|
+
choices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
23802
|
+
color: z.ZodOptional<z.ZodString>;
|
|
23803
|
+
id: z.ZodString;
|
|
23804
|
+
name: z.ZodString;
|
|
23805
|
+
}, z.core.$strip>>>;
|
|
23806
|
+
code: z.ZodOptional<z.ZodObject<{
|
|
23807
|
+
language: z.ZodOptional<z.ZodString>;
|
|
23808
|
+
}, z.core.$strip>>;
|
|
23809
|
+
embed: z.ZodOptional<z.ZodObject<{
|
|
23810
|
+
aspectRatio: z.ZodOptional<z.ZodEnum<{
|
|
23811
|
+
"16:9": "16:9";
|
|
23812
|
+
"1:1": "1:1";
|
|
23813
|
+
"4:3": "4:3";
|
|
23814
|
+
}>>;
|
|
23815
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
23816
|
+
providers: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
23817
|
+
}, z.core.$strip>>;
|
|
23818
|
+
formula: z.ZodOptional<z.ZodObject<{
|
|
23819
|
+
expression: z.ZodString;
|
|
23820
|
+
}, z.core.$strip>>;
|
|
23821
|
+
inverseFieldId: z.ZodOptional<z.ZodString>;
|
|
23822
|
+
lookup: z.ZodOptional<z.ZodObject<{
|
|
23823
|
+
relationFieldSlug: z.ZodString;
|
|
23824
|
+
targetFieldSlug: z.ZodString;
|
|
23825
|
+
rollup: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
23826
|
+
average: "average";
|
|
23827
|
+
concatenate: "concatenate";
|
|
23828
|
+
count: "count";
|
|
23829
|
+
max: "max";
|
|
23830
|
+
min: "min";
|
|
23831
|
+
sum: "sum";
|
|
23832
|
+
values: "values";
|
|
23833
|
+
}>>>;
|
|
23834
|
+
limit: z.ZodOptional<z.ZodEnum<{
|
|
23835
|
+
all: "all";
|
|
23836
|
+
first: "first";
|
|
23837
|
+
}>>;
|
|
23838
|
+
}, z.core.$strip>>;
|
|
23839
|
+
multiple: z.ZodOptional<z.ZodBoolean>;
|
|
23840
|
+
number: z.ZodOptional<z.ZodObject<{
|
|
23841
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
23842
|
+
currency: "currency";
|
|
23843
|
+
plain: "plain";
|
|
23844
|
+
}>>;
|
|
23845
|
+
currency: z.ZodOptional<z.ZodString>;
|
|
23846
|
+
locale: z.ZodOptional<z.ZodString>;
|
|
23847
|
+
}, z.core.$strip>>;
|
|
23848
|
+
targetBaseId: z.ZodOptional<z.ZodString>;
|
|
23849
|
+
targetBaseSlug: z.ZodOptional<z.ZodString>;
|
|
23850
|
+
}, z.core.$strip>>;
|
|
23851
|
+
}, z.core.$strip>>;
|
|
23852
|
+
}, z.core.$strip>;
|
|
23853
|
+
headCommit: z.ZodObject<{
|
|
23854
|
+
id: z.ZodString;
|
|
23855
|
+
baseId: z.ZodNullable<z.ZodString>;
|
|
23856
|
+
targetType: z.ZodEnum<{
|
|
23857
|
+
base: "base";
|
|
23858
|
+
node: "node";
|
|
23859
|
+
}>;
|
|
23860
|
+
nodeId: z.ZodNullable<z.ZodString>;
|
|
23861
|
+
operationId: z.ZodNullable<z.ZodString>;
|
|
23862
|
+
parentCommitId: z.ZodNullable<z.ZodString>;
|
|
23863
|
+
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
23864
|
+
operation: z.ZodEnum<{
|
|
23865
|
+
[x: `${string}_file_create`]: `${string}_file_create`;
|
|
23866
|
+
[x: `${string}_file_delete`]: `${string}_file_delete`;
|
|
23867
|
+
[x: `${string}_file_update`]: `${string}_file_update`;
|
|
23868
|
+
[x: `${string}_metadata_update`]: `${string}_metadata_update`;
|
|
23869
|
+
base_add_field: "base_add_field";
|
|
23870
|
+
base_archive: "base_archive";
|
|
23871
|
+
base_convert_field: "base_convert_field";
|
|
23872
|
+
base_delete_field: "base_delete_field";
|
|
23873
|
+
base_reorder_fields: "base_reorder_fields";
|
|
23874
|
+
base_restore: "base_restore";
|
|
23875
|
+
base_restore_field: "base_restore_field";
|
|
23876
|
+
base_update_field: "base_update_field";
|
|
23877
|
+
doc_update: "doc_update";
|
|
23878
|
+
html_document_update: "html_document_update";
|
|
23879
|
+
node_create: "node_create";
|
|
23880
|
+
node_delete: "node_delete";
|
|
23881
|
+
node_move: "node_move";
|
|
23882
|
+
node_rename: "node_rename";
|
|
23883
|
+
node_restore: "node_restore";
|
|
23884
|
+
record_create: "record_create";
|
|
23885
|
+
record_delete: "record_delete";
|
|
23886
|
+
record_restore: "record_restore";
|
|
23887
|
+
record_update: "record_update";
|
|
23888
|
+
record_variant: "record_variant";
|
|
23889
|
+
view_create: "view_create";
|
|
23890
|
+
view_delete: "view_delete";
|
|
23891
|
+
view_restore: "view_restore";
|
|
23892
|
+
view_update: "view_update";
|
|
23893
|
+
whiteboard_document_update: "whiteboard_document_update";
|
|
23894
|
+
workflow_document_update: "workflow_document_update";
|
|
23895
|
+
}>;
|
|
23896
|
+
message: z.ZodString;
|
|
23897
|
+
author: z.ZodString;
|
|
23898
|
+
authorUser: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
23899
|
+
id: z.ZodString;
|
|
23900
|
+
name: z.ZodNullable<z.ZodString>;
|
|
23901
|
+
email: z.ZodNullable<z.ZodString>;
|
|
23902
|
+
image: z.ZodNullable<z.ZodString>;
|
|
23903
|
+
role: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23904
|
+
}, z.core.$strip>>>>;
|
|
23905
|
+
createdAt: z.ZodString;
|
|
23906
|
+
}, z.core.$strip>;
|
|
23907
|
+
}, z.core.$strip>>;
|
|
23908
|
+
}, z.core.$strip>], "kind">;
|
|
23909
|
+
type ActivityItemVO = z.infer<typeof activityItemSchema>;
|
|
23910
|
+
//#endregion
|
|
23911
|
+
//#region ../../packages/busabase-contract/src/contract/node-detail-schemas.d.ts
|
|
23912
|
+
declare const NodeDetailVOSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
23913
|
+
node: z.ZodType<NodeOutput, unknown, z.core.$ZodTypeInternals<NodeOutput, unknown>>;
|
|
23914
|
+
children: z.ZodArray<z.ZodType<NodeOutput, unknown, z.core.$ZodTypeInternals<NodeOutput, unknown>>>;
|
|
23915
|
+
type: z.ZodLiteral<"folder">;
|
|
23916
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
23917
|
+
node: z.ZodType<NodeOutput, unknown, z.core.$ZodTypeInternals<NodeOutput, unknown>>;
|
|
23918
|
+
storagePrefix: z.ZodString;
|
|
23919
|
+
body: z.ZodString;
|
|
23920
|
+
type: z.ZodLiteral<"doc">;
|
|
23921
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
23922
|
+
node: z.ZodType<NodeOutput, unknown, z.core.$ZodTypeInternals<NodeOutput, unknown>>;
|
|
23923
|
+
asset: z.ZodObject<{
|
|
23924
|
+
id: z.ZodString;
|
|
23925
|
+
attachmentId: z.ZodString;
|
|
23926
|
+
name: z.ZodString;
|
|
23927
|
+
contentKind: z.ZodEnum<{
|
|
23928
|
+
binary: "binary";
|
|
23929
|
+
text: "text";
|
|
23930
|
+
}>;
|
|
23931
|
+
metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
23932
|
+
fileName: z.ZodString;
|
|
23933
|
+
mimeType: z.ZodString;
|
|
23934
|
+
size: z.ZodNumber;
|
|
23935
|
+
url: z.ZodString;
|
|
23936
|
+
contentHash: z.ZodNullable<z.ZodString>;
|
|
23937
|
+
usageCount: z.ZodNumber;
|
|
23938
|
+
textStatus: z.ZodEnum<{
|
|
23939
|
+
missing: "missing";
|
|
23940
|
+
none: "none";
|
|
23941
|
+
present: "present";
|
|
23942
|
+
stale: "stale";
|
|
23943
|
+
}>;
|
|
23944
|
+
createdAt: z.ZodString;
|
|
23945
|
+
}, z.core.$strip>;
|
|
23946
|
+
type: z.ZodLiteral<"file">;
|
|
23947
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
23948
|
+
node: z.ZodType<NodeOutput, unknown, z.core.$ZodTypeInternals<NodeOutput, unknown>>;
|
|
23949
|
+
entryFile: z.ZodString;
|
|
23950
|
+
visibility: z.ZodEnum<{
|
|
23951
|
+
private: "private";
|
|
23952
|
+
public: "public";
|
|
23953
|
+
workspace: "workspace";
|
|
23954
|
+
}>;
|
|
23955
|
+
version: z.ZodString;
|
|
23956
|
+
files: z.ZodArray<z.ZodObject<{
|
|
23957
|
+
path: z.ZodString;
|
|
23958
|
+
name: z.ZodString;
|
|
23959
|
+
size: z.ZodNumber;
|
|
23960
|
+
updatedAt: z.ZodNullable<z.ZodString>;
|
|
23961
|
+
mimeType: z.ZodNullable<z.ZodString>;
|
|
23962
|
+
assetId: z.ZodString;
|
|
23963
|
+
displayName: z.ZodNullable<z.ZodString>;
|
|
23964
|
+
}, z.core.$strip>>;
|
|
23965
|
+
skippedGitignorePaths: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
23966
|
+
type: z.ZodLiteral<"skill">;
|
|
23967
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
23968
|
+
node: z.ZodType<NodeOutput, unknown, z.core.$ZodTypeInternals<NodeOutput, unknown>>;
|
|
23969
|
+
entryFile: z.ZodString;
|
|
23970
|
+
visibility: z.ZodEnum<{
|
|
23971
|
+
private: "private";
|
|
23972
|
+
public: "public";
|
|
23973
|
+
workspace: "workspace";
|
|
23974
|
+
}>;
|
|
23975
|
+
version: z.ZodString;
|
|
23976
|
+
files: z.ZodArray<z.ZodObject<{
|
|
23977
|
+
path: z.ZodString;
|
|
23978
|
+
name: z.ZodString;
|
|
23979
|
+
size: z.ZodNumber;
|
|
23980
|
+
updatedAt: z.ZodNullable<z.ZodString>;
|
|
23981
|
+
mimeType: z.ZodNullable<z.ZodString>;
|
|
23982
|
+
assetId: z.ZodString;
|
|
23983
|
+
displayName: z.ZodNullable<z.ZodString>;
|
|
23984
|
+
}, z.core.$strip>>;
|
|
23985
|
+
skippedGitignorePaths: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
23986
|
+
type: z.ZodLiteral<"drive">;
|
|
23987
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
23988
|
+
node: z.ZodType<NodeOutput, unknown, z.core.$ZodTypeInternals<NodeOutput, unknown>>;
|
|
23989
|
+
entryFile: z.ZodString;
|
|
23990
|
+
visibility: z.ZodEnum<{
|
|
23991
|
+
private: "private";
|
|
23992
|
+
public: "public";
|
|
23993
|
+
workspace: "workspace";
|
|
23994
|
+
}>;
|
|
23995
|
+
version: z.ZodString;
|
|
23996
|
+
files: z.ZodArray<z.ZodObject<{
|
|
23997
|
+
path: z.ZodString;
|
|
23998
|
+
name: z.ZodString;
|
|
23999
|
+
size: z.ZodNumber;
|
|
24000
|
+
updatedAt: z.ZodNullable<z.ZodString>;
|
|
24001
|
+
mimeType: z.ZodNullable<z.ZodString>;
|
|
24002
|
+
assetId: z.ZodString;
|
|
24003
|
+
displayName: z.ZodNullable<z.ZodString>;
|
|
24004
|
+
}, z.core.$strip>>;
|
|
24005
|
+
skippedGitignorePaths: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
24006
|
+
type: z.ZodLiteral<"airapp">;
|
|
24007
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
24008
|
+
type: z.ZodLiteral<"base">;
|
|
24009
|
+
node: z.ZodType<NodeOutput, unknown, z.core.$ZodTypeInternals<NodeOutput, unknown>>;
|
|
24010
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
24011
|
+
type: z.ZodLiteral<"form">;
|
|
24012
|
+
node: z.ZodType<NodeOutput, unknown, z.core.$ZodTypeInternals<NodeOutput, unknown>>;
|
|
24013
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
24014
|
+
type: z.ZodLiteral<"whiteboard">;
|
|
24015
|
+
node: z.ZodType<NodeOutput, unknown, z.core.$ZodTypeInternals<NodeOutput, unknown>>;
|
|
24016
|
+
document: z.ZodType<{
|
|
24017
|
+
version: 1;
|
|
24018
|
+
elements: unknown[];
|
|
24019
|
+
appState: Record<string, unknown>;
|
|
24020
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
24021
|
+
version: 1;
|
|
24022
|
+
elements: unknown[];
|
|
24023
|
+
appState: Record<string, unknown>;
|
|
24024
|
+
}, unknown>>;
|
|
24025
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
24026
|
+
type: z.ZodLiteral<"workflow">;
|
|
24027
|
+
node: z.ZodType<NodeOutput, unknown, z.core.$ZodTypeInternals<NodeOutput, unknown>>;
|
|
24028
|
+
document: z.ZodType<{
|
|
24029
|
+
version: 2;
|
|
24030
|
+
nodes: ({
|
|
24031
|
+
id: string;
|
|
24032
|
+
position: {
|
|
24033
|
+
x: number;
|
|
24034
|
+
y: number;
|
|
24035
|
+
};
|
|
24036
|
+
label: string;
|
|
24037
|
+
description: string;
|
|
24038
|
+
kind: "trigger";
|
|
24039
|
+
eventName: string;
|
|
24040
|
+
} | {
|
|
24041
|
+
id: string;
|
|
24042
|
+
position: {
|
|
24043
|
+
x: number;
|
|
24044
|
+
y: number;
|
|
24045
|
+
};
|
|
24046
|
+
label: string;
|
|
24047
|
+
description: string;
|
|
24048
|
+
kind: "webhook";
|
|
24049
|
+
method: "DELETE" | "GET" | "PATCH" | "POST" | "PUT";
|
|
24050
|
+
url: string;
|
|
24051
|
+
} | {
|
|
24052
|
+
id: string;
|
|
24053
|
+
position: {
|
|
24054
|
+
x: number;
|
|
24055
|
+
y: number;
|
|
24056
|
+
};
|
|
24057
|
+
label: string;
|
|
24058
|
+
description: string;
|
|
24059
|
+
kind: "function";
|
|
24060
|
+
webhookRuleId: string;
|
|
24061
|
+
functionName: string;
|
|
24062
|
+
} | {
|
|
24063
|
+
id: string;
|
|
24064
|
+
position: {
|
|
24065
|
+
x: number;
|
|
24066
|
+
y: number;
|
|
24067
|
+
};
|
|
24068
|
+
label: string;
|
|
24069
|
+
description: string;
|
|
24070
|
+
kind: "condition";
|
|
24071
|
+
expression: string;
|
|
24072
|
+
} | {
|
|
24073
|
+
id: string;
|
|
24074
|
+
position: {
|
|
24075
|
+
x: number;
|
|
24076
|
+
y: number;
|
|
24077
|
+
};
|
|
24078
|
+
label: string;
|
|
24079
|
+
description: string;
|
|
24080
|
+
kind: "wait";
|
|
24081
|
+
duration: number;
|
|
24082
|
+
unit: "days" | "hours" | "minutes";
|
|
24083
|
+
} | {
|
|
24084
|
+
id: string;
|
|
24085
|
+
position: {
|
|
24086
|
+
x: number;
|
|
24087
|
+
y: number;
|
|
24088
|
+
};
|
|
24089
|
+
label: string;
|
|
24090
|
+
description: string;
|
|
24091
|
+
kind: "approval";
|
|
24092
|
+
approver: string;
|
|
24093
|
+
} | {
|
|
24094
|
+
id: string;
|
|
24095
|
+
position: {
|
|
24096
|
+
x: number;
|
|
24097
|
+
y: number;
|
|
24098
|
+
};
|
|
24099
|
+
label: string;
|
|
24100
|
+
description: string;
|
|
24101
|
+
kind: "action";
|
|
24102
|
+
actionName: string;
|
|
24103
|
+
} | {
|
|
24104
|
+
id: string;
|
|
24105
|
+
position: {
|
|
24106
|
+
x: number;
|
|
24107
|
+
y: number;
|
|
24108
|
+
};
|
|
24109
|
+
label: string;
|
|
24110
|
+
description: string;
|
|
24111
|
+
kind: "end";
|
|
24112
|
+
outcome: string;
|
|
24113
|
+
})[];
|
|
24114
|
+
edges: {
|
|
24115
|
+
id: string;
|
|
24116
|
+
source: string;
|
|
24117
|
+
target: string;
|
|
24118
|
+
label: string;
|
|
24119
|
+
outcome: string;
|
|
24120
|
+
}[];
|
|
24121
|
+
settings: {
|
|
24122
|
+
executionMode: "event" | "manual";
|
|
24123
|
+
concurrency: number;
|
|
24124
|
+
timeoutMs: number;
|
|
24125
|
+
errorPolicy: "continue" | "stop";
|
|
24126
|
+
};
|
|
24127
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
24128
|
+
version: 2;
|
|
24129
|
+
nodes: ({
|
|
24130
|
+
id: string;
|
|
24131
|
+
position: {
|
|
24132
|
+
x: number;
|
|
24133
|
+
y: number;
|
|
24134
|
+
};
|
|
24135
|
+
label: string;
|
|
24136
|
+
description: string;
|
|
24137
|
+
kind: "trigger";
|
|
24138
|
+
eventName: string;
|
|
24139
|
+
} | {
|
|
24140
|
+
id: string;
|
|
24141
|
+
position: {
|
|
24142
|
+
x: number;
|
|
24143
|
+
y: number;
|
|
24144
|
+
};
|
|
24145
|
+
label: string;
|
|
24146
|
+
description: string;
|
|
24147
|
+
kind: "webhook";
|
|
24148
|
+
method: "DELETE" | "GET" | "PATCH" | "POST" | "PUT";
|
|
24149
|
+
url: string;
|
|
24150
|
+
} | {
|
|
24151
|
+
id: string;
|
|
24152
|
+
position: {
|
|
24153
|
+
x: number;
|
|
24154
|
+
y: number;
|
|
24155
|
+
};
|
|
24156
|
+
label: string;
|
|
24157
|
+
description: string;
|
|
24158
|
+
kind: "function";
|
|
24159
|
+
webhookRuleId: string;
|
|
24160
|
+
functionName: string;
|
|
24161
|
+
} | {
|
|
24162
|
+
id: string;
|
|
24163
|
+
position: {
|
|
24164
|
+
x: number;
|
|
24165
|
+
y: number;
|
|
24166
|
+
};
|
|
24167
|
+
label: string;
|
|
24168
|
+
description: string;
|
|
24169
|
+
kind: "condition";
|
|
24170
|
+
expression: string;
|
|
24171
|
+
} | {
|
|
24172
|
+
id: string;
|
|
24173
|
+
position: {
|
|
24174
|
+
x: number;
|
|
24175
|
+
y: number;
|
|
24176
|
+
};
|
|
24177
|
+
label: string;
|
|
24178
|
+
description: string;
|
|
24179
|
+
kind: "wait";
|
|
24180
|
+
duration: number;
|
|
24181
|
+
unit: "days" | "hours" | "minutes";
|
|
24182
|
+
} | {
|
|
24183
|
+
id: string;
|
|
24184
|
+
position: {
|
|
24185
|
+
x: number;
|
|
24186
|
+
y: number;
|
|
24187
|
+
};
|
|
24188
|
+
label: string;
|
|
24189
|
+
description: string;
|
|
24190
|
+
kind: "approval";
|
|
24191
|
+
approver: string;
|
|
24192
|
+
} | {
|
|
24193
|
+
id: string;
|
|
24194
|
+
position: {
|
|
24195
|
+
x: number;
|
|
24196
|
+
y: number;
|
|
24197
|
+
};
|
|
24198
|
+
label: string;
|
|
24199
|
+
description: string;
|
|
24200
|
+
kind: "action";
|
|
24201
|
+
actionName: string;
|
|
24202
|
+
} | {
|
|
24203
|
+
id: string;
|
|
24204
|
+
position: {
|
|
24205
|
+
x: number;
|
|
24206
|
+
y: number;
|
|
24207
|
+
};
|
|
24208
|
+
label: string;
|
|
24209
|
+
description: string;
|
|
24210
|
+
kind: "end";
|
|
24211
|
+
outcome: string;
|
|
24212
|
+
})[];
|
|
24213
|
+
edges: {
|
|
24214
|
+
id: string;
|
|
24215
|
+
source: string;
|
|
24216
|
+
target: string;
|
|
24217
|
+
label: string;
|
|
24218
|
+
outcome: string;
|
|
24219
|
+
}[];
|
|
24220
|
+
settings: {
|
|
24221
|
+
executionMode: "event" | "manual";
|
|
24222
|
+
concurrency: number;
|
|
24223
|
+
timeoutMs: number;
|
|
24224
|
+
errorPolicy: "continue" | "stop";
|
|
24225
|
+
};
|
|
24226
|
+
}, unknown>>;
|
|
24227
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
24228
|
+
type: z.ZodLiteral<"html">;
|
|
24229
|
+
node: z.ZodType<NodeOutput, unknown, z.core.$ZodTypeInternals<NodeOutput, unknown>>;
|
|
24230
|
+
document: z.ZodType<{
|
|
24231
|
+
version: 1;
|
|
24232
|
+
source: string;
|
|
24233
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
24234
|
+
version: 1;
|
|
24235
|
+
source: string;
|
|
24236
|
+
}, unknown>>;
|
|
24237
|
+
}, z.core.$strip>], "type">;
|
|
24238
|
+
type NodeDetailVO = z.infer<typeof NodeDetailVOSchema>;
|
|
24239
|
+
//#endregion
|
|
24240
|
+
//#region ../../packages/busabase-contract/src/domains/filetree/types.d.ts
|
|
24241
|
+
interface FileTreeFileVO {
|
|
24242
|
+
path: string;
|
|
24243
|
+
name: string;
|
|
24244
|
+
size: number;
|
|
24245
|
+
updatedAt: string | null;
|
|
24246
|
+
mimeType: string | null;
|
|
24247
|
+
assetId: string;
|
|
24248
|
+
displayName: string | null;
|
|
24249
|
+
}
|
|
24250
|
+
interface FileTreeNodeVO {
|
|
24251
|
+
node: NodeVO;
|
|
24252
|
+
entryFile: string;
|
|
24253
|
+
visibility: "private" | "workspace" | "public";
|
|
24254
|
+
version: string;
|
|
24255
|
+
files: FileTreeFileVO[];
|
|
24256
|
+
skippedGitignorePaths?: string[];
|
|
24257
|
+
}
|
|
24258
|
+
interface FileTreeReadFileVO {
|
|
24259
|
+
nodeId: string;
|
|
24260
|
+
path: string;
|
|
24261
|
+
encoding: "utf8" | "url";
|
|
24262
|
+
content: string;
|
|
24263
|
+
mimeType: string;
|
|
24264
|
+
assetId: string;
|
|
24265
|
+
displayName: string | null;
|
|
24266
|
+
assetUrl: string | null;
|
|
24267
|
+
contentHash: string;
|
|
24268
|
+
}
|
|
24269
|
+
//#endregion
|
|
24270
|
+
//#region ../../packages/busabase-contract/src/domains/assets/types.d.ts
|
|
24271
|
+
/**
|
|
24272
|
+
* Derived text-slot status for an Asset (Drive Grep Retrieval). `missing` is
|
|
24273
|
+
* the absence of a `busabase_asset_texts` row (no writer has supplied text
|
|
24274
|
+
* yet, or a pre-existing asset hasn't been lazily self-healed by a grep call);
|
|
24275
|
+
* `present` / `none` / `stale` are the row's own `status` column.
|
|
24276
|
+
*/
|
|
24277
|
+
declare const AssetTextStatusSchema: z.ZodEnum<{
|
|
24278
|
+
missing: "missing";
|
|
24279
|
+
none: "none";
|
|
24280
|
+
present: "present";
|
|
24281
|
+
stale: "stale";
|
|
24282
|
+
}>;
|
|
24283
|
+
type AssetTextStatus = z.infer<typeof AssetTextStatusSchema>;
|
|
24284
|
+
/** One library entry: the deduped file + its busabase metadata + usage count. */
|
|
24285
|
+
declare const AssetVOSchema: z.ZodObject<{
|
|
24286
|
+
id: z.ZodString;
|
|
24287
|
+
attachmentId: z.ZodString;
|
|
24288
|
+
name: z.ZodString;
|
|
24289
|
+
contentKind: z.ZodEnum<{
|
|
24290
|
+
binary: "binary";
|
|
24291
|
+
text: "text";
|
|
24292
|
+
}>;
|
|
24293
|
+
metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
24294
|
+
fileName: z.ZodString;
|
|
24295
|
+
mimeType: z.ZodString;
|
|
24296
|
+
size: z.ZodNumber;
|
|
24297
|
+
url: z.ZodString;
|
|
24298
|
+
contentHash: z.ZodNullable<z.ZodString>;
|
|
24299
|
+
usageCount: z.ZodNumber;
|
|
24300
|
+
textStatus: z.ZodEnum<{
|
|
24301
|
+
missing: "missing";
|
|
24302
|
+
none: "none";
|
|
24303
|
+
present: "present";
|
|
24304
|
+
stale: "stale";
|
|
24305
|
+
}>;
|
|
24306
|
+
createdAt: z.ZodString;
|
|
24307
|
+
}, z.core.$strip>;
|
|
24308
|
+
type AssetVO = z.infer<typeof AssetVOSchema>;
|
|
24309
|
+
/** One place an asset is referenced — the row behind "Where Used". */
|
|
24310
|
+
declare const AssetUsageVOSchema: z.ZodObject<{
|
|
24311
|
+
ownerType: z.ZodEnum<{
|
|
24312
|
+
airapp: "airapp";
|
|
24313
|
+
base: "base";
|
|
24314
|
+
doc: "doc";
|
|
24315
|
+
drive: "drive";
|
|
24316
|
+
file_node: "file_node";
|
|
24317
|
+
skill: "skill";
|
|
24318
|
+
}>;
|
|
24319
|
+
nodeId: z.ZodString;
|
|
24320
|
+
nodeName: z.ZodString;
|
|
24321
|
+
nodeType: z.ZodString;
|
|
24322
|
+
nodeSlug: z.ZodString;
|
|
24323
|
+
path: z.ZodNullable<z.ZodString>;
|
|
24324
|
+
recordId: z.ZodNullable<z.ZodString>;
|
|
24325
|
+
fieldSlug: z.ZodNullable<z.ZodString>;
|
|
24326
|
+
blockId: z.ZodNullable<z.ZodString>;
|
|
24327
|
+
createdAt: z.ZodString;
|
|
24328
|
+
}, z.core.$strip>;
|
|
24329
|
+
type AssetUsageVO = z.infer<typeof AssetUsageVOSchema>;
|
|
24330
|
+
/** Asset detail = the library entry plus every place it is used. */
|
|
24331
|
+
declare const AssetDetailVOSchema: z.ZodObject<{
|
|
24332
|
+
asset: z.ZodObject<{
|
|
24333
|
+
id: z.ZodString;
|
|
24334
|
+
attachmentId: z.ZodString;
|
|
24335
|
+
name: z.ZodString;
|
|
24336
|
+
contentKind: z.ZodEnum<{
|
|
24337
|
+
binary: "binary";
|
|
24338
|
+
text: "text";
|
|
24339
|
+
}>;
|
|
24340
|
+
metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
24341
|
+
fileName: z.ZodString;
|
|
24342
|
+
mimeType: z.ZodString;
|
|
24343
|
+
size: z.ZodNumber;
|
|
24344
|
+
url: z.ZodString;
|
|
24345
|
+
contentHash: z.ZodNullable<z.ZodString>;
|
|
24346
|
+
usageCount: z.ZodNumber;
|
|
24347
|
+
textStatus: z.ZodEnum<{
|
|
24348
|
+
missing: "missing";
|
|
24349
|
+
none: "none";
|
|
24350
|
+
present: "present";
|
|
24351
|
+
stale: "stale";
|
|
24352
|
+
}>;
|
|
24353
|
+
createdAt: z.ZodString;
|
|
24354
|
+
}, z.core.$strip>;
|
|
24355
|
+
usages: z.ZodArray<z.ZodObject<{
|
|
24356
|
+
ownerType: z.ZodEnum<{
|
|
24357
|
+
airapp: "airapp";
|
|
24358
|
+
base: "base";
|
|
24359
|
+
doc: "doc";
|
|
24360
|
+
drive: "drive";
|
|
24361
|
+
file_node: "file_node";
|
|
24362
|
+
skill: "skill";
|
|
24363
|
+
}>;
|
|
24364
|
+
nodeId: z.ZodString;
|
|
24365
|
+
nodeName: z.ZodString;
|
|
24366
|
+
nodeType: z.ZodString;
|
|
24367
|
+
nodeSlug: z.ZodString;
|
|
24368
|
+
path: z.ZodNullable<z.ZodString>;
|
|
24369
|
+
recordId: z.ZodNullable<z.ZodString>;
|
|
24370
|
+
fieldSlug: z.ZodNullable<z.ZodString>;
|
|
24371
|
+
blockId: z.ZodNullable<z.ZodString>;
|
|
24372
|
+
createdAt: z.ZodString;
|
|
24373
|
+
}, z.core.$strip>>;
|
|
24374
|
+
}, z.core.$strip>;
|
|
24375
|
+
type AssetDetailVO = z.infer<typeof AssetDetailVOSchema>;
|
|
24376
|
+
/** Files-only grep input used internally and by the SDK's `assets.grep` convenience adapter. */
|
|
24377
|
+
declare const GrepInputSchema: z.ZodObject<{
|
|
24378
|
+
pattern: z.ZodString;
|
|
24379
|
+
flags: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
24380
|
+
scope: z.ZodOptional<z.ZodObject<{
|
|
24381
|
+
assetIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
24382
|
+
drivePath: z.ZodOptional<z.ZodString>;
|
|
24383
|
+
mimeTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
24384
|
+
}, z.core.$strip>>;
|
|
24385
|
+
maxMatches: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
24386
|
+
contextLines: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
24387
|
+
}, z.core.$strip>;
|
|
24388
|
+
/** Caller input before Zod applies defaults. */
|
|
24389
|
+
type GrepInputDTO = z.input<typeof GrepInputSchema>;
|
|
24390
|
+
declare const GrepResultVOSchema: z.ZodObject<{
|
|
24391
|
+
matches: z.ZodArray<z.ZodObject<{
|
|
24392
|
+
assetId: z.ZodString;
|
|
24393
|
+
fileName: z.ZodString;
|
|
24394
|
+
drivePath: z.ZodString;
|
|
24395
|
+
line: z.ZodNumber;
|
|
24396
|
+
column: z.ZodNumber;
|
|
24397
|
+
text: z.ZodString;
|
|
24398
|
+
before: z.ZodArray<z.ZodString>;
|
|
24399
|
+
after: z.ZodArray<z.ZodString>;
|
|
24400
|
+
}, z.core.$strip>>;
|
|
24401
|
+
filesScanned: z.ZodNumber;
|
|
24402
|
+
missing: z.ZodArray<z.ZodString>;
|
|
24403
|
+
stale: z.ZodArray<z.ZodString>;
|
|
24404
|
+
unsearchable: z.ZodNumber;
|
|
24405
|
+
errored: z.ZodArray<z.ZodString>;
|
|
24406
|
+
notReached: z.ZodNumber;
|
|
24407
|
+
truncated: z.ZodBoolean;
|
|
24408
|
+
}, z.core.$strip>;
|
|
24409
|
+
type GrepResultVO = z.infer<typeof GrepResultVOSchema>;
|
|
24410
|
+
//#endregion
|
|
24411
|
+
//#region ../../packages/busabase-contract/src/domains/file-node/types.d.ts
|
|
24412
|
+
declare const FileNodeMetadataSchema: z.ZodObject<{
|
|
24413
|
+
assetId: z.ZodString;
|
|
24414
|
+
}, z.core.$strip>;
|
|
24415
|
+
type FileNodeMetadata = z.infer<typeof FileNodeMetadataSchema>;
|
|
24416
|
+
declare const FileNodeVOSchema: z.ZodObject<{
|
|
24417
|
+
node: z.ZodType<NodeOutput, unknown, z.core.$ZodTypeInternals<NodeOutput, unknown>>;
|
|
24418
|
+
asset: z.ZodObject<{
|
|
24419
|
+
id: z.ZodString;
|
|
24420
|
+
attachmentId: z.ZodString;
|
|
24421
|
+
name: z.ZodString;
|
|
24422
|
+
contentKind: z.ZodEnum<{
|
|
24423
|
+
binary: "binary";
|
|
24424
|
+
text: "text";
|
|
24425
|
+
}>;
|
|
24426
|
+
metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
24427
|
+
fileName: z.ZodString;
|
|
24428
|
+
mimeType: z.ZodString;
|
|
24429
|
+
size: z.ZodNumber;
|
|
24430
|
+
url: z.ZodString;
|
|
24431
|
+
contentHash: z.ZodNullable<z.ZodString>;
|
|
24432
|
+
usageCount: z.ZodNumber;
|
|
24433
|
+
textStatus: z.ZodEnum<{
|
|
24434
|
+
missing: "missing";
|
|
24435
|
+
none: "none";
|
|
24436
|
+
present: "present";
|
|
24437
|
+
stale: "stale";
|
|
24438
|
+
}>;
|
|
24439
|
+
createdAt: z.ZodString;
|
|
24440
|
+
}, z.core.$strip>;
|
|
24441
|
+
}, z.core.$strip>;
|
|
24442
|
+
type FileNodeVO = z.infer<typeof FileNodeVOSchema>;
|
|
24443
|
+
//#endregion
|
|
24444
|
+
//#region ../../packages/busabase-contract/src/domains/vault/types.d.ts
|
|
24445
|
+
declare const VaultItemKindSchema: z.ZodEnum<{
|
|
24446
|
+
secret: "secret";
|
|
24447
|
+
variable: "variable";
|
|
24448
|
+
}>;
|
|
24449
|
+
type VaultItemKind = z.infer<typeof VaultItemKindSchema>;
|
|
24450
|
+
declare const VaultScopeTypeSchema: z.ZodEnum<{
|
|
24451
|
+
agent: "agent";
|
|
24452
|
+
api_key: "api_key";
|
|
24453
|
+
base: "base";
|
|
24454
|
+
personal: "personal";
|
|
24455
|
+
tool: "tool";
|
|
24456
|
+
workspace: "workspace";
|
|
24457
|
+
}>;
|
|
24458
|
+
type VaultScopeType = z.infer<typeof VaultScopeTypeSchema>;
|
|
24459
|
+
declare const VaultEnvironmentSchema: z.ZodEnum<{
|
|
24460
|
+
development: "development";
|
|
24461
|
+
local: "local";
|
|
24462
|
+
production: "production";
|
|
24463
|
+
staging: "staging";
|
|
24464
|
+
}>;
|
|
24465
|
+
type VaultEnvironment = z.infer<typeof VaultEnvironmentSchema>;
|
|
24466
|
+
declare const VaultAccessPolicySchema: z.ZodObject<{
|
|
24467
|
+
runtime: z.ZodDefault<z.ZodBoolean>;
|
|
24468
|
+
reveal: z.ZodDefault<z.ZodBoolean>;
|
|
24469
|
+
edit: z.ZodDefault<z.ZodBoolean>;
|
|
24470
|
+
share: z.ZodDefault<z.ZodBoolean>;
|
|
24471
|
+
}, z.core.$strip>;
|
|
24472
|
+
type VaultAccessPolicy = z.infer<typeof VaultAccessPolicySchema>;
|
|
24473
|
+
declare const VaultItemInputSchema: z.ZodObject<{
|
|
24474
|
+
id: z.ZodOptional<z.ZodString>;
|
|
24475
|
+
kind: z.ZodEnum<{
|
|
24476
|
+
secret: "secret";
|
|
24477
|
+
variable: "variable";
|
|
24478
|
+
}>;
|
|
24479
|
+
key: z.ZodString;
|
|
24480
|
+
value: z.ZodString;
|
|
24481
|
+
scopeType: z.ZodDefault<z.ZodEnum<{
|
|
24482
|
+
agent: "agent";
|
|
24483
|
+
api_key: "api_key";
|
|
24484
|
+
base: "base";
|
|
24485
|
+
personal: "personal";
|
|
24486
|
+
tool: "tool";
|
|
24487
|
+
workspace: "workspace";
|
|
24488
|
+
}>>;
|
|
24489
|
+
scopeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24490
|
+
environment: z.ZodDefault<z.ZodEnum<{
|
|
24491
|
+
development: "development";
|
|
24492
|
+
local: "local";
|
|
24493
|
+
production: "production";
|
|
24494
|
+
staging: "staging";
|
|
24495
|
+
}>>;
|
|
24496
|
+
description: z.ZodDefault<z.ZodString>;
|
|
24497
|
+
access: z.ZodDefault<z.ZodObject<{
|
|
24498
|
+
runtime: z.ZodDefault<z.ZodBoolean>;
|
|
24499
|
+
reveal: z.ZodDefault<z.ZodBoolean>;
|
|
24500
|
+
edit: z.ZodDefault<z.ZodBoolean>;
|
|
24501
|
+
share: z.ZodDefault<z.ZodBoolean>;
|
|
24502
|
+
}, z.core.$strip>>;
|
|
24503
|
+
}, z.core.$strip>;
|
|
24504
|
+
type VaultItemInput = z.infer<typeof VaultItemInputSchema>;
|
|
24505
|
+
declare const UpdateVaultSettingsInputSchema: z.ZodObject<{
|
|
24506
|
+
items: z.ZodArray<z.ZodObject<{
|
|
24507
|
+
id: z.ZodOptional<z.ZodString>;
|
|
24508
|
+
kind: z.ZodEnum<{
|
|
24509
|
+
secret: "secret";
|
|
24510
|
+
variable: "variable";
|
|
24511
|
+
}>;
|
|
24512
|
+
key: z.ZodString;
|
|
24513
|
+
value: z.ZodString;
|
|
24514
|
+
scopeType: z.ZodDefault<z.ZodEnum<{
|
|
24515
|
+
agent: "agent";
|
|
24516
|
+
api_key: "api_key";
|
|
24517
|
+
base: "base";
|
|
24518
|
+
personal: "personal";
|
|
24519
|
+
tool: "tool";
|
|
24520
|
+
workspace: "workspace";
|
|
24521
|
+
}>>;
|
|
24522
|
+
scopeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24523
|
+
environment: z.ZodDefault<z.ZodEnum<{
|
|
24524
|
+
development: "development";
|
|
24525
|
+
local: "local";
|
|
24526
|
+
production: "production";
|
|
24527
|
+
staging: "staging";
|
|
24528
|
+
}>>;
|
|
24529
|
+
description: z.ZodDefault<z.ZodString>;
|
|
24530
|
+
access: z.ZodDefault<z.ZodObject<{
|
|
24531
|
+
runtime: z.ZodDefault<z.ZodBoolean>;
|
|
24532
|
+
reveal: z.ZodDefault<z.ZodBoolean>;
|
|
24533
|
+
edit: z.ZodDefault<z.ZodBoolean>;
|
|
24534
|
+
share: z.ZodDefault<z.ZodBoolean>;
|
|
24535
|
+
}, z.core.$strip>>;
|
|
24536
|
+
}, z.core.$strip>>;
|
|
24537
|
+
}, z.core.$strip>;
|
|
24538
|
+
type UpdateVaultSettingsDTO = z.infer<typeof UpdateVaultSettingsInputSchema>;
|
|
24539
|
+
declare const VaultItemVOSchema: z.ZodObject<{
|
|
24540
|
+
kind: z.ZodEnum<{
|
|
24541
|
+
secret: "secret";
|
|
24542
|
+
variable: "variable";
|
|
24543
|
+
}>;
|
|
24544
|
+
key: z.ZodString;
|
|
24545
|
+
value: z.ZodString;
|
|
24546
|
+
scopeType: z.ZodDefault<z.ZodEnum<{
|
|
24547
|
+
agent: "agent";
|
|
24548
|
+
api_key: "api_key";
|
|
24549
|
+
base: "base";
|
|
24550
|
+
personal: "personal";
|
|
24551
|
+
tool: "tool";
|
|
24552
|
+
workspace: "workspace";
|
|
24553
|
+
}>>;
|
|
24554
|
+
environment: z.ZodDefault<z.ZodEnum<{
|
|
24555
|
+
development: "development";
|
|
24556
|
+
local: "local";
|
|
24557
|
+
production: "production";
|
|
24558
|
+
staging: "staging";
|
|
24559
|
+
}>>;
|
|
24560
|
+
description: z.ZodDefault<z.ZodString>;
|
|
24561
|
+
access: z.ZodDefault<z.ZodObject<{
|
|
24562
|
+
runtime: z.ZodDefault<z.ZodBoolean>;
|
|
24563
|
+
reveal: z.ZodDefault<z.ZodBoolean>;
|
|
24564
|
+
edit: z.ZodDefault<z.ZodBoolean>;
|
|
24565
|
+
share: z.ZodDefault<z.ZodBoolean>;
|
|
24566
|
+
}, z.core.$strip>>;
|
|
24567
|
+
id: z.ZodString;
|
|
24568
|
+
scopeId: z.ZodNullable<z.ZodString>;
|
|
24569
|
+
updatedAt: z.ZodString;
|
|
24570
|
+
createdAt: z.ZodString;
|
|
24571
|
+
lastUsedAt: z.ZodNullable<z.ZodString>;
|
|
24572
|
+
}, z.core.$strip>;
|
|
24573
|
+
type VaultItemVO = z.infer<typeof VaultItemVOSchema>;
|
|
24574
|
+
declare const VaultSettingsVOSchema: z.ZodObject<{
|
|
24575
|
+
ownerId: z.ZodNullable<z.ZodString>;
|
|
24576
|
+
items: z.ZodArray<z.ZodObject<{
|
|
24577
|
+
kind: z.ZodEnum<{
|
|
24578
|
+
secret: "secret";
|
|
24579
|
+
variable: "variable";
|
|
24580
|
+
}>;
|
|
24581
|
+
key: z.ZodString;
|
|
24582
|
+
value: z.ZodString;
|
|
24583
|
+
scopeType: z.ZodDefault<z.ZodEnum<{
|
|
24584
|
+
agent: "agent";
|
|
24585
|
+
api_key: "api_key";
|
|
24586
|
+
base: "base";
|
|
24587
|
+
personal: "personal";
|
|
24588
|
+
tool: "tool";
|
|
24589
|
+
workspace: "workspace";
|
|
24590
|
+
}>>;
|
|
24591
|
+
environment: z.ZodDefault<z.ZodEnum<{
|
|
24592
|
+
development: "development";
|
|
24593
|
+
local: "local";
|
|
24594
|
+
production: "production";
|
|
24595
|
+
staging: "staging";
|
|
24596
|
+
}>>;
|
|
24597
|
+
description: z.ZodDefault<z.ZodString>;
|
|
24598
|
+
access: z.ZodDefault<z.ZodObject<{
|
|
24599
|
+
runtime: z.ZodDefault<z.ZodBoolean>;
|
|
24600
|
+
reveal: z.ZodDefault<z.ZodBoolean>;
|
|
24601
|
+
edit: z.ZodDefault<z.ZodBoolean>;
|
|
24602
|
+
share: z.ZodDefault<z.ZodBoolean>;
|
|
24603
|
+
}, z.core.$strip>>;
|
|
24604
|
+
id: z.ZodString;
|
|
24605
|
+
scopeId: z.ZodNullable<z.ZodString>;
|
|
24606
|
+
updatedAt: z.ZodString;
|
|
24607
|
+
createdAt: z.ZodString;
|
|
24608
|
+
lastUsedAt: z.ZodNullable<z.ZodString>;
|
|
24609
|
+
}, z.core.$strip>>;
|
|
24610
|
+
updatedAt: z.ZodNullable<z.ZodString>;
|
|
24611
|
+
}, z.core.$strip>;
|
|
24612
|
+
type VaultSettingsVO = z.infer<typeof VaultSettingsVOSchema>;
|
|
24613
|
+
declare const VaultRuntimeEnvSchema: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
24614
|
+
type VaultRuntimeEnv = z.infer<typeof VaultRuntimeEnvSchema>;
|
|
24615
|
+
//#endregion
|
|
24616
|
+
//#region ../../packages/busabase-contract/src/types/index.d.ts
|
|
24617
|
+
type FieldType = "text" | "longtext" | "markdown" | "html" | "attachment" | "relation" | "number" | "date" | "checkbox" | "select" | "multiselect" | "url" | "embed" | "email" | "phone" | "created_time" | "updated_time" | "created_by" | "updated_by" | "auto_number" | "ai_summary" | "ai_tags" | "code" | "json" | "yaml" | "formula" | "lookup" | "whiteboard";
|
|
24618
|
+
/** Rollup functions a `lookup` field can apply — mirrors `lookupRollupSchema`. */
|
|
24619
|
+
type LookupRollup = "values" | "count" | "sum" | "average" | "min" | "max" | "concatenate";
|
|
24620
|
+
type ChangeRequestStatus = "in_review" | "changes_requested" | "approved" | "rejected" | "merged" | "abandoned" | "conflict";
|
|
24621
|
+
type OperationStatus = "pending" | "merged" | "archived" | "failed";
|
|
24622
|
+
type ChangeRequestTargetType = "base" | "node";
|
|
24623
|
+
type BusabaseSourceChannel = "web_ui" | "browser" | "openapi" | "sdk" | "cli" | "mcp" | "skill" | "webhook" | "automation" | "import";
|
|
24624
|
+
type ReviewVerdict = "approved" | "rejected";
|
|
24625
|
+
type SearchResultKind = "record" | "change_request" | "base" | "file" | "node";
|
|
24626
|
+
type CommentSubjectType = "record" | "change_request" | "operation" | "commit";
|
|
24627
|
+
type AuditAction = "record.viewed" | "change_request.created" | "change_request.updated" | "change_request.deleted" | "change_request.reviewed" | "change_request.merged" | "base.created" | "field.created" | "doc.created" | "doc.updated" | "file.created" | "skill.created" | "drive.created" | "airapp.created" | "asset.deleted" | "asset.metadata_updated" | "asset.text_written" | "asset.text_marked_none" | "node.metadata_updated" | "node.purged";
|
|
24628
|
+
interface UserRefVO {
|
|
24629
|
+
id: string;
|
|
24630
|
+
name: string | null;
|
|
24631
|
+
email: string | null;
|
|
24632
|
+
image: string | null;
|
|
24633
|
+
role?: string | null;
|
|
24634
|
+
}
|
|
24635
|
+
/** Public, privacy-safe attribution derived from internal source provenance. */
|
|
24636
|
+
interface SourceAttributionVO {
|
|
24637
|
+
displayName: string | null;
|
|
24638
|
+
ownerName: string | null;
|
|
24639
|
+
channel: BusabaseSourceChannel | null;
|
|
24640
|
+
}
|
|
24641
|
+
/**
|
|
24642
|
+
* Cheap, name/slug-only match from `nodes.searchByName` — deliberately a much
|
|
24643
|
+
* smaller projection than `NodeVO` (no `description`/`metadata`/tree shape):
|
|
24644
|
+
* this backs the dashboard's instant quick-jump palette, not the sidebar tree
|
|
24645
|
+
* or a node's own detail view. `path` is the route this node navigates to
|
|
24646
|
+
* (e.g. `/base/{slug}`), not a filesystem/breadcrumb tree path.
|
|
24647
|
+
*/
|
|
24648
|
+
interface NodeSearchResultVO {
|
|
24649
|
+
id: string;
|
|
24650
|
+
type: NodeType;
|
|
24651
|
+
name: string;
|
|
24652
|
+
slug: string;
|
|
24653
|
+
path: string;
|
|
24654
|
+
updatedAt: string;
|
|
24655
|
+
}
|
|
24656
|
+
interface NodeVO {
|
|
24657
|
+
id: string;
|
|
24658
|
+
parentId: string | null;
|
|
24659
|
+
type: NodeType;
|
|
24660
|
+
slug: string;
|
|
24661
|
+
name: string;
|
|
24662
|
+
description: string;
|
|
24663
|
+
/**
|
|
24664
|
+
* Free-form extension data — the caller's bag. The product reads nothing here
|
|
24665
|
+
* except `version`, a label the user writes and the product never interprets.
|
|
24666
|
+
* Kept in sync with `NodeOutput` in `contract/schemas.ts`, which is the shape
|
|
24667
|
+
* the wire schema actually validates.
|
|
24668
|
+
*/
|
|
24669
|
+
metadata: Record<string, unknown> & {
|
|
24670
|
+
version?: string;
|
|
24671
|
+
};
|
|
24672
|
+
/**
|
|
24673
|
+
* This node's OWN declared visibility, or null when it inherits from its
|
|
24674
|
+
* ancestors. A real column rather than a metadata key, because it is the node
|
|
24675
|
+
* ACL's only explicit input — see `content/spec/node-content-storage.md` (D1).
|
|
24676
|
+
*/
|
|
24677
|
+
explicitVisibility: "private" | "workspace" | "public" | null;
|
|
24678
|
+
/**
|
|
24679
|
+
* This node's custom avatar (emoji or cropped/uploaded image), or `null`
|
|
24680
|
+
* when the node has none and every host falls back to its type icon
|
|
24681
|
+
* (`nodeIconForType`). See `NodeIconSchema` for the two variants.
|
|
24682
|
+
*/
|
|
24683
|
+
icon?: NodeIcon | null;
|
|
24684
|
+
position: number;
|
|
24685
|
+
createdAt: string;
|
|
24686
|
+
updatedAt: string;
|
|
24687
|
+
baseId: string | null;
|
|
24688
|
+
children: NodeVO[];
|
|
24689
|
+
/**
|
|
24690
|
+
* Whether this node has children beyond what `children` carries — see the
|
|
24691
|
+
* matching field on the contract's `NodeOutput` (contract/schemas.ts) for
|
|
24692
|
+
* the full depth-boundary explanation. Optional/omitted is safe to treat
|
|
24693
|
+
* as `children.length > 0`.
|
|
24694
|
+
*/
|
|
24695
|
+
hasChildren?: boolean;
|
|
24696
|
+
}
|
|
24697
|
+
interface CommitVO {
|
|
24698
|
+
id: string;
|
|
24699
|
+
baseId: string | null;
|
|
24700
|
+
targetType: ChangeRequestTargetType;
|
|
24701
|
+
nodeId: string | null;
|
|
24702
|
+
operationId: string | null;
|
|
24703
|
+
parentCommitId: string | null;
|
|
24704
|
+
/**
|
|
24705
|
+
* Polymorphic change payload; its shape is determined by `operation`.
|
|
24706
|
+
* Intentionally loose here — see the comment on `commitSchema.payload` in
|
|
24707
|
+
* `contract/schemas.ts`. Historical commits predate payload validation, and this
|
|
24708
|
+
* VO is what history/approval screens read, so it must stay permissive.
|
|
24709
|
+
*/
|
|
24710
|
+
payload: Record<string, unknown>;
|
|
24711
|
+
operation: OperationKind;
|
|
24712
|
+
message: string;
|
|
24713
|
+
author: string;
|
|
24714
|
+
authorUser?: UserRefVO | null;
|
|
24715
|
+
createdAt: string;
|
|
24716
|
+
}
|
|
24717
|
+
interface OperationVO {
|
|
24718
|
+
id: string;
|
|
24719
|
+
changeRequestId: string;
|
|
24720
|
+
baseId: string | null;
|
|
24721
|
+
targetType: ChangeRequestTargetType;
|
|
24722
|
+
nodeId: string | null;
|
|
24723
|
+
operation: OperationKind;
|
|
24724
|
+
status: OperationStatus;
|
|
24725
|
+
targetRecordId: string | null;
|
|
24726
|
+
targetViewId: string | null;
|
|
24727
|
+
filePath: string | null;
|
|
24728
|
+
sourceRecordId: string | null;
|
|
24729
|
+
sourceCommitId: string | null;
|
|
24730
|
+
baseCommitId: string | null;
|
|
24731
|
+
headCommitId: string;
|
|
24732
|
+
deleteMode: "archive";
|
|
24733
|
+
mergedRecordId: string | null;
|
|
24734
|
+
mergedViewId: string | null;
|
|
24735
|
+
position: number;
|
|
24736
|
+
createdAt: string;
|
|
24737
|
+
updatedAt: string;
|
|
24738
|
+
headCommit: CommitVO;
|
|
24739
|
+
baseFields: Record<string, unknown> | null;
|
|
24740
|
+
}
|
|
24741
|
+
interface ChangeRequestVO {
|
|
24742
|
+
id: string;
|
|
24743
|
+
baseId: string | null;
|
|
24744
|
+
targetType: ChangeRequestTargetType;
|
|
24745
|
+
nodeId: string | null;
|
|
24746
|
+
status: ChangeRequestStatus;
|
|
24747
|
+
submittedBy: string;
|
|
24748
|
+
submittedByUser?: UserRefVO | null;
|
|
24749
|
+
sourceAttribution?: SourceAttributionVO | null;
|
|
24750
|
+
sourceMeta: Record<string, unknown>;
|
|
24751
|
+
reviewPolicySnapshot: Record<string, unknown>;
|
|
24752
|
+
mergeSummary: Record<string, unknown>;
|
|
24753
|
+
rejectedReason: string | null;
|
|
24754
|
+
reviewedAt: string | null;
|
|
24755
|
+
mergedAt: string | null;
|
|
24756
|
+
createdAt: string;
|
|
24757
|
+
updatedAt: string;
|
|
24758
|
+
base: BaseVO | null;
|
|
24759
|
+
node: NodeVO | null;
|
|
24760
|
+
operations: OperationVO[];
|
|
24761
|
+
primaryOperation: OperationVO | null;
|
|
24762
|
+
operationCount: number;
|
|
24763
|
+
reviews: ReviewVO[];
|
|
24764
|
+
}
|
|
24765
|
+
interface ChangeRequestBatchFailureVO {
|
|
24766
|
+
changeRequestId: string;
|
|
24767
|
+
ok: false;
|
|
24768
|
+
error: string;
|
|
24769
|
+
code?: string;
|
|
24770
|
+
data?: unknown;
|
|
24771
|
+
}
|
|
24772
|
+
interface ChangeRequestReviewBatchResultVO {
|
|
24773
|
+
results: Array<{
|
|
24774
|
+
changeRequestId: string;
|
|
24775
|
+
ok: true;
|
|
24776
|
+
status: string;
|
|
24777
|
+
changeRequest: ChangeRequestVO;
|
|
24778
|
+
} | ChangeRequestBatchFailureVO>;
|
|
24779
|
+
}
|
|
24780
|
+
interface ChangeRequestMergeBatchResultVO {
|
|
24781
|
+
results: Array<{
|
|
24782
|
+
changeRequestId: string;
|
|
24783
|
+
ok: true;
|
|
24784
|
+
status: string;
|
|
24785
|
+
changeRequest: ChangeRequestVO;
|
|
24786
|
+
record: RecordVO | null;
|
|
24787
|
+
view: ViewVO | null;
|
|
24788
|
+
} | ChangeRequestBatchFailureVO>;
|
|
24789
|
+
}
|
|
24790
|
+
interface ChangeRequestCountsVO {
|
|
24791
|
+
review: number;
|
|
24792
|
+
changes: number;
|
|
24793
|
+
created: number;
|
|
24794
|
+
approved: number;
|
|
24795
|
+
merged: number;
|
|
24796
|
+
rejected: number;
|
|
24797
|
+
}
|
|
24798
|
+
interface ReviewVO {
|
|
24799
|
+
id: string;
|
|
24800
|
+
changeRequestId: string;
|
|
24801
|
+
reviewerId: string;
|
|
24802
|
+
reviewer?: UserRefVO | null;
|
|
24803
|
+
verdict: ReviewVerdict;
|
|
24804
|
+
reason: string | null;
|
|
24805
|
+
visibleOperationHeads: Record<string, string>;
|
|
24806
|
+
createdAt: string;
|
|
24807
|
+
}
|
|
24808
|
+
interface CommentVO {
|
|
24809
|
+
id: string;
|
|
24810
|
+
subjectType: CommentSubjectType;
|
|
24811
|
+
subjectId: string;
|
|
24812
|
+
recordId: string | null;
|
|
24813
|
+
changeRequestId: string | null;
|
|
24814
|
+
operationId: string | null;
|
|
24815
|
+
commitId: string | null;
|
|
24816
|
+
authorId: string;
|
|
24817
|
+
author?: UserRefVO | null;
|
|
24818
|
+
body: string;
|
|
24819
|
+
mentionsAi: boolean;
|
|
24820
|
+
createdAt: string;
|
|
24821
|
+
updatedAt: string;
|
|
24822
|
+
}
|
|
24823
|
+
interface AgentTaskVO {
|
|
24824
|
+
changeRequest: ChangeRequestVO;
|
|
24825
|
+
trigger: "changes_requested" | "ai_mention";
|
|
24826
|
+
reviewReason: string | null;
|
|
24827
|
+
aiComments: CommentVO[];
|
|
24828
|
+
}
|
|
24829
|
+
interface SearchResultVO {
|
|
24830
|
+
id: string;
|
|
24831
|
+
kind: SearchResultKind;
|
|
24832
|
+
title: string;
|
|
24833
|
+
body: string;
|
|
24834
|
+
eyebrow: string;
|
|
24835
|
+
href: string;
|
|
24836
|
+
updatedAt: string | null;
|
|
24837
|
+
}
|
|
24838
|
+
interface SearchResponseVO {
|
|
24839
|
+
query: string;
|
|
24840
|
+
limit: number;
|
|
24841
|
+
offset: number;
|
|
24842
|
+
hasMore: boolean;
|
|
24843
|
+
results: SearchResultVO[];
|
|
24844
|
+
/**
|
|
24845
|
+
* True when some in-scope node content was indexed only up to the projection
|
|
24846
|
+
* cap, so this search could not see all of it. Lets a client report an empty
|
|
24847
|
+
* result honestly instead of implying the workspace lacks the phrase.
|
|
24848
|
+
*/
|
|
24849
|
+
contentTruncated: boolean;
|
|
24850
|
+
}
|
|
24851
|
+
interface AuditEventVO {
|
|
24852
|
+
id: string;
|
|
24853
|
+
action: AuditAction;
|
|
24854
|
+
actorId: string;
|
|
24855
|
+
actor?: UserRefVO | null;
|
|
24856
|
+
sourceAttribution?: SourceAttributionVO | null;
|
|
24857
|
+
baseId: string | null;
|
|
24858
|
+
recordId: string | null;
|
|
24859
|
+
changeRequestId: string | null;
|
|
24860
|
+
operationId: string | null;
|
|
24861
|
+
commitId: string | null;
|
|
24862
|
+
metadata: Record<string, unknown>;
|
|
24863
|
+
createdAt: string;
|
|
24864
|
+
}
|
|
24865
|
+
//#endregion
|
|
21383
24866
|
//#region src/client.d.ts
|
|
21384
24867
|
/**
|
|
21385
24868
|
* The fully-typed Busabase client. Built over the *cloud* contract, which is a
|
|
@@ -21421,6 +24904,8 @@ interface BusabaseConfig {
|
|
|
21421
24904
|
* accepts that only when the token has a single unambiguous space.
|
|
21422
24905
|
*/
|
|
21423
24906
|
spaceId?: string;
|
|
24907
|
+
/** Source channel recorded in Change Request and audit provenance. Defaults to `sdk`. */
|
|
24908
|
+
sourceChannel?: BusabaseSourceChannel;
|
|
21424
24909
|
/**
|
|
21425
24910
|
* Origin the *web app* is served from, for building human-openable links (see
|
|
21426
24911
|
* {@link Busabase.nodeUrl}). Falls back to `BUSABASE_WEB_URL`, then to
|
|
@@ -21448,6 +24933,7 @@ interface ResolvedConfig {
|
|
|
21448
24933
|
webUrl: string;
|
|
21449
24934
|
apiKey?: string;
|
|
21450
24935
|
spaceId?: string;
|
|
24936
|
+
sourceChannel?: BusabaseSourceChannel;
|
|
21451
24937
|
headers?: BusabaseConfig["headers"];
|
|
21452
24938
|
fetch?: typeof fetch;
|
|
21453
24939
|
}
|
|
@@ -21478,4 +24964,4 @@ declare function resolveConfig(config?: BusabaseConfig): ResolvedConfig;
|
|
|
21478
24964
|
*/
|
|
21479
24965
|
declare function createBusabaseClient(config?: BusabaseConfig): BusabaseClient;
|
|
21480
24966
|
//#endregion
|
|
21481
|
-
export { createBusabaseClient as a,
|
|
24967
|
+
export { FileTreeReadFileVO as $, SearchResultKind as A, AttachmentRef as At, VaultRuntimeEnv as B, NodeSearchResultVO as C, VIEW_FIELD_MIN_WIDTH as Ct, ReviewVO as D, ViewSortVO as Dt, OperationVO as E, ViewFilterVO as Et, VaultAccessPolicy as F, CREATABLE_NODE_TYPES as Ft, AssetDetailVO as G, VaultSettingsVO as H, VaultEnvironment as I, CreatableNodeType as It, AssetVO as J, AssetTextStatus as K, VaultItemInput as L, NodeType as Lt, SourceAttributionVO as M, cloudContract as Mt, UserRefVO as N, NodeIcon as Nt, ReviewVerdict as O, ViewType as Ot, UpdateVaultSettingsDTO as P, NodeIconSchema as Pt, FileTreeNodeVO as Q, VaultItemKind as R, OperationKind as Rt, LookupRollup as S, VIEW_FIELD_MAX_WIDTH as St, OperationStatus as T, ViewFilterOperator as Tt, FileNodeMetadata as U, VaultScopeType as V, FileNodeVO as W, GrepResultVO as X, GrepInputDTO as Y, FileTreeFileVO as Z, ChangeRequestVO as _, GalleryCardSize as _t, createBusabaseClient as a, FormPageSourceVO as at, CommitVO as b, RecordLinkVO as bt, AuditAction as c, FormThemeVO as ct, ChangeRequestBatchFailureVO as d, ListFormsVO as dt, NodeDetailVO as et, ChangeRequestCountsVO as f, SubmitFormDTO as ft, ChangeRequestTargetType as g, BaseVO as gt, ChangeRequestStatus as h, BaseFieldVO as ht, ResolvedConfig as i, FormFieldBindingVO as it, SearchResultVO as j, CloudContract as jt, SearchResponseVO as k, ViewVO as kt, AuditEventVO as l, FormVO as lt, ChangeRequestReviewBatchResultVO as m, AssetAttachmentRef as mt, BusabaseConfig as n, CreateFormDTO as nt, resolveConfig as o, FormShareVO as ot, ChangeRequestMergeBatchResultVO as p, UpdateFormDTO as pt, AssetUsageVO as q, DEFAULT_BASE_URL as r, FormBoundFieldVO as rt, AgentTaskVO as s, FormSubmitResultVO as st, BusabaseClient as t, ActivityItemVO as tt, BusabaseSourceChannel as u, ListFormsDTO as ut, CommentSubjectType as v, GalleryCoverFit as vt, NodeVO as w, ViewConfigVO as wt, FieldType as x, RecordVO as xt, CommentVO as y, GanttScale as yt, VaultItemVO as z };
|