@inf-monkeys-tech/monkeys 1.1.61 → 1.1.63

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.
Files changed (84) hide show
  1. package/lib/contracts/agent-data.d.ts +2 -2
  2. package/lib/contracts/agent.d.ts +3 -3
  3. package/lib/contracts/artifact-platform.d.ts +6 -263
  4. package/lib/contracts/artifact-platform.d.ts.map +1 -1
  5. package/lib/contracts/artifact-platform.js +14 -113
  6. package/lib/contracts/artifact-platform.js.map +1 -1
  7. package/lib/contracts/bento-block.d.ts +616 -0
  8. package/lib/contracts/bento-block.d.ts.map +1 -0
  9. package/lib/contracts/bento-block.js +505 -0
  10. package/lib/contracts/bento-block.js.map +1 -0
  11. package/lib/contracts/declarative-control-http.d.ts +5167 -814
  12. package/lib/contracts/declarative-control-http.d.ts.map +1 -1
  13. package/lib/contracts/declarative-control.d.ts +483 -113
  14. package/lib/contracts/declarative-control.d.ts.map +1 -1
  15. package/lib/contracts/declarative-document-import.d.ts +15 -15
  16. package/lib/contracts/declarative-publication-job.d.ts +1104 -208
  17. package/lib/contracts/declarative-publication-job.d.ts.map +1 -1
  18. package/lib/contracts/index.d.ts +1 -0
  19. package/lib/contracts/index.d.ts.map +1 -1
  20. package/lib/contracts/index.js +1 -0
  21. package/lib/contracts/index.js.map +1 -1
  22. package/lib/contracts/menu.d.ts +4 -4
  23. package/lib/contracts/page-expression.d.ts +5 -5
  24. package/lib/contracts/page.d.ts +14 -14
  25. package/lib/contracts/render.d.ts +363 -66
  26. package/lib/contracts/render.d.ts.map +1 -1
  27. package/lib/contracts/render.js +60 -5
  28. package/lib/contracts/render.js.map +1 -1
  29. package/lib/contracts/semantic.d.ts +4 -4
  30. package/lib/contracts/tenant.d.ts +26 -26
  31. package/lib/contracts/trend.d.ts +1 -1
  32. package/lib/contracts/unified-view.d.ts +26 -533
  33. package/lib/contracts/unified-view.d.ts.map +1 -1
  34. package/lib/contracts/unified-view.js +17 -316
  35. package/lib/contracts/unified-view.js.map +1 -1
  36. package/lib/contracts/workflow-definition.d.ts +10 -10
  37. package/lib/esm/{chunk-NKTRUUOP.mjs → chunk-766TRFRH.mjs} +3548 -3406
  38. package/lib/esm/chunk-766TRFRH.mjs.map +1 -0
  39. package/lib/esm/{chunk-DPHV7ES3.mjs → chunk-BTJGKWPM.mjs} +327 -143
  40. package/lib/esm/chunk-BTJGKWPM.mjs.map +1 -0
  41. package/lib/esm/{chunk-7MUE4GTZ.mjs → chunk-MP4OJWJ3.mjs} +2 -2
  42. package/lib/esm/{chunk-43N4Q3U7.mjs → chunk-SDA2NWFB.mjs} +4 -2
  43. package/lib/esm/chunk-SDA2NWFB.mjs.map +1 -0
  44. package/lib/esm/contracts/index.mjs +44 -28
  45. package/lib/esm/index.mjs +54 -36
  46. package/lib/esm/index.mjs.map +1 -1
  47. package/lib/esm/runtime/index.mjs +11 -9
  48. package/lib/esm/schemas/index.mjs +26 -28
  49. package/lib/json-schema/bento-node.schema.json +1446 -0
  50. package/lib/json-schema/index.json +1 -0
  51. package/lib/json-schema/overlay-node.schema.json +1092 -49
  52. package/lib/json-schema/page-runtime-bundle.schema.json +1996 -424
  53. package/lib/json-schema/page.schema.json +24 -0
  54. package/lib/json-schema/render-node.schema.json +1317 -274
  55. package/lib/json-schema/render-tree.schema.json +1686 -114
  56. package/lib/json-schema/view-ontology-record.schema.json +1141 -145
  57. package/lib/runtime/artifact-session.d.ts +5 -10
  58. package/lib/runtime/artifact-session.d.ts.map +1 -1
  59. package/lib/runtime/artifact-session.js +91 -78
  60. package/lib/runtime/artifact-session.js.map +1 -1
  61. package/lib/runtime/bento-render-tree.d.ts +22 -0
  62. package/lib/runtime/bento-render-tree.d.ts.map +1 -0
  63. package/lib/runtime/bento-render-tree.js +194 -0
  64. package/lib/runtime/bento-render-tree.js.map +1 -0
  65. package/lib/runtime/index.d.ts +1 -0
  66. package/lib/runtime/index.d.ts.map +1 -1
  67. package/lib/runtime/index.js +1 -0
  68. package/lib/runtime/index.js.map +1 -1
  69. package/lib/runtime/native-page-composition.d.ts +2 -2
  70. package/lib/runtime/runtime-definition-wire.d.ts +526 -78
  71. package/lib/runtime/runtime-definition-wire.d.ts.map +1 -1
  72. package/lib/runtime/unified-view-compiler.d.ts +12 -16
  73. package/lib/runtime/unified-view-compiler.d.ts.map +1 -1
  74. package/lib/runtime/unified-view-compiler.js +69 -77
  75. package/lib/runtime/unified-view-compiler.js.map +1 -1
  76. package/lib/schemas/index.d.ts +1523 -3082
  77. package/lib/schemas/index.d.ts.map +1 -1
  78. package/lib/schemas/index.js +32 -30
  79. package/lib/schemas/index.js.map +1 -1
  80. package/package.json +2 -2
  81. package/lib/esm/chunk-43N4Q3U7.mjs.map +0 -1
  82. package/lib/esm/chunk-DPHV7ES3.mjs.map +0 -1
  83. package/lib/esm/chunk-NKTRUUOP.mjs.map +0 -1
  84. /package/lib/esm/{chunk-7MUE4GTZ.mjs.map → chunk-MP4OJWJ3.mjs.map} +0 -0
@@ -0,0 +1,616 @@
1
+ import { z } from 'zod';
2
+ import { LocalizedTextSchema } from './common';
3
+ export declare const BENTO_GRID_COLUMNS: 24;
4
+ export declare const BENTO_GRID_MIN_W: 2;
5
+ export declare const BENTO_GRID_MIN_H: 2;
6
+ export declare const BENTO_GRID_MAX_ROWS: 200;
7
+ export type ViewSqlWhere = {
8
+ op: 'and' | 'or' | 'not';
9
+ filters: ViewSqlWhere[];
10
+ } | {
11
+ op: 'field';
12
+ field: 'id' | 'name' | 'status' | 'assetType' | 'creatorUserId' | 'ontologyId' | 'teamId';
13
+ cmp?: 'eq' | 'in' | 'contains' | 'not_contains';
14
+ value: string | string[];
15
+ } | {
16
+ op: 'tagGroup';
17
+ allOf: string[];
18
+ } | {
19
+ op: 'tags';
20
+ allOf?: string[];
21
+ anyOf?: string[][];
22
+ noneOf?: string[];
23
+ } | {
24
+ op: 'feature';
25
+ fieldKey: string;
26
+ cmp?: 'eq' | 'neq' | 'in' | 'not_in' | 'gt' | 'gte' | 'lt' | 'lte' | 'between' | 'contains' | 'is_empty';
27
+ value?: unknown;
28
+ } | {
29
+ op: 'featureRelation';
30
+ fieldKey: string;
31
+ cmp?: 'contains_any' | 'contains_all' | 'is_empty';
32
+ targetOntologyId?: string;
33
+ hops?: number;
34
+ value?: Array<{
35
+ ontologyId: string;
36
+ assetId: string;
37
+ }>;
38
+ } | {
39
+ op: 'relation';
40
+ relationKind: string;
41
+ objectKind: string;
42
+ objectId: string;
43
+ };
44
+ export declare const ViewSqlWhereSchema: z.ZodType<ViewSqlWhere>;
45
+ export declare const ViewSqlOrderBySchema: z.ZodObject<{
46
+ field: z.ZodString;
47
+ kind: z.ZodDefault<z.ZodEnum<{
48
+ feature: "feature";
49
+ builtin: "builtin";
50
+ }>>;
51
+ direction: z.ZodDefault<z.ZodEnum<{
52
+ asc: "asc";
53
+ desc: "desc";
54
+ }>>;
55
+ nulls: z.ZodOptional<z.ZodEnum<{
56
+ first: "first";
57
+ last: "last";
58
+ }>>;
59
+ }, z.core.$strict>;
60
+ export declare const ViewSqlSelectProjectionSchema: z.ZodObject<{
61
+ baseColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
62
+ propertyColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
63
+ featureColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
64
+ tagGroupColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
65
+ columnOrder: z.ZodOptional<z.ZodArray<z.ZodString>>;
66
+ }, z.core.$strict>;
67
+ export declare const ViewSqlAggregateMetricSchema: z.ZodObject<{
68
+ alias: z.ZodString;
69
+ fn: z.ZodEnum<{
70
+ max: "max";
71
+ count: "count";
72
+ sum: "sum";
73
+ avg: "avg";
74
+ min: "min";
75
+ distinct_count: "distinct_count";
76
+ ratio: "ratio";
77
+ }>;
78
+ fieldKey: z.ZodOptional<z.ZodString>;
79
+ }, z.core.$strict>;
80
+ export declare const ViewSqlGraphSpecSchema: z.ZodObject<{
81
+ graphKind: z.ZodEnum<{
82
+ schema: "schema";
83
+ cooccurrence: "cooccurrence";
84
+ "bipartite-cosine": "bipartite-cosine";
85
+ "focus-star": "focus-star";
86
+ "ontology-relation": "ontology-relation";
87
+ "record-clustering": "record-clustering";
88
+ "field-tag-hub": "field-tag-hub";
89
+ }>;
90
+ maxHops: z.ZodDefault<z.ZodNumber>;
91
+ nodeLabelField: z.ZodOptional<z.ZodString>;
92
+ edgeRelationFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
93
+ }, z.core.$strict>;
94
+ export declare const ViewSqlCachePolicySchema: z.ZodObject<{
95
+ mode: z.ZodDefault<z.ZodEnum<{
96
+ realtime: "realtime";
97
+ cached: "cached";
98
+ "stale-while-revalidate": "stale-while-revalidate";
99
+ materialized: "materialized";
100
+ }>>;
101
+ ttlSeconds: z.ZodOptional<z.ZodNumber>;
102
+ }, z.core.$strict>;
103
+ export declare const ViewSqlFromSourceSchema: z.ZodObject<{
104
+ source: z.ZodDefault<z.ZodEnum<{
105
+ ontology: "ontology";
106
+ "workflow-outputs": "workflow-outputs";
107
+ telemetry: "telemetry";
108
+ }>>;
109
+ ontologyId: z.ZodString;
110
+ workflowId: z.ZodOptional<z.ZodString>;
111
+ includeSharedSlices: z.ZodOptional<z.ZodBoolean>;
112
+ }, z.core.$strict>;
113
+ export declare const ViewSqlStatementSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
114
+ kind: z.ZodLiteral<"select">;
115
+ from: z.ZodObject<{
116
+ source: z.ZodDefault<z.ZodEnum<{
117
+ ontology: "ontology";
118
+ "workflow-outputs": "workflow-outputs";
119
+ telemetry: "telemetry";
120
+ }>>;
121
+ ontologyId: z.ZodString;
122
+ workflowId: z.ZodOptional<z.ZodString>;
123
+ includeSharedSlices: z.ZodOptional<z.ZodBoolean>;
124
+ }, z.core.$strict>;
125
+ select: z.ZodOptional<z.ZodObject<{
126
+ baseColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
127
+ propertyColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
128
+ featureColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
129
+ tagGroupColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
130
+ columnOrder: z.ZodOptional<z.ZodArray<z.ZodString>>;
131
+ }, z.core.$strict>>;
132
+ where: z.ZodOptional<z.ZodType<ViewSqlWhere, unknown, z.core.$ZodTypeInternals<ViewSqlWhere, unknown>>>;
133
+ orderBy: z.ZodOptional<z.ZodArray<z.ZodObject<{
134
+ field: z.ZodString;
135
+ kind: z.ZodDefault<z.ZodEnum<{
136
+ feature: "feature";
137
+ builtin: "builtin";
138
+ }>>;
139
+ direction: z.ZodDefault<z.ZodEnum<{
140
+ asc: "asc";
141
+ desc: "desc";
142
+ }>>;
143
+ nulls: z.ZodOptional<z.ZodEnum<{
144
+ first: "first";
145
+ last: "last";
146
+ }>>;
147
+ }, z.core.$strict>>>;
148
+ limit: z.ZodOptional<z.ZodNumber>;
149
+ }, z.core.$strict>, z.ZodObject<{
150
+ kind: z.ZodLiteral<"aggregate">;
151
+ from: z.ZodObject<{
152
+ source: z.ZodDefault<z.ZodEnum<{
153
+ ontology: "ontology";
154
+ "workflow-outputs": "workflow-outputs";
155
+ telemetry: "telemetry";
156
+ }>>;
157
+ ontologyId: z.ZodString;
158
+ workflowId: z.ZodOptional<z.ZodString>;
159
+ includeSharedSlices: z.ZodOptional<z.ZodBoolean>;
160
+ }, z.core.$strict>;
161
+ where: z.ZodOptional<z.ZodType<ViewSqlWhere, unknown, z.core.$ZodTypeInternals<ViewSqlWhere, unknown>>>;
162
+ groupBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
163
+ metrics: z.ZodArray<z.ZodObject<{
164
+ alias: z.ZodString;
165
+ fn: z.ZodEnum<{
166
+ max: "max";
167
+ count: "count";
168
+ sum: "sum";
169
+ avg: "avg";
170
+ min: "min";
171
+ distinct_count: "distinct_count";
172
+ ratio: "ratio";
173
+ }>;
174
+ fieldKey: z.ZodOptional<z.ZodString>;
175
+ }, z.core.$strict>>;
176
+ orderBy: z.ZodOptional<z.ZodArray<z.ZodObject<{
177
+ field: z.ZodString;
178
+ kind: z.ZodDefault<z.ZodEnum<{
179
+ feature: "feature";
180
+ builtin: "builtin";
181
+ }>>;
182
+ direction: z.ZodDefault<z.ZodEnum<{
183
+ asc: "asc";
184
+ desc: "desc";
185
+ }>>;
186
+ nulls: z.ZodOptional<z.ZodEnum<{
187
+ first: "first";
188
+ last: "last";
189
+ }>>;
190
+ }, z.core.$strict>>>;
191
+ limit: z.ZodOptional<z.ZodNumber>;
192
+ }, z.core.$strict>, z.ZodObject<{
193
+ kind: z.ZodLiteral<"graph">;
194
+ from: z.ZodObject<{
195
+ source: z.ZodDefault<z.ZodEnum<{
196
+ ontology: "ontology";
197
+ "workflow-outputs": "workflow-outputs";
198
+ telemetry: "telemetry";
199
+ }>>;
200
+ ontologyId: z.ZodString;
201
+ workflowId: z.ZodOptional<z.ZodString>;
202
+ includeSharedSlices: z.ZodOptional<z.ZodBoolean>;
203
+ }, z.core.$strict>;
204
+ where: z.ZodOptional<z.ZodType<ViewSqlWhere, unknown, z.core.$ZodTypeInternals<ViewSqlWhere, unknown>>>;
205
+ graph: z.ZodObject<{
206
+ graphKind: z.ZodEnum<{
207
+ schema: "schema";
208
+ cooccurrence: "cooccurrence";
209
+ "bipartite-cosine": "bipartite-cosine";
210
+ "focus-star": "focus-star";
211
+ "ontology-relation": "ontology-relation";
212
+ "record-clustering": "record-clustering";
213
+ "field-tag-hub": "field-tag-hub";
214
+ }>;
215
+ maxHops: z.ZodDefault<z.ZodNumber>;
216
+ nodeLabelField: z.ZodOptional<z.ZodString>;
217
+ edgeRelationFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
218
+ }, z.core.$strict>;
219
+ limit: z.ZodOptional<z.ZodNumber>;
220
+ }, z.core.$strict>, z.ZodObject<{
221
+ kind: z.ZodEnum<{
222
+ insert: "insert";
223
+ update: "update";
224
+ delete: "delete";
225
+ }>;
226
+ ontologyId: z.ZodString;
227
+ values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>>;
228
+ where: z.ZodOptional<z.ZodType<ViewSqlWhere, unknown, z.core.$ZodTypeInternals<ViewSqlWhere, unknown>>>;
229
+ }, z.core.$strict>, z.ZodObject<{
230
+ kind: z.ZodLiteral<"call">;
231
+ workflowId: z.ZodString;
232
+ pageType: z.ZodDefault<z.ZodEnum<{
233
+ process: "process";
234
+ preview: "preview";
235
+ log: "log";
236
+ chat: "chat";
237
+ api: "api";
238
+ }>>;
239
+ inputMapping: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>>;
240
+ outputStrategy: z.ZodOptional<z.ZodEnum<{
241
+ "default-result-ontology": "default-result-ontology";
242
+ "domain-ontology": "domain-ontology";
243
+ "ledger-only": "ledger-only";
244
+ "column-writeback": "column-writeback";
245
+ }>>;
246
+ }, z.core.$strict>], "kind">;
247
+ export declare const ViewDataDeclarationSchema: z.ZodObject<{
248
+ statements: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
249
+ kind: z.ZodLiteral<"select">;
250
+ from: z.ZodObject<{
251
+ source: z.ZodDefault<z.ZodEnum<{
252
+ ontology: "ontology";
253
+ "workflow-outputs": "workflow-outputs";
254
+ telemetry: "telemetry";
255
+ }>>;
256
+ ontologyId: z.ZodString;
257
+ workflowId: z.ZodOptional<z.ZodString>;
258
+ includeSharedSlices: z.ZodOptional<z.ZodBoolean>;
259
+ }, z.core.$strict>;
260
+ select: z.ZodOptional<z.ZodObject<{
261
+ baseColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
262
+ propertyColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
263
+ featureColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
264
+ tagGroupColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
265
+ columnOrder: z.ZodOptional<z.ZodArray<z.ZodString>>;
266
+ }, z.core.$strict>>;
267
+ where: z.ZodOptional<z.ZodType<ViewSqlWhere, unknown, z.core.$ZodTypeInternals<ViewSqlWhere, unknown>>>;
268
+ orderBy: z.ZodOptional<z.ZodArray<z.ZodObject<{
269
+ field: z.ZodString;
270
+ kind: z.ZodDefault<z.ZodEnum<{
271
+ feature: "feature";
272
+ builtin: "builtin";
273
+ }>>;
274
+ direction: z.ZodDefault<z.ZodEnum<{
275
+ asc: "asc";
276
+ desc: "desc";
277
+ }>>;
278
+ nulls: z.ZodOptional<z.ZodEnum<{
279
+ first: "first";
280
+ last: "last";
281
+ }>>;
282
+ }, z.core.$strict>>>;
283
+ limit: z.ZodOptional<z.ZodNumber>;
284
+ }, z.core.$strict>, z.ZodObject<{
285
+ kind: z.ZodLiteral<"aggregate">;
286
+ from: z.ZodObject<{
287
+ source: z.ZodDefault<z.ZodEnum<{
288
+ ontology: "ontology";
289
+ "workflow-outputs": "workflow-outputs";
290
+ telemetry: "telemetry";
291
+ }>>;
292
+ ontologyId: z.ZodString;
293
+ workflowId: z.ZodOptional<z.ZodString>;
294
+ includeSharedSlices: z.ZodOptional<z.ZodBoolean>;
295
+ }, z.core.$strict>;
296
+ where: z.ZodOptional<z.ZodType<ViewSqlWhere, unknown, z.core.$ZodTypeInternals<ViewSqlWhere, unknown>>>;
297
+ groupBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
298
+ metrics: z.ZodArray<z.ZodObject<{
299
+ alias: z.ZodString;
300
+ fn: z.ZodEnum<{
301
+ max: "max";
302
+ count: "count";
303
+ sum: "sum";
304
+ avg: "avg";
305
+ min: "min";
306
+ distinct_count: "distinct_count";
307
+ ratio: "ratio";
308
+ }>;
309
+ fieldKey: z.ZodOptional<z.ZodString>;
310
+ }, z.core.$strict>>;
311
+ orderBy: z.ZodOptional<z.ZodArray<z.ZodObject<{
312
+ field: z.ZodString;
313
+ kind: z.ZodDefault<z.ZodEnum<{
314
+ feature: "feature";
315
+ builtin: "builtin";
316
+ }>>;
317
+ direction: z.ZodDefault<z.ZodEnum<{
318
+ asc: "asc";
319
+ desc: "desc";
320
+ }>>;
321
+ nulls: z.ZodOptional<z.ZodEnum<{
322
+ first: "first";
323
+ last: "last";
324
+ }>>;
325
+ }, z.core.$strict>>>;
326
+ limit: z.ZodOptional<z.ZodNumber>;
327
+ }, z.core.$strict>, z.ZodObject<{
328
+ kind: z.ZodLiteral<"graph">;
329
+ from: z.ZodObject<{
330
+ source: z.ZodDefault<z.ZodEnum<{
331
+ ontology: "ontology";
332
+ "workflow-outputs": "workflow-outputs";
333
+ telemetry: "telemetry";
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
+ "ontology-relation": "ontology-relation";
347
+ "record-clustering": "record-clustering";
348
+ "field-tag-hub": "field-tag-hub";
349
+ }>;
350
+ maxHops: z.ZodDefault<z.ZodNumber>;
351
+ nodeLabelField: z.ZodOptional<z.ZodString>;
352
+ edgeRelationFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
353
+ }, z.core.$strict>;
354
+ limit: z.ZodOptional<z.ZodNumber>;
355
+ }, z.core.$strict>, z.ZodObject<{
356
+ kind: z.ZodEnum<{
357
+ insert: "insert";
358
+ update: "update";
359
+ delete: "delete";
360
+ }>;
361
+ ontologyId: z.ZodString;
362
+ values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>>;
363
+ where: z.ZodOptional<z.ZodType<ViewSqlWhere, unknown, z.core.$ZodTypeInternals<ViewSqlWhere, unknown>>>;
364
+ }, z.core.$strict>, z.ZodObject<{
365
+ kind: z.ZodLiteral<"call">;
366
+ workflowId: z.ZodString;
367
+ pageType: z.ZodDefault<z.ZodEnum<{
368
+ process: "process";
369
+ preview: "preview";
370
+ log: "log";
371
+ chat: "chat";
372
+ api: "api";
373
+ }>>;
374
+ inputMapping: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>>;
375
+ outputStrategy: z.ZodOptional<z.ZodEnum<{
376
+ "default-result-ontology": "default-result-ontology";
377
+ "domain-ontology": "domain-ontology";
378
+ "ledger-only": "ledger-only";
379
+ "column-writeback": "column-writeback";
380
+ }>>;
381
+ }, z.core.$strict>], "kind">>;
382
+ parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>>;
383
+ cache: z.ZodOptional<z.ZodObject<{
384
+ mode: z.ZodDefault<z.ZodEnum<{
385
+ realtime: "realtime";
386
+ cached: "cached";
387
+ "stale-while-revalidate": "stale-while-revalidate";
388
+ materialized: "materialized";
389
+ }>>;
390
+ ttlSeconds: z.ZodOptional<z.ZodNumber>;
391
+ }, z.core.$strict>>;
392
+ }, z.core.$strict>;
393
+ /**
394
+ * Canonical atomic Block types rendered inside leaf Bento nodes.
395
+ * Every surface (navigation shell, data table, gallery, kanban, graph, chart,
396
+ * filter, record detail, workflow, review) resolves through one BlockRegistry.
397
+ */
398
+ export declare const BlockTypeSchema: z.ZodEnum<{
399
+ "design-board": "design-board";
400
+ custom: "custom";
401
+ graph: "graph";
402
+ "nav-sidebar": "nav-sidebar";
403
+ "top-bar": "top-bar";
404
+ table: "table";
405
+ gallery: "gallery";
406
+ kanban: "kanban";
407
+ tree: "tree";
408
+ "boston-matrix": "boston-matrix";
409
+ "trend-matrix": "trend-matrix";
410
+ "metric-card": "metric-card";
411
+ "bar-chart": "bar-chart";
412
+ "line-chart": "line-chart";
413
+ "mixed-chart": "mixed-chart";
414
+ "pie-chart": "pie-chart";
415
+ "donut-chart": "donut-chart";
416
+ "radar-chart": "radar-chart";
417
+ "scatter-chart": "scatter-chart";
418
+ "word-cloud-chart": "word-cloud-chart";
419
+ "ranking-list": "ranking-list";
420
+ "pivot-table": "pivot-table";
421
+ "filter-bar": "filter-bar";
422
+ "variable-panel": "variable-panel";
423
+ "record-detail": "record-detail";
424
+ "record-create": "record-create";
425
+ "record-history": "record-history";
426
+ markdown: "markdown";
427
+ "workflow-form": "workflow-form";
428
+ "workflow-waterfall": "workflow-waterfall";
429
+ "workflow-canvas": "workflow-canvas";
430
+ "workflow-log": "workflow-log";
431
+ "workflow-chat": "workflow-chat";
432
+ linesheet: "linesheet";
433
+ review: "review";
434
+ "work-order-review": "work-order-review";
435
+ "json-editor": "json-editor";
436
+ }>;
437
+ export declare const BlockDataSourceSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
438
+ kind: z.ZodLiteral<"statement">;
439
+ statementId: z.ZodString;
440
+ }, z.core.$strict>, z.ZodObject<{
441
+ kind: z.ZodLiteral<"artifact.body">;
442
+ session: z.ZodDefault<z.ZodEnum<{
443
+ aggregate: "aggregate";
444
+ loro: "loro";
445
+ }>>;
446
+ slice: z.ZodOptional<z.ZodString>;
447
+ }, z.core.$strict>, z.ZodObject<{
448
+ kind: z.ZodLiteral<"record.fields">;
449
+ recordRef: z.ZodDefault<z.ZodString>;
450
+ }, z.core.$strict>, z.ZodObject<{
451
+ kind: z.ZodLiteral<"static">;
452
+ }, z.core.$strict>], "kind">;
453
+ export declare const BlockSpecSchema: z.ZodObject<{
454
+ type: z.ZodEnum<{
455
+ "design-board": "design-board";
456
+ custom: "custom";
457
+ graph: "graph";
458
+ "nav-sidebar": "nav-sidebar";
459
+ "top-bar": "top-bar";
460
+ table: "table";
461
+ gallery: "gallery";
462
+ kanban: "kanban";
463
+ tree: "tree";
464
+ "boston-matrix": "boston-matrix";
465
+ "trend-matrix": "trend-matrix";
466
+ "metric-card": "metric-card";
467
+ "bar-chart": "bar-chart";
468
+ "line-chart": "line-chart";
469
+ "mixed-chart": "mixed-chart";
470
+ "pie-chart": "pie-chart";
471
+ "donut-chart": "donut-chart";
472
+ "radar-chart": "radar-chart";
473
+ "scatter-chart": "scatter-chart";
474
+ "word-cloud-chart": "word-cloud-chart";
475
+ "ranking-list": "ranking-list";
476
+ "pivot-table": "pivot-table";
477
+ "filter-bar": "filter-bar";
478
+ "variable-panel": "variable-panel";
479
+ "record-detail": "record-detail";
480
+ "record-create": "record-create";
481
+ "record-history": "record-history";
482
+ markdown: "markdown";
483
+ "workflow-form": "workflow-form";
484
+ "workflow-waterfall": "workflow-waterfall";
485
+ "workflow-canvas": "workflow-canvas";
486
+ "workflow-log": "workflow-log";
487
+ "workflow-chat": "workflow-chat";
488
+ linesheet: "linesheet";
489
+ review: "review";
490
+ "work-order-review": "work-order-review";
491
+ "json-editor": "json-editor";
492
+ }>;
493
+ customType: z.ZodOptional<z.ZodString>;
494
+ title: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
495
+ dataSource: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
496
+ kind: z.ZodLiteral<"statement">;
497
+ statementId: z.ZodString;
498
+ }, z.core.$strict>, z.ZodObject<{
499
+ kind: z.ZodLiteral<"artifact.body">;
500
+ session: z.ZodDefault<z.ZodEnum<{
501
+ aggregate: "aggregate";
502
+ loro: "loro";
503
+ }>>;
504
+ slice: z.ZodOptional<z.ZodString>;
505
+ }, z.core.$strict>, z.ZodObject<{
506
+ kind: z.ZodLiteral<"record.fields">;
507
+ recordRef: z.ZodDefault<z.ZodString>;
508
+ }, z.core.$strict>, z.ZodObject<{
509
+ kind: z.ZodLiteral<"static">;
510
+ }, z.core.$strict>], "kind">>;
511
+ actionStatementIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
512
+ config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>>;
513
+ }, z.core.$strict>;
514
+ export declare const BentoWiringRuleSchema: z.ZodObject<{
515
+ sourceNodeId: z.ZodString;
516
+ event: z.ZodString;
517
+ targetNodeId: z.ZodOptional<z.ZodString>;
518
+ targetStateKey: z.ZodOptional<z.ZodString>;
519
+ action: z.ZodString;
520
+ payloadMap: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>>;
521
+ }, z.core.$strict>;
522
+ export declare const BentoGridRectSchema: z.ZodObject<{
523
+ x: z.ZodNumber;
524
+ y: z.ZodNumber;
525
+ w: z.ZodNumber;
526
+ h: z.ZodNumber;
527
+ minW: z.ZodOptional<z.ZodNumber>;
528
+ minH: z.ZodOptional<z.ZodNumber>;
529
+ }, z.core.$strict>;
530
+ export declare const BentoSplitPlacementSchema: z.ZodObject<{
531
+ size: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
532
+ minSize: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
533
+ maxSize: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
534
+ collapsible: z.ZodOptional<z.ZodBoolean>;
535
+ collapsed: z.ZodOptional<z.ZodBoolean>;
536
+ }, z.core.$strict>;
537
+ export declare const BentoTabPlacementSchema: z.ZodObject<{
538
+ label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
539
+ icon: z.ZodOptional<z.ZodString>;
540
+ }, z.core.$strict>;
541
+ export declare const BentoPlacementSchema: z.ZodObject<{
542
+ grid: z.ZodOptional<z.ZodObject<{
543
+ x: z.ZodNumber;
544
+ y: z.ZodNumber;
545
+ w: z.ZodNumber;
546
+ h: z.ZodNumber;
547
+ minW: z.ZodOptional<z.ZodNumber>;
548
+ minH: z.ZodOptional<z.ZodNumber>;
549
+ }, z.core.$strict>>;
550
+ split: z.ZodOptional<z.ZodObject<{
551
+ size: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
552
+ minSize: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
553
+ maxSize: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
554
+ collapsible: z.ZodOptional<z.ZodBoolean>;
555
+ collapsed: z.ZodOptional<z.ZodBoolean>;
556
+ }, z.core.$strict>>;
557
+ tab: z.ZodOptional<z.ZodObject<{
558
+ label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
559
+ icon: z.ZodOptional<z.ZodString>;
560
+ }, z.core.$strict>>;
561
+ }, z.core.$strict>;
562
+ export declare const BentoChromeSchema: z.ZodEnum<{
563
+ panel: "panel";
564
+ plain: "plain";
565
+ none: "none";
566
+ }>;
567
+ export type BentoChrome = z.infer<typeof BentoChromeSchema>;
568
+ export type BlockType = z.infer<typeof BlockTypeSchema>;
569
+ export type BlockDataSource = z.infer<typeof BlockDataSourceSchema>;
570
+ export type BlockSpec = z.infer<typeof BlockSpecSchema>;
571
+ export type BentoWiringRule = z.infer<typeof BentoWiringRuleSchema>;
572
+ export type BentoGridRect = z.infer<typeof BentoGridRectSchema>;
573
+ export type BentoSplitPlacement = z.infer<typeof BentoSplitPlacementSchema>;
574
+ export type BentoTabPlacement = z.infer<typeof BentoTabPlacementSchema>;
575
+ export type BentoPlacement = z.infer<typeof BentoPlacementSchema>;
576
+ export type ViewSqlOrderBy = z.infer<typeof ViewSqlOrderBySchema>;
577
+ export type ViewSqlSelectProjection = z.infer<typeof ViewSqlSelectProjectionSchema>;
578
+ export type ViewSqlAggregateMetric = z.infer<typeof ViewSqlAggregateMetricSchema>;
579
+ export type ViewSqlGraphSpec = z.infer<typeof ViewSqlGraphSpecSchema>;
580
+ export type ViewSqlCachePolicy = z.infer<typeof ViewSqlCachePolicySchema>;
581
+ export type ViewSqlFromSource = z.infer<typeof ViewSqlFromSourceSchema>;
582
+ export type ViewSqlStatement = z.infer<typeof ViewSqlStatementSchema>;
583
+ export type ViewDataDeclaration = z.infer<typeof ViewDataDeclarationSchema>;
584
+ export interface BentoContainerNode {
585
+ id: string;
586
+ kind: 'container';
587
+ layout: 'split' | 'grid' | 'stack' | 'tabs';
588
+ direction?: 'horizontal' | 'vertical';
589
+ columns?: 24;
590
+ rowHeight?: number;
591
+ gap?: number;
592
+ chrome?: BentoChrome;
593
+ title?: z.infer<typeof LocalizedTextSchema>;
594
+ description?: string;
595
+ placement?: BentoPlacement;
596
+ data?: ViewDataDeclaration;
597
+ wiring?: BentoWiringRule[];
598
+ children: BentoNode[];
599
+ }
600
+ export interface BentoLeafNode {
601
+ id: string;
602
+ kind: 'leaf';
603
+ chrome?: BentoChrome;
604
+ placement?: BentoPlacement;
605
+ block: BlockSpec;
606
+ }
607
+ export type BentoNode = BentoContainerNode | BentoLeafNode;
608
+ export declare const BentoNodeSchema: z.ZodType<BentoNode>;
609
+ export interface BentoTreeValidationIssue {
610
+ path: Array<string | number>;
611
+ message: string;
612
+ }
613
+ export declare function validateBentoTree(root: BentoNode, externalStatementIds?: ReadonlySet<string>): BentoTreeValidationIssue[];
614
+ export declare function collectBentoLeafNodes(root: BentoNode): BentoLeafNode[];
615
+ export declare function getPrimaryBlockType(root: BentoNode): BlockType;
616
+ //# sourceMappingURL=bento-block.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bento-block.d.ts","sourceRoot":"","sources":["../../src/contracts/bento-block.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAIL,mBAAmB,EACpB,MAAM,UAAU,CAAC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