@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.
Files changed (59) hide show
  1. package/lib/contracts/bento-block.d.ts +115 -43
  2. package/lib/contracts/bento-block.d.ts.map +1 -1
  3. package/lib/contracts/bento-block.js +44 -10
  4. package/lib/contracts/bento-block.js.map +1 -1
  5. package/lib/contracts/declarative-control-http.d.ts +2187 -282
  6. package/lib/contracts/declarative-control-http.d.ts.map +1 -1
  7. package/lib/contracts/declarative-control.d.ts +261 -21
  8. package/lib/contracts/declarative-control.d.ts.map +1 -1
  9. package/lib/contracts/declarative-control.js +5 -0
  10. package/lib/contracts/declarative-control.js.map +1 -1
  11. package/lib/contracts/declarative-document-import.d.ts +1170 -0
  12. package/lib/contracts/declarative-document-import.d.ts.map +1 -1
  13. package/lib/contracts/declarative-publication-job.d.ts +72 -64
  14. package/lib/contracts/declarative-publication-job.d.ts.map +1 -1
  15. package/lib/contracts/render.d.ts +13 -12
  16. package/lib/contracts/render.d.ts.map +1 -1
  17. package/lib/contracts/render.js +2 -1
  18. package/lib/contracts/render.js.map +1 -1
  19. package/lib/contracts/tenant.d.ts +0 -12
  20. package/lib/contracts/tenant.d.ts.map +1 -1
  21. package/lib/contracts/tenant.js +0 -1
  22. package/lib/contracts/tenant.js.map +1 -1
  23. package/lib/contracts/unified-view.d.ts +11 -10
  24. package/lib/contracts/unified-view.d.ts.map +1 -1
  25. package/lib/esm/{chunk-ULDFLNAS.mjs → chunk-26ZNN7FU.mjs} +8 -4
  26. package/lib/esm/chunk-26ZNN7FU.mjs.map +1 -0
  27. package/lib/esm/{chunk-5QMVFOWH.mjs → chunk-5LZVSAPW.mjs} +41 -11
  28. package/lib/esm/chunk-5LZVSAPW.mjs.map +1 -0
  29. package/lib/esm/{chunk-MLFKEJNG.mjs → chunk-GN3YEDS2.mjs} +2 -2
  30. package/lib/esm/{chunk-GV2AOCR7.mjs → chunk-THLZL353.mjs} +2 -2
  31. package/lib/esm/{chunk-GV2AOCR7.mjs.map → chunk-THLZL353.mjs.map} +1 -1
  32. package/lib/esm/contracts/index.mjs +4 -2
  33. package/lib/esm/index.mjs +6 -4
  34. package/lib/esm/index.mjs.map +1 -1
  35. package/lib/esm/runtime/index.mjs +3 -3
  36. package/lib/esm/schemas/index.mjs +4 -2
  37. package/lib/json-schema/bento-node.schema.json +131 -17
  38. package/lib/json-schema/overlay-node.schema.json +131 -17
  39. package/lib/json-schema/page-runtime-bundle.schema.json +142 -27
  40. package/lib/json-schema/page.schema.json +4302 -1921
  41. package/lib/json-schema/render-node.schema.json +131 -17
  42. package/lib/json-schema/render-tree.schema.json +142 -27
  43. package/lib/json-schema/tenant-product-config.schema.json +0 -7
  44. package/lib/json-schema/tenant-runtime-config.schema.json +0 -7
  45. package/lib/json-schema/view-ontology-record.schema.json +142 -27
  46. package/lib/runtime/declarative-control-compiler.d.ts.map +1 -1
  47. package/lib/runtime/declarative-control-compiler.js +4 -0
  48. package/lib/runtime/declarative-control-compiler.js.map +1 -1
  49. package/lib/runtime/runtime-definition-wire.d.ts +36 -32
  50. package/lib/runtime/runtime-definition-wire.d.ts.map +1 -1
  51. package/lib/schemas/index.d.ts +257 -29
  52. package/lib/schemas/index.d.ts.map +1 -1
  53. package/lib/schemas/index.js +3 -2
  54. package/lib/schemas/index.js.map +1 -1
  55. package/package.json +2 -2
  56. package/test/fixtures/tenant-product-config.public.json +0 -1
  57. package/lib/esm/chunk-5QMVFOWH.mjs.map +0 -1
  58. package/lib/esm/chunk-ULDFLNAS.mjs.map +0 -1
  59. /package/lib/esm/{chunk-MLFKEJNG.mjs.map → chunk-GN3YEDS2.mjs.map} +0 -0
@@ -1050,7 +1050,7 @@
1050
1050
  "minLength": 1,
1051
1051
  "maxLength": 256
1052
1052
  },
1053
- "granularity": {
1053
+ "unit": {
1054
1054
  "type": "string",
1055
1055
  "enum": [
1056
1056
  "hour",
@@ -1061,7 +1061,7 @@
1061
1061
  "year"
1062
1062
  ]
1063
1063
  },
1064
- "timezone": {
1064
+ "timeZone": {
1065
1065
  "type": "string",
1066
1066
  "minLength": 1,
1067
1067
  "maxLength": 128
@@ -1071,8 +1071,7 @@
1071
1071
  }
1072
1072
  },
1073
1073
  "required": [
1074
- "column",
1075
- "granularity"
1074
+ "unit"
1076
1075
  ],
1077
1076
  "additionalProperties": false
1078
1077
  },
@@ -1121,8 +1120,7 @@
1121
1120
  }
1122
1121
  },
1123
1122
  "required": [
1124
- "columnId",
1125
- "direction"
1123
+ "columnId"
1126
1124
  ],
1127
1125
  "additionalProperties": false
1128
1126
  },
@@ -1208,9 +1206,7 @@
1208
1206
  }
1209
1207
  },
1210
1208
  "required": [
1211
- "ontologyId",
1212
1209
  "relationColumnId",
1213
- "direction",
1214
1210
  "seedIds"
1215
1211
  ],
1216
1212
  "additionalProperties": false
@@ -1224,6 +1220,11 @@
1224
1220
  "minLength": 1,
1225
1221
  "maxLength": 256
1226
1222
  },
1223
+ "alias": {
1224
+ "type": "string",
1225
+ "minLength": 1,
1226
+ "maxLength": 256
1227
+ },
1227
1228
  "jsonPath": {
1228
1229
  "maxItems": 32,
1229
1230
  "type": "array",
@@ -1257,7 +1258,7 @@
1257
1258
  "type": "string",
1258
1259
  "enum": [
1259
1260
  "eq",
1260
- "ne",
1261
+ "neq",
1261
1262
  "gt",
1262
1263
  "gte",
1263
1264
  "lt",
@@ -1289,7 +1290,7 @@
1289
1290
  "minimum": 1,
1290
1291
  "maximum": 10000
1291
1292
  },
1292
- "includeTotalGroups": {
1293
+ "withGroupTotal": {
1293
1294
  "type": "boolean"
1294
1295
  }
1295
1296
  },
@@ -1582,6 +1583,11 @@
1582
1583
  "minLength": 1,
1583
1584
  "maxLength": 256
1584
1585
  },
1586
+ "fieldKey": {
1587
+ "type": "string",
1588
+ "minLength": 1,
1589
+ "maxLength": 256
1590
+ },
1585
1591
  "targetOntologyIds": {
1586
1592
  "maxItems": 64,
1587
1593
  "type": "array",
@@ -1597,13 +1603,20 @@
1597
1603
  "maximum": 6
1598
1604
  },
1599
1605
  "includeTargetFields": {
1600
- "maxItems": 256,
1601
- "type": "array",
1602
- "items": {
1603
- "type": "string",
1604
- "minLength": 1,
1605
- "maxLength": 256
1606
- }
1606
+ "anyOf": [
1607
+ {
1608
+ "type": "boolean"
1609
+ },
1610
+ {
1611
+ "maxItems": 256,
1612
+ "type": "array",
1613
+ "items": {
1614
+ "type": "string",
1615
+ "minLength": 1,
1616
+ "maxLength": 256
1617
+ }
1618
+ }
1619
+ ]
1607
1620
  },
1608
1621
  "pageSize": {
1609
1622
  "type": "integer",
@@ -1662,6 +1675,107 @@
1662
1675
  },
1663
1676
  "additionalProperties": {}
1664
1677
  },
1678
+ "columnId": {
1679
+ "type": "string",
1680
+ "minLength": 1,
1681
+ "maxLength": 256
1682
+ },
1683
+ "mode": {
1684
+ "type": "string",
1685
+ "enum": [
1686
+ "replace",
1687
+ "patch",
1688
+ "set-types"
1689
+ ]
1690
+ },
1691
+ "targets": {
1692
+ "maxItems": 500,
1693
+ "type": "array",
1694
+ "items": {
1695
+ "type": "object",
1696
+ "properties": {
1697
+ "assetId": {
1698
+ "type": "string",
1699
+ "minLength": 1,
1700
+ "maxLength": 256
1701
+ },
1702
+ "ontologyId": {
1703
+ "type": "string",
1704
+ "minLength": 1,
1705
+ "maxLength": 256
1706
+ }
1707
+ },
1708
+ "required": [
1709
+ "assetId"
1710
+ ],
1711
+ "additionalProperties": false
1712
+ }
1713
+ },
1714
+ "addTargets": {
1715
+ "maxItems": 500,
1716
+ "type": "array",
1717
+ "items": {
1718
+ "type": "object",
1719
+ "properties": {
1720
+ "assetId": {
1721
+ "type": "string",
1722
+ "minLength": 1,
1723
+ "maxLength": 256
1724
+ },
1725
+ "ontologyId": {
1726
+ "type": "string",
1727
+ "minLength": 1,
1728
+ "maxLength": 256
1729
+ }
1730
+ },
1731
+ "required": [
1732
+ "assetId"
1733
+ ],
1734
+ "additionalProperties": false
1735
+ }
1736
+ },
1737
+ "removeTargets": {
1738
+ "maxItems": 500,
1739
+ "type": "array",
1740
+ "items": {
1741
+ "type": "object",
1742
+ "properties": {
1743
+ "assetId": {
1744
+ "type": "string",
1745
+ "minLength": 1,
1746
+ "maxLength": 256
1747
+ },
1748
+ "ontologyId": {
1749
+ "type": "string",
1750
+ "minLength": 1,
1751
+ "maxLength": 256
1752
+ }
1753
+ },
1754
+ "required": [
1755
+ "assetId"
1756
+ ],
1757
+ "additionalProperties": false
1758
+ }
1759
+ },
1760
+ "idempotencyKey": {
1761
+ "type": "string",
1762
+ "minLength": 1,
1763
+ "maxLength": 256
1764
+ },
1765
+ "expectedRevision": {
1766
+ "anyOf": [
1767
+ {
1768
+ "type": "string",
1769
+ "minLength": 1,
1770
+ "maxLength": 256
1771
+ },
1772
+ {
1773
+ "type": "integer",
1774
+ "minimum": 0,
1775
+ "maximum": 9007199254740991
1776
+ }
1777
+ ]
1778
+ },
1665
1779
  "invalidateOntologies": {
1666
1780
  "maxItems": 64,
1667
1781
  "type": "array",
@@ -3904,7 +3904,7 @@
3904
3904
  "minLength": 1,
3905
3905
  "maxLength": 256
3906
3906
  },
3907
- "granularity": {
3907
+ "unit": {
3908
3908
  "type": "string",
3909
3909
  "enum": [
3910
3910
  "hour",
@@ -3915,7 +3915,7 @@
3915
3915
  "year"
3916
3916
  ]
3917
3917
  },
3918
- "timezone": {
3918
+ "timeZone": {
3919
3919
  "type": "string",
3920
3920
  "minLength": 1,
3921
3921
  "maxLength": 128
@@ -3925,8 +3925,7 @@
3925
3925
  }
3926
3926
  },
3927
3927
  "required": [
3928
- "column",
3929
- "granularity"
3928
+ "unit"
3930
3929
  ],
3931
3930
  "additionalProperties": false
3932
3931
  },
@@ -3975,8 +3974,7 @@
3975
3974
  }
3976
3975
  },
3977
3976
  "required": [
3978
- "columnId",
3979
- "direction"
3977
+ "columnId"
3980
3978
  ],
3981
3979
  "additionalProperties": false
3982
3980
  },
@@ -4062,9 +4060,7 @@
4062
4060
  }
4063
4061
  },
4064
4062
  "required": [
4065
- "ontologyId",
4066
4063
  "relationColumnId",
4067
- "direction",
4068
4064
  "seedIds"
4069
4065
  ],
4070
4066
  "additionalProperties": false
@@ -4078,6 +4074,11 @@
4078
4074
  "minLength": 1,
4079
4075
  "maxLength": 256
4080
4076
  },
4077
+ "alias": {
4078
+ "type": "string",
4079
+ "minLength": 1,
4080
+ "maxLength": 256
4081
+ },
4081
4082
  "jsonPath": {
4082
4083
  "maxItems": 32,
4083
4084
  "type": "array",
@@ -4111,7 +4112,7 @@
4111
4112
  "type": "string",
4112
4113
  "enum": [
4113
4114
  "eq",
4114
- "ne",
4115
+ "neq",
4115
4116
  "gt",
4116
4117
  "gte",
4117
4118
  "lt",
@@ -4143,7 +4144,7 @@
4143
4144
  "minimum": 1,
4144
4145
  "maximum": 10000
4145
4146
  },
4146
- "includeTotalGroups": {
4147
+ "withGroupTotal": {
4147
4148
  "type": "boolean"
4148
4149
  }
4149
4150
  },
@@ -5424,7 +5425,7 @@
5424
5425
  "minLength": 1,
5425
5426
  "maxLength": 256
5426
5427
  },
5427
- "granularity": {
5428
+ "unit": {
5428
5429
  "type": "string",
5429
5430
  "enum": [
5430
5431
  "hour",
@@ -5435,7 +5436,7 @@
5435
5436
  "year"
5436
5437
  ]
5437
5438
  },
5438
- "timezone": {
5439
+ "timeZone": {
5439
5440
  "type": "string",
5440
5441
  "minLength": 1,
5441
5442
  "maxLength": 128
@@ -5445,8 +5446,7 @@
5445
5446
  }
5446
5447
  },
5447
5448
  "required": [
5448
- "column",
5449
- "granularity"
5449
+ "unit"
5450
5450
  ],
5451
5451
  "additionalProperties": false
5452
5452
  },
@@ -5495,8 +5495,7 @@
5495
5495
  }
5496
5496
  },
5497
5497
  "required": [
5498
- "columnId",
5499
- "direction"
5498
+ "columnId"
5500
5499
  ],
5501
5500
  "additionalProperties": false
5502
5501
  },
@@ -5582,9 +5581,7 @@
5582
5581
  }
5583
5582
  },
5584
5583
  "required": [
5585
- "ontologyId",
5586
5584
  "relationColumnId",
5587
- "direction",
5588
5585
  "seedIds"
5589
5586
  ],
5590
5587
  "additionalProperties": false
@@ -5598,6 +5595,11 @@
5598
5595
  "minLength": 1,
5599
5596
  "maxLength": 256
5600
5597
  },
5598
+ "alias": {
5599
+ "type": "string",
5600
+ "minLength": 1,
5601
+ "maxLength": 256
5602
+ },
5601
5603
  "jsonPath": {
5602
5604
  "maxItems": 32,
5603
5605
  "type": "array",
@@ -5631,7 +5633,7 @@
5631
5633
  "type": "string",
5632
5634
  "enum": [
5633
5635
  "eq",
5634
- "ne",
5636
+ "neq",
5635
5637
  "gt",
5636
5638
  "gte",
5637
5639
  "lt",
@@ -5663,7 +5665,7 @@
5663
5665
  "minimum": 1,
5664
5666
  "maximum": 10000
5665
5667
  },
5666
- "includeTotalGroups": {
5668
+ "withGroupTotal": {
5667
5669
  "type": "boolean"
5668
5670
  }
5669
5671
  },
@@ -5956,6 +5958,11 @@
5956
5958
  "minLength": 1,
5957
5959
  "maxLength": 256
5958
5960
  },
5961
+ "fieldKey": {
5962
+ "type": "string",
5963
+ "minLength": 1,
5964
+ "maxLength": 256
5965
+ },
5959
5966
  "targetOntologyIds": {
5960
5967
  "maxItems": 64,
5961
5968
  "type": "array",
@@ -5971,13 +5978,20 @@
5971
5978
  "maximum": 6
5972
5979
  },
5973
5980
  "includeTargetFields": {
5974
- "maxItems": 256,
5975
- "type": "array",
5976
- "items": {
5977
- "type": "string",
5978
- "minLength": 1,
5979
- "maxLength": 256
5980
- }
5981
+ "anyOf": [
5982
+ {
5983
+ "type": "boolean"
5984
+ },
5985
+ {
5986
+ "maxItems": 256,
5987
+ "type": "array",
5988
+ "items": {
5989
+ "type": "string",
5990
+ "minLength": 1,
5991
+ "maxLength": 256
5992
+ }
5993
+ }
5994
+ ]
5981
5995
  },
5982
5996
  "pageSize": {
5983
5997
  "type": "integer",
@@ -6036,6 +6050,107 @@
6036
6050
  },
6037
6051
  "additionalProperties": {}
6038
6052
  },
6053
+ "columnId": {
6054
+ "type": "string",
6055
+ "minLength": 1,
6056
+ "maxLength": 256
6057
+ },
6058
+ "mode": {
6059
+ "type": "string",
6060
+ "enum": [
6061
+ "replace",
6062
+ "patch",
6063
+ "set-types"
6064
+ ]
6065
+ },
6066
+ "targets": {
6067
+ "maxItems": 500,
6068
+ "type": "array",
6069
+ "items": {
6070
+ "type": "object",
6071
+ "properties": {
6072
+ "assetId": {
6073
+ "type": "string",
6074
+ "minLength": 1,
6075
+ "maxLength": 256
6076
+ },
6077
+ "ontologyId": {
6078
+ "type": "string",
6079
+ "minLength": 1,
6080
+ "maxLength": 256
6081
+ }
6082
+ },
6083
+ "required": [
6084
+ "assetId"
6085
+ ],
6086
+ "additionalProperties": false
6087
+ }
6088
+ },
6089
+ "addTargets": {
6090
+ "maxItems": 500,
6091
+ "type": "array",
6092
+ "items": {
6093
+ "type": "object",
6094
+ "properties": {
6095
+ "assetId": {
6096
+ "type": "string",
6097
+ "minLength": 1,
6098
+ "maxLength": 256
6099
+ },
6100
+ "ontologyId": {
6101
+ "type": "string",
6102
+ "minLength": 1,
6103
+ "maxLength": 256
6104
+ }
6105
+ },
6106
+ "required": [
6107
+ "assetId"
6108
+ ],
6109
+ "additionalProperties": false
6110
+ }
6111
+ },
6112
+ "removeTargets": {
6113
+ "maxItems": 500,
6114
+ "type": "array",
6115
+ "items": {
6116
+ "type": "object",
6117
+ "properties": {
6118
+ "assetId": {
6119
+ "type": "string",
6120
+ "minLength": 1,
6121
+ "maxLength": 256
6122
+ },
6123
+ "ontologyId": {
6124
+ "type": "string",
6125
+ "minLength": 1,
6126
+ "maxLength": 256
6127
+ }
6128
+ },
6129
+ "required": [
6130
+ "assetId"
6131
+ ],
6132
+ "additionalProperties": false
6133
+ }
6134
+ },
6135
+ "idempotencyKey": {
6136
+ "type": "string",
6137
+ "minLength": 1,
6138
+ "maxLength": 256
6139
+ },
6140
+ "expectedRevision": {
6141
+ "anyOf": [
6142
+ {
6143
+ "type": "string",
6144
+ "minLength": 1,
6145
+ "maxLength": 256
6146
+ },
6147
+ {
6148
+ "type": "integer",
6149
+ "minimum": 0,
6150
+ "maximum": 9007199254740991
6151
+ }
6152
+ ]
6153
+ },
6039
6154
  "invalidateOntologies": {
6040
6155
  "maxItems": 64,
6041
6156
  "type": "array",