@inf-monkeys-tech/monkeys 1.1.66 → 1.1.68
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/bento-block.d.ts +115 -43
- package/lib/contracts/bento-block.d.ts.map +1 -1
- package/lib/contracts/bento-block.js +44 -10
- package/lib/contracts/bento-block.js.map +1 -1
- package/lib/contracts/declarative-control-http.d.ts +2187 -282
- package/lib/contracts/declarative-control-http.d.ts.map +1 -1
- package/lib/contracts/declarative-control.d.ts +261 -21
- package/lib/contracts/declarative-control.d.ts.map +1 -1
- package/lib/contracts/declarative-control.js +5 -0
- package/lib/contracts/declarative-control.js.map +1 -1
- package/lib/contracts/declarative-document-import.d.ts +1170 -0
- package/lib/contracts/declarative-document-import.d.ts.map +1 -1
- package/lib/contracts/declarative-publication-job.d.ts +72 -64
- package/lib/contracts/declarative-publication-job.d.ts.map +1 -1
- package/lib/contracts/render.d.ts +13 -12
- package/lib/contracts/render.d.ts.map +1 -1
- package/lib/contracts/render.js +2 -1
- package/lib/contracts/render.js.map +1 -1
- package/lib/contracts/tenant.d.ts +0 -12
- package/lib/contracts/tenant.d.ts.map +1 -1
- package/lib/contracts/tenant.js +0 -1
- package/lib/contracts/tenant.js.map +1 -1
- package/lib/contracts/unified-view.d.ts +11 -10
- package/lib/contracts/unified-view.d.ts.map +1 -1
- package/lib/esm/{chunk-ULDFLNAS.mjs → chunk-26ZNN7FU.mjs} +8 -4
- package/lib/esm/chunk-26ZNN7FU.mjs.map +1 -0
- package/lib/esm/{chunk-5QMVFOWH.mjs → chunk-5LZVSAPW.mjs} +41 -11
- package/lib/esm/chunk-5LZVSAPW.mjs.map +1 -0
- package/lib/esm/{chunk-MLFKEJNG.mjs → chunk-GN3YEDS2.mjs} +2 -2
- package/lib/esm/{chunk-GV2AOCR7.mjs → chunk-THLZL353.mjs} +2 -2
- package/lib/esm/{chunk-GV2AOCR7.mjs.map → chunk-THLZL353.mjs.map} +1 -1
- package/lib/esm/contracts/index.mjs +4 -2
- package/lib/esm/index.mjs +6 -4
- package/lib/esm/index.mjs.map +1 -1
- package/lib/esm/runtime/index.mjs +3 -3
- package/lib/esm/schemas/index.mjs +4 -2
- package/lib/json-schema/bento-node.schema.json +131 -17
- package/lib/json-schema/overlay-node.schema.json +131 -17
- package/lib/json-schema/page-runtime-bundle.schema.json +142 -27
- package/lib/json-schema/page.schema.json +4302 -1921
- package/lib/json-schema/render-node.schema.json +131 -17
- package/lib/json-schema/render-tree.schema.json +142 -27
- package/lib/json-schema/tenant-product-config.schema.json +0 -7
- package/lib/json-schema/tenant-runtime-config.schema.json +0 -7
- package/lib/json-schema/view-ontology-record.schema.json +142 -27
- package/lib/runtime/declarative-control-compiler.d.ts.map +1 -1
- package/lib/runtime/declarative-control-compiler.js +4 -0
- package/lib/runtime/declarative-control-compiler.js.map +1 -1
- package/lib/runtime/runtime-definition-wire.d.ts +36 -32
- package/lib/runtime/runtime-definition-wire.d.ts.map +1 -1
- package/lib/schemas/index.d.ts +257 -29
- package/lib/schemas/index.d.ts.map +1 -1
- package/lib/schemas/index.js +3 -2
- package/lib/schemas/index.js.map +1 -1
- package/package.json +2 -2
- package/test/fixtures/tenant-product-config.public.json +0 -1
- package/lib/esm/chunk-5QMVFOWH.mjs.map +0 -1
- package/lib/esm/chunk-ULDFLNAS.mjs.map +0 -1
- /package/lib/esm/{chunk-MLFKEJNG.mjs.map → chunk-GN3YEDS2.mjs.map} +0 -0
|
@@ -90,8 +90,8 @@ export declare const ViewSqlAggregateMetricSchema: z.ZodObject<{
|
|
|
90
90
|
filter: z.ZodOptional<z.ZodType<ViewSqlWhere, unknown, z.core.$ZodTypeInternals<ViewSqlWhere, unknown>>>;
|
|
91
91
|
}, z.core.$strict>;
|
|
92
92
|
export declare const ViewSqlAggregateTimeBucketSchema: z.ZodObject<{
|
|
93
|
-
column: z.ZodString
|
|
94
|
-
|
|
93
|
+
column: z.ZodOptional<z.ZodString>;
|
|
94
|
+
unit: z.ZodEnum<{
|
|
95
95
|
hour: "hour";
|
|
96
96
|
day: "day";
|
|
97
97
|
week: "week";
|
|
@@ -99,7 +99,7 @@ export declare const ViewSqlAggregateTimeBucketSchema: z.ZodObject<{
|
|
|
99
99
|
quarter: "quarter";
|
|
100
100
|
year: "year";
|
|
101
101
|
}>;
|
|
102
|
-
|
|
102
|
+
timeZone: z.ZodOptional<z.ZodString>;
|
|
103
103
|
fillGaps: z.ZodOptional<z.ZodBoolean>;
|
|
104
104
|
}, z.core.$strict>;
|
|
105
105
|
export declare const ViewSqlAggregateJoinSchema: z.ZodObject<{
|
|
@@ -112,10 +112,10 @@ export declare const ViewSqlAggregateJoinSchema: z.ZodObject<{
|
|
|
112
112
|
}>>;
|
|
113
113
|
viaRelation: z.ZodOptional<z.ZodObject<{
|
|
114
114
|
columnId: z.ZodString;
|
|
115
|
-
direction: z.ZodEnum<{
|
|
115
|
+
direction: z.ZodOptional<z.ZodEnum<{
|
|
116
116
|
outgoing: "outgoing";
|
|
117
117
|
incoming: "incoming";
|
|
118
|
-
}
|
|
118
|
+
}>>;
|
|
119
119
|
}, z.core.$strict>>;
|
|
120
120
|
onColumn: z.ZodOptional<z.ZodObject<{
|
|
121
121
|
localColumnId: z.ZodString;
|
|
@@ -126,18 +126,19 @@ export declare const ViewSqlAggregateJoinSchema: z.ZodObject<{
|
|
|
126
126
|
export declare const ViewSqlAggregateHierarchyScopeSchema: z.ZodObject<{
|
|
127
127
|
targetAlias: z.ZodOptional<z.ZodString>;
|
|
128
128
|
localColumnId: z.ZodOptional<z.ZodString>;
|
|
129
|
-
ontologyId: z.ZodString
|
|
129
|
+
ontologyId: z.ZodOptional<z.ZodString>;
|
|
130
130
|
relationColumnId: z.ZodString;
|
|
131
|
-
direction: z.ZodEnum<{
|
|
131
|
+
direction: z.ZodOptional<z.ZodEnum<{
|
|
132
132
|
outgoing: "outgoing";
|
|
133
133
|
incoming: "incoming";
|
|
134
|
-
}
|
|
134
|
+
}>>;
|
|
135
135
|
seedIds: z.ZodArray<z.ZodString>;
|
|
136
136
|
maxDepth: z.ZodOptional<z.ZodNumber>;
|
|
137
137
|
includeSelf: z.ZodOptional<z.ZodBoolean>;
|
|
138
138
|
}, z.core.$strict>;
|
|
139
139
|
export declare const ViewSqlAggregateUnwindSchema: z.ZodObject<{
|
|
140
140
|
columnId: z.ZodString;
|
|
141
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
141
142
|
jsonPath: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
142
143
|
preserveEmpty: z.ZodOptional<z.ZodBoolean>;
|
|
143
144
|
}, z.core.$strict>;
|
|
@@ -145,18 +146,18 @@ export declare const ViewSqlAggregateHavingSchema: z.ZodObject<{
|
|
|
145
146
|
key: z.ZodString;
|
|
146
147
|
op: z.ZodEnum<{
|
|
147
148
|
eq: "eq";
|
|
149
|
+
neq: "neq";
|
|
148
150
|
gt: "gt";
|
|
149
151
|
gte: "gte";
|
|
150
152
|
lt: "lt";
|
|
151
153
|
lte: "lte";
|
|
152
|
-
ne: "ne";
|
|
153
154
|
}>;
|
|
154
155
|
value: z.ZodNumber;
|
|
155
156
|
}, z.core.$strict>;
|
|
156
157
|
export declare const ViewSqlAggregatePaginationSchema: z.ZodObject<{
|
|
157
158
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
158
159
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
159
|
-
|
|
160
|
+
withGroupTotal: z.ZodOptional<z.ZodBoolean>;
|
|
160
161
|
}, z.core.$strict>;
|
|
161
162
|
export declare const ViewSqlGraphSpecSchema: z.ZodObject<{
|
|
162
163
|
graphKind: z.ZodEnum<{
|
|
@@ -253,8 +254,8 @@ export declare const ViewSqlAggregateStatementSchema: z.ZodObject<{
|
|
|
253
254
|
exact: z.ZodOptional<z.ZodBoolean>;
|
|
254
255
|
includeTotals: z.ZodOptional<z.ZodBoolean>;
|
|
255
256
|
timeBucket: z.ZodOptional<z.ZodObject<{
|
|
256
|
-
column: z.ZodString
|
|
257
|
-
|
|
257
|
+
column: z.ZodOptional<z.ZodString>;
|
|
258
|
+
unit: z.ZodEnum<{
|
|
258
259
|
hour: "hour";
|
|
259
260
|
day: "day";
|
|
260
261
|
week: "week";
|
|
@@ -262,7 +263,7 @@ export declare const ViewSqlAggregateStatementSchema: z.ZodObject<{
|
|
|
262
263
|
quarter: "quarter";
|
|
263
264
|
year: "year";
|
|
264
265
|
}>;
|
|
265
|
-
|
|
266
|
+
timeZone: z.ZodOptional<z.ZodString>;
|
|
266
267
|
fillGaps: z.ZodOptional<z.ZodBoolean>;
|
|
267
268
|
}, z.core.$strict>>;
|
|
268
269
|
joins: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -275,10 +276,10 @@ export declare const ViewSqlAggregateStatementSchema: z.ZodObject<{
|
|
|
275
276
|
}>>;
|
|
276
277
|
viaRelation: z.ZodOptional<z.ZodObject<{
|
|
277
278
|
columnId: z.ZodString;
|
|
278
|
-
direction: z.ZodEnum<{
|
|
279
|
+
direction: z.ZodOptional<z.ZodEnum<{
|
|
279
280
|
outgoing: "outgoing";
|
|
280
281
|
incoming: "incoming";
|
|
281
|
-
}
|
|
282
|
+
}>>;
|
|
282
283
|
}, z.core.$strict>>;
|
|
283
284
|
onColumn: z.ZodOptional<z.ZodObject<{
|
|
284
285
|
localColumnId: z.ZodString;
|
|
@@ -289,18 +290,19 @@ export declare const ViewSqlAggregateStatementSchema: z.ZodObject<{
|
|
|
289
290
|
hierarchyScopes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
290
291
|
targetAlias: z.ZodOptional<z.ZodString>;
|
|
291
292
|
localColumnId: z.ZodOptional<z.ZodString>;
|
|
292
|
-
ontologyId: z.ZodString
|
|
293
|
+
ontologyId: z.ZodOptional<z.ZodString>;
|
|
293
294
|
relationColumnId: z.ZodString;
|
|
294
|
-
direction: z.ZodEnum<{
|
|
295
|
+
direction: z.ZodOptional<z.ZodEnum<{
|
|
295
296
|
outgoing: "outgoing";
|
|
296
297
|
incoming: "incoming";
|
|
297
|
-
}
|
|
298
|
+
}>>;
|
|
298
299
|
seedIds: z.ZodArray<z.ZodString>;
|
|
299
300
|
maxDepth: z.ZodOptional<z.ZodNumber>;
|
|
300
301
|
includeSelf: z.ZodOptional<z.ZodBoolean>;
|
|
301
302
|
}, z.core.$strict>>>;
|
|
302
303
|
unwind: z.ZodOptional<z.ZodObject<{
|
|
303
304
|
columnId: z.ZodString;
|
|
305
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
304
306
|
jsonPath: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
305
307
|
preserveEmpty: z.ZodOptional<z.ZodBoolean>;
|
|
306
308
|
}, z.core.$strict>>;
|
|
@@ -308,18 +310,18 @@ export declare const ViewSqlAggregateStatementSchema: z.ZodObject<{
|
|
|
308
310
|
key: z.ZodString;
|
|
309
311
|
op: z.ZodEnum<{
|
|
310
312
|
eq: "eq";
|
|
313
|
+
neq: "neq";
|
|
311
314
|
gt: "gt";
|
|
312
315
|
gte: "gte";
|
|
313
316
|
lt: "lt";
|
|
314
317
|
lte: "lte";
|
|
315
|
-
ne: "ne";
|
|
316
318
|
}>;
|
|
317
319
|
value: z.ZodNumber;
|
|
318
320
|
}, z.core.$strict>>>;
|
|
319
321
|
pagination: z.ZodOptional<z.ZodObject<{
|
|
320
322
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
321
323
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
322
|
-
|
|
324
|
+
withGroupTotal: z.ZodOptional<z.ZodBoolean>;
|
|
323
325
|
}, z.core.$strict>>;
|
|
324
326
|
}, z.core.$strict>;
|
|
325
327
|
export declare const ViewSqlStatementSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -420,8 +422,8 @@ export declare const ViewSqlStatementSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
420
422
|
exact: z.ZodOptional<z.ZodBoolean>;
|
|
421
423
|
includeTotals: z.ZodOptional<z.ZodBoolean>;
|
|
422
424
|
timeBucket: z.ZodOptional<z.ZodObject<{
|
|
423
|
-
column: z.ZodString
|
|
424
|
-
|
|
425
|
+
column: z.ZodOptional<z.ZodString>;
|
|
426
|
+
unit: z.ZodEnum<{
|
|
425
427
|
hour: "hour";
|
|
426
428
|
day: "day";
|
|
427
429
|
week: "week";
|
|
@@ -429,7 +431,7 @@ export declare const ViewSqlStatementSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
429
431
|
quarter: "quarter";
|
|
430
432
|
year: "year";
|
|
431
433
|
}>;
|
|
432
|
-
|
|
434
|
+
timeZone: z.ZodOptional<z.ZodString>;
|
|
433
435
|
fillGaps: z.ZodOptional<z.ZodBoolean>;
|
|
434
436
|
}, z.core.$strict>>;
|
|
435
437
|
joins: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -442,10 +444,10 @@ export declare const ViewSqlStatementSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
442
444
|
}>>;
|
|
443
445
|
viaRelation: z.ZodOptional<z.ZodObject<{
|
|
444
446
|
columnId: z.ZodString;
|
|
445
|
-
direction: z.ZodEnum<{
|
|
447
|
+
direction: z.ZodOptional<z.ZodEnum<{
|
|
446
448
|
outgoing: "outgoing";
|
|
447
449
|
incoming: "incoming";
|
|
448
|
-
}
|
|
450
|
+
}>>;
|
|
449
451
|
}, z.core.$strict>>;
|
|
450
452
|
onColumn: z.ZodOptional<z.ZodObject<{
|
|
451
453
|
localColumnId: z.ZodString;
|
|
@@ -456,18 +458,19 @@ export declare const ViewSqlStatementSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
456
458
|
hierarchyScopes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
457
459
|
targetAlias: z.ZodOptional<z.ZodString>;
|
|
458
460
|
localColumnId: z.ZodOptional<z.ZodString>;
|
|
459
|
-
ontologyId: z.ZodString
|
|
461
|
+
ontologyId: z.ZodOptional<z.ZodString>;
|
|
460
462
|
relationColumnId: z.ZodString;
|
|
461
|
-
direction: z.ZodEnum<{
|
|
463
|
+
direction: z.ZodOptional<z.ZodEnum<{
|
|
462
464
|
outgoing: "outgoing";
|
|
463
465
|
incoming: "incoming";
|
|
464
|
-
}
|
|
466
|
+
}>>;
|
|
465
467
|
seedIds: z.ZodArray<z.ZodString>;
|
|
466
468
|
maxDepth: z.ZodOptional<z.ZodNumber>;
|
|
467
469
|
includeSelf: z.ZodOptional<z.ZodBoolean>;
|
|
468
470
|
}, z.core.$strict>>>;
|
|
469
471
|
unwind: z.ZodOptional<z.ZodObject<{
|
|
470
472
|
columnId: z.ZodString;
|
|
473
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
471
474
|
jsonPath: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
472
475
|
preserveEmpty: z.ZodOptional<z.ZodBoolean>;
|
|
473
476
|
}, z.core.$strict>>;
|
|
@@ -475,18 +478,18 @@ export declare const ViewSqlStatementSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
475
478
|
key: z.ZodString;
|
|
476
479
|
op: z.ZodEnum<{
|
|
477
480
|
eq: "eq";
|
|
481
|
+
neq: "neq";
|
|
478
482
|
gt: "gt";
|
|
479
483
|
gte: "gte";
|
|
480
484
|
lt: "lt";
|
|
481
485
|
lte: "lte";
|
|
482
|
-
ne: "ne";
|
|
483
486
|
}>;
|
|
484
487
|
value: z.ZodNumber;
|
|
485
488
|
}, z.core.$strict>>>;
|
|
486
489
|
pagination: z.ZodOptional<z.ZodObject<{
|
|
487
490
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
488
491
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
489
|
-
|
|
492
|
+
withGroupTotal: z.ZodOptional<z.ZodBoolean>;
|
|
490
493
|
}, z.core.$strict>>;
|
|
491
494
|
}, z.core.$strict>, z.ZodObject<{
|
|
492
495
|
kind: z.ZodLiteral<"graph">;
|
|
@@ -642,8 +645,8 @@ export declare const ViewDataDeclarationSchema: z.ZodObject<{
|
|
|
642
645
|
exact: z.ZodOptional<z.ZodBoolean>;
|
|
643
646
|
includeTotals: z.ZodOptional<z.ZodBoolean>;
|
|
644
647
|
timeBucket: z.ZodOptional<z.ZodObject<{
|
|
645
|
-
column: z.ZodString
|
|
646
|
-
|
|
648
|
+
column: z.ZodOptional<z.ZodString>;
|
|
649
|
+
unit: z.ZodEnum<{
|
|
647
650
|
hour: "hour";
|
|
648
651
|
day: "day";
|
|
649
652
|
week: "week";
|
|
@@ -651,7 +654,7 @@ export declare const ViewDataDeclarationSchema: z.ZodObject<{
|
|
|
651
654
|
quarter: "quarter";
|
|
652
655
|
year: "year";
|
|
653
656
|
}>;
|
|
654
|
-
|
|
657
|
+
timeZone: z.ZodOptional<z.ZodString>;
|
|
655
658
|
fillGaps: z.ZodOptional<z.ZodBoolean>;
|
|
656
659
|
}, z.core.$strict>>;
|
|
657
660
|
joins: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -664,10 +667,10 @@ export declare const ViewDataDeclarationSchema: z.ZodObject<{
|
|
|
664
667
|
}>>;
|
|
665
668
|
viaRelation: z.ZodOptional<z.ZodObject<{
|
|
666
669
|
columnId: z.ZodString;
|
|
667
|
-
direction: z.ZodEnum<{
|
|
670
|
+
direction: z.ZodOptional<z.ZodEnum<{
|
|
668
671
|
outgoing: "outgoing";
|
|
669
672
|
incoming: "incoming";
|
|
670
|
-
}
|
|
673
|
+
}>>;
|
|
671
674
|
}, z.core.$strict>>;
|
|
672
675
|
onColumn: z.ZodOptional<z.ZodObject<{
|
|
673
676
|
localColumnId: z.ZodString;
|
|
@@ -678,18 +681,19 @@ export declare const ViewDataDeclarationSchema: z.ZodObject<{
|
|
|
678
681
|
hierarchyScopes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
679
682
|
targetAlias: z.ZodOptional<z.ZodString>;
|
|
680
683
|
localColumnId: z.ZodOptional<z.ZodString>;
|
|
681
|
-
ontologyId: z.ZodString
|
|
684
|
+
ontologyId: z.ZodOptional<z.ZodString>;
|
|
682
685
|
relationColumnId: z.ZodString;
|
|
683
|
-
direction: z.ZodEnum<{
|
|
686
|
+
direction: z.ZodOptional<z.ZodEnum<{
|
|
684
687
|
outgoing: "outgoing";
|
|
685
688
|
incoming: "incoming";
|
|
686
|
-
}
|
|
689
|
+
}>>;
|
|
687
690
|
seedIds: z.ZodArray<z.ZodString>;
|
|
688
691
|
maxDepth: z.ZodOptional<z.ZodNumber>;
|
|
689
692
|
includeSelf: z.ZodOptional<z.ZodBoolean>;
|
|
690
693
|
}, z.core.$strict>>>;
|
|
691
694
|
unwind: z.ZodOptional<z.ZodObject<{
|
|
692
695
|
columnId: z.ZodString;
|
|
696
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
693
697
|
jsonPath: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
694
698
|
preserveEmpty: z.ZodOptional<z.ZodBoolean>;
|
|
695
699
|
}, z.core.$strict>>;
|
|
@@ -697,18 +701,18 @@ export declare const ViewDataDeclarationSchema: z.ZodObject<{
|
|
|
697
701
|
key: z.ZodString;
|
|
698
702
|
op: z.ZodEnum<{
|
|
699
703
|
eq: "eq";
|
|
704
|
+
neq: "neq";
|
|
700
705
|
gt: "gt";
|
|
701
706
|
gte: "gte";
|
|
702
707
|
lt: "lt";
|
|
703
708
|
lte: "lte";
|
|
704
|
-
ne: "ne";
|
|
705
709
|
}>;
|
|
706
710
|
value: z.ZodNumber;
|
|
707
711
|
}, z.core.$strict>>>;
|
|
708
712
|
pagination: z.ZodOptional<z.ZodObject<{
|
|
709
713
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
710
714
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
711
|
-
|
|
715
|
+
withGroupTotal: z.ZodOptional<z.ZodBoolean>;
|
|
712
716
|
}, z.core.$strict>>;
|
|
713
717
|
}, z.core.$strict>, z.ZodObject<{
|
|
714
718
|
kind: z.ZodLiteral<"graph">;
|
|
@@ -820,6 +824,10 @@ export declare const BlockTypeSchema: z.ZodEnum<{
|
|
|
820
824
|
"work-order-review": "work-order-review";
|
|
821
825
|
"json-editor": "json-editor";
|
|
822
826
|
}>;
|
|
827
|
+
export declare const BentoRelationTargetRefSchema: z.ZodObject<{
|
|
828
|
+
assetId: z.ZodString;
|
|
829
|
+
ontologyId: z.ZodOptional<z.ZodString>;
|
|
830
|
+
}, z.core.$strict>;
|
|
823
831
|
export declare const RenderBentoOntologyRelationBindingSchema: z.ZodObject<{
|
|
824
832
|
kind: z.ZodLiteral<"ontology-relation">;
|
|
825
833
|
sourceOntologyId: z.ZodString;
|
|
@@ -830,9 +838,10 @@ export declare const RenderBentoOntologyRelationBindingSchema: z.ZodObject<{
|
|
|
830
838
|
both: "both";
|
|
831
839
|
}>>;
|
|
832
840
|
columnId: z.ZodOptional<z.ZodString>;
|
|
841
|
+
fieldKey: z.ZodOptional<z.ZodString>;
|
|
833
842
|
targetOntologyIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
834
843
|
maxHops: z.ZodOptional<z.ZodNumber>;
|
|
835
|
-
includeTargetFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
844
|
+
includeTargetFields: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodArray<z.ZodString>]>>;
|
|
836
845
|
pageSize: z.ZodOptional<z.ZodNumber>;
|
|
837
846
|
pageToken: z.ZodOptional<z.ZodString>;
|
|
838
847
|
}, z.core.$strict>;
|
|
@@ -849,6 +858,26 @@ export declare const RenderBentoOntologyActionBindingSchema: z.ZodObject<{
|
|
|
849
858
|
recordId: z.ZodOptional<z.ZodString>;
|
|
850
859
|
workflowId: z.ZodOptional<z.ZodString>;
|
|
851
860
|
payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
861
|
+
columnId: z.ZodOptional<z.ZodString>;
|
|
862
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
863
|
+
replace: "replace";
|
|
864
|
+
patch: "patch";
|
|
865
|
+
"set-types": "set-types";
|
|
866
|
+
}>>;
|
|
867
|
+
targets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
868
|
+
assetId: z.ZodString;
|
|
869
|
+
ontologyId: z.ZodOptional<z.ZodString>;
|
|
870
|
+
}, z.core.$strict>>>;
|
|
871
|
+
addTargets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
872
|
+
assetId: z.ZodString;
|
|
873
|
+
ontologyId: z.ZodOptional<z.ZodString>;
|
|
874
|
+
}, z.core.$strict>>>;
|
|
875
|
+
removeTargets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
876
|
+
assetId: z.ZodString;
|
|
877
|
+
ontologyId: z.ZodOptional<z.ZodString>;
|
|
878
|
+
}, z.core.$strict>>>;
|
|
879
|
+
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
880
|
+
expectedRevision: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
852
881
|
invalidateOntologies: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
853
882
|
}, z.core.$strict>;
|
|
854
883
|
export interface BentoActionResult {
|
|
@@ -881,9 +910,10 @@ export declare const BlockDataSourceSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
881
910
|
both: "both";
|
|
882
911
|
}>>;
|
|
883
912
|
columnId: z.ZodOptional<z.ZodString>;
|
|
913
|
+
fieldKey: z.ZodOptional<z.ZodString>;
|
|
884
914
|
targetOntologyIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
885
915
|
maxHops: z.ZodOptional<z.ZodNumber>;
|
|
886
|
-
includeTargetFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
916
|
+
includeTargetFields: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodArray<z.ZodString>]>>;
|
|
887
917
|
pageSize: z.ZodOptional<z.ZodNumber>;
|
|
888
918
|
pageToken: z.ZodOptional<z.ZodString>;
|
|
889
919
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -899,6 +929,26 @@ export declare const BlockDataSourceSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
899
929
|
recordId: z.ZodOptional<z.ZodString>;
|
|
900
930
|
workflowId: z.ZodOptional<z.ZodString>;
|
|
901
931
|
payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>>;
|
|
932
|
+
columnId: z.ZodOptional<z.ZodString>;
|
|
933
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
934
|
+
replace: "replace";
|
|
935
|
+
patch: "patch";
|
|
936
|
+
"set-types": "set-types";
|
|
937
|
+
}>>;
|
|
938
|
+
targets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
939
|
+
assetId: z.ZodString;
|
|
940
|
+
ontologyId: z.ZodOptional<z.ZodString>;
|
|
941
|
+
}, z.core.$strict>>>;
|
|
942
|
+
addTargets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
943
|
+
assetId: z.ZodString;
|
|
944
|
+
ontologyId: z.ZodOptional<z.ZodString>;
|
|
945
|
+
}, z.core.$strict>>>;
|
|
946
|
+
removeTargets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
947
|
+
assetId: z.ZodString;
|
|
948
|
+
ontologyId: z.ZodOptional<z.ZodString>;
|
|
949
|
+
}, z.core.$strict>>>;
|
|
950
|
+
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
951
|
+
expectedRevision: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
902
952
|
invalidateOntologies: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
903
953
|
}, z.core.$strict>, z.ZodObject<{
|
|
904
954
|
kind: z.ZodLiteral<"static">;
|
|
@@ -968,9 +1018,10 @@ export declare const BlockSpecSchema: z.ZodObject<{
|
|
|
968
1018
|
both: "both";
|
|
969
1019
|
}>>;
|
|
970
1020
|
columnId: z.ZodOptional<z.ZodString>;
|
|
1021
|
+
fieldKey: z.ZodOptional<z.ZodString>;
|
|
971
1022
|
targetOntologyIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
972
1023
|
maxHops: z.ZodOptional<z.ZodNumber>;
|
|
973
|
-
includeTargetFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1024
|
+
includeTargetFields: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodArray<z.ZodString>]>>;
|
|
974
1025
|
pageSize: z.ZodOptional<z.ZodNumber>;
|
|
975
1026
|
pageToken: z.ZodOptional<z.ZodString>;
|
|
976
1027
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -986,6 +1037,26 @@ export declare const BlockSpecSchema: z.ZodObject<{
|
|
|
986
1037
|
recordId: z.ZodOptional<z.ZodString>;
|
|
987
1038
|
workflowId: z.ZodOptional<z.ZodString>;
|
|
988
1039
|
payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>>;
|
|
1040
|
+
columnId: z.ZodOptional<z.ZodString>;
|
|
1041
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
1042
|
+
replace: "replace";
|
|
1043
|
+
patch: "patch";
|
|
1044
|
+
"set-types": "set-types";
|
|
1045
|
+
}>>;
|
|
1046
|
+
targets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1047
|
+
assetId: z.ZodString;
|
|
1048
|
+
ontologyId: z.ZodOptional<z.ZodString>;
|
|
1049
|
+
}, z.core.$strict>>>;
|
|
1050
|
+
addTargets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1051
|
+
assetId: z.ZodString;
|
|
1052
|
+
ontologyId: z.ZodOptional<z.ZodString>;
|
|
1053
|
+
}, z.core.$strict>>>;
|
|
1054
|
+
removeTargets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1055
|
+
assetId: z.ZodString;
|
|
1056
|
+
ontologyId: z.ZodOptional<z.ZodString>;
|
|
1057
|
+
}, z.core.$strict>>>;
|
|
1058
|
+
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
1059
|
+
expectedRevision: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
989
1060
|
invalidateOntologies: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
990
1061
|
}, z.core.$strict>, z.ZodObject<{
|
|
991
1062
|
kind: z.ZodLiteral<"static">;
|
|
@@ -1070,6 +1141,7 @@ export type ViewSqlCachePolicy = z.infer<typeof ViewSqlCachePolicySchema>;
|
|
|
1070
1141
|
export type ViewSqlFromSource = z.infer<typeof ViewSqlFromSourceSchema>;
|
|
1071
1142
|
export type ViewSqlStatement = z.infer<typeof ViewSqlStatementSchema>;
|
|
1072
1143
|
export type ViewDataDeclaration = z.infer<typeof ViewDataDeclarationSchema>;
|
|
1144
|
+
export type BentoRelationTargetRef = z.infer<typeof BentoRelationTargetRefSchema>;
|
|
1073
1145
|
export type RenderBentoOntologyRelationBinding = z.infer<typeof RenderBentoOntologyRelationBindingSchema>;
|
|
1074
1146
|
export type RenderBentoOntologyActionBinding = z.infer<typeof RenderBentoOntologyActionBindingSchema>;
|
|
1075
1147
|
export interface BentoContainerNode {
|
|
@@ -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,I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,CAAC,IAAI,EAAE,SAAS,GAAG,SAAS,CAG9D"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getPrimaryBlockType = exports.collectBentoLeafNodes = exports.validateBentoTree = exports.BentoNodeSchema = exports.BentoChromeSchema = exports.BentoPlacementSchema = exports.BentoTabPlacementSchema = exports.BentoSplitPlacementSchema = exports.BentoGridRectSchema = exports.BentoWiringRuleSchema = exports.BlockSpecSchema = exports.BlockDataSourceSchema = exports.BentoActionResultSchema = exports.RenderBentoOntologyActionBindingSchema = exports.RenderBentoOntologyRelationBindingSchema = exports.BlockTypeSchema = exports.ViewDataDeclarationSchema = exports.ViewSqlStatementSchema = exports.ViewSqlAggregateStatementSchema = exports.ViewSqlFromSourceSchema = exports.ViewSqlCachePolicySchema = exports.ViewSqlGraphSpecSchema = exports.ViewSqlAggregatePaginationSchema = exports.ViewSqlAggregateHavingSchema = exports.ViewSqlAggregateUnwindSchema = exports.ViewSqlAggregateHierarchyScopeSchema = exports.ViewSqlAggregateJoinSchema = exports.ViewSqlAggregateTimeBucketSchema = exports.ViewSqlAggregateMetricSchema = exports.ViewSqlSelectProjectionSchema = exports.ViewSqlOrderBySchema = exports.ViewSqlFilterNodeSchema = exports.ViewSqlWhereSchema = exports.BENTO_GRID_MAX_ROWS = exports.BENTO_GRID_MIN_H = exports.BENTO_GRID_MIN_W = exports.BENTO_GRID_COLUMNS = void 0;
|
|
3
|
+
exports.getPrimaryBlockType = exports.collectBentoLeafNodes = exports.validateBentoTree = exports.BentoNodeSchema = exports.BentoChromeSchema = exports.BentoPlacementSchema = exports.BentoTabPlacementSchema = exports.BentoSplitPlacementSchema = exports.BentoGridRectSchema = exports.BentoWiringRuleSchema = exports.BlockSpecSchema = exports.BlockDataSourceSchema = exports.BentoActionResultSchema = exports.RenderBentoOntologyActionBindingSchema = exports.RenderBentoOntologyRelationBindingSchema = exports.BentoRelationTargetRefSchema = exports.BlockTypeSchema = exports.ViewDataDeclarationSchema = exports.ViewSqlStatementSchema = exports.ViewSqlAggregateStatementSchema = exports.ViewSqlFromSourceSchema = exports.ViewSqlCachePolicySchema = exports.ViewSqlGraphSpecSchema = exports.ViewSqlAggregatePaginationSchema = exports.ViewSqlAggregateHavingSchema = exports.ViewSqlAggregateUnwindSchema = exports.ViewSqlAggregateHierarchyScopeSchema = exports.ViewSqlAggregateJoinSchema = exports.ViewSqlAggregateTimeBucketSchema = exports.ViewSqlAggregateMetricSchema = exports.ViewSqlSelectProjectionSchema = exports.ViewSqlOrderBySchema = exports.ViewSqlFilterNodeSchema = exports.ViewSqlWhereSchema = exports.BENTO_GRID_MAX_ROWS = exports.BENTO_GRID_MIN_H = exports.BENTO_GRID_MIN_W = exports.BENTO_GRID_COLUMNS = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const common_1 = require("./common");
|
|
6
6
|
exports.BENTO_GRID_COLUMNS = 24;
|
|
@@ -144,9 +144,9 @@ exports.ViewSqlAggregateMetricSchema = zod_1.z
|
|
|
144
144
|
.strict();
|
|
145
145
|
exports.ViewSqlAggregateTimeBucketSchema = zod_1.z
|
|
146
146
|
.object({
|
|
147
|
-
column: common_1.ContractIdentifierSchema,
|
|
148
|
-
|
|
149
|
-
|
|
147
|
+
column: common_1.ContractIdentifierSchema.optional(),
|
|
148
|
+
unit: zod_1.z.enum(['hour', 'day', 'week', 'month', 'quarter', 'year']),
|
|
149
|
+
timeZone: zod_1.z.string().trim().min(1).max(128).optional(),
|
|
150
150
|
fillGaps: zod_1.z.boolean().optional(),
|
|
151
151
|
})
|
|
152
152
|
.strict();
|
|
@@ -159,7 +159,7 @@ exports.ViewSqlAggregateJoinSchema = zod_1.z
|
|
|
159
159
|
viaRelation: zod_1.z
|
|
160
160
|
.object({
|
|
161
161
|
columnId: common_1.ContractIdentifierSchema,
|
|
162
|
-
direction: zod_1.z.enum(['outgoing', 'incoming']),
|
|
162
|
+
direction: zod_1.z.enum(['outgoing', 'incoming']).optional(),
|
|
163
163
|
})
|
|
164
164
|
.strict()
|
|
165
165
|
.optional(),
|
|
@@ -177,9 +177,9 @@ exports.ViewSqlAggregateHierarchyScopeSchema = zod_1.z
|
|
|
177
177
|
.object({
|
|
178
178
|
targetAlias: common_1.ContractIdentifierSchema.optional(),
|
|
179
179
|
localColumnId: common_1.ContractIdentifierSchema.optional(),
|
|
180
|
-
ontologyId: common_1.ContractIdentifierSchema,
|
|
180
|
+
ontologyId: common_1.ContractIdentifierSchema.optional(),
|
|
181
181
|
relationColumnId: common_1.ContractIdentifierSchema,
|
|
182
|
-
direction: zod_1.z.enum(['incoming', 'outgoing']),
|
|
182
|
+
direction: zod_1.z.enum(['incoming', 'outgoing']).optional(),
|
|
183
183
|
seedIds: zod_1.z.array(common_1.ContractIdentifierSchema).max(500),
|
|
184
184
|
maxDepth: zod_1.z.number().int().min(0).max(32).optional(),
|
|
185
185
|
includeSelf: zod_1.z.boolean().optional(),
|
|
@@ -188,6 +188,7 @@ exports.ViewSqlAggregateHierarchyScopeSchema = zod_1.z
|
|
|
188
188
|
exports.ViewSqlAggregateUnwindSchema = zod_1.z
|
|
189
189
|
.object({
|
|
190
190
|
columnId: common_1.ContractIdentifierSchema,
|
|
191
|
+
alias: common_1.ContractIdentifierSchema.optional(),
|
|
191
192
|
jsonPath: zod_1.z.array(common_1.ContractIdentifierSchema).max(32).optional(),
|
|
192
193
|
preserveEmpty: zod_1.z.boolean().optional(),
|
|
193
194
|
})
|
|
@@ -195,7 +196,7 @@ exports.ViewSqlAggregateUnwindSchema = zod_1.z
|
|
|
195
196
|
exports.ViewSqlAggregateHavingSchema = zod_1.z
|
|
196
197
|
.object({
|
|
197
198
|
key: common_1.ContractIdentifierSchema,
|
|
198
|
-
op: zod_1.z.enum(['eq', '
|
|
199
|
+
op: zod_1.z.enum(['eq', 'neq', 'gt', 'gte', 'lt', 'lte']),
|
|
199
200
|
value: zod_1.z.number().finite(),
|
|
200
201
|
})
|
|
201
202
|
.strict();
|
|
@@ -203,7 +204,7 @@ exports.ViewSqlAggregatePaginationSchema = zod_1.z
|
|
|
203
204
|
.object({
|
|
204
205
|
offset: zod_1.z.number().int().min(0).optional(),
|
|
205
206
|
limit: zod_1.z.number().int().min(1).max(10000).optional(),
|
|
206
|
-
|
|
207
|
+
withGroupTotal: zod_1.z.boolean().optional(),
|
|
207
208
|
})
|
|
208
209
|
.strict();
|
|
209
210
|
exports.ViewSqlGraphSpecSchema = zod_1.z
|
|
@@ -370,6 +371,12 @@ exports.BlockTypeSchema = zod_1.z.enum([
|
|
|
370
371
|
'json-editor',
|
|
371
372
|
'custom',
|
|
372
373
|
]);
|
|
374
|
+
exports.BentoRelationTargetRefSchema = zod_1.z
|
|
375
|
+
.object({
|
|
376
|
+
assetId: zod_1.z.string().trim().min(1).max(256),
|
|
377
|
+
ontologyId: common_1.ContractIdentifierSchema.optional(),
|
|
378
|
+
})
|
|
379
|
+
.strict();
|
|
373
380
|
exports.RenderBentoOntologyRelationBindingSchema = zod_1.z
|
|
374
381
|
.object({
|
|
375
382
|
kind: zod_1.z.literal('ontology-relation'),
|
|
@@ -377,9 +384,12 @@ exports.RenderBentoOntologyRelationBindingSchema = zod_1.z
|
|
|
377
384
|
sourceRecordId: zod_1.z.string().trim().min(1).max(256),
|
|
378
385
|
direction: zod_1.z.enum(['outgoing', 'incoming', 'both']).optional(),
|
|
379
386
|
columnId: common_1.ContractIdentifierSchema.optional(),
|
|
387
|
+
fieldKey: common_1.ContractIdentifierSchema.optional(),
|
|
380
388
|
targetOntologyIds: zod_1.z.array(common_1.ContractIdentifierSchema).max(64).optional(),
|
|
381
389
|
maxHops: zod_1.z.number().int().min(1).max(6).optional(),
|
|
382
|
-
includeTargetFields: zod_1.z
|
|
390
|
+
includeTargetFields: zod_1.z
|
|
391
|
+
.union([zod_1.z.boolean(), zod_1.z.array(common_1.ContractIdentifierSchema).max(256)])
|
|
392
|
+
.optional(),
|
|
383
393
|
pageSize: zod_1.z.number().int().min(1).max(1000).optional(),
|
|
384
394
|
pageToken: zod_1.z.string().trim().min(1).max(1024).optional(),
|
|
385
395
|
})
|
|
@@ -398,6 +408,18 @@ exports.RenderBentoOntologyActionBindingSchema = zod_1.z
|
|
|
398
408
|
recordId: zod_1.z.string().trim().min(1).max(256).optional(),
|
|
399
409
|
workflowId: common_1.ContractIdentifierSchema.optional(),
|
|
400
410
|
payload: zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).optional(),
|
|
411
|
+
columnId: common_1.ContractIdentifierSchema.optional(),
|
|
412
|
+
mode: zod_1.z.enum(['replace', 'patch', 'set-types']).optional(),
|
|
413
|
+
targets: zod_1.z.array(exports.BentoRelationTargetRefSchema).max(500).optional(),
|
|
414
|
+
addTargets: zod_1.z.array(exports.BentoRelationTargetRefSchema).max(500).optional(),
|
|
415
|
+
removeTargets: zod_1.z.array(exports.BentoRelationTargetRefSchema).max(500).optional(),
|
|
416
|
+
idempotencyKey: zod_1.z.string().trim().min(1).max(256).optional(),
|
|
417
|
+
expectedRevision: zod_1.z
|
|
418
|
+
.union([
|
|
419
|
+
zod_1.z.string().trim().min(1).max(256),
|
|
420
|
+
zod_1.z.number().int().nonnegative(),
|
|
421
|
+
])
|
|
422
|
+
.optional(),
|
|
401
423
|
invalidateOntologies: zod_1.z.array(common_1.ContractIdentifierSchema).max(64).optional(),
|
|
402
424
|
})
|
|
403
425
|
.strict();
|
|
@@ -444,6 +466,18 @@ exports.BlockDataSourceSchema = zod_1.z.discriminatedUnion('kind', [
|
|
|
444
466
|
recordId: zod_1.z.string().trim().min(1).max(256).optional(),
|
|
445
467
|
workflowId: common_1.ContractIdentifierSchema.optional(),
|
|
446
468
|
payload: common_1.JsonObjectSchema.optional(),
|
|
469
|
+
columnId: common_1.ContractIdentifierSchema.optional(),
|
|
470
|
+
mode: zod_1.z.enum(['replace', 'patch', 'set-types']).optional(),
|
|
471
|
+
targets: zod_1.z.array(exports.BentoRelationTargetRefSchema).max(500).optional(),
|
|
472
|
+
addTargets: zod_1.z.array(exports.BentoRelationTargetRefSchema).max(500).optional(),
|
|
473
|
+
removeTargets: zod_1.z.array(exports.BentoRelationTargetRefSchema).max(500).optional(),
|
|
474
|
+
idempotencyKey: zod_1.z.string().trim().min(1).max(256).optional(),
|
|
475
|
+
expectedRevision: zod_1.z
|
|
476
|
+
.union([
|
|
477
|
+
zod_1.z.string().trim().min(1).max(256),
|
|
478
|
+
zod_1.z.number().int().nonnegative(),
|
|
479
|
+
])
|
|
480
|
+
.optional(),
|
|
447
481
|
invalidateOntologies: zod_1.z.array(common_1.ContractIdentifierSchema).max(64).optional(),
|
|
448
482
|
})
|
|
449
483
|
.strict(),
|