@inf-monkeys-tech/monkeys 1.1.58 → 1.1.60
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/lib/contracts/agent-data.d.ts +53 -0
- package/lib/contracts/agent-data.d.ts.map +1 -1
- package/lib/contracts/agent-data.js +46 -1
- package/lib/contracts/agent-data.js.map +1 -1
- package/lib/contracts/declarative-control-http.d.ts +695 -35
- package/lib/contracts/declarative-control-http.d.ts.map +1 -1
- package/lib/contracts/declarative-control.d.ts +106 -3
- package/lib/contracts/declarative-control.d.ts.map +1 -1
- package/lib/contracts/declarative-control.js +48 -3
- package/lib/contracts/declarative-control.js.map +1 -1
- package/lib/contracts/declarative-publication-job.d.ts +176 -8
- package/lib/contracts/declarative-publication-job.d.ts.map +1 -1
- package/lib/contracts/index.d.ts +1 -0
- package/lib/contracts/index.d.ts.map +1 -1
- package/lib/contracts/index.js +1 -0
- package/lib/contracts/index.js.map +1 -1
- package/lib/contracts/render.d.ts +34 -5
- package/lib/contracts/render.d.ts.map +1 -1
- package/lib/contracts/render.js +11 -1
- package/lib/contracts/render.js.map +1 -1
- package/lib/contracts/semantic.d.ts +2 -2
- package/lib/contracts/unified-view.d.ts +718 -0
- package/lib/contracts/unified-view.d.ts.map +1 -0
- package/lib/contracts/unified-view.js +362 -0
- package/lib/contracts/unified-view.js.map +1 -0
- package/lib/contracts/workflow-definition.d.ts +503 -0
- package/lib/contracts/workflow-definition.d.ts.map +1 -1
- package/lib/contracts/workflow-definition.js +189 -3
- package/lib/contracts/workflow-definition.js.map +1 -1
- package/lib/esm/{chunk-WWNBSU45.mjs → chunk-5IWBM5FS.mjs} +4300 -2710
- package/lib/esm/chunk-5IWBM5FS.mjs.map +1 -0
- package/lib/esm/{chunk-SK5C7NUN.mjs → chunk-L7WP57HT.mjs} +142 -27
- package/lib/esm/chunk-L7WP57HT.mjs.map +1 -0
- package/lib/esm/{chunk-JLTNBOQY.mjs → chunk-POHBVHPL.mjs} +42 -42
- package/lib/esm/chunk-POHBVHPL.mjs.map +1 -0
- package/lib/esm/{chunk-SMJPC7BB.mjs → chunk-QM3K7CWF.mjs} +220 -6
- package/lib/esm/chunk-QM3K7CWF.mjs.map +1 -0
- package/lib/esm/contracts/index.mjs +162 -96
- package/lib/esm/index.mjs +242 -160
- package/lib/esm/index.mjs.map +1 -1
- package/lib/esm/runtime/index.mjs +19 -3
- package/lib/esm/schemas/index.mjs +128 -72
- package/lib/json-schema/index.json +1 -0
- package/lib/json-schema/overlay-node.schema.json +67 -46
- package/lib/json-schema/page-runtime-bundle.schema.json +157 -64
- package/lib/json-schema/page.schema.json +21 -0
- package/lib/json-schema/render-node.schema.json +67 -46
- package/lib/json-schema/render-tree.schema.json +67 -46
- package/lib/json-schema/view-ontology-record.schema.json +1042 -0
- package/lib/json-schema/workflow-definition.schema.json +584 -0
- package/lib/runtime/declarative-control-compiler.d.ts.map +1 -1
- package/lib/runtime/declarative-control-compiler.js +5 -0
- package/lib/runtime/declarative-control-compiler.js.map +1 -1
- package/lib/runtime/index.d.ts +1 -0
- package/lib/runtime/index.d.ts.map +1 -1
- package/lib/runtime/index.js +1 -0
- package/lib/runtime/index.js.map +1 -1
- package/lib/runtime/runtime-definition-wire.d.ts +88 -4
- package/lib/runtime/runtime-definition-wire.d.ts.map +1 -1
- package/lib/runtime/unified-view-compiler.d.ts +63 -0
- package/lib/runtime/unified-view-compiler.d.ts.map +1 -0
- package/lib/runtime/unified-view-compiler.js +225 -0
- package/lib/runtime/unified-view-compiler.js.map +1 -0
- package/lib/schemas/index.d.ts +347 -9
- package/lib/schemas/index.d.ts.map +1 -1
- package/lib/schemas/index.js +38 -6
- package/lib/schemas/index.js.map +1 -1
- package/package.json +2 -2
- package/lib/esm/chunk-4D4UQIFA.mjs +0 -1080
- package/lib/esm/chunk-4D4UQIFA.mjs.map +0 -1
- package/lib/esm/chunk-JLTNBOQY.mjs.map +0 -1
- package/lib/esm/chunk-MQOSI237.mjs +0 -78
- package/lib/esm/chunk-MQOSI237.mjs.map +0 -1
- package/lib/esm/chunk-SK5C7NUN.mjs.map +0 -1
- package/lib/esm/chunk-SMJPC7BB.mjs.map +0 -1
- package/lib/esm/chunk-WWNBSU45.mjs.map +0 -1
|
@@ -0,0 +1,718 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const VIEW_ONTOLOGY_ID: "view";
|
|
3
|
+
export declare const VIEW_SHARED_WITH_RELATION_KIND: "shared-with";
|
|
4
|
+
export declare const VIEW_BOUND_ONTOLOGY_RELATION_KIND: "bound-to-ontology";
|
|
5
|
+
/**
|
|
6
|
+
* Host chrome (`Shell` = Sidebar + Headbar) is NEVER stored inside a `View`.
|
|
7
|
+
* It is bound externally by route mounting or by `ViewShareLinkPolicy`.
|
|
8
|
+
*/
|
|
9
|
+
export declare const ShellModeSchema: z.ZodEnum<{
|
|
10
|
+
none: "none";
|
|
11
|
+
"app-shell": "app-shell";
|
|
12
|
+
"share-shell": "share-shell";
|
|
13
|
+
}>;
|
|
14
|
+
export declare const ViewCapabilitySchema: z.ZodEnum<{
|
|
15
|
+
read: "read";
|
|
16
|
+
execute: "execute";
|
|
17
|
+
write_data: "write_data";
|
|
18
|
+
edit_view: "edit_view";
|
|
19
|
+
}>;
|
|
20
|
+
export type ViewSqlWhere = {
|
|
21
|
+
op: 'and' | 'or' | 'not';
|
|
22
|
+
filters: ViewSqlWhere[];
|
|
23
|
+
} | {
|
|
24
|
+
op: 'field';
|
|
25
|
+
field: 'id' | 'name' | 'status' | 'assetType' | 'creatorUserId' | 'ontologyId' | 'teamId';
|
|
26
|
+
cmp?: 'eq' | 'in' | 'contains' | 'not_contains';
|
|
27
|
+
value: string | string[];
|
|
28
|
+
} | {
|
|
29
|
+
op: 'tagGroup';
|
|
30
|
+
allOf: string[];
|
|
31
|
+
} | {
|
|
32
|
+
op: 'tags';
|
|
33
|
+
allOf?: string[];
|
|
34
|
+
anyOf?: string[][];
|
|
35
|
+
noneOf?: string[];
|
|
36
|
+
} | {
|
|
37
|
+
op: 'feature';
|
|
38
|
+
fieldKey: string;
|
|
39
|
+
cmp?: 'eq' | 'neq' | 'in' | 'not_in' | 'gt' | 'gte' | 'lt' | 'lte' | 'between' | 'contains' | 'is_empty';
|
|
40
|
+
value?: unknown;
|
|
41
|
+
} | {
|
|
42
|
+
op: 'featureRelation';
|
|
43
|
+
fieldKey: string;
|
|
44
|
+
cmp?: 'contains_any' | 'contains_all' | 'is_empty';
|
|
45
|
+
targetOntologyId?: string;
|
|
46
|
+
hops?: number;
|
|
47
|
+
value?: Array<{
|
|
48
|
+
ontologyId: string;
|
|
49
|
+
assetId: string;
|
|
50
|
+
}>;
|
|
51
|
+
} | {
|
|
52
|
+
op: 'relation';
|
|
53
|
+
relationKind: string;
|
|
54
|
+
objectKind: string;
|
|
55
|
+
objectId: string;
|
|
56
|
+
};
|
|
57
|
+
export declare const ViewSqlWhereSchema: z.ZodType<ViewSqlWhere>;
|
|
58
|
+
export declare const ViewSqlOrderBySchema: z.ZodObject<{
|
|
59
|
+
field: z.ZodString;
|
|
60
|
+
kind: z.ZodDefault<z.ZodEnum<{
|
|
61
|
+
feature: "feature";
|
|
62
|
+
builtin: "builtin";
|
|
63
|
+
}>>;
|
|
64
|
+
direction: z.ZodDefault<z.ZodEnum<{
|
|
65
|
+
asc: "asc";
|
|
66
|
+
desc: "desc";
|
|
67
|
+
}>>;
|
|
68
|
+
nulls: z.ZodOptional<z.ZodEnum<{
|
|
69
|
+
first: "first";
|
|
70
|
+
last: "last";
|
|
71
|
+
}>>;
|
|
72
|
+
}, z.core.$strict>;
|
|
73
|
+
export declare const ViewSqlSelectProjectionSchema: z.ZodObject<{
|
|
74
|
+
baseColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
75
|
+
propertyColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
76
|
+
featureColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
77
|
+
tagGroupColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
78
|
+
columnOrder: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
79
|
+
}, z.core.$strict>;
|
|
80
|
+
export declare const ViewSqlAggregateMetricSchema: z.ZodObject<{
|
|
81
|
+
alias: z.ZodString;
|
|
82
|
+
fn: z.ZodEnum<{
|
|
83
|
+
max: "max";
|
|
84
|
+
min: "min";
|
|
85
|
+
sum: "sum";
|
|
86
|
+
count: "count";
|
|
87
|
+
avg: "avg";
|
|
88
|
+
distinct_count: "distinct_count";
|
|
89
|
+
ratio: "ratio";
|
|
90
|
+
}>;
|
|
91
|
+
fieldKey: z.ZodOptional<z.ZodString>;
|
|
92
|
+
}, z.core.$strict>;
|
|
93
|
+
export declare const ViewSqlGraphSpecSchema: z.ZodObject<{
|
|
94
|
+
graphKind: z.ZodEnum<{
|
|
95
|
+
schema: "schema";
|
|
96
|
+
cooccurrence: "cooccurrence";
|
|
97
|
+
"bipartite-cosine": "bipartite-cosine";
|
|
98
|
+
"focus-star": "focus-star";
|
|
99
|
+
}>;
|
|
100
|
+
maxHops: z.ZodDefault<z.ZodNumber>;
|
|
101
|
+
nodeLabelField: z.ZodOptional<z.ZodString>;
|
|
102
|
+
edgeRelationFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
103
|
+
}, z.core.$strict>;
|
|
104
|
+
export declare const ViewSqlCachePolicySchema: z.ZodObject<{
|
|
105
|
+
mode: z.ZodDefault<z.ZodEnum<{
|
|
106
|
+
cached: "cached";
|
|
107
|
+
realtime: "realtime";
|
|
108
|
+
materialized: "materialized";
|
|
109
|
+
"stale-while-revalidate": "stale-while-revalidate";
|
|
110
|
+
}>>;
|
|
111
|
+
ttlSeconds: z.ZodOptional<z.ZodNumber>;
|
|
112
|
+
}, z.core.$strict>;
|
|
113
|
+
export declare const ViewSqlFromSourceSchema: z.ZodObject<{
|
|
114
|
+
source: z.ZodDefault<z.ZodEnum<{
|
|
115
|
+
ontology: "ontology";
|
|
116
|
+
"workflow-outputs": "workflow-outputs";
|
|
117
|
+
}>>;
|
|
118
|
+
ontologyId: z.ZodString;
|
|
119
|
+
workflowId: z.ZodOptional<z.ZodString>;
|
|
120
|
+
includeSharedSlices: z.ZodOptional<z.ZodBoolean>;
|
|
121
|
+
}, z.core.$strict>;
|
|
122
|
+
export declare const ViewSqlStatementSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
123
|
+
kind: z.ZodLiteral<"select">;
|
|
124
|
+
from: z.ZodObject<{
|
|
125
|
+
source: z.ZodDefault<z.ZodEnum<{
|
|
126
|
+
ontology: "ontology";
|
|
127
|
+
"workflow-outputs": "workflow-outputs";
|
|
128
|
+
}>>;
|
|
129
|
+
ontologyId: z.ZodString;
|
|
130
|
+
workflowId: z.ZodOptional<z.ZodString>;
|
|
131
|
+
includeSharedSlices: z.ZodOptional<z.ZodBoolean>;
|
|
132
|
+
}, z.core.$strict>;
|
|
133
|
+
select: z.ZodOptional<z.ZodObject<{
|
|
134
|
+
baseColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
135
|
+
propertyColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
136
|
+
featureColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
137
|
+
tagGroupColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
138
|
+
columnOrder: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
139
|
+
}, z.core.$strict>>;
|
|
140
|
+
where: z.ZodOptional<z.ZodType<ViewSqlWhere, unknown, z.core.$ZodTypeInternals<ViewSqlWhere, unknown>>>;
|
|
141
|
+
orderBy: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
142
|
+
field: z.ZodString;
|
|
143
|
+
kind: z.ZodDefault<z.ZodEnum<{
|
|
144
|
+
feature: "feature";
|
|
145
|
+
builtin: "builtin";
|
|
146
|
+
}>>;
|
|
147
|
+
direction: z.ZodDefault<z.ZodEnum<{
|
|
148
|
+
asc: "asc";
|
|
149
|
+
desc: "desc";
|
|
150
|
+
}>>;
|
|
151
|
+
nulls: z.ZodOptional<z.ZodEnum<{
|
|
152
|
+
first: "first";
|
|
153
|
+
last: "last";
|
|
154
|
+
}>>;
|
|
155
|
+
}, z.core.$strict>>>;
|
|
156
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
157
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
158
|
+
kind: z.ZodLiteral<"aggregate">;
|
|
159
|
+
from: z.ZodObject<{
|
|
160
|
+
source: z.ZodDefault<z.ZodEnum<{
|
|
161
|
+
ontology: "ontology";
|
|
162
|
+
"workflow-outputs": "workflow-outputs";
|
|
163
|
+
}>>;
|
|
164
|
+
ontologyId: z.ZodString;
|
|
165
|
+
workflowId: z.ZodOptional<z.ZodString>;
|
|
166
|
+
includeSharedSlices: z.ZodOptional<z.ZodBoolean>;
|
|
167
|
+
}, z.core.$strict>;
|
|
168
|
+
where: z.ZodOptional<z.ZodType<ViewSqlWhere, unknown, z.core.$ZodTypeInternals<ViewSqlWhere, unknown>>>;
|
|
169
|
+
groupBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
170
|
+
metrics: z.ZodArray<z.ZodObject<{
|
|
171
|
+
alias: z.ZodString;
|
|
172
|
+
fn: z.ZodEnum<{
|
|
173
|
+
max: "max";
|
|
174
|
+
min: "min";
|
|
175
|
+
sum: "sum";
|
|
176
|
+
count: "count";
|
|
177
|
+
avg: "avg";
|
|
178
|
+
distinct_count: "distinct_count";
|
|
179
|
+
ratio: "ratio";
|
|
180
|
+
}>;
|
|
181
|
+
fieldKey: z.ZodOptional<z.ZodString>;
|
|
182
|
+
}, z.core.$strict>>;
|
|
183
|
+
orderBy: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
184
|
+
field: z.ZodString;
|
|
185
|
+
kind: z.ZodDefault<z.ZodEnum<{
|
|
186
|
+
feature: "feature";
|
|
187
|
+
builtin: "builtin";
|
|
188
|
+
}>>;
|
|
189
|
+
direction: z.ZodDefault<z.ZodEnum<{
|
|
190
|
+
asc: "asc";
|
|
191
|
+
desc: "desc";
|
|
192
|
+
}>>;
|
|
193
|
+
nulls: z.ZodOptional<z.ZodEnum<{
|
|
194
|
+
first: "first";
|
|
195
|
+
last: "last";
|
|
196
|
+
}>>;
|
|
197
|
+
}, z.core.$strict>>>;
|
|
198
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
199
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
200
|
+
kind: z.ZodLiteral<"graph">;
|
|
201
|
+
from: z.ZodObject<{
|
|
202
|
+
source: z.ZodDefault<z.ZodEnum<{
|
|
203
|
+
ontology: "ontology";
|
|
204
|
+
"workflow-outputs": "workflow-outputs";
|
|
205
|
+
}>>;
|
|
206
|
+
ontologyId: z.ZodString;
|
|
207
|
+
workflowId: z.ZodOptional<z.ZodString>;
|
|
208
|
+
includeSharedSlices: z.ZodOptional<z.ZodBoolean>;
|
|
209
|
+
}, z.core.$strict>;
|
|
210
|
+
where: z.ZodOptional<z.ZodType<ViewSqlWhere, unknown, z.core.$ZodTypeInternals<ViewSqlWhere, unknown>>>;
|
|
211
|
+
graph: z.ZodObject<{
|
|
212
|
+
graphKind: z.ZodEnum<{
|
|
213
|
+
schema: "schema";
|
|
214
|
+
cooccurrence: "cooccurrence";
|
|
215
|
+
"bipartite-cosine": "bipartite-cosine";
|
|
216
|
+
"focus-star": "focus-star";
|
|
217
|
+
}>;
|
|
218
|
+
maxHops: z.ZodDefault<z.ZodNumber>;
|
|
219
|
+
nodeLabelField: z.ZodOptional<z.ZodString>;
|
|
220
|
+
edgeRelationFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
221
|
+
}, z.core.$strict>;
|
|
222
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
223
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
224
|
+
kind: z.ZodEnum<{
|
|
225
|
+
update: "update";
|
|
226
|
+
delete: "delete";
|
|
227
|
+
insert: "insert";
|
|
228
|
+
}>;
|
|
229
|
+
ontologyId: z.ZodString;
|
|
230
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>>;
|
|
231
|
+
where: z.ZodOptional<z.ZodType<ViewSqlWhere, unknown, z.core.$ZodTypeInternals<ViewSqlWhere, unknown>>>;
|
|
232
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
233
|
+
kind: z.ZodLiteral<"call">;
|
|
234
|
+
workflowId: z.ZodString;
|
|
235
|
+
pageType: z.ZodDefault<z.ZodEnum<{
|
|
236
|
+
process: "process";
|
|
237
|
+
chat: "chat";
|
|
238
|
+
api: "api";
|
|
239
|
+
preview: "preview";
|
|
240
|
+
log: "log";
|
|
241
|
+
}>>;
|
|
242
|
+
inputMapping: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>>;
|
|
243
|
+
outputStrategy: z.ZodOptional<z.ZodEnum<{
|
|
244
|
+
"default-result-ontology": "default-result-ontology";
|
|
245
|
+
"domain-ontology": "domain-ontology";
|
|
246
|
+
"ledger-only": "ledger-only";
|
|
247
|
+
"column-writeback": "column-writeback";
|
|
248
|
+
}>>;
|
|
249
|
+
}, z.core.$strict>], "kind">;
|
|
250
|
+
export declare const ViewDataDeclarationSchema: z.ZodObject<{
|
|
251
|
+
statements: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
252
|
+
kind: z.ZodLiteral<"select">;
|
|
253
|
+
from: z.ZodObject<{
|
|
254
|
+
source: z.ZodDefault<z.ZodEnum<{
|
|
255
|
+
ontology: "ontology";
|
|
256
|
+
"workflow-outputs": "workflow-outputs";
|
|
257
|
+
}>>;
|
|
258
|
+
ontologyId: z.ZodString;
|
|
259
|
+
workflowId: z.ZodOptional<z.ZodString>;
|
|
260
|
+
includeSharedSlices: z.ZodOptional<z.ZodBoolean>;
|
|
261
|
+
}, z.core.$strict>;
|
|
262
|
+
select: z.ZodOptional<z.ZodObject<{
|
|
263
|
+
baseColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
264
|
+
propertyColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
265
|
+
featureColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
266
|
+
tagGroupColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
267
|
+
columnOrder: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
268
|
+
}, z.core.$strict>>;
|
|
269
|
+
where: z.ZodOptional<z.ZodType<ViewSqlWhere, unknown, z.core.$ZodTypeInternals<ViewSqlWhere, unknown>>>;
|
|
270
|
+
orderBy: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
271
|
+
field: z.ZodString;
|
|
272
|
+
kind: z.ZodDefault<z.ZodEnum<{
|
|
273
|
+
feature: "feature";
|
|
274
|
+
builtin: "builtin";
|
|
275
|
+
}>>;
|
|
276
|
+
direction: z.ZodDefault<z.ZodEnum<{
|
|
277
|
+
asc: "asc";
|
|
278
|
+
desc: "desc";
|
|
279
|
+
}>>;
|
|
280
|
+
nulls: z.ZodOptional<z.ZodEnum<{
|
|
281
|
+
first: "first";
|
|
282
|
+
last: "last";
|
|
283
|
+
}>>;
|
|
284
|
+
}, z.core.$strict>>>;
|
|
285
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
286
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
287
|
+
kind: z.ZodLiteral<"aggregate">;
|
|
288
|
+
from: z.ZodObject<{
|
|
289
|
+
source: z.ZodDefault<z.ZodEnum<{
|
|
290
|
+
ontology: "ontology";
|
|
291
|
+
"workflow-outputs": "workflow-outputs";
|
|
292
|
+
}>>;
|
|
293
|
+
ontologyId: z.ZodString;
|
|
294
|
+
workflowId: z.ZodOptional<z.ZodString>;
|
|
295
|
+
includeSharedSlices: z.ZodOptional<z.ZodBoolean>;
|
|
296
|
+
}, z.core.$strict>;
|
|
297
|
+
where: z.ZodOptional<z.ZodType<ViewSqlWhere, unknown, z.core.$ZodTypeInternals<ViewSqlWhere, unknown>>>;
|
|
298
|
+
groupBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
299
|
+
metrics: z.ZodArray<z.ZodObject<{
|
|
300
|
+
alias: z.ZodString;
|
|
301
|
+
fn: z.ZodEnum<{
|
|
302
|
+
max: "max";
|
|
303
|
+
min: "min";
|
|
304
|
+
sum: "sum";
|
|
305
|
+
count: "count";
|
|
306
|
+
avg: "avg";
|
|
307
|
+
distinct_count: "distinct_count";
|
|
308
|
+
ratio: "ratio";
|
|
309
|
+
}>;
|
|
310
|
+
fieldKey: z.ZodOptional<z.ZodString>;
|
|
311
|
+
}, z.core.$strict>>;
|
|
312
|
+
orderBy: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
313
|
+
field: z.ZodString;
|
|
314
|
+
kind: z.ZodDefault<z.ZodEnum<{
|
|
315
|
+
feature: "feature";
|
|
316
|
+
builtin: "builtin";
|
|
317
|
+
}>>;
|
|
318
|
+
direction: z.ZodDefault<z.ZodEnum<{
|
|
319
|
+
asc: "asc";
|
|
320
|
+
desc: "desc";
|
|
321
|
+
}>>;
|
|
322
|
+
nulls: z.ZodOptional<z.ZodEnum<{
|
|
323
|
+
first: "first";
|
|
324
|
+
last: "last";
|
|
325
|
+
}>>;
|
|
326
|
+
}, z.core.$strict>>>;
|
|
327
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
328
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
329
|
+
kind: z.ZodLiteral<"graph">;
|
|
330
|
+
from: z.ZodObject<{
|
|
331
|
+
source: z.ZodDefault<z.ZodEnum<{
|
|
332
|
+
ontology: "ontology";
|
|
333
|
+
"workflow-outputs": "workflow-outputs";
|
|
334
|
+
}>>;
|
|
335
|
+
ontologyId: z.ZodString;
|
|
336
|
+
workflowId: z.ZodOptional<z.ZodString>;
|
|
337
|
+
includeSharedSlices: z.ZodOptional<z.ZodBoolean>;
|
|
338
|
+
}, z.core.$strict>;
|
|
339
|
+
where: z.ZodOptional<z.ZodType<ViewSqlWhere, unknown, z.core.$ZodTypeInternals<ViewSqlWhere, unknown>>>;
|
|
340
|
+
graph: z.ZodObject<{
|
|
341
|
+
graphKind: z.ZodEnum<{
|
|
342
|
+
schema: "schema";
|
|
343
|
+
cooccurrence: "cooccurrence";
|
|
344
|
+
"bipartite-cosine": "bipartite-cosine";
|
|
345
|
+
"focus-star": "focus-star";
|
|
346
|
+
}>;
|
|
347
|
+
maxHops: z.ZodDefault<z.ZodNumber>;
|
|
348
|
+
nodeLabelField: z.ZodOptional<z.ZodString>;
|
|
349
|
+
edgeRelationFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
350
|
+
}, z.core.$strict>;
|
|
351
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
352
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
353
|
+
kind: z.ZodEnum<{
|
|
354
|
+
update: "update";
|
|
355
|
+
delete: "delete";
|
|
356
|
+
insert: "insert";
|
|
357
|
+
}>;
|
|
358
|
+
ontologyId: z.ZodString;
|
|
359
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>>;
|
|
360
|
+
where: z.ZodOptional<z.ZodType<ViewSqlWhere, unknown, z.core.$ZodTypeInternals<ViewSqlWhere, unknown>>>;
|
|
361
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
362
|
+
kind: z.ZodLiteral<"call">;
|
|
363
|
+
workflowId: z.ZodString;
|
|
364
|
+
pageType: z.ZodDefault<z.ZodEnum<{
|
|
365
|
+
process: "process";
|
|
366
|
+
chat: "chat";
|
|
367
|
+
api: "api";
|
|
368
|
+
preview: "preview";
|
|
369
|
+
log: "log";
|
|
370
|
+
}>>;
|
|
371
|
+
inputMapping: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>>;
|
|
372
|
+
outputStrategy: z.ZodOptional<z.ZodEnum<{
|
|
373
|
+
"default-result-ontology": "default-result-ontology";
|
|
374
|
+
"domain-ontology": "domain-ontology";
|
|
375
|
+
"ledger-only": "ledger-only";
|
|
376
|
+
"column-writeback": "column-writeback";
|
|
377
|
+
}>>;
|
|
378
|
+
}, z.core.$strict>], "kind">>;
|
|
379
|
+
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>>;
|
|
380
|
+
cache: z.ZodOptional<z.ZodObject<{
|
|
381
|
+
mode: z.ZodDefault<z.ZodEnum<{
|
|
382
|
+
cached: "cached";
|
|
383
|
+
realtime: "realtime";
|
|
384
|
+
materialized: "materialized";
|
|
385
|
+
"stale-while-revalidate": "stale-while-revalidate";
|
|
386
|
+
}>>;
|
|
387
|
+
ttlSeconds: z.ZodOptional<z.ZodNumber>;
|
|
388
|
+
}, z.core.$strict>>;
|
|
389
|
+
}, z.core.$strict>;
|
|
390
|
+
export declare const ViewBentoTypeSchema: z.ZodEnum<{
|
|
391
|
+
table: "table";
|
|
392
|
+
gallery: "gallery";
|
|
393
|
+
"workflow-form": "workflow-form";
|
|
394
|
+
card: "card";
|
|
395
|
+
markdown: "markdown";
|
|
396
|
+
"record-detail": "record-detail";
|
|
397
|
+
"metric-card": "metric-card";
|
|
398
|
+
"bar-chart": "bar-chart";
|
|
399
|
+
"line-chart": "line-chart";
|
|
400
|
+
"pie-chart": "pie-chart";
|
|
401
|
+
"pivot-table": "pivot-table";
|
|
402
|
+
"boston-matrix": "boston-matrix";
|
|
403
|
+
"trend-matrix": "trend-matrix";
|
|
404
|
+
"force-graph": "force-graph";
|
|
405
|
+
"filter-bar": "filter-bar";
|
|
406
|
+
"workflow-waterfall": "workflow-waterfall";
|
|
407
|
+
"workflow-canvas": "workflow-canvas";
|
|
408
|
+
"workflow-log": "workflow-log";
|
|
409
|
+
"workflow-chat": "workflow-chat";
|
|
410
|
+
}>;
|
|
411
|
+
export declare const ViewBentoItemSchema: z.ZodObject<{
|
|
412
|
+
bentoId: z.ZodString;
|
|
413
|
+
bentoType: z.ZodEnum<{
|
|
414
|
+
table: "table";
|
|
415
|
+
gallery: "gallery";
|
|
416
|
+
"workflow-form": "workflow-form";
|
|
417
|
+
card: "card";
|
|
418
|
+
markdown: "markdown";
|
|
419
|
+
"record-detail": "record-detail";
|
|
420
|
+
"metric-card": "metric-card";
|
|
421
|
+
"bar-chart": "bar-chart";
|
|
422
|
+
"line-chart": "line-chart";
|
|
423
|
+
"pie-chart": "pie-chart";
|
|
424
|
+
"pivot-table": "pivot-table";
|
|
425
|
+
"boston-matrix": "boston-matrix";
|
|
426
|
+
"trend-matrix": "trend-matrix";
|
|
427
|
+
"force-graph": "force-graph";
|
|
428
|
+
"filter-bar": "filter-bar";
|
|
429
|
+
"workflow-waterfall": "workflow-waterfall";
|
|
430
|
+
"workflow-canvas": "workflow-canvas";
|
|
431
|
+
"workflow-log": "workflow-log";
|
|
432
|
+
"workflow-chat": "workflow-chat";
|
|
433
|
+
}>;
|
|
434
|
+
title: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
435
|
+
x: z.ZodNumber;
|
|
436
|
+
y: z.ZodNumber;
|
|
437
|
+
w: z.ZodNumber;
|
|
438
|
+
h: z.ZodNumber;
|
|
439
|
+
statementId: z.ZodOptional<z.ZodString>;
|
|
440
|
+
actionStatementIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
441
|
+
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>>;
|
|
442
|
+
bindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>>;
|
|
443
|
+
}, z.core.$strict>;
|
|
444
|
+
export declare const ViewBentoCanvasSchema: z.ZodObject<{
|
|
445
|
+
columns: z.ZodDefault<z.ZodLiteral<12>>;
|
|
446
|
+
rowHeight: z.ZodDefault<z.ZodNumber>;
|
|
447
|
+
bentos: z.ZodArray<z.ZodObject<{
|
|
448
|
+
bentoId: z.ZodString;
|
|
449
|
+
bentoType: z.ZodEnum<{
|
|
450
|
+
table: "table";
|
|
451
|
+
gallery: "gallery";
|
|
452
|
+
"workflow-form": "workflow-form";
|
|
453
|
+
card: "card";
|
|
454
|
+
markdown: "markdown";
|
|
455
|
+
"record-detail": "record-detail";
|
|
456
|
+
"metric-card": "metric-card";
|
|
457
|
+
"bar-chart": "bar-chart";
|
|
458
|
+
"line-chart": "line-chart";
|
|
459
|
+
"pie-chart": "pie-chart";
|
|
460
|
+
"pivot-table": "pivot-table";
|
|
461
|
+
"boston-matrix": "boston-matrix";
|
|
462
|
+
"trend-matrix": "trend-matrix";
|
|
463
|
+
"force-graph": "force-graph";
|
|
464
|
+
"filter-bar": "filter-bar";
|
|
465
|
+
"workflow-waterfall": "workflow-waterfall";
|
|
466
|
+
"workflow-canvas": "workflow-canvas";
|
|
467
|
+
"workflow-log": "workflow-log";
|
|
468
|
+
"workflow-chat": "workflow-chat";
|
|
469
|
+
}>;
|
|
470
|
+
title: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
471
|
+
x: z.ZodNumber;
|
|
472
|
+
y: z.ZodNumber;
|
|
473
|
+
w: z.ZodNumber;
|
|
474
|
+
h: z.ZodNumber;
|
|
475
|
+
statementId: z.ZodOptional<z.ZodString>;
|
|
476
|
+
actionStatementIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
477
|
+
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>>;
|
|
478
|
+
bindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>>;
|
|
479
|
+
}, z.core.$strict>>;
|
|
480
|
+
}, z.core.$strict>;
|
|
481
|
+
export declare const ViewShareTargetGrantSchema: z.ZodObject<{
|
|
482
|
+
targetType: z.ZodEnum<{
|
|
483
|
+
team: "team";
|
|
484
|
+
user: "user";
|
|
485
|
+
group: "group";
|
|
486
|
+
}>;
|
|
487
|
+
targetId: z.ZodString;
|
|
488
|
+
capabilities: z.ZodArray<z.ZodEnum<{
|
|
489
|
+
read: "read";
|
|
490
|
+
execute: "execute";
|
|
491
|
+
write_data: "write_data";
|
|
492
|
+
edit_view: "edit_view";
|
|
493
|
+
}>>;
|
|
494
|
+
canReshare: z.ZodDefault<z.ZodBoolean>;
|
|
495
|
+
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
496
|
+
}, z.core.$strict>;
|
|
497
|
+
export declare const ViewShareLinkPolicySchema: z.ZodObject<{
|
|
498
|
+
enabled: z.ZodBoolean;
|
|
499
|
+
token: z.ZodOptional<z.ZodString>;
|
|
500
|
+
gates: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
501
|
+
password: "password";
|
|
502
|
+
login: "login";
|
|
503
|
+
}>>>;
|
|
504
|
+
capabilities: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
505
|
+
read: "read";
|
|
506
|
+
execute: "execute";
|
|
507
|
+
write_data: "write_data";
|
|
508
|
+
edit_view: "edit_view";
|
|
509
|
+
}>>>;
|
|
510
|
+
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
511
|
+
shell: z.ZodDefault<z.ZodEnum<{
|
|
512
|
+
none: "none";
|
|
513
|
+
"share-shell": "share-shell";
|
|
514
|
+
}>>;
|
|
515
|
+
}, z.core.$strict>;
|
|
516
|
+
export declare const ViewOntologyRecordSchema: z.ZodObject<{
|
|
517
|
+
contract: z.ZodLiteral<"ViewOntologyRecord">;
|
|
518
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
519
|
+
viewId: z.ZodString;
|
|
520
|
+
boundOntologyId: z.ZodString;
|
|
521
|
+
name: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
522
|
+
description: z.ZodOptional<z.ZodString>;
|
|
523
|
+
parentViewId: z.ZodOptional<z.ZodString>;
|
|
524
|
+
data: z.ZodObject<{
|
|
525
|
+
statements: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
526
|
+
kind: z.ZodLiteral<"select">;
|
|
527
|
+
from: z.ZodObject<{
|
|
528
|
+
source: z.ZodDefault<z.ZodEnum<{
|
|
529
|
+
ontology: "ontology";
|
|
530
|
+
"workflow-outputs": "workflow-outputs";
|
|
531
|
+
}>>;
|
|
532
|
+
ontologyId: z.ZodString;
|
|
533
|
+
workflowId: z.ZodOptional<z.ZodString>;
|
|
534
|
+
includeSharedSlices: z.ZodOptional<z.ZodBoolean>;
|
|
535
|
+
}, z.core.$strict>;
|
|
536
|
+
select: z.ZodOptional<z.ZodObject<{
|
|
537
|
+
baseColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
538
|
+
propertyColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
539
|
+
featureColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
540
|
+
tagGroupColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
541
|
+
columnOrder: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
542
|
+
}, z.core.$strict>>;
|
|
543
|
+
where: z.ZodOptional<z.ZodType<ViewSqlWhere, unknown, z.core.$ZodTypeInternals<ViewSqlWhere, unknown>>>;
|
|
544
|
+
orderBy: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
545
|
+
field: z.ZodString;
|
|
546
|
+
kind: z.ZodDefault<z.ZodEnum<{
|
|
547
|
+
feature: "feature";
|
|
548
|
+
builtin: "builtin";
|
|
549
|
+
}>>;
|
|
550
|
+
direction: z.ZodDefault<z.ZodEnum<{
|
|
551
|
+
asc: "asc";
|
|
552
|
+
desc: "desc";
|
|
553
|
+
}>>;
|
|
554
|
+
nulls: z.ZodOptional<z.ZodEnum<{
|
|
555
|
+
first: "first";
|
|
556
|
+
last: "last";
|
|
557
|
+
}>>;
|
|
558
|
+
}, z.core.$strict>>>;
|
|
559
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
560
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
561
|
+
kind: z.ZodLiteral<"aggregate">;
|
|
562
|
+
from: z.ZodObject<{
|
|
563
|
+
source: z.ZodDefault<z.ZodEnum<{
|
|
564
|
+
ontology: "ontology";
|
|
565
|
+
"workflow-outputs": "workflow-outputs";
|
|
566
|
+
}>>;
|
|
567
|
+
ontologyId: z.ZodString;
|
|
568
|
+
workflowId: z.ZodOptional<z.ZodString>;
|
|
569
|
+
includeSharedSlices: z.ZodOptional<z.ZodBoolean>;
|
|
570
|
+
}, z.core.$strict>;
|
|
571
|
+
where: z.ZodOptional<z.ZodType<ViewSqlWhere, unknown, z.core.$ZodTypeInternals<ViewSqlWhere, unknown>>>;
|
|
572
|
+
groupBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
573
|
+
metrics: z.ZodArray<z.ZodObject<{
|
|
574
|
+
alias: z.ZodString;
|
|
575
|
+
fn: z.ZodEnum<{
|
|
576
|
+
max: "max";
|
|
577
|
+
min: "min";
|
|
578
|
+
sum: "sum";
|
|
579
|
+
count: "count";
|
|
580
|
+
avg: "avg";
|
|
581
|
+
distinct_count: "distinct_count";
|
|
582
|
+
ratio: "ratio";
|
|
583
|
+
}>;
|
|
584
|
+
fieldKey: z.ZodOptional<z.ZodString>;
|
|
585
|
+
}, z.core.$strict>>;
|
|
586
|
+
orderBy: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
587
|
+
field: z.ZodString;
|
|
588
|
+
kind: z.ZodDefault<z.ZodEnum<{
|
|
589
|
+
feature: "feature";
|
|
590
|
+
builtin: "builtin";
|
|
591
|
+
}>>;
|
|
592
|
+
direction: z.ZodDefault<z.ZodEnum<{
|
|
593
|
+
asc: "asc";
|
|
594
|
+
desc: "desc";
|
|
595
|
+
}>>;
|
|
596
|
+
nulls: z.ZodOptional<z.ZodEnum<{
|
|
597
|
+
first: "first";
|
|
598
|
+
last: "last";
|
|
599
|
+
}>>;
|
|
600
|
+
}, z.core.$strict>>>;
|
|
601
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
602
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
603
|
+
kind: z.ZodLiteral<"graph">;
|
|
604
|
+
from: z.ZodObject<{
|
|
605
|
+
source: z.ZodDefault<z.ZodEnum<{
|
|
606
|
+
ontology: "ontology";
|
|
607
|
+
"workflow-outputs": "workflow-outputs";
|
|
608
|
+
}>>;
|
|
609
|
+
ontologyId: z.ZodString;
|
|
610
|
+
workflowId: z.ZodOptional<z.ZodString>;
|
|
611
|
+
includeSharedSlices: z.ZodOptional<z.ZodBoolean>;
|
|
612
|
+
}, z.core.$strict>;
|
|
613
|
+
where: z.ZodOptional<z.ZodType<ViewSqlWhere, unknown, z.core.$ZodTypeInternals<ViewSqlWhere, unknown>>>;
|
|
614
|
+
graph: z.ZodObject<{
|
|
615
|
+
graphKind: z.ZodEnum<{
|
|
616
|
+
schema: "schema";
|
|
617
|
+
cooccurrence: "cooccurrence";
|
|
618
|
+
"bipartite-cosine": "bipartite-cosine";
|
|
619
|
+
"focus-star": "focus-star";
|
|
620
|
+
}>;
|
|
621
|
+
maxHops: z.ZodDefault<z.ZodNumber>;
|
|
622
|
+
nodeLabelField: z.ZodOptional<z.ZodString>;
|
|
623
|
+
edgeRelationFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
624
|
+
}, z.core.$strict>;
|
|
625
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
626
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
627
|
+
kind: z.ZodEnum<{
|
|
628
|
+
update: "update";
|
|
629
|
+
delete: "delete";
|
|
630
|
+
insert: "insert";
|
|
631
|
+
}>;
|
|
632
|
+
ontologyId: z.ZodString;
|
|
633
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>>;
|
|
634
|
+
where: z.ZodOptional<z.ZodType<ViewSqlWhere, unknown, z.core.$ZodTypeInternals<ViewSqlWhere, unknown>>>;
|
|
635
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
636
|
+
kind: z.ZodLiteral<"call">;
|
|
637
|
+
workflowId: z.ZodString;
|
|
638
|
+
pageType: z.ZodDefault<z.ZodEnum<{
|
|
639
|
+
process: "process";
|
|
640
|
+
chat: "chat";
|
|
641
|
+
api: "api";
|
|
642
|
+
preview: "preview";
|
|
643
|
+
log: "log";
|
|
644
|
+
}>>;
|
|
645
|
+
inputMapping: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>>;
|
|
646
|
+
outputStrategy: z.ZodOptional<z.ZodEnum<{
|
|
647
|
+
"default-result-ontology": "default-result-ontology";
|
|
648
|
+
"domain-ontology": "domain-ontology";
|
|
649
|
+
"ledger-only": "ledger-only";
|
|
650
|
+
"column-writeback": "column-writeback";
|
|
651
|
+
}>>;
|
|
652
|
+
}, z.core.$strict>], "kind">>;
|
|
653
|
+
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>>;
|
|
654
|
+
cache: z.ZodOptional<z.ZodObject<{
|
|
655
|
+
mode: z.ZodDefault<z.ZodEnum<{
|
|
656
|
+
cached: "cached";
|
|
657
|
+
realtime: "realtime";
|
|
658
|
+
materialized: "materialized";
|
|
659
|
+
"stale-while-revalidate": "stale-while-revalidate";
|
|
660
|
+
}>>;
|
|
661
|
+
ttlSeconds: z.ZodOptional<z.ZodNumber>;
|
|
662
|
+
}, z.core.$strict>>;
|
|
663
|
+
}, z.core.$strict>;
|
|
664
|
+
ui: z.ZodObject<{
|
|
665
|
+
columns: z.ZodDefault<z.ZodLiteral<12>>;
|
|
666
|
+
rowHeight: z.ZodDefault<z.ZodNumber>;
|
|
667
|
+
bentos: z.ZodArray<z.ZodObject<{
|
|
668
|
+
bentoId: z.ZodString;
|
|
669
|
+
bentoType: z.ZodEnum<{
|
|
670
|
+
table: "table";
|
|
671
|
+
gallery: "gallery";
|
|
672
|
+
"workflow-form": "workflow-form";
|
|
673
|
+
card: "card";
|
|
674
|
+
markdown: "markdown";
|
|
675
|
+
"record-detail": "record-detail";
|
|
676
|
+
"metric-card": "metric-card";
|
|
677
|
+
"bar-chart": "bar-chart";
|
|
678
|
+
"line-chart": "line-chart";
|
|
679
|
+
"pie-chart": "pie-chart";
|
|
680
|
+
"pivot-table": "pivot-table";
|
|
681
|
+
"boston-matrix": "boston-matrix";
|
|
682
|
+
"trend-matrix": "trend-matrix";
|
|
683
|
+
"force-graph": "force-graph";
|
|
684
|
+
"filter-bar": "filter-bar";
|
|
685
|
+
"workflow-waterfall": "workflow-waterfall";
|
|
686
|
+
"workflow-canvas": "workflow-canvas";
|
|
687
|
+
"workflow-log": "workflow-log";
|
|
688
|
+
"workflow-chat": "workflow-chat";
|
|
689
|
+
}>;
|
|
690
|
+
title: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
691
|
+
x: z.ZodNumber;
|
|
692
|
+
y: z.ZodNumber;
|
|
693
|
+
w: z.ZodNumber;
|
|
694
|
+
h: z.ZodNumber;
|
|
695
|
+
statementId: z.ZodOptional<z.ZodString>;
|
|
696
|
+
actionStatementIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
697
|
+
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>>;
|
|
698
|
+
bindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>>;
|
|
699
|
+
}, z.core.$strict>>;
|
|
700
|
+
}, z.core.$strict>;
|
|
701
|
+
}, z.core.$strict>;
|
|
702
|
+
export type ShellMode = z.infer<typeof ShellModeSchema>;
|
|
703
|
+
export type ViewCapability = z.infer<typeof ViewCapabilitySchema>;
|
|
704
|
+
export type ViewSqlOrderBy = z.infer<typeof ViewSqlOrderBySchema>;
|
|
705
|
+
export type ViewSqlSelectProjection = z.infer<typeof ViewSqlSelectProjectionSchema>;
|
|
706
|
+
export type ViewSqlAggregateMetric = z.infer<typeof ViewSqlAggregateMetricSchema>;
|
|
707
|
+
export type ViewSqlGraphSpec = z.infer<typeof ViewSqlGraphSpecSchema>;
|
|
708
|
+
export type ViewSqlCachePolicy = z.infer<typeof ViewSqlCachePolicySchema>;
|
|
709
|
+
export type ViewSqlFromSource = z.infer<typeof ViewSqlFromSourceSchema>;
|
|
710
|
+
export type ViewSqlStatement = z.infer<typeof ViewSqlStatementSchema>;
|
|
711
|
+
export type ViewDataDeclaration = z.infer<typeof ViewDataDeclarationSchema>;
|
|
712
|
+
export type ViewBentoType = z.infer<typeof ViewBentoTypeSchema>;
|
|
713
|
+
export type ViewBentoItem = z.infer<typeof ViewBentoItemSchema>;
|
|
714
|
+
export type ViewBentoCanvas = z.infer<typeof ViewBentoCanvasSchema>;
|
|
715
|
+
export type ViewShareTargetGrant = z.infer<typeof ViewShareTargetGrantSchema>;
|
|
716
|
+
export type ViewShareLinkPolicy = z.infer<typeof ViewShareLinkPolicySchema>;
|
|
717
|
+
export type ViewOntologyRecord = z.infer<typeof ViewOntologyRecordSchema>;
|
|
718
|
+
//# sourceMappingURL=unified-view.d.ts.map
|