@inf-monkeys-tech/monkeys 1.1.68 → 1.1.70

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