@inf-monkeys-tech/monkeys 1.0.65 → 1.0.68

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 +6 -0
  2. package/lib/contracts/capability.d.ts +4 -0
  3. package/lib/contracts/capability.d.ts.map +1 -1
  4. package/lib/contracts/capability.js +1 -0
  5. package/lib/contracts/capability.js.map +1 -1
  6. package/lib/contracts/declarative-control-http.d.ts +81420 -0
  7. package/lib/contracts/declarative-control-http.d.ts.map +1 -0
  8. package/lib/contracts/declarative-control-http.js +926 -0
  9. package/lib/contracts/declarative-control-http.js.map +1 -0
  10. package/lib/contracts/declarative-control.d.ts +17753 -0
  11. package/lib/contracts/declarative-control.d.ts.map +1 -0
  12. package/lib/contracts/declarative-control.js +1078 -0
  13. package/lib/contracts/declarative-control.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/menu.d.ts +1 -1
  19. package/lib/contracts/page.d.ts +3 -3
  20. package/lib/contracts/semantic.d.ts +78 -1
  21. package/lib/contracts/semantic.d.ts.map +1 -1
  22. package/lib/contracts/semantic.js +27 -1
  23. package/lib/contracts/semantic.js.map +1 -1
  24. package/lib/contracts/tenant.d.ts +81 -12
  25. package/lib/contracts/tenant.d.ts.map +1 -1
  26. package/lib/contracts/tenant.js +279 -93
  27. package/lib/contracts/tenant.js.map +1 -1
  28. package/lib/contracts/trend.d.ts +4 -4
  29. package/lib/esm/contracts/index.mjs +2963 -1048
  30. package/lib/esm/contracts/index.mjs.map +1 -1
  31. package/lib/esm/index.mjs +5820 -3025
  32. package/lib/esm/index.mjs.map +1 -1
  33. package/lib/esm/runtime/index.mjs +2529 -632
  34. package/lib/esm/runtime/index.mjs.map +1 -1
  35. package/lib/esm/schemas/index.mjs +2081 -982
  36. package/lib/esm/schemas/index.mjs.map +1 -1
  37. package/lib/json-schema/capability-registry.schema.json +2 -1
  38. package/lib/json-schema/declarative-control-ontology-definition.schema.json +130 -0
  39. package/lib/json-schema/index.json +13 -0
  40. package/lib/json-schema/navigation-release.schema.json +2037 -0
  41. package/lib/json-schema/navigation-runtime-bundle.schema.json +7505 -0
  42. package/lib/json-schema/navigation.schema.json +4649 -0
  43. package/lib/json-schema/page-release.schema.json +2465 -0
  44. package/lib/json-schema/page-runtime-bundle.schema.json +5713 -0
  45. package/lib/json-schema/page.schema.json +7944 -0
  46. package/lib/json-schema/publication-plan.schema.json +1286 -0
  47. package/lib/json-schema/route-space.schema.json +93 -0
  48. package/lib/json-schema/stable-ref-alias-map.schema.json +535 -0
  49. package/lib/json-schema/tenant-product-config.schema.json +73 -0
  50. package/lib/json-schema/tenant-runtime-config.schema.json +73 -0
  51. package/lib/json-schema/workbench-release.schema.json +2481 -0
  52. package/lib/json-schema/workbench-runtime-bundle.schema.json +5290 -0
  53. package/lib/json-schema/workbench.schema.json +6698 -0
  54. package/lib/runtime/declarative-control-compiler.d.ts +141 -0
  55. package/lib/runtime/declarative-control-compiler.d.ts.map +1 -0
  56. package/lib/runtime/declarative-control-compiler.js +875 -0
  57. package/lib/runtime/declarative-control-compiler.js.map +1 -0
  58. package/lib/runtime/index.d.ts +1 -0
  59. package/lib/runtime/index.d.ts.map +1 -1
  60. package/lib/runtime/index.js +1 -0
  61. package/lib/runtime/index.js.map +1 -1
  62. package/lib/schemas/index.d.ts +14061 -3830
  63. package/lib/schemas/index.d.ts.map +1 -1
  64. package/lib/schemas/index.js +76 -4
  65. package/lib/schemas/index.js.map +1 -1
  66. package/package.json +1 -1
@@ -0,0 +1,93 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "contract": {
6
+ "type": "string",
7
+ "const": "RouteSpace"
8
+ },
9
+ "schemaVersion": {
10
+ "type": "number",
11
+ "const": 1
12
+ },
13
+ "routeSpaceId": {
14
+ "type": "string",
15
+ "minLength": 1,
16
+ "maxLength": 256
17
+ },
18
+ "supportedSurface": {
19
+ "type": "string",
20
+ "enum": [
21
+ "studio",
22
+ "kernel"
23
+ ]
24
+ },
25
+ "basePath": {
26
+ "type": "string",
27
+ "pattern": "^\\/(?!\\/)"
28
+ },
29
+ "caseSensitive": {
30
+ "type": "boolean"
31
+ },
32
+ "trailingSlash": {
33
+ "type": "string",
34
+ "enum": [
35
+ "preserve",
36
+ "remove",
37
+ "require"
38
+ ]
39
+ },
40
+ "reservedPaths": {
41
+ "type": "array",
42
+ "items": {
43
+ "type": "string",
44
+ "pattern": "^\\/(?!\\/)"
45
+ }
46
+ },
47
+ "parameters": {
48
+ "type": "array",
49
+ "items": {
50
+ "type": "object",
51
+ "properties": {
52
+ "name": {
53
+ "type": "string",
54
+ "minLength": 1,
55
+ "maxLength": 256
56
+ },
57
+ "type": {
58
+ "type": "string",
59
+ "enum": [
60
+ "identifier",
61
+ "integer",
62
+ "slug",
63
+ "uuid"
64
+ ]
65
+ },
66
+ "required": {
67
+ "type": "boolean"
68
+ }
69
+ },
70
+ "required": [
71
+ "name",
72
+ "type",
73
+ "required"
74
+ ],
75
+ "additionalProperties": false
76
+ }
77
+ }
78
+ },
79
+ "required": [
80
+ "contract",
81
+ "schemaVersion",
82
+ "routeSpaceId",
83
+ "supportedSurface",
84
+ "basePath",
85
+ "caseSensitive",
86
+ "trailingSlash",
87
+ "reservedPaths",
88
+ "parameters"
89
+ ],
90
+ "additionalProperties": false,
91
+ "$id": "https://schemas.infmonkeys.com/contracts/route-space.schema.json",
92
+ "title": "route-space"
93
+ }
@@ -0,0 +1,535 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "contract": {
6
+ "type": "string",
7
+ "const": "StableRefAliasMap"
8
+ },
9
+ "schemaVersion": {
10
+ "type": "number",
11
+ "const": 1
12
+ },
13
+ "tenantScope": {
14
+ "type": "object",
15
+ "properties": {
16
+ "tenantRef": {
17
+ "type": "object",
18
+ "properties": {
19
+ "kind": {
20
+ "type": "string",
21
+ "minLength": 1,
22
+ "maxLength": 256
23
+ },
24
+ "id": {
25
+ "type": "string",
26
+ "minLength": 1,
27
+ "maxLength": 256
28
+ },
29
+ "ownerRepo": {
30
+ "type": "string",
31
+ "minLength": 1,
32
+ "maxLength": 256
33
+ }
34
+ },
35
+ "required": [
36
+ "kind",
37
+ "id",
38
+ "ownerRepo"
39
+ ],
40
+ "additionalProperties": false
41
+ },
42
+ "dataSpaceRef": {
43
+ "type": "object",
44
+ "properties": {
45
+ "kind": {
46
+ "type": "string",
47
+ "minLength": 1,
48
+ "maxLength": 256
49
+ },
50
+ "id": {
51
+ "type": "string",
52
+ "minLength": 1,
53
+ "maxLength": 256
54
+ },
55
+ "ownerRepo": {
56
+ "type": "string",
57
+ "minLength": 1,
58
+ "maxLength": 256
59
+ }
60
+ },
61
+ "required": [
62
+ "kind",
63
+ "id",
64
+ "ownerRepo"
65
+ ],
66
+ "additionalProperties": false
67
+ },
68
+ "teamRef": {
69
+ "type": "object",
70
+ "properties": {
71
+ "kind": {
72
+ "type": "string",
73
+ "minLength": 1,
74
+ "maxLength": 256
75
+ },
76
+ "id": {
77
+ "type": "string",
78
+ "minLength": 1,
79
+ "maxLength": 256
80
+ },
81
+ "ownerRepo": {
82
+ "type": "string",
83
+ "minLength": 1,
84
+ "maxLength": 256
85
+ }
86
+ },
87
+ "required": [
88
+ "kind",
89
+ "id",
90
+ "ownerRepo"
91
+ ],
92
+ "additionalProperties": false
93
+ }
94
+ },
95
+ "required": [
96
+ "tenantRef",
97
+ "dataSpaceRef"
98
+ ],
99
+ "additionalProperties": false
100
+ },
101
+ "aliases": {
102
+ "type": "array",
103
+ "items": {
104
+ "type": "object",
105
+ "properties": {
106
+ "aliasRef": {
107
+ "type": "object",
108
+ "properties": {
109
+ "kind": {
110
+ "type": "string",
111
+ "minLength": 1,
112
+ "maxLength": 256
113
+ },
114
+ "id": {
115
+ "type": "string",
116
+ "minLength": 1,
117
+ "maxLength": 256
118
+ },
119
+ "ownerRepo": {
120
+ "type": "string",
121
+ "minLength": 1,
122
+ "maxLength": 256
123
+ },
124
+ "visibility": {
125
+ "type": "string",
126
+ "enum": [
127
+ "tenant",
128
+ "global",
129
+ "public"
130
+ ]
131
+ },
132
+ "tenantScope": {
133
+ "type": "object",
134
+ "properties": {
135
+ "tenantRef": {
136
+ "type": "object",
137
+ "properties": {
138
+ "kind": {
139
+ "type": "string",
140
+ "minLength": 1,
141
+ "maxLength": 256
142
+ },
143
+ "id": {
144
+ "type": "string",
145
+ "minLength": 1,
146
+ "maxLength": 256
147
+ },
148
+ "ownerRepo": {
149
+ "type": "string",
150
+ "minLength": 1,
151
+ "maxLength": 256
152
+ }
153
+ },
154
+ "required": [
155
+ "kind",
156
+ "id",
157
+ "ownerRepo"
158
+ ],
159
+ "additionalProperties": false
160
+ },
161
+ "dataSpaceRef": {
162
+ "type": "object",
163
+ "properties": {
164
+ "kind": {
165
+ "type": "string",
166
+ "minLength": 1,
167
+ "maxLength": 256
168
+ },
169
+ "id": {
170
+ "type": "string",
171
+ "minLength": 1,
172
+ "maxLength": 256
173
+ },
174
+ "ownerRepo": {
175
+ "type": "string",
176
+ "minLength": 1,
177
+ "maxLength": 256
178
+ }
179
+ },
180
+ "required": [
181
+ "kind",
182
+ "id",
183
+ "ownerRepo"
184
+ ],
185
+ "additionalProperties": false
186
+ },
187
+ "teamRef": {
188
+ "type": "object",
189
+ "properties": {
190
+ "kind": {
191
+ "type": "string",
192
+ "minLength": 1,
193
+ "maxLength": 256
194
+ },
195
+ "id": {
196
+ "type": "string",
197
+ "minLength": 1,
198
+ "maxLength": 256
199
+ },
200
+ "ownerRepo": {
201
+ "type": "string",
202
+ "minLength": 1,
203
+ "maxLength": 256
204
+ }
205
+ },
206
+ "required": [
207
+ "kind",
208
+ "id",
209
+ "ownerRepo"
210
+ ],
211
+ "additionalProperties": false
212
+ }
213
+ },
214
+ "required": [
215
+ "tenantRef",
216
+ "dataSpaceRef"
217
+ ],
218
+ "additionalProperties": false
219
+ }
220
+ },
221
+ "required": [
222
+ "kind",
223
+ "id",
224
+ "ownerRepo",
225
+ "visibility"
226
+ ],
227
+ "additionalProperties": false
228
+ },
229
+ "canonicalRef": {
230
+ "type": "object",
231
+ "properties": {
232
+ "kind": {
233
+ "type": "string",
234
+ "minLength": 1,
235
+ "maxLength": 256
236
+ },
237
+ "id": {
238
+ "type": "string",
239
+ "minLength": 1,
240
+ "maxLength": 256
241
+ },
242
+ "ownerRepo": {
243
+ "type": "string",
244
+ "minLength": 1,
245
+ "maxLength": 256
246
+ },
247
+ "visibility": {
248
+ "type": "string",
249
+ "enum": [
250
+ "tenant",
251
+ "global",
252
+ "public"
253
+ ]
254
+ },
255
+ "tenantScope": {
256
+ "type": "object",
257
+ "properties": {
258
+ "tenantRef": {
259
+ "type": "object",
260
+ "properties": {
261
+ "kind": {
262
+ "type": "string",
263
+ "minLength": 1,
264
+ "maxLength": 256
265
+ },
266
+ "id": {
267
+ "type": "string",
268
+ "minLength": 1,
269
+ "maxLength": 256
270
+ },
271
+ "ownerRepo": {
272
+ "type": "string",
273
+ "minLength": 1,
274
+ "maxLength": 256
275
+ }
276
+ },
277
+ "required": [
278
+ "kind",
279
+ "id",
280
+ "ownerRepo"
281
+ ],
282
+ "additionalProperties": false
283
+ },
284
+ "dataSpaceRef": {
285
+ "type": "object",
286
+ "properties": {
287
+ "kind": {
288
+ "type": "string",
289
+ "minLength": 1,
290
+ "maxLength": 256
291
+ },
292
+ "id": {
293
+ "type": "string",
294
+ "minLength": 1,
295
+ "maxLength": 256
296
+ },
297
+ "ownerRepo": {
298
+ "type": "string",
299
+ "minLength": 1,
300
+ "maxLength": 256
301
+ }
302
+ },
303
+ "required": [
304
+ "kind",
305
+ "id",
306
+ "ownerRepo"
307
+ ],
308
+ "additionalProperties": false
309
+ },
310
+ "teamRef": {
311
+ "type": "object",
312
+ "properties": {
313
+ "kind": {
314
+ "type": "string",
315
+ "minLength": 1,
316
+ "maxLength": 256
317
+ },
318
+ "id": {
319
+ "type": "string",
320
+ "minLength": 1,
321
+ "maxLength": 256
322
+ },
323
+ "ownerRepo": {
324
+ "type": "string",
325
+ "minLength": 1,
326
+ "maxLength": 256
327
+ }
328
+ },
329
+ "required": [
330
+ "kind",
331
+ "id",
332
+ "ownerRepo"
333
+ ],
334
+ "additionalProperties": false
335
+ }
336
+ },
337
+ "required": [
338
+ "tenantRef",
339
+ "dataSpaceRef"
340
+ ],
341
+ "additionalProperties": false
342
+ }
343
+ },
344
+ "required": [
345
+ "kind",
346
+ "id",
347
+ "ownerRepo",
348
+ "visibility"
349
+ ],
350
+ "additionalProperties": false
351
+ },
352
+ "validFrom": {
353
+ "type": "string",
354
+ "format": "date-time",
355
+ "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)))$"
356
+ },
357
+ "validUntil": {
358
+ "anyOf": [
359
+ {
360
+ "type": "string",
361
+ "format": "date-time",
362
+ "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)))$"
363
+ },
364
+ {
365
+ "type": "null"
366
+ }
367
+ ]
368
+ },
369
+ "evidenceRef": {
370
+ "type": "object",
371
+ "properties": {
372
+ "kind": {
373
+ "type": "string",
374
+ "minLength": 1,
375
+ "maxLength": 256
376
+ },
377
+ "id": {
378
+ "type": "string",
379
+ "minLength": 1,
380
+ "maxLength": 256
381
+ },
382
+ "ownerRepo": {
383
+ "type": "string",
384
+ "minLength": 1,
385
+ "maxLength": 256
386
+ },
387
+ "visibility": {
388
+ "type": "string",
389
+ "enum": [
390
+ "tenant",
391
+ "global",
392
+ "public"
393
+ ]
394
+ },
395
+ "tenantScope": {
396
+ "type": "object",
397
+ "properties": {
398
+ "tenantRef": {
399
+ "type": "object",
400
+ "properties": {
401
+ "kind": {
402
+ "type": "string",
403
+ "minLength": 1,
404
+ "maxLength": 256
405
+ },
406
+ "id": {
407
+ "type": "string",
408
+ "minLength": 1,
409
+ "maxLength": 256
410
+ },
411
+ "ownerRepo": {
412
+ "type": "string",
413
+ "minLength": 1,
414
+ "maxLength": 256
415
+ }
416
+ },
417
+ "required": [
418
+ "kind",
419
+ "id",
420
+ "ownerRepo"
421
+ ],
422
+ "additionalProperties": false
423
+ },
424
+ "dataSpaceRef": {
425
+ "type": "object",
426
+ "properties": {
427
+ "kind": {
428
+ "type": "string",
429
+ "minLength": 1,
430
+ "maxLength": 256
431
+ },
432
+ "id": {
433
+ "type": "string",
434
+ "minLength": 1,
435
+ "maxLength": 256
436
+ },
437
+ "ownerRepo": {
438
+ "type": "string",
439
+ "minLength": 1,
440
+ "maxLength": 256
441
+ }
442
+ },
443
+ "required": [
444
+ "kind",
445
+ "id",
446
+ "ownerRepo"
447
+ ],
448
+ "additionalProperties": false
449
+ },
450
+ "teamRef": {
451
+ "type": "object",
452
+ "properties": {
453
+ "kind": {
454
+ "type": "string",
455
+ "minLength": 1,
456
+ "maxLength": 256
457
+ },
458
+ "id": {
459
+ "type": "string",
460
+ "minLength": 1,
461
+ "maxLength": 256
462
+ },
463
+ "ownerRepo": {
464
+ "type": "string",
465
+ "minLength": 1,
466
+ "maxLength": 256
467
+ }
468
+ },
469
+ "required": [
470
+ "kind",
471
+ "id",
472
+ "ownerRepo"
473
+ ],
474
+ "additionalProperties": false
475
+ }
476
+ },
477
+ "required": [
478
+ "tenantRef",
479
+ "dataSpaceRef"
480
+ ],
481
+ "additionalProperties": false
482
+ },
483
+ "revision": {
484
+ "type": "integer",
485
+ "exclusiveMinimum": 0,
486
+ "maximum": 9007199254740991
487
+ },
488
+ "schemaVersion": {
489
+ "type": "integer",
490
+ "exclusiveMinimum": 0,
491
+ "maximum": 9007199254740991
492
+ },
493
+ "contentHash": {
494
+ "type": "string",
495
+ "pattern": "^[a-f0-9]{64}$"
496
+ }
497
+ },
498
+ "required": [
499
+ "kind",
500
+ "id",
501
+ "ownerRepo",
502
+ "visibility",
503
+ "revision",
504
+ "schemaVersion",
505
+ "contentHash"
506
+ ],
507
+ "additionalProperties": false
508
+ }
509
+ },
510
+ "required": [
511
+ "aliasRef",
512
+ "canonicalRef",
513
+ "validFrom",
514
+ "validUntil",
515
+ "evidenceRef"
516
+ ],
517
+ "additionalProperties": false
518
+ }
519
+ },
520
+ "contentHash": {
521
+ "type": "string",
522
+ "pattern": "^[a-f0-9]{64}$"
523
+ }
524
+ },
525
+ "required": [
526
+ "contract",
527
+ "schemaVersion",
528
+ "tenantScope",
529
+ "aliases",
530
+ "contentHash"
531
+ ],
532
+ "additionalProperties": false,
533
+ "$id": "https://schemas.infmonkeys.com/contracts/stable-ref-alias-map.schema.json",
534
+ "title": "stable-ref-alias-map"
535
+ }
@@ -3346,6 +3346,79 @@
3346
3346
  ],
3347
3347
  "additionalProperties": false
3348
3348
  },
3349
+ "homeShortcutBackground": {
3350
+ "type": "object",
3351
+ "properties": {
3352
+ "ontologyId": {
3353
+ "type": "string",
3354
+ "minLength": 1,
3355
+ "maxLength": 256
3356
+ },
3357
+ "viewId": {
3358
+ "type": "string",
3359
+ "minLength": 1,
3360
+ "maxLength": 256
3361
+ },
3362
+ "viewType": {
3363
+ "type": "string",
3364
+ "enum": [
3365
+ "filter",
3366
+ "container",
3367
+ "share_link"
3368
+ ]
3369
+ },
3370
+ "teamId": {
3371
+ "type": "string",
3372
+ "minLength": 1,
3373
+ "maxLength": 256
3374
+ },
3375
+ "teamOnly": {
3376
+ "type": "boolean"
3377
+ },
3378
+ "pageSize": {
3379
+ "type": "integer",
3380
+ "exclusiveMinimum": 0,
3381
+ "maximum": 9007199254740991
3382
+ },
3383
+ "sortBy": {
3384
+ "type": "string",
3385
+ "enum": [
3386
+ "pin_order",
3387
+ "asset_id",
3388
+ "updated_timestamp"
3389
+ ]
3390
+ },
3391
+ "sortOrder": {
3392
+ "type": "string",
3393
+ "enum": [
3394
+ "asc",
3395
+ "desc"
3396
+ ]
3397
+ },
3398
+ "fieldMap": {
3399
+ "type": "object",
3400
+ "propertyNames": {
3401
+ "type": "string"
3402
+ },
3403
+ "additionalProperties": {
3404
+ "type": "string"
3405
+ }
3406
+ },
3407
+ "columnIds": {
3408
+ "type": "object",
3409
+ "propertyNames": {
3410
+ "type": "string"
3411
+ },
3412
+ "additionalProperties": {
3413
+ "type": "string"
3414
+ }
3415
+ }
3416
+ },
3417
+ "required": [
3418
+ "ontologyId"
3419
+ ],
3420
+ "additionalProperties": false
3421
+ },
3349
3422
  "homeTrendAssistant": {
3350
3423
  "type": "object",
3351
3424
  "properties": {