@inf-monkeys-tech/monkeys 1.1.34 → 1.1.36

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 (66) hide show
  1. package/README.md +13 -1
  2. package/lib/contracts/declarative-control-http.d.ts +1774 -208
  3. package/lib/contracts/declarative-control-http.d.ts.map +1 -1
  4. package/lib/contracts/declarative-control.d.ts +235 -13
  5. package/lib/contracts/declarative-control.d.ts.map +1 -1
  6. package/lib/contracts/declarative-control.js +18 -12
  7. package/lib/contracts/declarative-control.js.map +1 -1
  8. package/lib/contracts/declarative-publication-job.d.ts +472 -0
  9. package/lib/contracts/declarative-publication-job.d.ts.map +1 -1
  10. package/lib/contracts/design-board.d.ts +357 -0
  11. package/lib/contracts/design-board.d.ts.map +1 -0
  12. package/lib/contracts/design-board.js +75 -0
  13. package/lib/contracts/design-board.js.map +1 -0
  14. package/lib/contracts/index.d.ts +2 -0
  15. package/lib/contracts/index.d.ts.map +1 -1
  16. package/lib/contracts/index.js +2 -0
  17. package/lib/contracts/index.js.map +1 -1
  18. package/lib/contracts/materialized-model.d.ts +42 -0
  19. package/lib/contracts/materialized-model.d.ts.map +1 -0
  20. package/lib/contracts/materialized-model.js +37 -0
  21. package/lib/contracts/materialized-model.js.map +1 -0
  22. package/lib/contracts/menu.d.ts +5 -5
  23. package/lib/contracts/tenant.d.ts +1 -1
  24. package/lib/esm/{chunk-DDEMQXTP.mjs → chunk-2YGFLKSP.mjs} +7 -3
  25. package/lib/esm/{chunk-DDEMQXTP.mjs.map → chunk-2YGFLKSP.mjs.map} +1 -1
  26. package/lib/esm/{chunk-ZN3TO3U7.mjs → chunk-AGT4MIWF.mjs} +209 -6
  27. package/lib/esm/chunk-AGT4MIWF.mjs.map +1 -0
  28. package/lib/esm/{chunk-L5CYU6K4.mjs → chunk-GT5OGNJE.mjs} +2250 -2090
  29. package/lib/esm/chunk-GT5OGNJE.mjs.map +1 -0
  30. package/lib/esm/{chunk-IJ2W77NR.mjs → chunk-HLW3X2NX.mjs} +2 -2
  31. package/lib/esm/{chunk-EKT45BA4.mjs → chunk-LYWJTAAM.mjs} +2 -2
  32. package/lib/esm/{chunk-UWGXMF6O.mjs → chunk-UF5TNIAZ.mjs} +2 -2
  33. package/lib/esm/contracts/index.mjs +28 -4
  34. package/lib/esm/index.mjs +40 -6
  35. package/lib/esm/index.mjs.map +1 -1
  36. package/lib/esm/runtime/index.mjs +13 -3
  37. package/lib/esm/schemas/index.mjs +7 -3
  38. package/lib/json-schema/design-board-commit-command.schema.json +408 -0
  39. package/lib/json-schema/design-board-document.schema.json +380 -0
  40. package/lib/json-schema/index.json +2 -0
  41. package/lib/json-schema/page-runtime-bundle.schema.json +493 -100
  42. package/lib/json-schema/page.schema.json +261 -9
  43. package/lib/runtime/design-board.d.ts +4 -0
  44. package/lib/runtime/design-board.d.ts.map +1 -0
  45. package/lib/runtime/design-board.js +57 -0
  46. package/lib/runtime/design-board.js.map +1 -0
  47. package/lib/runtime/index.d.ts +2 -0
  48. package/lib/runtime/index.d.ts.map +1 -1
  49. package/lib/runtime/index.js +2 -0
  50. package/lib/runtime/index.js.map +1 -1
  51. package/lib/runtime/materialized-model.d.ts +23 -0
  52. package/lib/runtime/materialized-model.d.ts.map +1 -0
  53. package/lib/runtime/materialized-model.js +187 -0
  54. package/lib/runtime/materialized-model.js.map +1 -0
  55. package/lib/runtime/runtime-definition-wire.d.ts +118 -0
  56. package/lib/runtime/runtime-definition-wire.d.ts.map +1 -1
  57. package/lib/schemas/index.d.ts +210 -4
  58. package/lib/schemas/index.d.ts.map +1 -1
  59. package/lib/schemas/index.js +7 -1
  60. package/lib/schemas/index.js.map +1 -1
  61. package/package.json +1 -1
  62. package/lib/esm/chunk-L5CYU6K4.mjs.map +0 -1
  63. package/lib/esm/chunk-ZN3TO3U7.mjs.map +0 -1
  64. /package/lib/esm/{chunk-IJ2W77NR.mjs.map → chunk-HLW3X2NX.mjs.map} +0 -0
  65. /package/lib/esm/{chunk-EKT45BA4.mjs.map → chunk-LYWJTAAM.mjs.map} +0 -0
  66. /package/lib/esm/{chunk-UWGXMF6O.mjs.map → chunk-UF5TNIAZ.mjs.map} +0 -0
@@ -0,0 +1,380 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "engine": {
6
+ "type": "string",
7
+ "const": "excalidraw"
8
+ },
9
+ "schemaVersion": {
10
+ "type": "number",
11
+ "const": 1
12
+ },
13
+ "document": {
14
+ "type": "object",
15
+ "properties": {
16
+ "elements": {
17
+ "maxItems": 20000,
18
+ "type": "array",
19
+ "items": {
20
+ "type": "object",
21
+ "properties": {
22
+ "id": {
23
+ "type": "string",
24
+ "minLength": 1,
25
+ "maxLength": 256
26
+ },
27
+ "type": {
28
+ "type": "string",
29
+ "minLength": 1
30
+ },
31
+ "x": {
32
+ "type": "number"
33
+ },
34
+ "y": {
35
+ "type": "number"
36
+ },
37
+ "width": {
38
+ "type": "number",
39
+ "minimum": 0
40
+ },
41
+ "height": {
42
+ "type": "number",
43
+ "minimum": 0
44
+ }
45
+ },
46
+ "required": [
47
+ "id",
48
+ "type",
49
+ "x",
50
+ "y",
51
+ "width",
52
+ "height"
53
+ ],
54
+ "additionalProperties": {
55
+ "$ref": "#/$defs/__schema0"
56
+ }
57
+ }
58
+ },
59
+ "appState": {
60
+ "type": "object",
61
+ "propertyNames": {
62
+ "type": "string"
63
+ },
64
+ "additionalProperties": {
65
+ "$ref": "#/$defs/__schema0"
66
+ }
67
+ },
68
+ "files": {
69
+ "type": "object",
70
+ "properties": {},
71
+ "additionalProperties": false
72
+ }
73
+ },
74
+ "required": [
75
+ "elements"
76
+ ],
77
+ "additionalProperties": false
78
+ },
79
+ "domain": {
80
+ "type": "object",
81
+ "properties": {
82
+ "schemaVersion": {
83
+ "type": "number",
84
+ "const": 1
85
+ },
86
+ "boardId": {
87
+ "type": "string",
88
+ "minLength": 1,
89
+ "maxLength": 256
90
+ },
91
+ "projectId": {
92
+ "type": "string",
93
+ "minLength": 1,
94
+ "maxLength": 256
95
+ },
96
+ "revision": {
97
+ "type": "integer",
98
+ "minimum": 0,
99
+ "maximum": 9007199254740991
100
+ },
101
+ "pages": {
102
+ "minItems": 1,
103
+ "maxItems": 200,
104
+ "type": "array",
105
+ "items": {
106
+ "type": "object",
107
+ "properties": {
108
+ "id": {
109
+ "type": "string",
110
+ "minLength": 1,
111
+ "maxLength": 256
112
+ },
113
+ "name": {
114
+ "type": "string",
115
+ "minLength": 1,
116
+ "maxLength": 2000
117
+ },
118
+ "order": {
119
+ "type": "integer",
120
+ "minimum": 0,
121
+ "maximum": 9007199254740991
122
+ },
123
+ "backgroundColor": {
124
+ "type": "string",
125
+ "maxLength": 128
126
+ },
127
+ "backgroundFileRef": {
128
+ "type": "string",
129
+ "pattern": "^file:\\/\\/[A-Za-z0-9][A-Za-z0-9_-]{0,127}$"
130
+ }
131
+ },
132
+ "required": [
133
+ "id",
134
+ "name",
135
+ "order"
136
+ ],
137
+ "additionalProperties": false
138
+ }
139
+ },
140
+ "nodes": {
141
+ "maxItems": 10000,
142
+ "type": "array",
143
+ "items": {
144
+ "type": "object",
145
+ "properties": {
146
+ "id": {
147
+ "type": "string",
148
+ "minLength": 1,
149
+ "maxLength": 256
150
+ },
151
+ "pageId": {
152
+ "type": "string",
153
+ "minLength": 1,
154
+ "maxLength": 256
155
+ },
156
+ "kind": {
157
+ "type": "string",
158
+ "enum": [
159
+ "workflow",
160
+ "instruction",
161
+ "output",
162
+ "live-image",
163
+ "live-image-workflow",
164
+ "linesheet-slot",
165
+ "linesheet-table",
166
+ "note",
167
+ "other"
168
+ ]
169
+ },
170
+ "title": {
171
+ "type": "string",
172
+ "maxLength": 2000
173
+ },
174
+ "x": {
175
+ "type": "number"
176
+ },
177
+ "y": {
178
+ "type": "number"
179
+ },
180
+ "width": {
181
+ "type": "number",
182
+ "exclusiveMinimum": 0
183
+ },
184
+ "height": {
185
+ "type": "number",
186
+ "exclusiveMinimum": 0
187
+ },
188
+ "props": {
189
+ "type": "object",
190
+ "propertyNames": {
191
+ "type": "string"
192
+ },
193
+ "additionalProperties": {
194
+ "$ref": "#/$defs/__schema0"
195
+ }
196
+ },
197
+ "meta": {
198
+ "type": "object",
199
+ "propertyNames": {
200
+ "type": "string"
201
+ },
202
+ "additionalProperties": {
203
+ "$ref": "#/$defs/__schema0"
204
+ }
205
+ },
206
+ "deleted": {
207
+ "type": "boolean"
208
+ }
209
+ },
210
+ "required": [
211
+ "id",
212
+ "pageId",
213
+ "kind",
214
+ "title",
215
+ "x",
216
+ "y",
217
+ "width",
218
+ "height",
219
+ "props",
220
+ "meta"
221
+ ],
222
+ "additionalProperties": false
223
+ }
224
+ },
225
+ "connections": {
226
+ "maxItems": 20000,
227
+ "type": "array",
228
+ "items": {
229
+ "type": "object",
230
+ "properties": {
231
+ "id": {
232
+ "type": "string",
233
+ "minLength": 1,
234
+ "maxLength": 256
235
+ },
236
+ "pageId": {
237
+ "type": "string",
238
+ "minLength": 1,
239
+ "maxLength": 256
240
+ },
241
+ "from": {
242
+ "type": "string",
243
+ "minLength": 1,
244
+ "maxLength": 256
245
+ },
246
+ "to": {
247
+ "type": "string",
248
+ "minLength": 1,
249
+ "maxLength": 256
250
+ },
251
+ "label": {
252
+ "type": "string",
253
+ "maxLength": 2000
254
+ },
255
+ "kind": {
256
+ "type": "string",
257
+ "minLength": 1,
258
+ "maxLength": 256
259
+ },
260
+ "props": {
261
+ "type": "object",
262
+ "propertyNames": {
263
+ "type": "string"
264
+ },
265
+ "additionalProperties": {
266
+ "$ref": "#/$defs/__schema0"
267
+ }
268
+ },
269
+ "deleted": {
270
+ "type": "boolean"
271
+ }
272
+ },
273
+ "required": [
274
+ "id",
275
+ "pageId",
276
+ "from",
277
+ "to",
278
+ "kind",
279
+ "props"
280
+ ],
281
+ "additionalProperties": false
282
+ }
283
+ },
284
+ "files": {
285
+ "maxItems": 10000,
286
+ "type": "array",
287
+ "items": {
288
+ "type": "object",
289
+ "properties": {
290
+ "canonicalUri": {
291
+ "type": "string",
292
+ "pattern": "^file:\\/\\/[A-Za-z0-9][A-Za-z0-9_-]{0,127}(?:#[A-Za-z0-9_-]+)?$"
293
+ },
294
+ "fileId": {
295
+ "type": "string",
296
+ "minLength": 1,
297
+ "maxLength": 256
298
+ },
299
+ "mimeType": {
300
+ "type": "string",
301
+ "minLength": 1,
302
+ "maxLength": 128
303
+ },
304
+ "byteSize": {
305
+ "type": "integer",
306
+ "minimum": 0,
307
+ "maximum": 9007199254740991
308
+ },
309
+ "contentHash": {
310
+ "type": "string"
311
+ },
312
+ "role": {
313
+ "type": "string",
314
+ "minLength": 1,
315
+ "maxLength": 256
316
+ }
317
+ },
318
+ "required": [
319
+ "canonicalUri",
320
+ "mimeType",
321
+ "role"
322
+ ],
323
+ "additionalProperties": false
324
+ }
325
+ }
326
+ },
327
+ "required": [
328
+ "schemaVersion",
329
+ "boardId",
330
+ "pages",
331
+ "nodes",
332
+ "connections",
333
+ "files"
334
+ ],
335
+ "additionalProperties": false
336
+ }
337
+ },
338
+ "required": [
339
+ "engine",
340
+ "schemaVersion",
341
+ "document",
342
+ "domain"
343
+ ],
344
+ "additionalProperties": false,
345
+ "$defs": {
346
+ "__schema0": {
347
+ "anyOf": [
348
+ {
349
+ "type": "string"
350
+ },
351
+ {
352
+ "type": "number"
353
+ },
354
+ {
355
+ "type": "boolean"
356
+ },
357
+ {
358
+ "type": "null"
359
+ },
360
+ {
361
+ "type": "array",
362
+ "items": {
363
+ "$ref": "#/$defs/__schema0"
364
+ }
365
+ },
366
+ {
367
+ "type": "object",
368
+ "propertyNames": {
369
+ "type": "string"
370
+ },
371
+ "additionalProperties": {
372
+ "$ref": "#/$defs/__schema0"
373
+ }
374
+ }
375
+ ]
376
+ }
377
+ },
378
+ "$id": "https://schemas.infmonkeys.com/contracts/design-board-document.schema.json",
379
+ "title": "design-board-document"
380
+ }
@@ -1,5 +1,7 @@
1
1
  {
2
2
  "schemas": {
3
+ "design-board-document": "./design-board-document.schema.json",
4
+ "design-board-commit-command": "./design-board-commit-command.schema.json",
3
5
  "aggregate-commit-request": "./aggregate-commit-request.schema.json",
4
6
  "workflow-column-binding": "./workflow-column-binding.schema.json",
5
7
  "agent-session-command": "./agent-session-command.schema.json",