@inf-monkeys-tech/monkeys 1.1.68 → 1.1.69

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 (54) hide show
  1. package/lib/contracts/bento-block.d.ts +349 -9
  2. package/lib/contracts/bento-block.d.ts.map +1 -1
  3. package/lib/contracts/bento-block.js +116 -1
  4. package/lib/contracts/bento-block.js.map +1 -1
  5. package/lib/contracts/declarative-control-http.d.ts +1970 -435
  6. package/lib/contracts/declarative-control-http.d.ts.map +1 -1
  7. package/lib/contracts/declarative-control.d.ts +219 -54
  8. package/lib/contracts/declarative-control.d.ts.map +1 -1
  9. package/lib/contracts/declarative-document-import.d.ts +295 -20
  10. package/lib/contracts/declarative-document-import.d.ts.map +1 -1
  11. package/lib/contracts/declarative-publication-job.d.ts +280 -80
  12. package/lib/contracts/declarative-publication-job.d.ts.map +1 -1
  13. package/lib/contracts/menu.d.ts +7 -7
  14. package/lib/contracts/page-expression.d.ts +6 -6
  15. package/lib/contracts/page.d.ts +8 -8
  16. package/lib/contracts/render.d.ts +104 -49
  17. package/lib/contracts/render.d.ts.map +1 -1
  18. package/lib/contracts/render.js +1 -9
  19. package/lib/contracts/render.js.map +1 -1
  20. package/lib/contracts/semantic.d.ts +2 -2
  21. package/lib/contracts/tenant.d.ts +11 -11
  22. package/lib/contracts/unified-view.d.ts +57 -2
  23. package/lib/contracts/unified-view.d.ts.map +1 -1
  24. package/lib/contracts/workflow-definition.d.ts +1 -1
  25. package/lib/esm/{chunk-5LZVSAPW.mjs → chunk-AGKIIPUY.mjs} +957 -857
  26. package/lib/esm/chunk-AGKIIPUY.mjs.map +1 -0
  27. package/lib/esm/{chunk-THLZL353.mjs → chunk-AO3G3SE7.mjs} +2 -2
  28. package/lib/esm/{chunk-26ZNN7FU.mjs → chunk-L4CNFVNV.mjs} +4 -3
  29. package/lib/esm/{chunk-26ZNN7FU.mjs.map → chunk-L4CNFVNV.mjs.map} +1 -1
  30. package/lib/esm/{chunk-GN3YEDS2.mjs → chunk-XV4FR5Y6.mjs} +2 -2
  31. package/lib/esm/contracts/index.mjs +26 -2
  32. package/lib/esm/index.mjs +28 -4
  33. package/lib/esm/index.mjs.map +1 -1
  34. package/lib/esm/runtime/index.mjs +3 -3
  35. package/lib/esm/schemas/index.mjs +2 -2
  36. package/lib/json-schema/bento-node.schema.json +482 -37
  37. package/lib/json-schema/overlay-node.schema.json +149 -0
  38. package/lib/json-schema/page-runtime-bundle.schema.json +298 -0
  39. package/lib/json-schema/page.schema.json +298 -0
  40. package/lib/json-schema/render-node.schema.json +149 -0
  41. package/lib/json-schema/render-tree.schema.json +298 -0
  42. package/lib/json-schema/view-ontology-record.schema.json +594 -0
  43. package/lib/runtime/bento-render-tree.d.ts.map +1 -1
  44. package/lib/runtime/bento-render-tree.js +1 -0
  45. package/lib/runtime/bento-render-tree.js.map +1 -1
  46. package/lib/runtime/native-page-composition.d.ts +1 -1
  47. package/lib/runtime/runtime-definition-wire.d.ts +140 -40
  48. package/lib/runtime/runtime-definition-wire.d.ts.map +1 -1
  49. package/lib/schemas/index.d.ts +202 -37
  50. package/lib/schemas/index.d.ts.map +1 -1
  51. package/package.json +2 -2
  52. package/lib/esm/chunk-5LZVSAPW.mjs.map +0 -1
  53. /package/lib/esm/{chunk-THLZL353.mjs.map → chunk-AO3G3SE7.mjs.map} +0 -0
  54. /package/lib/esm/{chunk-GN3YEDS2.mjs.map → chunk-XV4FR5Y6.mjs.map} +0 -0
@@ -200,6 +200,27 @@
200
200
  },
201
201
  "additionalProperties": false
202
202
  },
203
+ "dynamicLayout": {
204
+ "type": "object",
205
+ "properties": {
206
+ "visibleWhen": {
207
+ "$ref": "#/$defs/__schema0"
208
+ },
209
+ "columns": {
210
+ "$ref": "#/$defs/__schema0"
211
+ },
212
+ "gridTemplateColumns": {
213
+ "$ref": "#/$defs/__schema0"
214
+ },
215
+ "flex": {
216
+ "$ref": "#/$defs/__schema0"
217
+ },
218
+ "bentoSurface": {
219
+ "$ref": "#/$defs/__schema0"
220
+ }
221
+ },
222
+ "additionalProperties": false
223
+ },
203
224
  "data": {
204
225
  "type": "object",
205
226
  "properties": {
@@ -303,7 +324,30 @@
303
324
  "additionalProperties": false
304
325
  },
305
326
  "where": {
306
- "$ref": "#/$defs/__schema0"
327
+ "$ref": "#/$defs/__schema2"
328
+ },
329
+ "visibilityScope": {
330
+ "type": "string",
331
+ "enum": [
332
+ "current",
333
+ "currentAndShared",
334
+ "explicitShares"
335
+ ]
336
+ },
337
+ "shareDirection": {
338
+ "type": "string",
339
+ "enum": [
340
+ "sent",
341
+ "received"
342
+ ]
343
+ },
344
+ "shareViewId": {
345
+ "type": "string",
346
+ "minLength": 1,
347
+ "maxLength": 256
348
+ },
349
+ "includeEffectiveCapabilities": {
350
+ "type": "boolean"
307
351
  },
308
352
  "orderBy": {
309
353
  "maxItems": 16,
@@ -400,7 +444,27 @@
400
444
  "additionalProperties": false
401
445
  },
402
446
  "where": {
403
- "$ref": "#/$defs/__schema0"
447
+ "$ref": "#/$defs/__schema2"
448
+ },
449
+ "visibilityScope": {
450
+ "type": "string",
451
+ "enum": [
452
+ "current",
453
+ "currentAndShared",
454
+ "explicitShares"
455
+ ]
456
+ },
457
+ "shareDirection": {
458
+ "type": "string",
459
+ "enum": [
460
+ "sent",
461
+ "received"
462
+ ]
463
+ },
464
+ "shareViewId": {
465
+ "type": "string",
466
+ "minLength": 1,
467
+ "maxLength": 256
404
468
  },
405
469
  "groupBy": {
406
470
  "maxItems": 16,
@@ -464,7 +528,7 @@
464
528
  "maxLength": 256
465
529
  },
466
530
  "filter": {
467
- "$ref": "#/$defs/__schema0"
531
+ "$ref": "#/$defs/__schema2"
468
532
  }
469
533
  },
470
534
  "required": [
@@ -801,6 +865,112 @@
801
865
  ],
802
866
  "additionalProperties": false
803
867
  },
868
+ {
869
+ "type": "object",
870
+ "properties": {
871
+ "kind": {
872
+ "type": "string",
873
+ "const": "facets"
874
+ },
875
+ "from": {
876
+ "type": "object",
877
+ "properties": {
878
+ "source": {
879
+ "default": "ontology",
880
+ "type": "string",
881
+ "enum": [
882
+ "ontology",
883
+ "workflow-outputs",
884
+ "telemetry"
885
+ ]
886
+ },
887
+ "ontologyId": {
888
+ "type": "string",
889
+ "minLength": 1,
890
+ "maxLength": 256
891
+ },
892
+ "workflowId": {
893
+ "type": "string",
894
+ "minLength": 1,
895
+ "maxLength": 256
896
+ },
897
+ "includeSharedSlices": {
898
+ "type": "boolean"
899
+ }
900
+ },
901
+ "required": [
902
+ "source",
903
+ "ontologyId"
904
+ ],
905
+ "additionalProperties": false
906
+ },
907
+ "where": {
908
+ "$ref": "#/$defs/__schema2"
909
+ },
910
+ "visibilityScope": {
911
+ "type": "string",
912
+ "enum": [
913
+ "current",
914
+ "currentAndShared",
915
+ "explicitShares"
916
+ ]
917
+ },
918
+ "shareDirection": {
919
+ "type": "string",
920
+ "enum": [
921
+ "sent",
922
+ "received"
923
+ ]
924
+ },
925
+ "shareViewId": {
926
+ "type": "string",
927
+ "minLength": 1,
928
+ "maxLength": 256
929
+ },
930
+ "dimensions": {
931
+ "minItems": 1,
932
+ "maxItems": 32,
933
+ "type": "array",
934
+ "items": {
935
+ "type": "object",
936
+ "properties": {
937
+ "field": {
938
+ "type": "string",
939
+ "minLength": 1,
940
+ "maxLength": 256
941
+ },
942
+ "kind": {
943
+ "type": "string",
944
+ "enum": [
945
+ "feature",
946
+ "builtin",
947
+ "tag_group",
948
+ "relation_target"
949
+ ]
950
+ },
951
+ "limit": {
952
+ "type": "integer",
953
+ "minimum": 1,
954
+ "maximum": 1000
955
+ },
956
+ "excludeSelf": {
957
+ "type": "boolean"
958
+ }
959
+ },
960
+ "required": [
961
+ "field"
962
+ ],
963
+ "additionalProperties": false
964
+ }
965
+ }
966
+ },
967
+ "required": [
968
+ "kind",
969
+ "from",
970
+ "dimensions"
971
+ ],
972
+ "additionalProperties": false
973
+ },
804
974
  {
805
975
  "type": "object",
806
976
  "properties": {
@@ -841,7 +1011,7 @@
841
1011
  "additionalProperties": false
842
1012
  },
843
1013
  "where": {
844
- "$ref": "#/$defs/__schema0"
1014
+ "$ref": "#/$defs/__schema2"
845
1015
  },
846
1016
  "graph": {
847
1017
  "type": "object",
@@ -924,7 +1094,7 @@
924
1094
  }
925
1095
  },
926
1096
  "where": {
927
- "$ref": "#/$defs/__schema0"
1097
+ "$ref": "#/$defs/__schema2"
928
1098
  }
929
1099
  },
930
1100
  "required": [
@@ -1238,6 +1408,27 @@
1238
1408
  },
1239
1409
  "additionalProperties": false
1240
1410
  },
1411
+ "dynamicLayout": {
1412
+ "type": "object",
1413
+ "properties": {
1414
+ "visibleWhen": {
1415
+ "$ref": "#/$defs/__schema0"
1416
+ },
1417
+ "columns": {
1418
+ "$ref": "#/$defs/__schema0"
1419
+ },
1420
+ "gridTemplateColumns": {
1421
+ "$ref": "#/$defs/__schema0"
1422
+ },
1423
+ "flex": {
1424
+ "$ref": "#/$defs/__schema0"
1425
+ },
1426
+ "bentoSurface": {
1427
+ "$ref": "#/$defs/__schema0"
1428
+ }
1429
+ },
1430
+ "additionalProperties": false
1431
+ },
1241
1432
  "block": {
1242
1433
  "type": "object",
1243
1434
  "properties": {
@@ -1666,6 +1857,291 @@
1666
1857
  ],
1667
1858
  "$defs": {
1668
1859
  "__schema0": {
1860
+ "anyOf": [
1861
+ {
1862
+ "type": "object",
1863
+ "properties": {
1864
+ "kind": {
1865
+ "type": "string",
1866
+ "const": "literal"
1867
+ },
1868
+ "value": {
1869
+ "$ref": "#/$defs/__schema1"
1870
+ }
1871
+ },
1872
+ "required": [
1873
+ "kind",
1874
+ "value"
1875
+ ],
1876
+ "additionalProperties": false
1877
+ },
1878
+ {
1879
+ "type": "object",
1880
+ "properties": {
1881
+ "kind": {
1882
+ "type": "string",
1883
+ "const": "read"
1884
+ },
1885
+ "root": {
1886
+ "type": "string",
1887
+ "enum": [
1888
+ "state",
1889
+ "model",
1890
+ "bindings",
1891
+ "queries",
1892
+ "scope",
1893
+ "intent",
1894
+ "result",
1895
+ "actions",
1896
+ "parameters"
1897
+ ]
1898
+ },
1899
+ "path": {
1900
+ "maxItems": 16,
1901
+ "type": "array",
1902
+ "items": {
1903
+ "type": "string",
1904
+ "minLength": 1,
1905
+ "maxLength": 256
1906
+ }
1907
+ }
1908
+ },
1909
+ "required": [
1910
+ "kind",
1911
+ "root",
1912
+ "path"
1913
+ ],
1914
+ "additionalProperties": false
1915
+ },
1916
+ {
1917
+ "type": "object",
1918
+ "properties": {
1919
+ "kind": {
1920
+ "type": "string",
1921
+ "const": "operator"
1922
+ },
1923
+ "operator": {
1924
+ "type": "string",
1925
+ "enum": [
1926
+ "add",
1927
+ "subtract",
1928
+ "multiply",
1929
+ "divide",
1930
+ "min",
1931
+ "max",
1932
+ "round",
1933
+ "equals",
1934
+ "not-equals",
1935
+ "less-than",
1936
+ "less-or-equal",
1937
+ "greater-than",
1938
+ "greater-or-equal",
1939
+ "and",
1940
+ "or",
1941
+ "not",
1942
+ "coalesce",
1943
+ "concat",
1944
+ "string",
1945
+ "number",
1946
+ "length",
1947
+ "includes",
1948
+ "get",
1949
+ "set-path",
1950
+ "merge",
1951
+ "entries",
1952
+ "from-entries",
1953
+ "array-concat",
1954
+ "slice",
1955
+ "trim",
1956
+ "fixed",
1957
+ "number-format",
1958
+ "encode-uri-component"
1959
+ ]
1960
+ },
1961
+ "arguments": {
1962
+ "minItems": 1,
1963
+ "maxItems": 32,
1964
+ "type": "array",
1965
+ "items": {
1966
+ "$ref": "#/$defs/__schema0"
1967
+ }
1968
+ }
1969
+ },
1970
+ "required": [
1971
+ "kind",
1972
+ "operator",
1973
+ "arguments"
1974
+ ],
1975
+ "additionalProperties": false
1976
+ },
1977
+ {
1978
+ "type": "object",
1979
+ "properties": {
1980
+ "kind": {
1981
+ "type": "string",
1982
+ "const": "conditional"
1983
+ },
1984
+ "condition": {
1985
+ "$ref": "#/$defs/__schema0"
1986
+ },
1987
+ "then": {
1988
+ "$ref": "#/$defs/__schema0"
1989
+ },
1990
+ "else": {
1991
+ "$ref": "#/$defs/__schema0"
1992
+ }
1993
+ },
1994
+ "required": [
1995
+ "kind",
1996
+ "condition",
1997
+ "then",
1998
+ "else"
1999
+ ],
2000
+ "additionalProperties": false
2001
+ },
2002
+ {
2003
+ "type": "object",
2004
+ "properties": {
2005
+ "kind": {
2006
+ "type": "string",
2007
+ "const": "object"
2008
+ },
2009
+ "fields": {
2010
+ "type": "object",
2011
+ "propertyNames": {
2012
+ "type": "string",
2013
+ "minLength": 1,
2014
+ "maxLength": 256
2015
+ },
2016
+ "additionalProperties": {
2017
+ "$ref": "#/$defs/__schema0"
2018
+ }
2019
+ }
2020
+ },
2021
+ "required": [
2022
+ "kind",
2023
+ "fields"
2024
+ ],
2025
+ "additionalProperties": false
2026
+ },
2027
+ {
2028
+ "type": "object",
2029
+ "properties": {
2030
+ "kind": {
2031
+ "type": "string",
2032
+ "const": "array"
2033
+ },
2034
+ "items": {
2035
+ "maxItems": 1000,
2036
+ "type": "array",
2037
+ "items": {
2038
+ "$ref": "#/$defs/__schema0"
2039
+ }
2040
+ }
2041
+ },
2042
+ "required": [
2043
+ "kind",
2044
+ "items"
2045
+ ],
2046
+ "additionalProperties": false
2047
+ },
2048
+ {
2049
+ "type": "object",
2050
+ "properties": {
2051
+ "kind": {
2052
+ "type": "string",
2053
+ "const": "map"
2054
+ },
2055
+ "source": {
2056
+ "$ref": "#/$defs/__schema0"
2057
+ },
2058
+ "value": {
2059
+ "$ref": "#/$defs/__schema0"
2060
+ }
2061
+ },
2062
+ "required": [
2063
+ "kind",
2064
+ "source",
2065
+ "value"
2066
+ ],
2067
+ "additionalProperties": false
2068
+ },
2069
+ {
2070
+ "type": "object",
2071
+ "properties": {
2072
+ "kind": {
2073
+ "type": "string",
2074
+ "const": "filter"
2075
+ },
2076
+ "source": {
2077
+ "$ref": "#/$defs/__schema0"
2078
+ },
2079
+ "value": {
2080
+ "$ref": "#/$defs/__schema0"
2081
+ }
2082
+ },
2083
+ "required": [
2084
+ "kind",
2085
+ "source",
2086
+ "value"
2087
+ ],
2088
+ "additionalProperties": false
2089
+ },
2090
+ {
2091
+ "type": "object",
2092
+ "properties": {
2093
+ "kind": {
2094
+ "type": "string",
2095
+ "const": "sum"
2096
+ },
2097
+ "source": {
2098
+ "$ref": "#/$defs/__schema0"
2099
+ },
2100
+ "value": {
2101
+ "$ref": "#/$defs/__schema0"
2102
+ }
2103
+ },
2104
+ "required": [
2105
+ "kind",
2106
+ "source",
2107
+ "value"
2108
+ ],
2109
+ "additionalProperties": false
2110
+ }
2111
+ ]
2112
+ },
2113
+ "__schema1": {
2114
+ "anyOf": [
2115
+ {
2116
+ "type": "string"
2117
+ },
2118
+ {
2119
+ "type": "number"
2120
+ },
2121
+ {
2122
+ "type": "boolean"
2123
+ },
2124
+ {
2125
+ "type": "null"
2126
+ },
2127
+ {
2128
+ "type": "array",
2129
+ "items": {
2130
+ "$ref": "#/$defs/__schema1"
2131
+ }
2132
+ },
2133
+ {
2134
+ "type": "object",
2135
+ "propertyNames": {
2136
+ "type": "string"
2137
+ },
2138
+ "additionalProperties": {
2139
+ "$ref": "#/$defs/__schema1"
2140
+ }
2141
+ }
2142
+ ]
2143
+ },
2144
+ "__schema2": {
1669
2145
  "anyOf": [
1670
2146
  {
1671
2147
  "type": "object",
@@ -1683,7 +2159,7 @@
1683
2159
  "maxItems": 64,
1684
2160
  "type": "array",
1685
2161
  "items": {
1686
- "$ref": "#/$defs/__schema0"
2162
+ "$ref": "#/$defs/__schema2"
1687
2163
  }
1688
2164
  }
1689
2165
  },
@@ -1946,37 +2422,6 @@
1946
2422
  "additionalProperties": false
1947
2423
  }
1948
2424
  ]
1949
- },
1950
- "__schema1": {
1951
- "anyOf": [
1952
- {
1953
- "type": "string"
1954
- },
1955
- {
1956
- "type": "number"
1957
- },
1958
- {
1959
- "type": "boolean"
1960
- },
1961
- {
1962
- "type": "null"
1963
- },
1964
- {
1965
- "type": "array",
1966
- "items": {
1967
- "$ref": "#/$defs/__schema1"
1968
- }
1969
- },
1970
- {
1971
- "type": "object",
1972
- "propertyNames": {
1973
- "type": "string"
1974
- },
1975
- "additionalProperties": {
1976
- "$ref": "#/$defs/__schema1"
1977
- }
1978
- }
1979
- ]
1980
2425
  }
1981
2426
  },
1982
2427
  "$id": "https://schemas.infmonkeys.com/contracts/bento-node.schema.json",