@inf-monkeys-tech/monkeys 1.1.71 → 1.1.73

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 (86) hide show
  1. package/lib/contracts/bento-block.d.ts +14 -0
  2. package/lib/contracts/bento-block.d.ts.map +1 -1
  3. package/lib/contracts/bento-block.js +16 -0
  4. package/lib/contracts/bento-block.js.map +1 -1
  5. package/lib/contracts/declarative-control-http.d.ts +54 -0
  6. package/lib/contracts/declarative-control-http.d.ts.map +1 -1
  7. package/lib/contracts/declarative-control-http.js +9 -0
  8. package/lib/contracts/declarative-control-http.js.map +1 -1
  9. package/lib/contracts/declarative-document-import.d.ts +51 -0
  10. package/lib/contracts/declarative-document-import.d.ts.map +1 -1
  11. package/lib/contracts/declarative-document-import.js +6 -0
  12. package/lib/contracts/declarative-document-import.js.map +1 -1
  13. package/lib/contracts/declarative-page-delivery.d.ts +145 -0
  14. package/lib/contracts/declarative-page-delivery.d.ts.map +1 -0
  15. package/lib/contracts/declarative-page-delivery.js +164 -0
  16. package/lib/contracts/declarative-page-delivery.js.map +1 -0
  17. package/lib/contracts/declarative-publication-health.d.ts +1061 -0
  18. package/lib/contracts/declarative-publication-health.d.ts.map +1 -0
  19. package/lib/contracts/declarative-publication-health.js +148 -0
  20. package/lib/contracts/declarative-publication-health.js.map +1 -0
  21. package/lib/contracts/declarative-publication-job.d.ts +51 -0
  22. package/lib/contracts/declarative-publication-job.d.ts.map +1 -1
  23. package/lib/contracts/declarative-publication-verification.d.ts +6 -0
  24. package/lib/contracts/declarative-publication-verification.d.ts.map +1 -1
  25. package/lib/contracts/declarative-publication-verification.js +5 -0
  26. package/lib/contracts/declarative-publication-verification.js.map +1 -1
  27. package/lib/contracts/index.d.ts +2 -0
  28. package/lib/contracts/index.d.ts.map +1 -1
  29. package/lib/contracts/index.js +2 -0
  30. package/lib/contracts/index.js.map +1 -1
  31. package/lib/contracts/render.d.ts +4 -0
  32. package/lib/contracts/render.d.ts.map +1 -1
  33. package/lib/contracts/render.js +4 -0
  34. package/lib/contracts/render.js.map +1 -1
  35. package/lib/esm/{chunk-75IO3EKE.mjs → chunk-ES3EYSBV.mjs} +16 -2
  36. package/lib/esm/chunk-ES3EYSBV.mjs.map +1 -0
  37. package/lib/esm/{chunk-TKVCHO6V.mjs → chunk-FNYVI3AY.mjs} +2032 -1740
  38. package/lib/esm/chunk-FNYVI3AY.mjs.map +1 -0
  39. package/lib/esm/{chunk-DWQNEXK3.mjs → chunk-UVLLWRYL.mjs} +2 -2
  40. package/lib/esm/{chunk-JEAEX7QG.mjs → chunk-WIGX4I2M.mjs} +499 -273
  41. package/lib/esm/chunk-WIGX4I2M.mjs.map +1 -0
  42. package/lib/esm/contracts/index.mjs +34 -2
  43. package/lib/esm/index.mjs +42 -6
  44. package/lib/esm/index.mjs.map +1 -1
  45. package/lib/esm/runtime/index.mjs +9 -5
  46. package/lib/esm/schemas/index.mjs +2 -2
  47. package/lib/json-schema/bento-node.schema.json +37 -0
  48. package/lib/json-schema/declarative-page-overlay.schema.json +184 -0
  49. package/lib/json-schema/declarative-page-package.schema.json +73 -0
  50. package/lib/json-schema/declarative-page-rendering.schema.json +239 -0
  51. package/lib/json-schema/declarative-publication-last-known-good-result.schema.json +675 -0
  52. package/lib/json-schema/declarative-publication-last-known-good.schema.json +651 -0
  53. package/lib/json-schema/declarative-publication-record-result.schema.json +1138 -0
  54. package/lib/json-schema/declarative-publication-recovery-result.schema.json +1775 -0
  55. package/lib/json-schema/declarative-publication-verification.schema.json +11 -0
  56. package/lib/json-schema/index.json +7 -0
  57. package/lib/json-schema/overlay-node.schema.json +18 -0
  58. package/lib/json-schema/page-runtime-bundle.schema.json +18 -0
  59. package/lib/json-schema/page.schema.json +18 -0
  60. package/lib/json-schema/render-node.schema.json +18 -0
  61. package/lib/json-schema/render-tree.schema.json +18 -0
  62. package/lib/json-schema/view-ontology-record.schema.json +37 -0
  63. package/lib/runtime/artifact-session.d.ts +0 -8
  64. package/lib/runtime/artifact-session.d.ts.map +1 -1
  65. package/lib/runtime/artifact-session.js +10 -114
  66. package/lib/runtime/artifact-session.js.map +1 -1
  67. package/lib/runtime/bento-render-tree.d.ts.map +1 -1
  68. package/lib/runtime/bento-render-tree.js +2 -1
  69. package/lib/runtime/bento-render-tree.js.map +1 -1
  70. package/lib/runtime/declarative-page-delivery.d.ts +41 -0
  71. package/lib/runtime/declarative-page-delivery.d.ts.map +1 -0
  72. package/lib/runtime/declarative-page-delivery.js +270 -0
  73. package/lib/runtime/declarative-page-delivery.js.map +1 -0
  74. package/lib/runtime/index.d.ts +1 -0
  75. package/lib/runtime/index.d.ts.map +1 -1
  76. package/lib/runtime/index.js +1 -0
  77. package/lib/runtime/index.js.map +1 -1
  78. package/lib/schemas/index.d.ts +227 -0
  79. package/lib/schemas/index.d.ts.map +1 -1
  80. package/lib/schemas/index.js +9 -0
  81. package/lib/schemas/index.js.map +1 -1
  82. package/package.json +2 -2
  83. package/lib/esm/chunk-75IO3EKE.mjs.map +0 -1
  84. package/lib/esm/chunk-JEAEX7QG.mjs.map +0 -1
  85. package/lib/esm/chunk-TKVCHO6V.mjs.map +0 -1
  86. /package/lib/esm/{chunk-DWQNEXK3.mjs.map → chunk-UVLLWRYL.mjs.map} +0 -0
@@ -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
+ }