@inf-monkeys-tech/monkeys 1.1.63 → 1.1.64
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 +491 -0
- package/lib/contracts/bento-block.d.ts.map +1 -1
- package/lib/contracts/bento-block.js +158 -12
- package/lib/contracts/bento-block.js.map +1 -1
- package/lib/contracts/declarative-control-http.d.ts +2358 -255
- package/lib/contracts/declarative-control-http.d.ts.map +1 -1
- package/lib/contracts/declarative-control.d.ts +193 -19
- package/lib/contracts/declarative-control.d.ts.map +1 -1
- package/lib/contracts/declarative-publication-job.d.ts +504 -64
- package/lib/contracts/declarative-publication-job.d.ts.map +1 -1
- package/lib/contracts/page.d.ts +1 -1
- package/lib/contracts/render.d.ts +118 -30
- package/lib/contracts/render.d.ts.map +1 -1
- package/lib/contracts/render.js +6 -1
- package/lib/contracts/render.js.map +1 -1
- package/lib/contracts/tenant.d.ts +7 -7
- package/lib/contracts/unified-view.d.ts +87 -0
- package/lib/contracts/unified-view.d.ts.map +1 -1
- package/lib/contracts/workflow-column.d.ts +2 -2
- package/lib/esm/{chunk-SDA2NWFB.mjs → chunk-AOAJSAI7.mjs} +2 -2
- package/lib/esm/chunk-AOAJSAI7.mjs.map +1 -0
- package/lib/esm/{chunk-766TRFRH.mjs → chunk-BFGFPBEU.mjs} +142 -12
- package/lib/esm/chunk-BFGFPBEU.mjs.map +1 -0
- package/lib/esm/{chunk-BTJGKWPM.mjs → chunk-E6UOE6OP.mjs} +6 -3
- package/lib/esm/{chunk-BTJGKWPM.mjs.map → chunk-E6UOE6OP.mjs.map} +1 -1
- package/lib/esm/{chunk-MP4OJWJ3.mjs → chunk-WC65QK2H.mjs} +2 -2
- package/lib/esm/contracts/index.mjs +24 -2
- package/lib/esm/index.mjs +26 -4
- package/lib/esm/index.mjs.map +1 -1
- package/lib/esm/runtime/index.mjs +3 -3
- package/lib/esm/schemas/index.mjs +26 -2
- package/lib/json-schema/bento-node.schema.json +425 -1
- package/lib/json-schema/overlay-node.schema.json +423 -1
- package/lib/json-schema/page-runtime-bundle.schema.json +720 -2
- package/lib/json-schema/render-node.schema.json +423 -1
- package/lib/json-schema/render-tree.schema.json +720 -2
- package/lib/json-schema/view-ontology-record.schema.json +722 -2
- package/lib/runtime/bento-render-tree.d.ts.map +1 -1
- package/lib/runtime/bento-render-tree.js +3 -0
- package/lib/runtime/bento-render-tree.js.map +1 -1
- package/lib/runtime/runtime-definition-wire.d.ts +252 -32
- package/lib/runtime/runtime-definition-wire.d.ts.map +1 -1
- package/lib/schemas/index.d.ts +189 -15
- package/lib/schemas/index.d.ts.map +1 -1
- package/lib/schemas/index.js +16 -3
- package/lib/schemas/index.js.map +1 -1
- package/package.json +2 -2
- package/lib/esm/chunk-766TRFRH.mjs.map +0 -1
- package/lib/esm/chunk-SDA2NWFB.mjs.map +0 -1
- /package/lib/esm/{chunk-MP4OJWJ3.mjs.map → chunk-WC65QK2H.mjs.map} +0 -0
|
@@ -432,13 +432,39 @@
|
|
|
432
432
|
"min",
|
|
433
433
|
"max",
|
|
434
434
|
"distinct_count",
|
|
435
|
-
"ratio"
|
|
435
|
+
"ratio",
|
|
436
|
+
"count_distinct",
|
|
437
|
+
"percentile",
|
|
438
|
+
"trimmed_avg",
|
|
439
|
+
"first_by",
|
|
440
|
+
"last_by"
|
|
436
441
|
]
|
|
437
442
|
},
|
|
438
443
|
"fieldKey": {
|
|
439
444
|
"type": "string",
|
|
440
445
|
"minLength": 1,
|
|
441
446
|
"maxLength": 256
|
|
447
|
+
},
|
|
448
|
+
"numeric": {
|
|
449
|
+
"type": "boolean"
|
|
450
|
+
},
|
|
451
|
+
"percentile": {
|
|
452
|
+
"type": "number",
|
|
453
|
+
"minimum": 0,
|
|
454
|
+
"maximum": 100
|
|
455
|
+
},
|
|
456
|
+
"trimTopPct": {
|
|
457
|
+
"type": "number",
|
|
458
|
+
"minimum": 0,
|
|
459
|
+
"maximum": 100
|
|
460
|
+
},
|
|
461
|
+
"orderColumnId": {
|
|
462
|
+
"type": "string",
|
|
463
|
+
"minLength": 1,
|
|
464
|
+
"maxLength": 256
|
|
465
|
+
},
|
|
466
|
+
"filter": {
|
|
467
|
+
"$ref": "#/$defs/__schema0"
|
|
442
468
|
}
|
|
443
469
|
},
|
|
444
470
|
"required": [
|
|
@@ -495,6 +521,276 @@
|
|
|
495
521
|
"type": "integer",
|
|
496
522
|
"minimum": 1,
|
|
497
523
|
"maximum": 1000
|
|
524
|
+
},
|
|
525
|
+
"engine": {
|
|
526
|
+
"type": "string",
|
|
527
|
+
"enum": [
|
|
528
|
+
"auto",
|
|
529
|
+
"canonical",
|
|
530
|
+
"search"
|
|
531
|
+
]
|
|
532
|
+
},
|
|
533
|
+
"allTeams": {
|
|
534
|
+
"type": "boolean"
|
|
535
|
+
},
|
|
536
|
+
"exact": {
|
|
537
|
+
"type": "boolean"
|
|
538
|
+
},
|
|
539
|
+
"includeTotals": {
|
|
540
|
+
"type": "boolean"
|
|
541
|
+
},
|
|
542
|
+
"timeBucket": {
|
|
543
|
+
"type": "object",
|
|
544
|
+
"properties": {
|
|
545
|
+
"column": {
|
|
546
|
+
"type": "string",
|
|
547
|
+
"minLength": 1,
|
|
548
|
+
"maxLength": 256
|
|
549
|
+
},
|
|
550
|
+
"granularity": {
|
|
551
|
+
"type": "string",
|
|
552
|
+
"enum": [
|
|
553
|
+
"hour",
|
|
554
|
+
"day",
|
|
555
|
+
"week",
|
|
556
|
+
"month",
|
|
557
|
+
"quarter",
|
|
558
|
+
"year"
|
|
559
|
+
]
|
|
560
|
+
},
|
|
561
|
+
"timezone": {
|
|
562
|
+
"type": "string",
|
|
563
|
+
"minLength": 1,
|
|
564
|
+
"maxLength": 128
|
|
565
|
+
},
|
|
566
|
+
"fillGaps": {
|
|
567
|
+
"type": "boolean"
|
|
568
|
+
}
|
|
569
|
+
},
|
|
570
|
+
"required": [
|
|
571
|
+
"column",
|
|
572
|
+
"granularity"
|
|
573
|
+
],
|
|
574
|
+
"additionalProperties": false
|
|
575
|
+
},
|
|
576
|
+
"joins": {
|
|
577
|
+
"maxItems": 16,
|
|
578
|
+
"type": "array",
|
|
579
|
+
"items": {
|
|
580
|
+
"type": "object",
|
|
581
|
+
"properties": {
|
|
582
|
+
"alias": {
|
|
583
|
+
"type": "string",
|
|
584
|
+
"minLength": 1,
|
|
585
|
+
"maxLength": 256
|
|
586
|
+
},
|
|
587
|
+
"ontologyId": {
|
|
588
|
+
"type": "string",
|
|
589
|
+
"minLength": 1,
|
|
590
|
+
"maxLength": 256
|
|
591
|
+
},
|
|
592
|
+
"assetType": {
|
|
593
|
+
"type": "string",
|
|
594
|
+
"minLength": 1,
|
|
595
|
+
"maxLength": 256
|
|
596
|
+
},
|
|
597
|
+
"joinType": {
|
|
598
|
+
"type": "string",
|
|
599
|
+
"enum": [
|
|
600
|
+
"inner",
|
|
601
|
+
"left"
|
|
602
|
+
]
|
|
603
|
+
},
|
|
604
|
+
"viaRelation": {
|
|
605
|
+
"type": "object",
|
|
606
|
+
"properties": {
|
|
607
|
+
"columnId": {
|
|
608
|
+
"type": "string",
|
|
609
|
+
"minLength": 1,
|
|
610
|
+
"maxLength": 256
|
|
611
|
+
},
|
|
612
|
+
"direction": {
|
|
613
|
+
"type": "string",
|
|
614
|
+
"enum": [
|
|
615
|
+
"outgoing",
|
|
616
|
+
"incoming"
|
|
617
|
+
]
|
|
618
|
+
}
|
|
619
|
+
},
|
|
620
|
+
"required": [
|
|
621
|
+
"columnId",
|
|
622
|
+
"direction"
|
|
623
|
+
],
|
|
624
|
+
"additionalProperties": false
|
|
625
|
+
},
|
|
626
|
+
"onColumn": {
|
|
627
|
+
"type": "object",
|
|
628
|
+
"properties": {
|
|
629
|
+
"localColumnId": {
|
|
630
|
+
"type": "string",
|
|
631
|
+
"minLength": 1,
|
|
632
|
+
"maxLength": 256
|
|
633
|
+
},
|
|
634
|
+
"foreignColumnId": {
|
|
635
|
+
"type": "string",
|
|
636
|
+
"minLength": 1,
|
|
637
|
+
"maxLength": 256
|
|
638
|
+
},
|
|
639
|
+
"foreignAssetId": {
|
|
640
|
+
"type": "boolean"
|
|
641
|
+
}
|
|
642
|
+
},
|
|
643
|
+
"required": [
|
|
644
|
+
"localColumnId"
|
|
645
|
+
],
|
|
646
|
+
"additionalProperties": false
|
|
647
|
+
}
|
|
648
|
+
},
|
|
649
|
+
"required": [
|
|
650
|
+
"alias",
|
|
651
|
+
"ontologyId"
|
|
652
|
+
],
|
|
653
|
+
"additionalProperties": false
|
|
654
|
+
}
|
|
655
|
+
},
|
|
656
|
+
"hierarchyScopes": {
|
|
657
|
+
"maxItems": 16,
|
|
658
|
+
"type": "array",
|
|
659
|
+
"items": {
|
|
660
|
+
"type": "object",
|
|
661
|
+
"properties": {
|
|
662
|
+
"targetAlias": {
|
|
663
|
+
"type": "string",
|
|
664
|
+
"minLength": 1,
|
|
665
|
+
"maxLength": 256
|
|
666
|
+
},
|
|
667
|
+
"localColumnId": {
|
|
668
|
+
"type": "string",
|
|
669
|
+
"minLength": 1,
|
|
670
|
+
"maxLength": 256
|
|
671
|
+
},
|
|
672
|
+
"ontologyId": {
|
|
673
|
+
"type": "string",
|
|
674
|
+
"minLength": 1,
|
|
675
|
+
"maxLength": 256
|
|
676
|
+
},
|
|
677
|
+
"relationColumnId": {
|
|
678
|
+
"type": "string",
|
|
679
|
+
"minLength": 1,
|
|
680
|
+
"maxLength": 256
|
|
681
|
+
},
|
|
682
|
+
"direction": {
|
|
683
|
+
"type": "string",
|
|
684
|
+
"enum": [
|
|
685
|
+
"incoming",
|
|
686
|
+
"outgoing"
|
|
687
|
+
]
|
|
688
|
+
},
|
|
689
|
+
"seedIds": {
|
|
690
|
+
"maxItems": 500,
|
|
691
|
+
"type": "array",
|
|
692
|
+
"items": {
|
|
693
|
+
"type": "string",
|
|
694
|
+
"minLength": 1,
|
|
695
|
+
"maxLength": 256
|
|
696
|
+
}
|
|
697
|
+
},
|
|
698
|
+
"maxDepth": {
|
|
699
|
+
"type": "integer",
|
|
700
|
+
"minimum": 0,
|
|
701
|
+
"maximum": 32
|
|
702
|
+
},
|
|
703
|
+
"includeSelf": {
|
|
704
|
+
"type": "boolean"
|
|
705
|
+
}
|
|
706
|
+
},
|
|
707
|
+
"required": [
|
|
708
|
+
"ontologyId",
|
|
709
|
+
"relationColumnId",
|
|
710
|
+
"direction",
|
|
711
|
+
"seedIds"
|
|
712
|
+
],
|
|
713
|
+
"additionalProperties": false
|
|
714
|
+
}
|
|
715
|
+
},
|
|
716
|
+
"unwind": {
|
|
717
|
+
"type": "object",
|
|
718
|
+
"properties": {
|
|
719
|
+
"columnId": {
|
|
720
|
+
"type": "string",
|
|
721
|
+
"minLength": 1,
|
|
722
|
+
"maxLength": 256
|
|
723
|
+
},
|
|
724
|
+
"jsonPath": {
|
|
725
|
+
"maxItems": 32,
|
|
726
|
+
"type": "array",
|
|
727
|
+
"items": {
|
|
728
|
+
"type": "string",
|
|
729
|
+
"minLength": 1,
|
|
730
|
+
"maxLength": 256
|
|
731
|
+
}
|
|
732
|
+
},
|
|
733
|
+
"preserveEmpty": {
|
|
734
|
+
"type": "boolean"
|
|
735
|
+
}
|
|
736
|
+
},
|
|
737
|
+
"required": [
|
|
738
|
+
"columnId"
|
|
739
|
+
],
|
|
740
|
+
"additionalProperties": false
|
|
741
|
+
},
|
|
742
|
+
"having": {
|
|
743
|
+
"maxItems": 32,
|
|
744
|
+
"type": "array",
|
|
745
|
+
"items": {
|
|
746
|
+
"type": "object",
|
|
747
|
+
"properties": {
|
|
748
|
+
"key": {
|
|
749
|
+
"type": "string",
|
|
750
|
+
"minLength": 1,
|
|
751
|
+
"maxLength": 256
|
|
752
|
+
},
|
|
753
|
+
"op": {
|
|
754
|
+
"type": "string",
|
|
755
|
+
"enum": [
|
|
756
|
+
"eq",
|
|
757
|
+
"ne",
|
|
758
|
+
"gt",
|
|
759
|
+
"gte",
|
|
760
|
+
"lt",
|
|
761
|
+
"lte"
|
|
762
|
+
]
|
|
763
|
+
},
|
|
764
|
+
"value": {
|
|
765
|
+
"type": "number"
|
|
766
|
+
}
|
|
767
|
+
},
|
|
768
|
+
"required": [
|
|
769
|
+
"key",
|
|
770
|
+
"op",
|
|
771
|
+
"value"
|
|
772
|
+
],
|
|
773
|
+
"additionalProperties": false
|
|
774
|
+
}
|
|
775
|
+
},
|
|
776
|
+
"pagination": {
|
|
777
|
+
"type": "object",
|
|
778
|
+
"properties": {
|
|
779
|
+
"offset": {
|
|
780
|
+
"type": "integer",
|
|
781
|
+
"minimum": 0,
|
|
782
|
+
"maximum": 9007199254740991
|
|
783
|
+
},
|
|
784
|
+
"limit": {
|
|
785
|
+
"type": "integer",
|
|
786
|
+
"minimum": 1,
|
|
787
|
+
"maximum": 10000
|
|
788
|
+
},
|
|
789
|
+
"includeTotalGroups": {
|
|
790
|
+
"type": "boolean"
|
|
791
|
+
}
|
|
792
|
+
},
|
|
793
|
+
"additionalProperties": false
|
|
498
794
|
}
|
|
499
795
|
},
|
|
500
796
|
"required": [
|
|
@@ -1078,6 +1374,134 @@
|
|
|
1078
1374
|
],
|
|
1079
1375
|
"additionalProperties": false
|
|
1080
1376
|
},
|
|
1377
|
+
{
|
|
1378
|
+
"type": "object",
|
|
1379
|
+
"properties": {
|
|
1380
|
+
"kind": {
|
|
1381
|
+
"type": "string",
|
|
1382
|
+
"const": "ontology-relation"
|
|
1383
|
+
},
|
|
1384
|
+
"sourceOntologyId": {
|
|
1385
|
+
"type": "string",
|
|
1386
|
+
"minLength": 1,
|
|
1387
|
+
"maxLength": 256
|
|
1388
|
+
},
|
|
1389
|
+
"sourceRecordId": {
|
|
1390
|
+
"type": "string",
|
|
1391
|
+
"minLength": 1,
|
|
1392
|
+
"maxLength": 256
|
|
1393
|
+
},
|
|
1394
|
+
"direction": {
|
|
1395
|
+
"type": "string",
|
|
1396
|
+
"enum": [
|
|
1397
|
+
"outgoing",
|
|
1398
|
+
"incoming",
|
|
1399
|
+
"both"
|
|
1400
|
+
]
|
|
1401
|
+
},
|
|
1402
|
+
"columnId": {
|
|
1403
|
+
"type": "string",
|
|
1404
|
+
"minLength": 1,
|
|
1405
|
+
"maxLength": 256
|
|
1406
|
+
},
|
|
1407
|
+
"targetOntologyIds": {
|
|
1408
|
+
"maxItems": 64,
|
|
1409
|
+
"type": "array",
|
|
1410
|
+
"items": {
|
|
1411
|
+
"type": "string",
|
|
1412
|
+
"minLength": 1,
|
|
1413
|
+
"maxLength": 256
|
|
1414
|
+
}
|
|
1415
|
+
},
|
|
1416
|
+
"maxHops": {
|
|
1417
|
+
"type": "integer",
|
|
1418
|
+
"minimum": 1,
|
|
1419
|
+
"maximum": 6
|
|
1420
|
+
},
|
|
1421
|
+
"includeTargetFields": {
|
|
1422
|
+
"maxItems": 256,
|
|
1423
|
+
"type": "array",
|
|
1424
|
+
"items": {
|
|
1425
|
+
"type": "string",
|
|
1426
|
+
"minLength": 1,
|
|
1427
|
+
"maxLength": 256
|
|
1428
|
+
}
|
|
1429
|
+
},
|
|
1430
|
+
"pageSize": {
|
|
1431
|
+
"type": "integer",
|
|
1432
|
+
"minimum": 1,
|
|
1433
|
+
"maximum": 1000
|
|
1434
|
+
},
|
|
1435
|
+
"pageToken": {
|
|
1436
|
+
"type": "string",
|
|
1437
|
+
"minLength": 1,
|
|
1438
|
+
"maxLength": 1024
|
|
1439
|
+
}
|
|
1440
|
+
},
|
|
1441
|
+
"required": [
|
|
1442
|
+
"kind",
|
|
1443
|
+
"sourceOntologyId",
|
|
1444
|
+
"sourceRecordId"
|
|
1445
|
+
],
|
|
1446
|
+
"additionalProperties": false
|
|
1447
|
+
},
|
|
1448
|
+
{
|
|
1449
|
+
"type": "object",
|
|
1450
|
+
"properties": {
|
|
1451
|
+
"kind": {
|
|
1452
|
+
"type": "string",
|
|
1453
|
+
"const": "ontology-action"
|
|
1454
|
+
},
|
|
1455
|
+
"action": {
|
|
1456
|
+
"type": "string",
|
|
1457
|
+
"enum": [
|
|
1458
|
+
"insert",
|
|
1459
|
+
"update",
|
|
1460
|
+
"delete",
|
|
1461
|
+
"mutate-relation",
|
|
1462
|
+
"workflow-call"
|
|
1463
|
+
]
|
|
1464
|
+
},
|
|
1465
|
+
"ontologyId": {
|
|
1466
|
+
"type": "string",
|
|
1467
|
+
"minLength": 1,
|
|
1468
|
+
"maxLength": 256
|
|
1469
|
+
},
|
|
1470
|
+
"recordId": {
|
|
1471
|
+
"type": "string",
|
|
1472
|
+
"minLength": 1,
|
|
1473
|
+
"maxLength": 256
|
|
1474
|
+
},
|
|
1475
|
+
"workflowId": {
|
|
1476
|
+
"type": "string",
|
|
1477
|
+
"minLength": 1,
|
|
1478
|
+
"maxLength": 256
|
|
1479
|
+
},
|
|
1480
|
+
"payload": {
|
|
1481
|
+
"type": "object",
|
|
1482
|
+
"propertyNames": {
|
|
1483
|
+
"type": "string"
|
|
1484
|
+
},
|
|
1485
|
+
"additionalProperties": {
|
|
1486
|
+
"$ref": "#/$defs/__schema1"
|
|
1487
|
+
}
|
|
1488
|
+
},
|
|
1489
|
+
"invalidateOntologies": {
|
|
1490
|
+
"maxItems": 64,
|
|
1491
|
+
"type": "array",
|
|
1492
|
+
"items": {
|
|
1493
|
+
"type": "string",
|
|
1494
|
+
"minLength": 1,
|
|
1495
|
+
"maxLength": 256
|
|
1496
|
+
}
|
|
1497
|
+
}
|
|
1498
|
+
},
|
|
1499
|
+
"required": [
|
|
1500
|
+
"kind",
|
|
1501
|
+
"action"
|
|
1502
|
+
],
|
|
1503
|
+
"additionalProperties": false
|
|
1504
|
+
},
|
|
1081
1505
|
{
|
|
1082
1506
|
"type": "object",
|
|
1083
1507
|
"properties": {
|