@inf-monkeys-tech/monkeys 1.0.71 → 1.1.0

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 (140) hide show
  1. package/lib/contracts/aggregate-commit.d.ts +155 -0
  2. package/lib/contracts/aggregate-commit.d.ts.map +1 -0
  3. package/lib/contracts/aggregate-commit.js +112 -0
  4. package/lib/contracts/aggregate-commit.js.map +1 -0
  5. package/lib/contracts/capability.d.ts +3 -0
  6. package/lib/contracts/capability.d.ts.map +1 -1
  7. package/lib/contracts/capability.js +1 -1
  8. package/lib/contracts/capability.js.map +1 -1
  9. package/lib/contracts/common.d.ts +2 -0
  10. package/lib/contracts/common.d.ts.map +1 -1
  11. package/lib/contracts/common.js +34 -1
  12. package/lib/contracts/common.js.map +1 -1
  13. package/lib/contracts/component-assembly.d.ts +118 -0
  14. package/lib/contracts/component-assembly.d.ts.map +1 -0
  15. package/lib/contracts/component-assembly.js +61 -0
  16. package/lib/contracts/component-assembly.js.map +1 -0
  17. package/lib/contracts/declarative-control-http.d.ts +101608 -44791
  18. package/lib/contracts/declarative-control-http.d.ts.map +1 -1
  19. package/lib/contracts/declarative-control-http.js +1358 -86
  20. package/lib/contracts/declarative-control-http.js.map +1 -1
  21. package/lib/contracts/declarative-control.d.ts +9668 -3376
  22. package/lib/contracts/declarative-control.d.ts.map +1 -1
  23. package/lib/contracts/declarative-control.js +2585 -186
  24. package/lib/contracts/declarative-control.js.map +1 -1
  25. package/lib/contracts/index.d.ts +6 -0
  26. package/lib/contracts/index.d.ts.map +1 -1
  27. package/lib/contracts/index.js +6 -0
  28. package/lib/contracts/index.js.map +1 -1
  29. package/lib/contracts/legacy-route.d.ts +15 -0
  30. package/lib/contracts/legacy-route.d.ts.map +1 -0
  31. package/lib/contracts/legacy-route.js +13 -0
  32. package/lib/contracts/legacy-route.js.map +1 -0
  33. package/lib/contracts/menu.d.ts +12 -0
  34. package/lib/contracts/menu.d.ts.map +1 -1
  35. package/lib/contracts/page-binding-dependencies.d.ts +25 -0
  36. package/lib/contracts/page-binding-dependencies.d.ts.map +1 -0
  37. package/lib/contracts/page-binding-dependencies.js +54 -0
  38. package/lib/contracts/page-binding-dependencies.js.map +1 -0
  39. package/lib/contracts/page-expression.d.ts +106 -0
  40. package/lib/contracts/page-expression.d.ts.map +1 -0
  41. package/lib/contracts/page-expression.js +136 -0
  42. package/lib/contracts/page-expression.js.map +1 -0
  43. package/lib/contracts/page-stream.d.ts +101 -0
  44. package/lib/contracts/page-stream.d.ts.map +1 -0
  45. package/lib/contracts/page-stream.js +66 -0
  46. package/lib/contracts/page-stream.js.map +1 -0
  47. package/lib/contracts/page.d.ts +24 -0
  48. package/lib/contracts/page.d.ts.map +1 -1
  49. package/lib/contracts/page.js +2 -0
  50. package/lib/contracts/page.js.map +1 -1
  51. package/lib/contracts/record-editor-draft.d.ts +95 -0
  52. package/lib/contracts/record-editor-draft.d.ts.map +1 -0
  53. package/lib/contracts/record-editor-draft.js +35 -0
  54. package/lib/contracts/record-editor-draft.js.map +1 -0
  55. package/lib/contracts/render.d.ts +16 -0
  56. package/lib/contracts/render.d.ts.map +1 -1
  57. package/lib/contracts/render.js +3 -1
  58. package/lib/contracts/render.js.map +1 -1
  59. package/lib/contracts/semantic.d.ts +48 -1
  60. package/lib/contracts/semantic.d.ts.map +1 -1
  61. package/lib/contracts/semantic.js +22 -19
  62. package/lib/contracts/semantic.js.map +1 -1
  63. package/lib/contracts/tenant.d.ts +133 -6
  64. package/lib/contracts/tenant.d.ts.map +1 -1
  65. package/lib/contracts/tenant.js +16 -1
  66. package/lib/contracts/tenant.js.map +1 -1
  67. package/lib/esm/contracts/index.mjs +6921 -3030
  68. package/lib/esm/contracts/index.mjs.map +1 -1
  69. package/lib/esm/index.mjs +11407 -5019
  70. package/lib/esm/index.mjs.map +1 -1
  71. package/lib/esm/runtime/index.mjs +11514 -4409
  72. package/lib/esm/runtime/index.mjs.map +1 -1
  73. package/lib/esm/schemas/index.mjs +7283 -2570
  74. package/lib/esm/schemas/index.mjs.map +1 -1
  75. package/lib/json-schema/aggregate-commit-request.schema.json +426 -0
  76. package/lib/json-schema/capability-manifest.schema.json +1 -0
  77. package/lib/json-schema/capability-registry.schema.json +1 -0
  78. package/lib/json-schema/declarative-route-owner-index.schema.json +1092 -0
  79. package/lib/json-schema/declarative-workbench-catalog.schema.json +769 -0
  80. package/lib/json-schema/design-capability-catalog-artifact.schema.json +2787 -0
  81. package/lib/json-schema/domain-command-definition.schema.json +18 -0
  82. package/lib/json-schema/domain-query-definition.schema.json +1406 -0
  83. package/lib/json-schema/index.json +7 -0
  84. package/lib/json-schema/legacy-route-takeover-authorization.schema.json +601 -0
  85. package/lib/json-schema/navigation-release.schema.json +296 -0
  86. package/lib/json-schema/navigation-runtime-bundle.schema.json +48 -8
  87. package/lib/json-schema/navigation.schema.json +47 -8
  88. package/lib/json-schema/overlay-node.schema.json +281 -0
  89. package/lib/json-schema/page-definition.schema.json +34 -0
  90. package/lib/json-schema/page-release.schema.json +1520 -626
  91. package/lib/json-schema/page-runtime-bundle.schema.json +5980 -401
  92. package/lib/json-schema/page-runtime-descriptor.schema.json +34 -0
  93. package/lib/json-schema/page.schema.json +7333 -1482
  94. package/lib/json-schema/permission-alternative-policy.schema.json +60 -0
  95. package/lib/json-schema/product-declaration.schema.json +53 -0
  96. package/lib/json-schema/render-node.schema.json +281 -0
  97. package/lib/json-schema/render-tree.schema.json +281 -0
  98. package/lib/json-schema/tenant-product-config.schema.json +107 -0
  99. package/lib/json-schema/tenant-runtime-config.schema.json +107 -0
  100. package/lib/json-schema/view-provider-descriptor.schema.json +1 -0
  101. package/lib/json-schema/workbench-release.schema.json +1520 -626
  102. package/lib/json-schema/workbench-runtime-bundle.schema.json +686 -20
  103. package/lib/json-schema/workbench.schema.json +1196 -0
  104. package/lib/runtime/component-assembly.d.ts +4 -0
  105. package/lib/runtime/component-assembly.d.ts.map +1 -0
  106. package/lib/runtime/component-assembly.js +126 -0
  107. package/lib/runtime/component-assembly.js.map +1 -0
  108. package/lib/runtime/declarative-control-compiler.d.ts +66 -5
  109. package/lib/runtime/declarative-control-compiler.d.ts.map +1 -1
  110. package/lib/runtime/declarative-control-compiler.js +862 -109
  111. package/lib/runtime/declarative-control-compiler.js.map +1 -1
  112. package/lib/runtime/index.d.ts +5 -0
  113. package/lib/runtime/index.d.ts.map +1 -1
  114. package/lib/runtime/index.js +7 -0
  115. package/lib/runtime/index.js.map +1 -1
  116. package/lib/runtime/page-expression.d.ts +9 -0
  117. package/lib/runtime/page-expression.d.ts.map +1 -0
  118. package/lib/runtime/page-expression.js +257 -0
  119. package/lib/runtime/page-expression.js.map +1 -0
  120. package/lib/runtime/page-stream.d.ts +24 -0
  121. package/lib/runtime/page-stream.d.ts.map +1 -0
  122. package/lib/runtime/page-stream.js +65 -0
  123. package/lib/runtime/page-stream.js.map +1 -0
  124. package/lib/runtime/record-editor-draft.d.ts +29 -0
  125. package/lib/runtime/record-editor-draft.d.ts.map +1 -0
  126. package/lib/runtime/record-editor-draft.js +161 -0
  127. package/lib/runtime/record-editor-draft.js.map +1 -0
  128. package/lib/runtime/target-render-model.d.ts +4 -0
  129. package/lib/runtime/target-render-model.d.ts.map +1 -0
  130. package/lib/runtime/target-render-model.js +28 -0
  131. package/lib/runtime/target-render-model.js.map +1 -0
  132. package/lib/runtime/tenant-config.d.ts +2 -0
  133. package/lib/runtime/tenant-config.d.ts.map +1 -1
  134. package/lib/runtime/tenant-config.js +6 -1
  135. package/lib/runtime/tenant-config.js.map +1 -1
  136. package/lib/schemas/index.d.ts +6969 -2169
  137. package/lib/schemas/index.d.ts.map +1 -1
  138. package/lib/schemas/index.js +86 -8
  139. package/lib/schemas/index.js.map +1 -1
  140. package/package.json +1 -1
@@ -0,0 +1,60 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "contract": {
6
+ "type": "string",
7
+ "const": "PermissionAlternativePolicy"
8
+ },
9
+ "schemaVersion": {
10
+ "type": "number",
11
+ "const": 1
12
+ },
13
+ "policyId": {
14
+ "type": "string",
15
+ "minLength": 1,
16
+ "maxLength": 256
17
+ },
18
+ "alternatives": {
19
+ "minItems": 1,
20
+ "type": "array",
21
+ "items": {
22
+ "minItems": 1,
23
+ "type": "array",
24
+ "items": {
25
+ "type": "string",
26
+ "minLength": 1,
27
+ "maxLength": 256
28
+ }
29
+ }
30
+ },
31
+ "retirementGate": {
32
+ "type": "object",
33
+ "properties": {
34
+ "capability": {
35
+ "type": "string",
36
+ "minLength": 1,
37
+ "maxLength": 256
38
+ },
39
+ "notBefore": {
40
+ "type": "string",
41
+ "format": "date-time",
42
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
43
+ }
44
+ },
45
+ "required": [
46
+ "capability"
47
+ ],
48
+ "additionalProperties": false
49
+ }
50
+ },
51
+ "required": [
52
+ "contract",
53
+ "schemaVersion",
54
+ "policyId",
55
+ "alternatives"
56
+ ],
57
+ "additionalProperties": false,
58
+ "$id": "https://schemas.infmonkeys.com/contracts/permission-alternative-policy.schema.json",
59
+ "title": "permission-alternative-policy"
60
+ }
@@ -375,6 +375,24 @@
375
375
  "minLength": 1,
376
376
  "maxLength": 256
377
377
  },
378
+ "sensitiveInputPaths": {
379
+ "maxItems": 64,
380
+ "type": "array",
381
+ "items": {
382
+ "type": "string",
383
+ "maxLength": 512,
384
+ "pattern": "^\\/.*"
385
+ }
386
+ },
387
+ "sensitiveResultPaths": {
388
+ "maxItems": 64,
389
+ "type": "array",
390
+ "items": {
391
+ "type": "string",
392
+ "maxLength": 512,
393
+ "pattern": "^\\/.*"
394
+ }
395
+ },
378
396
  "requiredPermissionCodes": {
379
397
  "default": [],
380
398
  "type": "array",
@@ -720,6 +738,7 @@
720
738
  "network",
721
739
  "storage",
722
740
  "navigation",
741
+ "clipboard",
723
742
  "worker",
724
743
  "websocket"
725
744
  ]
@@ -1030,6 +1049,40 @@
1030
1049
  "type": "string",
1031
1050
  "pattern": "^\\/(?!\\/)"
1032
1051
  },
1052
+ "legacyRoutePolicy": {
1053
+ "type": "object",
1054
+ "properties": {
1055
+ "contract": {
1056
+ "type": "string",
1057
+ "const": "LegacyRoutePolicy"
1058
+ },
1059
+ "schemaVersion": {
1060
+ "type": "number",
1061
+ "const": 1
1062
+ },
1063
+ "fallback": {
1064
+ "type": "string",
1065
+ "enum": [
1066
+ "allowed",
1067
+ "forbidden"
1068
+ ]
1069
+ },
1070
+ "restoration": {
1071
+ "type": "string",
1072
+ "enum": [
1073
+ "allowed",
1074
+ "forbidden"
1075
+ ]
1076
+ }
1077
+ },
1078
+ "required": [
1079
+ "contract",
1080
+ "schemaVersion",
1081
+ "fallback",
1082
+ "restoration"
1083
+ ],
1084
+ "additionalProperties": false
1085
+ },
1033
1086
  "rendererKey": {
1034
1087
  "type": "string",
1035
1088
  "minLength": 1,
@@ -717,6 +717,36 @@
717
717
  "additionalProperties": {
718
718
  "$ref": "#/$defs/__schema0"
719
719
  }
720
+ },
721
+ "repeat": {
722
+ "type": "object",
723
+ "properties": {
724
+ "source": {
725
+ "$ref": "#/$defs/__schema1"
726
+ },
727
+ "keyPath": {
728
+ "minItems": 1,
729
+ "maxItems": 16,
730
+ "type": "array",
731
+ "items": {
732
+ "type": "string",
733
+ "minLength": 1,
734
+ "maxLength": 256
735
+ }
736
+ },
737
+ "limit": {
738
+ "default": 200,
739
+ "type": "integer",
740
+ "minimum": 1,
741
+ "maximum": 1000
742
+ }
743
+ },
744
+ "required": [
745
+ "source",
746
+ "keyPath",
747
+ "limit"
748
+ ],
749
+ "additionalProperties": false
720
750
  }
721
751
  },
722
752
  "required": [
@@ -769,6 +799,257 @@
769
799
  }
770
800
  }
771
801
  ]
802
+ },
803
+ "__schema1": {
804
+ "anyOf": [
805
+ {
806
+ "type": "object",
807
+ "properties": {
808
+ "kind": {
809
+ "type": "string",
810
+ "const": "literal"
811
+ },
812
+ "value": {
813
+ "$ref": "#/$defs/__schema0"
814
+ }
815
+ },
816
+ "required": [
817
+ "kind",
818
+ "value"
819
+ ],
820
+ "additionalProperties": false
821
+ },
822
+ {
823
+ "type": "object",
824
+ "properties": {
825
+ "kind": {
826
+ "type": "string",
827
+ "const": "read"
828
+ },
829
+ "root": {
830
+ "type": "string",
831
+ "enum": [
832
+ "state",
833
+ "model",
834
+ "bindings",
835
+ "scope",
836
+ "intent",
837
+ "result",
838
+ "actions"
839
+ ]
840
+ },
841
+ "path": {
842
+ "maxItems": 16,
843
+ "type": "array",
844
+ "items": {
845
+ "type": "string",
846
+ "minLength": 1,
847
+ "maxLength": 256
848
+ }
849
+ }
850
+ },
851
+ "required": [
852
+ "kind",
853
+ "root",
854
+ "path"
855
+ ],
856
+ "additionalProperties": false
857
+ },
858
+ {
859
+ "type": "object",
860
+ "properties": {
861
+ "kind": {
862
+ "type": "string",
863
+ "const": "operator"
864
+ },
865
+ "operator": {
866
+ "type": "string",
867
+ "enum": [
868
+ "add",
869
+ "subtract",
870
+ "multiply",
871
+ "divide",
872
+ "min",
873
+ "max",
874
+ "round",
875
+ "equals",
876
+ "not-equals",
877
+ "less-than",
878
+ "less-or-equal",
879
+ "greater-than",
880
+ "greater-or-equal",
881
+ "and",
882
+ "or",
883
+ "not",
884
+ "coalesce",
885
+ "concat",
886
+ "string",
887
+ "number",
888
+ "length",
889
+ "includes",
890
+ "get",
891
+ "set-path",
892
+ "merge",
893
+ "entries",
894
+ "from-entries",
895
+ "array-concat",
896
+ "slice",
897
+ "trim",
898
+ "fixed",
899
+ "number-format"
900
+ ]
901
+ },
902
+ "arguments": {
903
+ "minItems": 1,
904
+ "maxItems": 32,
905
+ "type": "array",
906
+ "items": {
907
+ "$ref": "#/$defs/__schema1"
908
+ }
909
+ }
910
+ },
911
+ "required": [
912
+ "kind",
913
+ "operator",
914
+ "arguments"
915
+ ],
916
+ "additionalProperties": false
917
+ },
918
+ {
919
+ "type": "object",
920
+ "properties": {
921
+ "kind": {
922
+ "type": "string",
923
+ "const": "conditional"
924
+ },
925
+ "condition": {
926
+ "$ref": "#/$defs/__schema1"
927
+ },
928
+ "then": {
929
+ "$ref": "#/$defs/__schema1"
930
+ },
931
+ "else": {
932
+ "$ref": "#/$defs/__schema1"
933
+ }
934
+ },
935
+ "required": [
936
+ "kind",
937
+ "condition",
938
+ "then",
939
+ "else"
940
+ ],
941
+ "additionalProperties": false
942
+ },
943
+ {
944
+ "type": "object",
945
+ "properties": {
946
+ "kind": {
947
+ "type": "string",
948
+ "const": "object"
949
+ },
950
+ "fields": {
951
+ "type": "object",
952
+ "propertyNames": {
953
+ "type": "string",
954
+ "minLength": 1,
955
+ "maxLength": 256
956
+ },
957
+ "additionalProperties": {
958
+ "$ref": "#/$defs/__schema1"
959
+ }
960
+ }
961
+ },
962
+ "required": [
963
+ "kind",
964
+ "fields"
965
+ ],
966
+ "additionalProperties": false
967
+ },
968
+ {
969
+ "type": "object",
970
+ "properties": {
971
+ "kind": {
972
+ "type": "string",
973
+ "const": "array"
974
+ },
975
+ "items": {
976
+ "maxItems": 1000,
977
+ "type": "array",
978
+ "items": {
979
+ "$ref": "#/$defs/__schema1"
980
+ }
981
+ }
982
+ },
983
+ "required": [
984
+ "kind",
985
+ "items"
986
+ ],
987
+ "additionalProperties": false
988
+ },
989
+ {
990
+ "type": "object",
991
+ "properties": {
992
+ "kind": {
993
+ "type": "string",
994
+ "const": "map"
995
+ },
996
+ "source": {
997
+ "$ref": "#/$defs/__schema1"
998
+ },
999
+ "value": {
1000
+ "$ref": "#/$defs/__schema1"
1001
+ }
1002
+ },
1003
+ "required": [
1004
+ "kind",
1005
+ "source",
1006
+ "value"
1007
+ ],
1008
+ "additionalProperties": false
1009
+ },
1010
+ {
1011
+ "type": "object",
1012
+ "properties": {
1013
+ "kind": {
1014
+ "type": "string",
1015
+ "const": "filter"
1016
+ },
1017
+ "source": {
1018
+ "$ref": "#/$defs/__schema1"
1019
+ },
1020
+ "value": {
1021
+ "$ref": "#/$defs/__schema1"
1022
+ }
1023
+ },
1024
+ "required": [
1025
+ "kind",
1026
+ "source",
1027
+ "value"
1028
+ ],
1029
+ "additionalProperties": false
1030
+ },
1031
+ {
1032
+ "type": "object",
1033
+ "properties": {
1034
+ "kind": {
1035
+ "type": "string",
1036
+ "const": "sum"
1037
+ },
1038
+ "source": {
1039
+ "$ref": "#/$defs/__schema1"
1040
+ },
1041
+ "value": {
1042
+ "$ref": "#/$defs/__schema1"
1043
+ }
1044
+ },
1045
+ "required": [
1046
+ "kind",
1047
+ "source",
1048
+ "value"
1049
+ ],
1050
+ "additionalProperties": false
1051
+ }
1052
+ ]
772
1053
  }
773
1054
  },
774
1055
  "$id": "https://schemas.infmonkeys.com/contracts/render-node.schema.json",