@inf-monkeys-tech/monkeys 1.1.70 → 1.1.72

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 (93) hide show
  1. package/lib/contracts/bento-block.d.ts +53 -1
  2. package/lib/contracts/bento-block.d.ts.map +1 -1
  3. package/lib/contracts/bento-block.js +37 -2
  4. package/lib/contracts/bento-block.js.map +1 -1
  5. package/lib/contracts/capability.d.ts +3 -3
  6. package/lib/contracts/declarative-control-http.d.ts +1806 -708
  7. package/lib/contracts/declarative-control-http.d.ts.map +1 -1
  8. package/lib/contracts/declarative-control-http.js +9 -0
  9. package/lib/contracts/declarative-control-http.js.map +1 -1
  10. package/lib/contracts/declarative-control.d.ts +134 -45
  11. package/lib/contracts/declarative-control.d.ts.map +1 -1
  12. package/lib/contracts/declarative-control.js +1 -0
  13. package/lib/contracts/declarative-control.js.map +1 -1
  14. package/lib/contracts/declarative-document-import.d.ts +53 -2
  15. package/lib/contracts/declarative-document-import.d.ts.map +1 -1
  16. package/lib/contracts/declarative-document-import.js +6 -0
  17. package/lib/contracts/declarative-document-import.js.map +1 -1
  18. package/lib/contracts/declarative-page-delivery.d.ts +145 -0
  19. package/lib/contracts/declarative-page-delivery.d.ts.map +1 -0
  20. package/lib/contracts/declarative-page-delivery.js +164 -0
  21. package/lib/contracts/declarative-page-delivery.js.map +1 -0
  22. package/lib/contracts/declarative-publication-health.d.ts +1061 -0
  23. package/lib/contracts/declarative-publication-health.d.ts.map +1 -0
  24. package/lib/contracts/declarative-publication-health.js +148 -0
  25. package/lib/contracts/declarative-publication-health.js.map +1 -0
  26. package/lib/contracts/declarative-publication-job.d.ts +454 -187
  27. package/lib/contracts/declarative-publication-job.d.ts.map +1 -1
  28. package/lib/contracts/declarative-publication-verification.d.ts +8 -2
  29. package/lib/contracts/declarative-publication-verification.d.ts.map +1 -1
  30. package/lib/contracts/declarative-publication-verification.js +5 -0
  31. package/lib/contracts/declarative-publication-verification.js.map +1 -1
  32. package/lib/contracts/index.d.ts +2 -0
  33. package/lib/contracts/index.d.ts.map +1 -1
  34. package/lib/contracts/index.js +2 -0
  35. package/lib/contracts/index.js.map +1 -1
  36. package/lib/contracts/render.d.ts +244 -63
  37. package/lib/contracts/render.d.ts.map +1 -1
  38. package/lib/contracts/render.js +35 -2
  39. package/lib/contracts/render.js.map +1 -1
  40. package/lib/contracts/semantic.d.ts +3 -3
  41. package/lib/esm/{chunk-6YMBQGEH.mjs → chunk-DOQFYTAY.mjs} +16 -2
  42. package/lib/esm/chunk-DOQFYTAY.mjs.map +1 -0
  43. package/lib/esm/{chunk-DKJLFQED.mjs → chunk-EMRIN6FD.mjs} +2 -2
  44. package/lib/esm/{chunk-DNAWFM27.mjs → chunk-GAAD4RFK.mjs} +335 -4
  45. package/lib/esm/chunk-GAAD4RFK.mjs.map +1 -0
  46. package/lib/esm/{chunk-H5Z4GWPV.mjs → chunk-HFNPLMKA.mjs} +2069 -1742
  47. package/lib/esm/chunk-HFNPLMKA.mjs.map +1 -0
  48. package/lib/esm/contracts/index.mjs +36 -2
  49. package/lib/esm/index.mjs +44 -4
  50. package/lib/esm/index.mjs.map +1 -1
  51. package/lib/esm/runtime/index.mjs +9 -3
  52. package/lib/esm/schemas/index.mjs +2 -2
  53. package/lib/json-schema/bento-node.schema.json +141 -1
  54. package/lib/json-schema/declarative-page-overlay.schema.json +184 -0
  55. package/lib/json-schema/declarative-page-package.schema.json +73 -0
  56. package/lib/json-schema/declarative-page-rendering.schema.json +239 -0
  57. package/lib/json-schema/declarative-publication-last-known-good-result.schema.json +675 -0
  58. package/lib/json-schema/declarative-publication-last-known-good.schema.json +651 -0
  59. package/lib/json-schema/declarative-publication-record-result.schema.json +1138 -0
  60. package/lib/json-schema/declarative-publication-recovery-result.schema.json +1775 -0
  61. package/lib/json-schema/declarative-publication-verification.schema.json +11 -0
  62. package/lib/json-schema/index.json +7 -0
  63. package/lib/json-schema/overlay-node.schema.json +241 -1
  64. package/lib/json-schema/page-runtime-bundle.schema.json +241 -1
  65. package/lib/json-schema/page.schema.json +241 -1
  66. package/lib/json-schema/render-node.schema.json +241 -1
  67. package/lib/json-schema/render-tree.schema.json +241 -1
  68. package/lib/json-schema/view-ontology-record.schema.json +141 -1
  69. package/lib/runtime/bento-render-tree.d.ts.map +1 -1
  70. package/lib/runtime/bento-render-tree.js +13 -1
  71. package/lib/runtime/bento-render-tree.js.map +1 -1
  72. package/lib/runtime/declarative-control-compiler.d.ts.map +1 -1
  73. package/lib/runtime/declarative-control-compiler.js +1 -0
  74. package/lib/runtime/declarative-control-compiler.js.map +1 -1
  75. package/lib/runtime/declarative-page-delivery.d.ts +41 -0
  76. package/lib/runtime/declarative-page-delivery.d.ts.map +1 -0
  77. package/lib/runtime/declarative-page-delivery.js +270 -0
  78. package/lib/runtime/declarative-page-delivery.js.map +1 -0
  79. package/lib/runtime/index.d.ts +1 -0
  80. package/lib/runtime/index.d.ts.map +1 -1
  81. package/lib/runtime/index.js +1 -0
  82. package/lib/runtime/index.js.map +1 -1
  83. package/lib/runtime/runtime-definition-wire.d.ts +191 -83
  84. package/lib/runtime/runtime-definition-wire.d.ts.map +1 -1
  85. package/lib/schemas/index.d.ts +304 -33
  86. package/lib/schemas/index.d.ts.map +1 -1
  87. package/lib/schemas/index.js +9 -0
  88. package/lib/schemas/index.js.map +1 -1
  89. package/package.json +2 -2
  90. package/lib/esm/chunk-6YMBQGEH.mjs.map +0 -1
  91. package/lib/esm/chunk-DNAWFM27.mjs.map +0 -1
  92. package/lib/esm/chunk-H5Z4GWPV.mjs.map +0 -1
  93. /package/lib/esm/{chunk-DKJLFQED.mjs.map → chunk-EMRIN6FD.mjs.map} +0 -0
@@ -0,0 +1,184 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "contract": {
6
+ "type": "string",
7
+ "const": "DeclarativePageOverlay"
8
+ },
9
+ "schemaVersion": {
10
+ "type": "number",
11
+ "const": 1
12
+ },
13
+ "customer": {
14
+ "type": "string",
15
+ "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$"
16
+ },
17
+ "environment": {
18
+ "type": "string",
19
+ "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$"
20
+ },
21
+ "packages": {
22
+ "minItems": 1,
23
+ "maxItems": 128,
24
+ "type": "array",
25
+ "items": {
26
+ "type": "object",
27
+ "properties": {
28
+ "package": {
29
+ "anyOf": [
30
+ {
31
+ "type": "string",
32
+ "const": "_shared"
33
+ },
34
+ {
35
+ "type": "string",
36
+ "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$"
37
+ }
38
+ ]
39
+ },
40
+ "pages": {
41
+ "minItems": 1,
42
+ "maxItems": 256,
43
+ "type": "array",
44
+ "items": {
45
+ "type": "string",
46
+ "minLength": 1,
47
+ "maxLength": 256
48
+ }
49
+ }
50
+ },
51
+ "required": [
52
+ "package"
53
+ ],
54
+ "additionalProperties": false
55
+ }
56
+ },
57
+ "bindings": {
58
+ "type": "object",
59
+ "propertyNames": {
60
+ "type": "string",
61
+ "pattern": "^[a-z0-9](?:[a-z0-9._-]{0,126}[a-z0-9])?$"
62
+ },
63
+ "additionalProperties": {
64
+ "anyOf": [
65
+ {
66
+ "anyOf": [
67
+ {
68
+ "type": "object",
69
+ "properties": {
70
+ "kind": {
71
+ "type": "string",
72
+ "const": "ontology"
73
+ },
74
+ "id": {
75
+ "type": "string",
76
+ "minLength": 1,
77
+ "maxLength": 256
78
+ }
79
+ },
80
+ "required": [
81
+ "kind",
82
+ "id"
83
+ ],
84
+ "additionalProperties": false
85
+ },
86
+ {
87
+ "type": "object",
88
+ "properties": {
89
+ "kind": {
90
+ "type": "string",
91
+ "const": "view"
92
+ },
93
+ "id": {
94
+ "type": "string",
95
+ "minLength": 1,
96
+ "maxLength": 256
97
+ },
98
+ "ontologyId": {
99
+ "type": "string",
100
+ "minLength": 1,
101
+ "maxLength": 256
102
+ }
103
+ },
104
+ "required": [
105
+ "kind",
106
+ "id"
107
+ ],
108
+ "additionalProperties": false
109
+ },
110
+ {
111
+ "type": "object",
112
+ "properties": {
113
+ "kind": {
114
+ "type": "string",
115
+ "const": "workflow"
116
+ },
117
+ "id": {
118
+ "type": "string",
119
+ "minLength": 1,
120
+ "maxLength": 256
121
+ }
122
+ },
123
+ "required": [
124
+ "kind",
125
+ "id"
126
+ ],
127
+ "additionalProperties": false
128
+ },
129
+ {
130
+ "type": "object",
131
+ "properties": {
132
+ "kind": {
133
+ "type": "string",
134
+ "const": "team"
135
+ },
136
+ "id": {
137
+ "type": "string",
138
+ "minLength": 1,
139
+ "maxLength": 256
140
+ }
141
+ },
142
+ "required": [
143
+ "kind",
144
+ "id"
145
+ ],
146
+ "additionalProperties": false
147
+ }
148
+ ]
149
+ },
150
+ {
151
+ "type": "object",
152
+ "properties": {
153
+ "kind": {
154
+ "type": "string",
155
+ "const": "value"
156
+ },
157
+ "value": {
158
+ "type": "string",
159
+ "minLength": 1,
160
+ "maxLength": 2048
161
+ }
162
+ },
163
+ "required": [
164
+ "kind",
165
+ "value"
166
+ ],
167
+ "additionalProperties": false
168
+ }
169
+ ]
170
+ }
171
+ }
172
+ },
173
+ "required": [
174
+ "contract",
175
+ "schemaVersion",
176
+ "customer",
177
+ "environment",
178
+ "packages",
179
+ "bindings"
180
+ ],
181
+ "additionalProperties": false,
182
+ "$id": "https://schemas.infmonkeys.com/contracts/declarative-page-overlay.schema.json",
183
+ "title": "declarative-page-overlay"
184
+ }
@@ -0,0 +1,73 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "contract": {
6
+ "type": "string",
7
+ "const": "DeclarativePagePackage"
8
+ },
9
+ "schemaVersion": {
10
+ "type": "number",
11
+ "const": 1
12
+ },
13
+ "domain": {
14
+ "anyOf": [
15
+ {
16
+ "type": "string",
17
+ "const": "_shared"
18
+ },
19
+ {
20
+ "type": "string",
21
+ "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$"
22
+ }
23
+ ]
24
+ },
25
+ "applicationId": {
26
+ "type": "string",
27
+ "minLength": 1,
28
+ "maxLength": 256
29
+ },
30
+ "customer": {
31
+ "type": "string",
32
+ "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$"
33
+ },
34
+ "dependsOn": {
35
+ "default": [],
36
+ "maxItems": 64,
37
+ "type": "array",
38
+ "items": {
39
+ "anyOf": [
40
+ {
41
+ "type": "string",
42
+ "const": "_shared"
43
+ },
44
+ {
45
+ "type": "string",
46
+ "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$"
47
+ }
48
+ ]
49
+ }
50
+ },
51
+ "generatedPageIds": {
52
+ "default": [],
53
+ "maxItems": 256,
54
+ "type": "array",
55
+ "items": {
56
+ "type": "string",
57
+ "minLength": 1,
58
+ "maxLength": 256
59
+ }
60
+ }
61
+ },
62
+ "required": [
63
+ "contract",
64
+ "schemaVersion",
65
+ "domain",
66
+ "applicationId",
67
+ "dependsOn",
68
+ "generatedPageIds"
69
+ ],
70
+ "additionalProperties": false,
71
+ "$id": "https://schemas.infmonkeys.com/contracts/declarative-page-package.schema.json",
72
+ "title": "declarative-page-package"
73
+ }
@@ -0,0 +1,239 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "contract": {
6
+ "type": "string",
7
+ "const": "DeclarativePageRendering"
8
+ },
9
+ "schemaVersion": {
10
+ "type": "number",
11
+ "const": 1
12
+ },
13
+ "customer": {
14
+ "type": "string",
15
+ "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$"
16
+ },
17
+ "environment": {
18
+ "type": "string",
19
+ "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$"
20
+ },
21
+ "applicationId": {
22
+ "type": "string",
23
+ "minLength": 1,
24
+ "maxLength": 256
25
+ },
26
+ "packages": {
27
+ "minItems": 1,
28
+ "type": "array",
29
+ "items": {
30
+ "anyOf": [
31
+ {
32
+ "type": "string",
33
+ "const": "_shared"
34
+ },
35
+ {
36
+ "type": "string",
37
+ "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$"
38
+ }
39
+ ]
40
+ }
41
+ },
42
+ "pages": {
43
+ "type": "array",
44
+ "items": {
45
+ "type": "object",
46
+ "properties": {
47
+ "pageId": {
48
+ "type": "string",
49
+ "minLength": 1,
50
+ "maxLength": 256
51
+ },
52
+ "package": {
53
+ "anyOf": [
54
+ {
55
+ "type": "string",
56
+ "const": "_shared"
57
+ },
58
+ {
59
+ "type": "string",
60
+ "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$"
61
+ }
62
+ ]
63
+ },
64
+ "contentHash": {
65
+ "type": "string",
66
+ "pattern": "^[a-f0-9]{64}$"
67
+ },
68
+ "bindings": {
69
+ "type": "array",
70
+ "items": {
71
+ "type": "object",
72
+ "properties": {
73
+ "key": {
74
+ "type": "string",
75
+ "pattern": "^[a-z0-9](?:[a-z0-9._-]{0,126}[a-z0-9])?$"
76
+ },
77
+ "binding": {
78
+ "anyOf": [
79
+ {
80
+ "type": "object",
81
+ "properties": {
82
+ "kind": {
83
+ "type": "string",
84
+ "const": "ontology"
85
+ },
86
+ "id": {
87
+ "type": "string",
88
+ "minLength": 1,
89
+ "maxLength": 256
90
+ }
91
+ },
92
+ "required": [
93
+ "kind",
94
+ "id"
95
+ ],
96
+ "additionalProperties": false
97
+ },
98
+ {
99
+ "type": "object",
100
+ "properties": {
101
+ "kind": {
102
+ "type": "string",
103
+ "const": "view"
104
+ },
105
+ "id": {
106
+ "type": "string",
107
+ "minLength": 1,
108
+ "maxLength": 256
109
+ },
110
+ "ontologyId": {
111
+ "type": "string",
112
+ "minLength": 1,
113
+ "maxLength": 256
114
+ }
115
+ },
116
+ "required": [
117
+ "kind",
118
+ "id"
119
+ ],
120
+ "additionalProperties": false
121
+ },
122
+ {
123
+ "type": "object",
124
+ "properties": {
125
+ "kind": {
126
+ "type": "string",
127
+ "const": "workflow"
128
+ },
129
+ "id": {
130
+ "type": "string",
131
+ "minLength": 1,
132
+ "maxLength": 256
133
+ }
134
+ },
135
+ "required": [
136
+ "kind",
137
+ "id"
138
+ ],
139
+ "additionalProperties": false
140
+ },
141
+ {
142
+ "type": "object",
143
+ "properties": {
144
+ "kind": {
145
+ "type": "string",
146
+ "const": "team"
147
+ },
148
+ "id": {
149
+ "type": "string",
150
+ "minLength": 1,
151
+ "maxLength": 256
152
+ }
153
+ },
154
+ "required": [
155
+ "kind",
156
+ "id"
157
+ ],
158
+ "additionalProperties": false
159
+ }
160
+ ]
161
+ }
162
+ },
163
+ "required": [
164
+ "key",
165
+ "binding"
166
+ ],
167
+ "additionalProperties": false
168
+ }
169
+ }
170
+ },
171
+ "required": [
172
+ "pageId",
173
+ "package",
174
+ "contentHash",
175
+ "bindings"
176
+ ],
177
+ "additionalProperties": false
178
+ }
179
+ },
180
+ "programs": {
181
+ "type": "array",
182
+ "items": {
183
+ "type": "object",
184
+ "properties": {
185
+ "programId": {
186
+ "type": "string",
187
+ "minLength": 1,
188
+ "maxLength": 256
189
+ },
190
+ "package": {
191
+ "anyOf": [
192
+ {
193
+ "type": "string",
194
+ "const": "_shared"
195
+ },
196
+ {
197
+ "type": "string",
198
+ "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$"
199
+ }
200
+ ]
201
+ },
202
+ "contentHash": {
203
+ "type": "string",
204
+ "pattern": "^[a-f0-9]{64}$"
205
+ }
206
+ },
207
+ "required": [
208
+ "programId",
209
+ "package",
210
+ "contentHash"
211
+ ],
212
+ "additionalProperties": false
213
+ }
214
+ },
215
+ "catalogContentHash": {
216
+ "type": "string",
217
+ "pattern": "^[a-f0-9]{64}$"
218
+ },
219
+ "contentHash": {
220
+ "type": "string",
221
+ "pattern": "^[a-f0-9]{64}$"
222
+ }
223
+ },
224
+ "required": [
225
+ "contract",
226
+ "schemaVersion",
227
+ "customer",
228
+ "environment",
229
+ "applicationId",
230
+ "packages",
231
+ "pages",
232
+ "programs",
233
+ "catalogContentHash",
234
+ "contentHash"
235
+ ],
236
+ "additionalProperties": false,
237
+ "$id": "https://schemas.infmonkeys.com/contracts/declarative-page-rendering.schema.json",
238
+ "title": "declarative-page-rendering"
239
+ }