@inf-monkeys-tech/monkeys 1.1.63 → 1.1.65

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 (50) hide show
  1. package/lib/contracts/bento-block.d.ts +491 -0
  2. package/lib/contracts/bento-block.d.ts.map +1 -1
  3. package/lib/contracts/bento-block.js +158 -12
  4. package/lib/contracts/bento-block.js.map +1 -1
  5. package/lib/contracts/declarative-control-http.d.ts +2358 -255
  6. package/lib/contracts/declarative-control-http.d.ts.map +1 -1
  7. package/lib/contracts/declarative-control.d.ts +193 -19
  8. package/lib/contracts/declarative-control.d.ts.map +1 -1
  9. package/lib/contracts/declarative-publication-job.d.ts +504 -64
  10. package/lib/contracts/declarative-publication-job.d.ts.map +1 -1
  11. package/lib/contracts/page.d.ts +1 -1
  12. package/lib/contracts/render.d.ts +118 -30
  13. package/lib/contracts/render.d.ts.map +1 -1
  14. package/lib/contracts/render.js +6 -1
  15. package/lib/contracts/render.js.map +1 -1
  16. package/lib/contracts/tenant.d.ts +7 -7
  17. package/lib/contracts/unified-view.d.ts +87 -0
  18. package/lib/contracts/unified-view.d.ts.map +1 -1
  19. package/lib/contracts/workflow-column.d.ts +2 -2
  20. package/lib/esm/{chunk-SDA2NWFB.mjs → chunk-AOAJSAI7.mjs} +2 -2
  21. package/lib/esm/chunk-AOAJSAI7.mjs.map +1 -0
  22. package/lib/esm/{chunk-766TRFRH.mjs → chunk-BFGFPBEU.mjs} +142 -12
  23. package/lib/esm/chunk-BFGFPBEU.mjs.map +1 -0
  24. package/lib/esm/{chunk-BTJGKWPM.mjs → chunk-E6UOE6OP.mjs} +6 -3
  25. package/lib/esm/{chunk-BTJGKWPM.mjs.map → chunk-E6UOE6OP.mjs.map} +1 -1
  26. package/lib/esm/{chunk-MP4OJWJ3.mjs → chunk-WC65QK2H.mjs} +2 -2
  27. package/lib/esm/contracts/index.mjs +24 -2
  28. package/lib/esm/index.mjs +26 -4
  29. package/lib/esm/index.mjs.map +1 -1
  30. package/lib/esm/runtime/index.mjs +3 -3
  31. package/lib/esm/schemas/index.mjs +26 -2
  32. package/lib/json-schema/bento-node.schema.json +425 -1
  33. package/lib/json-schema/overlay-node.schema.json +423 -1
  34. package/lib/json-schema/page-runtime-bundle.schema.json +720 -2
  35. package/lib/json-schema/render-node.schema.json +423 -1
  36. package/lib/json-schema/render-tree.schema.json +720 -2
  37. package/lib/json-schema/view-ontology-record.schema.json +722 -2
  38. package/lib/runtime/bento-render-tree.d.ts.map +1 -1
  39. package/lib/runtime/bento-render-tree.js +3 -0
  40. package/lib/runtime/bento-render-tree.js.map +1 -1
  41. package/lib/runtime/runtime-definition-wire.d.ts +252 -32
  42. package/lib/runtime/runtime-definition-wire.d.ts.map +1 -1
  43. package/lib/schemas/index.d.ts +189 -15
  44. package/lib/schemas/index.d.ts.map +1 -1
  45. package/lib/schemas/index.js +16 -3
  46. package/lib/schemas/index.js.map +1 -1
  47. package/package.json +2 -2
  48. package/lib/esm/chunk-766TRFRH.mjs.map +0 -1
  49. package/lib/esm/chunk-SDA2NWFB.mjs.map +0 -1
  50. /package/lib/esm/{chunk-MP4OJWJ3.mjs.map → chunk-WC65QK2H.mjs.map} +0 -0
@@ -42,6 +42,8 @@ export type ViewSqlWhere = {
42
42
  objectId: string;
43
43
  };
44
44
  export declare const ViewSqlWhereSchema: z.ZodType<ViewSqlWhere>;
45
+ export type ViewSqlFilterNode = ViewSqlWhere;
46
+ export declare const ViewSqlFilterNodeSchema: z.ZodType<ViewSqlFilterNode>;
45
47
  export declare const ViewSqlOrderBySchema: z.ZodObject<{
46
48
  field: z.ZodString;
47
49
  kind: z.ZodDefault<z.ZodEnum<{
@@ -74,8 +76,87 @@ export declare const ViewSqlAggregateMetricSchema: z.ZodObject<{
74
76
  min: "min";
75
77
  distinct_count: "distinct_count";
76
78
  ratio: "ratio";
79
+ count_distinct: "count_distinct";
80
+ percentile: "percentile";
81
+ trimmed_avg: "trimmed_avg";
82
+ first_by: "first_by";
83
+ last_by: "last_by";
77
84
  }>;
78
85
  fieldKey: z.ZodOptional<z.ZodString>;
86
+ numeric: z.ZodOptional<z.ZodBoolean>;
87
+ percentile: z.ZodOptional<z.ZodNumber>;
88
+ trimTopPct: z.ZodOptional<z.ZodNumber>;
89
+ orderColumnId: z.ZodOptional<z.ZodString>;
90
+ filter: z.ZodOptional<z.ZodType<ViewSqlWhere, unknown, z.core.$ZodTypeInternals<ViewSqlWhere, unknown>>>;
91
+ }, z.core.$strict>;
92
+ export declare const ViewSqlAggregateTimeBucketSchema: z.ZodObject<{
93
+ column: z.ZodString;
94
+ granularity: z.ZodEnum<{
95
+ hour: "hour";
96
+ day: "day";
97
+ week: "week";
98
+ month: "month";
99
+ quarter: "quarter";
100
+ year: "year";
101
+ }>;
102
+ timezone: z.ZodOptional<z.ZodString>;
103
+ fillGaps: z.ZodOptional<z.ZodBoolean>;
104
+ }, z.core.$strict>;
105
+ export declare const ViewSqlAggregateJoinSchema: z.ZodObject<{
106
+ alias: z.ZodString;
107
+ ontologyId: z.ZodString;
108
+ assetType: z.ZodOptional<z.ZodString>;
109
+ joinType: z.ZodOptional<z.ZodEnum<{
110
+ inner: "inner";
111
+ left: "left";
112
+ }>>;
113
+ viaRelation: z.ZodOptional<z.ZodObject<{
114
+ columnId: z.ZodString;
115
+ direction: z.ZodEnum<{
116
+ outgoing: "outgoing";
117
+ incoming: "incoming";
118
+ }>;
119
+ }, z.core.$strict>>;
120
+ onColumn: z.ZodOptional<z.ZodObject<{
121
+ localColumnId: z.ZodString;
122
+ foreignColumnId: z.ZodOptional<z.ZodString>;
123
+ foreignAssetId: z.ZodOptional<z.ZodBoolean>;
124
+ }, z.core.$strict>>;
125
+ }, z.core.$strict>;
126
+ export declare const ViewSqlAggregateHierarchyScopeSchema: z.ZodObject<{
127
+ targetAlias: z.ZodOptional<z.ZodString>;
128
+ localColumnId: z.ZodOptional<z.ZodString>;
129
+ ontologyId: z.ZodString;
130
+ relationColumnId: z.ZodString;
131
+ direction: z.ZodEnum<{
132
+ outgoing: "outgoing";
133
+ incoming: "incoming";
134
+ }>;
135
+ seedIds: z.ZodArray<z.ZodString>;
136
+ maxDepth: z.ZodOptional<z.ZodNumber>;
137
+ includeSelf: z.ZodOptional<z.ZodBoolean>;
138
+ }, z.core.$strict>;
139
+ export declare const ViewSqlAggregateUnwindSchema: z.ZodObject<{
140
+ columnId: z.ZodString;
141
+ jsonPath: z.ZodOptional<z.ZodArray<z.ZodString>>;
142
+ preserveEmpty: z.ZodOptional<z.ZodBoolean>;
143
+ }, z.core.$strict>;
144
+ export declare const ViewSqlAggregateHavingSchema: z.ZodObject<{
145
+ key: z.ZodString;
146
+ op: z.ZodEnum<{
147
+ eq: "eq";
148
+ gt: "gt";
149
+ gte: "gte";
150
+ lt: "lt";
151
+ lte: "lte";
152
+ ne: "ne";
153
+ }>;
154
+ value: z.ZodNumber;
155
+ }, z.core.$strict>;
156
+ export declare const ViewSqlAggregatePaginationSchema: z.ZodObject<{
157
+ offset: z.ZodOptional<z.ZodNumber>;
158
+ limit: z.ZodOptional<z.ZodNumber>;
159
+ includeTotalGroups: z.ZodOptional<z.ZodBoolean>;
79
160
  }, z.core.$strict>;
80
161
  export declare const ViewSqlGraphSpecSchema: z.ZodObject<{
81
162
  graphKind: z.ZodEnum<{
@@ -110,6 +191,137 @@ export declare const ViewSqlFromSourceSchema: z.ZodObject<{
110
191
  workflowId: z.ZodOptional<z.ZodString>;
111
192
  includeSharedSlices: z.ZodOptional<z.ZodBoolean>;
112
193
  }, z.core.$strict>;
194
+ export declare const ViewSqlAggregateStatementSchema: z.ZodObject<{
195
+ kind: z.ZodLiteral<"aggregate">;
196
+ from: z.ZodObject<{
197
+ source: z.ZodDefault<z.ZodEnum<{
198
+ ontology: "ontology";
199
+ "workflow-outputs": "workflow-outputs";
200
+ telemetry: "telemetry";
201
+ }>>;
202
+ ontologyId: z.ZodString;
203
+ workflowId: z.ZodOptional<z.ZodString>;
204
+ includeSharedSlices: z.ZodOptional<z.ZodBoolean>;
205
+ }, z.core.$strict>;
206
+ where: z.ZodOptional<z.ZodType<ViewSqlWhere, unknown, z.core.$ZodTypeInternals<ViewSqlWhere, unknown>>>;
207
+ groupBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
208
+ metrics: z.ZodArray<z.ZodObject<{
209
+ alias: z.ZodString;
210
+ fn: z.ZodEnum<{
211
+ max: "max";
212
+ count: "count";
213
+ sum: "sum";
214
+ avg: "avg";
215
+ min: "min";
216
+ distinct_count: "distinct_count";
217
+ ratio: "ratio";
218
+ count_distinct: "count_distinct";
219
+ percentile: "percentile";
220
+ trimmed_avg: "trimmed_avg";
221
+ first_by: "first_by";
222
+ last_by: "last_by";
223
+ }>;
224
+ fieldKey: z.ZodOptional<z.ZodString>;
225
+ numeric: z.ZodOptional<z.ZodBoolean>;
226
+ percentile: z.ZodOptional<z.ZodNumber>;
227
+ trimTopPct: z.ZodOptional<z.ZodNumber>;
228
+ orderColumnId: z.ZodOptional<z.ZodString>;
229
+ filter: z.ZodOptional<z.ZodType<ViewSqlWhere, unknown, z.core.$ZodTypeInternals<ViewSqlWhere, unknown>>>;
230
+ }, z.core.$strict>>;
231
+ orderBy: z.ZodOptional<z.ZodArray<z.ZodObject<{
232
+ field: z.ZodString;
233
+ kind: z.ZodDefault<z.ZodEnum<{
234
+ feature: "feature";
235
+ builtin: "builtin";
236
+ }>>;
237
+ direction: z.ZodDefault<z.ZodEnum<{
238
+ asc: "asc";
239
+ desc: "desc";
240
+ }>>;
241
+ nulls: z.ZodOptional<z.ZodEnum<{
242
+ first: "first";
243
+ last: "last";
244
+ }>>;
245
+ }, z.core.$strict>>>;
246
+ limit: z.ZodOptional<z.ZodNumber>;
247
+ engine: z.ZodOptional<z.ZodEnum<{
248
+ auto: "auto";
249
+ search: "search";
250
+ canonical: "canonical";
251
+ }>>;
252
+ allTeams: z.ZodOptional<z.ZodBoolean>;
253
+ exact: z.ZodOptional<z.ZodBoolean>;
254
+ includeTotals: z.ZodOptional<z.ZodBoolean>;
255
+ timeBucket: z.ZodOptional<z.ZodObject<{
256
+ column: z.ZodString;
257
+ granularity: z.ZodEnum<{
258
+ hour: "hour";
259
+ day: "day";
260
+ week: "week";
261
+ month: "month";
262
+ quarter: "quarter";
263
+ year: "year";
264
+ }>;
265
+ timezone: z.ZodOptional<z.ZodString>;
266
+ fillGaps: z.ZodOptional<z.ZodBoolean>;
267
+ }, z.core.$strict>>;
268
+ joins: z.ZodOptional<z.ZodArray<z.ZodObject<{
269
+ alias: z.ZodString;
270
+ ontologyId: z.ZodString;
271
+ assetType: z.ZodOptional<z.ZodString>;
272
+ joinType: z.ZodOptional<z.ZodEnum<{
273
+ inner: "inner";
274
+ left: "left";
275
+ }>>;
276
+ viaRelation: z.ZodOptional<z.ZodObject<{
277
+ columnId: z.ZodString;
278
+ direction: z.ZodEnum<{
279
+ outgoing: "outgoing";
280
+ incoming: "incoming";
281
+ }>;
282
+ }, z.core.$strict>>;
283
+ onColumn: z.ZodOptional<z.ZodObject<{
284
+ localColumnId: z.ZodString;
285
+ foreignColumnId: z.ZodOptional<z.ZodString>;
286
+ foreignAssetId: z.ZodOptional<z.ZodBoolean>;
287
+ }, z.core.$strict>>;
288
+ }, z.core.$strict>>>;
289
+ hierarchyScopes: z.ZodOptional<z.ZodArray<z.ZodObject<{
290
+ targetAlias: z.ZodOptional<z.ZodString>;
291
+ localColumnId: z.ZodOptional<z.ZodString>;
292
+ ontologyId: z.ZodString;
293
+ relationColumnId: z.ZodString;
294
+ direction: z.ZodEnum<{
295
+ outgoing: "outgoing";
296
+ incoming: "incoming";
297
+ }>;
298
+ seedIds: z.ZodArray<z.ZodString>;
299
+ maxDepth: z.ZodOptional<z.ZodNumber>;
300
+ includeSelf: z.ZodOptional<z.ZodBoolean>;
301
+ }, z.core.$strict>>>;
302
+ unwind: z.ZodOptional<z.ZodObject<{
303
+ columnId: z.ZodString;
304
+ jsonPath: z.ZodOptional<z.ZodArray<z.ZodString>>;
305
+ preserveEmpty: z.ZodOptional<z.ZodBoolean>;
306
+ }, z.core.$strict>>;
307
+ having: z.ZodOptional<z.ZodArray<z.ZodObject<{
308
+ key: z.ZodString;
309
+ op: z.ZodEnum<{
310
+ eq: "eq";
311
+ gt: "gt";
312
+ gte: "gte";
313
+ lt: "lt";
314
+ lte: "lte";
315
+ ne: "ne";
316
+ }>;
317
+ value: z.ZodNumber;
318
+ }, z.core.$strict>>>;
319
+ pagination: z.ZodOptional<z.ZodObject<{
320
+ offset: z.ZodOptional<z.ZodNumber>;
321
+ limit: z.ZodOptional<z.ZodNumber>;
322
+ includeTotalGroups: z.ZodOptional<z.ZodBoolean>;
323
+ }, z.core.$strict>>;
324
+ }, z.core.$strict>;
113
325
  export declare const ViewSqlStatementSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
114
326
  kind: z.ZodLiteral<"select">;
115
327
  from: z.ZodObject<{
@@ -170,8 +382,18 @@ export declare const ViewSqlStatementSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
170
382
  min: "min";
171
383
  distinct_count: "distinct_count";
172
384
  ratio: "ratio";
385
+ count_distinct: "count_distinct";
386
+ percentile: "percentile";
387
+ trimmed_avg: "trimmed_avg";
388
+ first_by: "first_by";
389
+ last_by: "last_by";
173
390
  }>;
174
391
  fieldKey: z.ZodOptional<z.ZodString>;
392
+ numeric: z.ZodOptional<z.ZodBoolean>;
393
+ percentile: z.ZodOptional<z.ZodNumber>;
394
+ trimTopPct: z.ZodOptional<z.ZodNumber>;
395
+ orderColumnId: z.ZodOptional<z.ZodString>;
396
+ filter: z.ZodOptional<z.ZodType<ViewSqlWhere, unknown, z.core.$ZodTypeInternals<ViewSqlWhere, unknown>>>;
175
397
  }, z.core.$strict>>;
176
398
  orderBy: z.ZodOptional<z.ZodArray<z.ZodObject<{
177
399
  field: z.ZodString;
@@ -189,6 +411,83 @@ export declare const ViewSqlStatementSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
189
411
  }>>;
190
412
  }, z.core.$strict>>>;
191
413
  limit: z.ZodOptional<z.ZodNumber>;
414
+ engine: z.ZodOptional<z.ZodEnum<{
415
+ auto: "auto";
416
+ search: "search";
417
+ canonical: "canonical";
418
+ }>>;
419
+ allTeams: z.ZodOptional<z.ZodBoolean>;
420
+ exact: z.ZodOptional<z.ZodBoolean>;
421
+ includeTotals: z.ZodOptional<z.ZodBoolean>;
422
+ timeBucket: z.ZodOptional<z.ZodObject<{
423
+ column: z.ZodString;
424
+ granularity: z.ZodEnum<{
425
+ hour: "hour";
426
+ day: "day";
427
+ week: "week";
428
+ month: "month";
429
+ quarter: "quarter";
430
+ year: "year";
431
+ }>;
432
+ timezone: z.ZodOptional<z.ZodString>;
433
+ fillGaps: z.ZodOptional<z.ZodBoolean>;
434
+ }, z.core.$strict>>;
435
+ joins: z.ZodOptional<z.ZodArray<z.ZodObject<{
436
+ alias: z.ZodString;
437
+ ontologyId: z.ZodString;
438
+ assetType: z.ZodOptional<z.ZodString>;
439
+ joinType: z.ZodOptional<z.ZodEnum<{
440
+ inner: "inner";
441
+ left: "left";
442
+ }>>;
443
+ viaRelation: z.ZodOptional<z.ZodObject<{
444
+ columnId: z.ZodString;
445
+ direction: z.ZodEnum<{
446
+ outgoing: "outgoing";
447
+ incoming: "incoming";
448
+ }>;
449
+ }, z.core.$strict>>;
450
+ onColumn: z.ZodOptional<z.ZodObject<{
451
+ localColumnId: z.ZodString;
452
+ foreignColumnId: z.ZodOptional<z.ZodString>;
453
+ foreignAssetId: z.ZodOptional<z.ZodBoolean>;
454
+ }, z.core.$strict>>;
455
+ }, z.core.$strict>>>;
456
+ hierarchyScopes: z.ZodOptional<z.ZodArray<z.ZodObject<{
457
+ targetAlias: z.ZodOptional<z.ZodString>;
458
+ localColumnId: z.ZodOptional<z.ZodString>;
459
+ ontologyId: z.ZodString;
460
+ relationColumnId: z.ZodString;
461
+ direction: z.ZodEnum<{
462
+ outgoing: "outgoing";
463
+ incoming: "incoming";
464
+ }>;
465
+ seedIds: z.ZodArray<z.ZodString>;
466
+ maxDepth: z.ZodOptional<z.ZodNumber>;
467
+ includeSelf: z.ZodOptional<z.ZodBoolean>;
468
+ }, z.core.$strict>>>;
469
+ unwind: z.ZodOptional<z.ZodObject<{
470
+ columnId: z.ZodString;
471
+ jsonPath: z.ZodOptional<z.ZodArray<z.ZodString>>;
472
+ preserveEmpty: z.ZodOptional<z.ZodBoolean>;
473
+ }, z.core.$strict>>;
474
+ having: z.ZodOptional<z.ZodArray<z.ZodObject<{
475
+ key: z.ZodString;
476
+ op: z.ZodEnum<{
477
+ eq: "eq";
478
+ gt: "gt";
479
+ gte: "gte";
480
+ lt: "lt";
481
+ lte: "lte";
482
+ ne: "ne";
483
+ }>;
484
+ value: z.ZodNumber;
485
+ }, z.core.$strict>>>;
486
+ pagination: z.ZodOptional<z.ZodObject<{
487
+ offset: z.ZodOptional<z.ZodNumber>;
488
+ limit: z.ZodOptional<z.ZodNumber>;
489
+ includeTotalGroups: z.ZodOptional<z.ZodBoolean>;
490
+ }, z.core.$strict>>;
192
491
  }, z.core.$strict>, z.ZodObject<{
193
492
  kind: z.ZodLiteral<"graph">;
194
493
  from: z.ZodObject<{
@@ -305,8 +604,18 @@ export declare const ViewDataDeclarationSchema: z.ZodObject<{
305
604
  min: "min";
306
605
  distinct_count: "distinct_count";
307
606
  ratio: "ratio";
607
+ count_distinct: "count_distinct";
608
+ percentile: "percentile";
609
+ trimmed_avg: "trimmed_avg";
610
+ first_by: "first_by";
611
+ last_by: "last_by";
308
612
  }>;
309
613
  fieldKey: z.ZodOptional<z.ZodString>;
614
+ numeric: z.ZodOptional<z.ZodBoolean>;
615
+ percentile: z.ZodOptional<z.ZodNumber>;
616
+ trimTopPct: z.ZodOptional<z.ZodNumber>;
617
+ orderColumnId: z.ZodOptional<z.ZodString>;
618
+ filter: z.ZodOptional<z.ZodType<ViewSqlWhere, unknown, z.core.$ZodTypeInternals<ViewSqlWhere, unknown>>>;
310
619
  }, z.core.$strict>>;
311
620
  orderBy: z.ZodOptional<z.ZodArray<z.ZodObject<{
312
621
  field: z.ZodString;
@@ -324,6 +633,83 @@ export declare const ViewDataDeclarationSchema: z.ZodObject<{
324
633
  }>>;
325
634
  }, z.core.$strict>>>;
326
635
  limit: z.ZodOptional<z.ZodNumber>;
636
+ engine: z.ZodOptional<z.ZodEnum<{
637
+ auto: "auto";
638
+ search: "search";
639
+ canonical: "canonical";
640
+ }>>;
641
+ allTeams: z.ZodOptional<z.ZodBoolean>;
642
+ exact: z.ZodOptional<z.ZodBoolean>;
643
+ includeTotals: z.ZodOptional<z.ZodBoolean>;
644
+ timeBucket: z.ZodOptional<z.ZodObject<{
645
+ column: z.ZodString;
646
+ granularity: z.ZodEnum<{
647
+ hour: "hour";
648
+ day: "day";
649
+ week: "week";
650
+ month: "month";
651
+ quarter: "quarter";
652
+ year: "year";
653
+ }>;
654
+ timezone: z.ZodOptional<z.ZodString>;
655
+ fillGaps: z.ZodOptional<z.ZodBoolean>;
656
+ }, z.core.$strict>>;
657
+ joins: z.ZodOptional<z.ZodArray<z.ZodObject<{
658
+ alias: z.ZodString;
659
+ ontologyId: z.ZodString;
660
+ assetType: z.ZodOptional<z.ZodString>;
661
+ joinType: z.ZodOptional<z.ZodEnum<{
662
+ inner: "inner";
663
+ left: "left";
664
+ }>>;
665
+ viaRelation: z.ZodOptional<z.ZodObject<{
666
+ columnId: z.ZodString;
667
+ direction: z.ZodEnum<{
668
+ outgoing: "outgoing";
669
+ incoming: "incoming";
670
+ }>;
671
+ }, z.core.$strict>>;
672
+ onColumn: z.ZodOptional<z.ZodObject<{
673
+ localColumnId: z.ZodString;
674
+ foreignColumnId: z.ZodOptional<z.ZodString>;
675
+ foreignAssetId: z.ZodOptional<z.ZodBoolean>;
676
+ }, z.core.$strict>>;
677
+ }, z.core.$strict>>>;
678
+ hierarchyScopes: z.ZodOptional<z.ZodArray<z.ZodObject<{
679
+ targetAlias: z.ZodOptional<z.ZodString>;
680
+ localColumnId: z.ZodOptional<z.ZodString>;
681
+ ontologyId: z.ZodString;
682
+ relationColumnId: z.ZodString;
683
+ direction: z.ZodEnum<{
684
+ outgoing: "outgoing";
685
+ incoming: "incoming";
686
+ }>;
687
+ seedIds: z.ZodArray<z.ZodString>;
688
+ maxDepth: z.ZodOptional<z.ZodNumber>;
689
+ includeSelf: z.ZodOptional<z.ZodBoolean>;
690
+ }, z.core.$strict>>>;
691
+ unwind: z.ZodOptional<z.ZodObject<{
692
+ columnId: z.ZodString;
693
+ jsonPath: z.ZodOptional<z.ZodArray<z.ZodString>>;
694
+ preserveEmpty: z.ZodOptional<z.ZodBoolean>;
695
+ }, z.core.$strict>>;
696
+ having: z.ZodOptional<z.ZodArray<z.ZodObject<{
697
+ key: z.ZodString;
698
+ op: z.ZodEnum<{
699
+ eq: "eq";
700
+ gt: "gt";
701
+ gte: "gte";
702
+ lt: "lt";
703
+ lte: "lte";
704
+ ne: "ne";
705
+ }>;
706
+ value: z.ZodNumber;
707
+ }, z.core.$strict>>>;
708
+ pagination: z.ZodOptional<z.ZodObject<{
709
+ offset: z.ZodOptional<z.ZodNumber>;
710
+ limit: z.ZodOptional<z.ZodNumber>;
711
+ includeTotalGroups: z.ZodOptional<z.ZodBoolean>;
712
+ }, z.core.$strict>>;
327
713
  }, z.core.$strict>, z.ZodObject<{
328
714
  kind: z.ZodLiteral<"graph">;
329
715
  from: z.ZodObject<{
@@ -434,6 +820,44 @@ export declare const BlockTypeSchema: z.ZodEnum<{
434
820
  "work-order-review": "work-order-review";
435
821
  "json-editor": "json-editor";
436
822
  }>;
823
+ export declare const RenderBentoOntologyRelationBindingSchema: z.ZodObject<{
824
+ kind: z.ZodLiteral<"ontology-relation">;
825
+ sourceOntologyId: z.ZodString;
826
+ sourceRecordId: z.ZodString;
827
+ direction: z.ZodOptional<z.ZodEnum<{
828
+ outgoing: "outgoing";
829
+ incoming: "incoming";
830
+ both: "both";
831
+ }>>;
832
+ columnId: z.ZodOptional<z.ZodString>;
833
+ targetOntologyIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
834
+ maxHops: z.ZodOptional<z.ZodNumber>;
835
+ includeTargetFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
836
+ pageSize: z.ZodOptional<z.ZodNumber>;
837
+ pageToken: z.ZodOptional<z.ZodString>;
838
+ }, z.core.$strict>;
839
+ export declare const RenderBentoOntologyActionBindingSchema: z.ZodObject<{
840
+ kind: z.ZodLiteral<"ontology-action">;
841
+ action: z.ZodEnum<{
842
+ insert: "insert";
843
+ update: "update";
844
+ delete: "delete";
845
+ "mutate-relation": "mutate-relation";
846
+ "workflow-call": "workflow-call";
847
+ }>;
848
+ ontologyId: z.ZodOptional<z.ZodString>;
849
+ recordId: z.ZodOptional<z.ZodString>;
850
+ workflowId: z.ZodOptional<z.ZodString>;
851
+ payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
852
+ invalidateOntologies: z.ZodOptional<z.ZodArray<z.ZodString>>;
853
+ }, z.core.$strict>;
854
+ export interface BentoActionResult {
855
+ ok: boolean;
856
+ data?: unknown;
857
+ error?: string;
858
+ invalidatedOntologies: string[];
859
+ }
860
+ export declare const BentoActionResultSchema: z.ZodType<BentoActionResult>;
437
861
  export declare const BlockDataSourceSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
438
862
  kind: z.ZodLiteral<"statement">;
439
863
  statementId: z.ZodString;
@@ -447,6 +871,35 @@ export declare const BlockDataSourceSchema: z.ZodDiscriminatedUnion<[z.ZodObject
447
871
  }, z.core.$strict>, z.ZodObject<{
448
872
  kind: z.ZodLiteral<"record.fields">;
449
873
  recordRef: z.ZodDefault<z.ZodString>;
874
+ }, z.core.$strict>, z.ZodObject<{
875
+ kind: z.ZodLiteral<"ontology-relation">;
876
+ sourceOntologyId: z.ZodString;
877
+ sourceRecordId: z.ZodString;
878
+ direction: z.ZodOptional<z.ZodEnum<{
879
+ outgoing: "outgoing";
880
+ incoming: "incoming";
881
+ both: "both";
882
+ }>>;
883
+ columnId: z.ZodOptional<z.ZodString>;
884
+ targetOntologyIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
885
+ maxHops: z.ZodOptional<z.ZodNumber>;
886
+ includeTargetFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
887
+ pageSize: z.ZodOptional<z.ZodNumber>;
888
+ pageToken: z.ZodOptional<z.ZodString>;
889
+ }, z.core.$strict>, z.ZodObject<{
890
+ kind: z.ZodLiteral<"ontology-action">;
891
+ action: z.ZodEnum<{
892
+ insert: "insert";
893
+ update: "update";
894
+ delete: "delete";
895
+ "mutate-relation": "mutate-relation";
896
+ "workflow-call": "workflow-call";
897
+ }>;
898
+ ontologyId: z.ZodOptional<z.ZodString>;
899
+ recordId: z.ZodOptional<z.ZodString>;
900
+ workflowId: z.ZodOptional<z.ZodString>;
901
+ payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>>;
902
+ invalidateOntologies: z.ZodOptional<z.ZodArray<z.ZodString>>;
450
903
  }, z.core.$strict>, z.ZodObject<{
451
904
  kind: z.ZodLiteral<"static">;
452
905
  }, z.core.$strict>], "kind">;
@@ -505,6 +958,35 @@ export declare const BlockSpecSchema: z.ZodObject<{
505
958
  }, z.core.$strict>, z.ZodObject<{
506
959
  kind: z.ZodLiteral<"record.fields">;
507
960
  recordRef: z.ZodDefault<z.ZodString>;
961
+ }, z.core.$strict>, z.ZodObject<{
962
+ kind: z.ZodLiteral<"ontology-relation">;
963
+ sourceOntologyId: z.ZodString;
964
+ sourceRecordId: z.ZodString;
965
+ direction: z.ZodOptional<z.ZodEnum<{
966
+ outgoing: "outgoing";
967
+ incoming: "incoming";
968
+ both: "both";
969
+ }>>;
970
+ columnId: z.ZodOptional<z.ZodString>;
971
+ targetOntologyIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
972
+ maxHops: z.ZodOptional<z.ZodNumber>;
973
+ includeTargetFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
974
+ pageSize: z.ZodOptional<z.ZodNumber>;
975
+ pageToken: z.ZodOptional<z.ZodString>;
976
+ }, z.core.$strict>, z.ZodObject<{
977
+ kind: z.ZodLiteral<"ontology-action">;
978
+ action: z.ZodEnum<{
979
+ insert: "insert";
980
+ update: "update";
981
+ delete: "delete";
982
+ "mutate-relation": "mutate-relation";
983
+ "workflow-call": "workflow-call";
984
+ }>;
985
+ ontologyId: z.ZodOptional<z.ZodString>;
986
+ recordId: z.ZodOptional<z.ZodString>;
987
+ workflowId: z.ZodOptional<z.ZodString>;
988
+ payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>>;
989
+ invalidateOntologies: z.ZodOptional<z.ZodArray<z.ZodString>>;
508
990
  }, z.core.$strict>, z.ZodObject<{
509
991
  kind: z.ZodLiteral<"static">;
510
992
  }, z.core.$strict>], "kind">>;
@@ -576,11 +1058,20 @@ export type BentoPlacement = z.infer<typeof BentoPlacementSchema>;
576
1058
  export type ViewSqlOrderBy = z.infer<typeof ViewSqlOrderBySchema>;
577
1059
  export type ViewSqlSelectProjection = z.infer<typeof ViewSqlSelectProjectionSchema>;
578
1060
  export type ViewSqlAggregateMetric = z.infer<typeof ViewSqlAggregateMetricSchema>;
1061
+ export type ViewSqlAggregateTimeBucket = z.infer<typeof ViewSqlAggregateTimeBucketSchema>;
1062
+ export type ViewSqlAggregateJoin = z.infer<typeof ViewSqlAggregateJoinSchema>;
1063
+ export type ViewSqlAggregateHierarchyScope = z.infer<typeof ViewSqlAggregateHierarchyScopeSchema>;
1064
+ export type ViewSqlAggregateUnwind = z.infer<typeof ViewSqlAggregateUnwindSchema>;
1065
+ export type ViewSqlAggregateHaving = z.infer<typeof ViewSqlAggregateHavingSchema>;
1066
+ export type ViewSqlAggregatePagination = z.infer<typeof ViewSqlAggregatePaginationSchema>;
1067
+ export type ViewSqlAggregateStatement = z.infer<typeof ViewSqlAggregateStatementSchema>;
579
1068
  export type ViewSqlGraphSpec = z.infer<typeof ViewSqlGraphSpecSchema>;
580
1069
  export type ViewSqlCachePolicy = z.infer<typeof ViewSqlCachePolicySchema>;
581
1070
  export type ViewSqlFromSource = z.infer<typeof ViewSqlFromSourceSchema>;
582
1071
  export type ViewSqlStatement = z.infer<typeof ViewSqlStatementSchema>;
583
1072
  export type ViewDataDeclaration = z.infer<typeof ViewDataDeclarationSchema>;
1073
+ export type RenderBentoOntologyRelationBinding = z.infer<typeof RenderBentoOntologyRelationBindingSchema>;
1074
+ export type RenderBentoOntologyActionBinding = z.infer<typeof RenderBentoOntologyActionBindingSchema>;
584
1075
  export interface BentoContainerNode {
585
1076
  id: string;
586
1077
  kind: 'container';
@@ -1 +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;AAElB,eAAO,MAAM,kBAAkB,IAAc,CAAC;AAC9C,eAAO,MAAM,gBAAgB,GAAa,CAAC;AAC3C,eAAO,MAAM,gBAAgB,GAAa,CAAC;AAC3C,eAAO,MAAM,mBAAmB,KAAe,CAAC;AAEhD,MAAM,MAAM,YAAY,GACpB;IACE,EAAE,EAAE,KAAK,GAAG,IAAI,GAAG,KAAK,CAAC;IACzB,OAAO,EAAE,YAAY,EAAE,CAAC;CACzB,GACD;IACE,EAAE,EAAE,OAAO,CAAC;IACZ,KAAK,EACD,IAAI,GACJ,MAAM,GACN,QAAQ,GACR,WAAW,GACX,eAAe,GACf,YAAY,GACZ,QAAQ,CAAC;IACb,GAAG,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,UAAU,GAAG,cAAc,CAAC;IAChD,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;CAC1B,GACD;IACE,EAAE,EAAE,UAAU,CAAC;IACf,KAAK,EAAE,MAAM,EAA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