@redocly/config 0.26.2 → 0.26.3

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 (35) hide show
  1. package/lib/common.d.ts +1 -1
  2. package/lib/common.js +1 -1
  3. package/lib/default-theme-config-schema.d.ts +573 -4326
  4. package/lib/default-theme-config-schema.js +3 -2
  5. package/lib/entities-catalog-config-schema.d.ts +718 -0
  6. package/lib/entities-catalog-config-schema.js +84 -0
  7. package/lib/ex-theme-config-schemas.d.ts +64 -0
  8. package/lib/ex-theme-config-schemas.js +1 -1
  9. package/lib/product-override-schema.d.ts +1 -1
  10. package/lib/root-config-schema.d.ts +3449 -209
  11. package/lib/root-config-schema.js +2 -1
  12. package/lib/types/catalog-entity-types.d.ts +29 -0
  13. package/lib/types/catalog-entity-types.js +3 -0
  14. package/lib/types/config-types.d.ts +2 -0
  15. package/lib/types/index.d.ts +1 -0
  16. package/lib/types/index.js +1 -0
  17. package/lib/types/portal-shared-types.d.ts +12 -1
  18. package/lib-esm/common.d.ts +1 -1
  19. package/lib-esm/common.js +1 -1
  20. package/lib-esm/default-theme-config-schema.d.ts +573 -4326
  21. package/lib-esm/default-theme-config-schema.js +2 -1
  22. package/lib-esm/entities-catalog-config-schema.d.ts +718 -0
  23. package/lib-esm/entities-catalog-config-schema.js +81 -0
  24. package/lib-esm/ex-theme-config-schemas.d.ts +64 -0
  25. package/lib-esm/ex-theme-config-schemas.js +2 -2
  26. package/lib-esm/product-override-schema.d.ts +1 -1
  27. package/lib-esm/root-config-schema.d.ts +3449 -209
  28. package/lib-esm/root-config-schema.js +2 -1
  29. package/lib-esm/types/catalog-entity-types.d.ts +29 -0
  30. package/lib-esm/types/catalog-entity-types.js +2 -0
  31. package/lib-esm/types/config-types.d.ts +2 -0
  32. package/lib-esm/types/index.d.ts +1 -0
  33. package/lib-esm/types/index.js +1 -0
  34. package/lib-esm/types/portal-shared-types.d.ts +12 -1
  35. package/package.json +2 -2
@@ -0,0 +1,718 @@
1
+ export declare const entityCatalogExcludeSchema: {
2
+ readonly type: "object";
3
+ readonly required: readonly ["key"];
4
+ readonly properties: {
5
+ readonly key: {
6
+ readonly type: "string";
7
+ };
8
+ };
9
+ readonly additionalProperties: false;
10
+ };
11
+ export declare const entityCatalogIncludeSchema: {
12
+ readonly type: "object";
13
+ readonly required: readonly ["type"];
14
+ readonly properties: {
15
+ readonly type: {
16
+ readonly type: "string";
17
+ };
18
+ };
19
+ readonly additionalProperties: false;
20
+ };
21
+ export declare const entityCatalogFilterSchema: {
22
+ readonly type: "object";
23
+ readonly required: readonly ["property", "title"];
24
+ readonly properties: {
25
+ readonly property: {
26
+ readonly type: "string";
27
+ };
28
+ readonly hide: {
29
+ readonly type: "boolean";
30
+ };
31
+ readonly label: {
32
+ readonly type: "string";
33
+ };
34
+ readonly options: {
35
+ readonly type: "array";
36
+ readonly items: {
37
+ readonly type: "string";
38
+ };
39
+ };
40
+ readonly type: {
41
+ readonly type: "string";
42
+ readonly enum: readonly ["select", "checkboxes", "date-range"];
43
+ readonly default: "checkboxes";
44
+ };
45
+ readonly title: {
46
+ readonly type: "string";
47
+ };
48
+ readonly titleTranslationKey: {
49
+ readonly type: "string";
50
+ };
51
+ readonly parentFilter: {
52
+ readonly type: "string";
53
+ };
54
+ readonly valuesMapping: {
55
+ readonly type: "object";
56
+ readonly additionalProperties: {
57
+ readonly type: "string";
58
+ };
59
+ };
60
+ };
61
+ readonly additionalProperties: false;
62
+ };
63
+ export declare const entityCatalogSpecificCatalogSchema: {
64
+ readonly type: "object";
65
+ readonly properties: {
66
+ readonly slug: {
67
+ readonly type: "string";
68
+ };
69
+ readonly hide: {
70
+ readonly type: "boolean";
71
+ };
72
+ readonly includes: {
73
+ readonly type: "array";
74
+ readonly items: {
75
+ readonly type: "object";
76
+ readonly required: readonly ["type"];
77
+ readonly properties: {
78
+ readonly type: {
79
+ readonly type: "string";
80
+ };
81
+ };
82
+ readonly additionalProperties: false;
83
+ };
84
+ };
85
+ readonly excludes: {
86
+ readonly type: "array";
87
+ readonly items: {
88
+ readonly type: "object";
89
+ readonly required: readonly ["key"];
90
+ readonly properties: {
91
+ readonly key: {
92
+ readonly type: "string";
93
+ };
94
+ };
95
+ readonly additionalProperties: false;
96
+ };
97
+ };
98
+ readonly filters: {
99
+ readonly type: "array";
100
+ readonly items: {
101
+ readonly type: "object";
102
+ readonly required: readonly ["property", "title"];
103
+ readonly properties: {
104
+ readonly property: {
105
+ readonly type: "string";
106
+ };
107
+ readonly hide: {
108
+ readonly type: "boolean";
109
+ };
110
+ readonly label: {
111
+ readonly type: "string";
112
+ };
113
+ readonly options: {
114
+ readonly type: "array";
115
+ readonly items: {
116
+ readonly type: "string";
117
+ };
118
+ };
119
+ readonly type: {
120
+ readonly type: "string";
121
+ readonly enum: readonly ["select", "checkboxes", "date-range"];
122
+ readonly default: "checkboxes";
123
+ };
124
+ readonly title: {
125
+ readonly type: "string";
126
+ };
127
+ readonly titleTranslationKey: {
128
+ readonly type: "string";
129
+ };
130
+ readonly parentFilter: {
131
+ readonly type: "string";
132
+ };
133
+ readonly valuesMapping: {
134
+ readonly type: "object";
135
+ readonly additionalProperties: {
136
+ readonly type: "string";
137
+ };
138
+ };
139
+ };
140
+ readonly additionalProperties: false;
141
+ };
142
+ };
143
+ readonly titleTranslationKey: {
144
+ readonly type: "string";
145
+ };
146
+ readonly descriptionTranslationKey: {
147
+ readonly type: "string";
148
+ };
149
+ readonly catalogSwitcherLabelTranslationKey: {
150
+ readonly type: "string";
151
+ };
152
+ };
153
+ readonly additionalProperties: false;
154
+ };
155
+ export declare const entitiesCatalogConfigSchema: {
156
+ readonly type: "object";
157
+ readonly properties: {
158
+ readonly catalogs: {
159
+ readonly type: "object";
160
+ readonly properties: {
161
+ readonly all: {
162
+ readonly type: "object";
163
+ readonly properties: {
164
+ readonly slug: {
165
+ readonly type: "string";
166
+ };
167
+ readonly hide: {
168
+ readonly type: "boolean";
169
+ };
170
+ readonly includes: {
171
+ readonly type: "array";
172
+ readonly items: {
173
+ readonly type: "object";
174
+ readonly required: readonly ["type"];
175
+ readonly properties: {
176
+ readonly type: {
177
+ readonly type: "string";
178
+ };
179
+ };
180
+ readonly additionalProperties: false;
181
+ };
182
+ };
183
+ readonly excludes: {
184
+ readonly type: "array";
185
+ readonly items: {
186
+ readonly type: "object";
187
+ readonly required: readonly ["key"];
188
+ readonly properties: {
189
+ readonly key: {
190
+ readonly type: "string";
191
+ };
192
+ };
193
+ readonly additionalProperties: false;
194
+ };
195
+ };
196
+ readonly filters: {
197
+ readonly type: "array";
198
+ readonly items: {
199
+ readonly type: "object";
200
+ readonly required: readonly ["property", "title"];
201
+ readonly properties: {
202
+ readonly property: {
203
+ readonly type: "string";
204
+ };
205
+ readonly hide: {
206
+ readonly type: "boolean";
207
+ };
208
+ readonly label: {
209
+ readonly type: "string";
210
+ };
211
+ readonly options: {
212
+ readonly type: "array";
213
+ readonly items: {
214
+ readonly type: "string";
215
+ };
216
+ };
217
+ readonly type: {
218
+ readonly type: "string";
219
+ readonly enum: readonly ["select", "checkboxes", "date-range"];
220
+ readonly default: "checkboxes";
221
+ };
222
+ readonly title: {
223
+ readonly type: "string";
224
+ };
225
+ readonly titleTranslationKey: {
226
+ readonly type: "string";
227
+ };
228
+ readonly parentFilter: {
229
+ readonly type: "string";
230
+ };
231
+ readonly valuesMapping: {
232
+ readonly type: "object";
233
+ readonly additionalProperties: {
234
+ readonly type: "string";
235
+ };
236
+ };
237
+ };
238
+ readonly additionalProperties: false;
239
+ };
240
+ };
241
+ readonly titleTranslationKey: {
242
+ readonly type: "string";
243
+ };
244
+ readonly descriptionTranslationKey: {
245
+ readonly type: "string";
246
+ };
247
+ readonly catalogSwitcherLabelTranslationKey: {
248
+ readonly type: "string";
249
+ };
250
+ };
251
+ readonly additionalProperties: false;
252
+ };
253
+ readonly services: {
254
+ readonly type: "object";
255
+ readonly properties: {
256
+ readonly slug: {
257
+ readonly type: "string";
258
+ };
259
+ readonly hide: {
260
+ readonly type: "boolean";
261
+ };
262
+ readonly includes: {
263
+ readonly type: "array";
264
+ readonly items: {
265
+ readonly type: "object";
266
+ readonly required: readonly ["type"];
267
+ readonly properties: {
268
+ readonly type: {
269
+ readonly type: "string";
270
+ };
271
+ };
272
+ readonly additionalProperties: false;
273
+ };
274
+ };
275
+ readonly excludes: {
276
+ readonly type: "array";
277
+ readonly items: {
278
+ readonly type: "object";
279
+ readonly required: readonly ["key"];
280
+ readonly properties: {
281
+ readonly key: {
282
+ readonly type: "string";
283
+ };
284
+ };
285
+ readonly additionalProperties: false;
286
+ };
287
+ };
288
+ readonly filters: {
289
+ readonly type: "array";
290
+ readonly items: {
291
+ readonly type: "object";
292
+ readonly required: readonly ["property", "title"];
293
+ readonly properties: {
294
+ readonly property: {
295
+ readonly type: "string";
296
+ };
297
+ readonly hide: {
298
+ readonly type: "boolean";
299
+ };
300
+ readonly label: {
301
+ readonly type: "string";
302
+ };
303
+ readonly options: {
304
+ readonly type: "array";
305
+ readonly items: {
306
+ readonly type: "string";
307
+ };
308
+ };
309
+ readonly type: {
310
+ readonly type: "string";
311
+ readonly enum: readonly ["select", "checkboxes", "date-range"];
312
+ readonly default: "checkboxes";
313
+ };
314
+ readonly title: {
315
+ readonly type: "string";
316
+ };
317
+ readonly titleTranslationKey: {
318
+ readonly type: "string";
319
+ };
320
+ readonly parentFilter: {
321
+ readonly type: "string";
322
+ };
323
+ readonly valuesMapping: {
324
+ readonly type: "object";
325
+ readonly additionalProperties: {
326
+ readonly type: "string";
327
+ };
328
+ };
329
+ };
330
+ readonly additionalProperties: false;
331
+ };
332
+ };
333
+ readonly titleTranslationKey: {
334
+ readonly type: "string";
335
+ };
336
+ readonly descriptionTranslationKey: {
337
+ readonly type: "string";
338
+ };
339
+ readonly catalogSwitcherLabelTranslationKey: {
340
+ readonly type: "string";
341
+ };
342
+ };
343
+ readonly additionalProperties: false;
344
+ };
345
+ readonly domains: {
346
+ readonly type: "object";
347
+ readonly properties: {
348
+ readonly slug: {
349
+ readonly type: "string";
350
+ };
351
+ readonly hide: {
352
+ readonly type: "boolean";
353
+ };
354
+ readonly includes: {
355
+ readonly type: "array";
356
+ readonly items: {
357
+ readonly type: "object";
358
+ readonly required: readonly ["type"];
359
+ readonly properties: {
360
+ readonly type: {
361
+ readonly type: "string";
362
+ };
363
+ };
364
+ readonly additionalProperties: false;
365
+ };
366
+ };
367
+ readonly excludes: {
368
+ readonly type: "array";
369
+ readonly items: {
370
+ readonly type: "object";
371
+ readonly required: readonly ["key"];
372
+ readonly properties: {
373
+ readonly key: {
374
+ readonly type: "string";
375
+ };
376
+ };
377
+ readonly additionalProperties: false;
378
+ };
379
+ };
380
+ readonly filters: {
381
+ readonly type: "array";
382
+ readonly items: {
383
+ readonly type: "object";
384
+ readonly required: readonly ["property", "title"];
385
+ readonly properties: {
386
+ readonly property: {
387
+ readonly type: "string";
388
+ };
389
+ readonly hide: {
390
+ readonly type: "boolean";
391
+ };
392
+ readonly label: {
393
+ readonly type: "string";
394
+ };
395
+ readonly options: {
396
+ readonly type: "array";
397
+ readonly items: {
398
+ readonly type: "string";
399
+ };
400
+ };
401
+ readonly type: {
402
+ readonly type: "string";
403
+ readonly enum: readonly ["select", "checkboxes", "date-range"];
404
+ readonly default: "checkboxes";
405
+ };
406
+ readonly title: {
407
+ readonly type: "string";
408
+ };
409
+ readonly titleTranslationKey: {
410
+ readonly type: "string";
411
+ };
412
+ readonly parentFilter: {
413
+ readonly type: "string";
414
+ };
415
+ readonly valuesMapping: {
416
+ readonly type: "object";
417
+ readonly additionalProperties: {
418
+ readonly type: "string";
419
+ };
420
+ };
421
+ };
422
+ readonly additionalProperties: false;
423
+ };
424
+ };
425
+ readonly titleTranslationKey: {
426
+ readonly type: "string";
427
+ };
428
+ readonly descriptionTranslationKey: {
429
+ readonly type: "string";
430
+ };
431
+ readonly catalogSwitcherLabelTranslationKey: {
432
+ readonly type: "string";
433
+ };
434
+ };
435
+ readonly additionalProperties: false;
436
+ };
437
+ readonly teams: {
438
+ readonly type: "object";
439
+ readonly properties: {
440
+ readonly slug: {
441
+ readonly type: "string";
442
+ };
443
+ readonly hide: {
444
+ readonly type: "boolean";
445
+ };
446
+ readonly includes: {
447
+ readonly type: "array";
448
+ readonly items: {
449
+ readonly type: "object";
450
+ readonly required: readonly ["type"];
451
+ readonly properties: {
452
+ readonly type: {
453
+ readonly type: "string";
454
+ };
455
+ };
456
+ readonly additionalProperties: false;
457
+ };
458
+ };
459
+ readonly excludes: {
460
+ readonly type: "array";
461
+ readonly items: {
462
+ readonly type: "object";
463
+ readonly required: readonly ["key"];
464
+ readonly properties: {
465
+ readonly key: {
466
+ readonly type: "string";
467
+ };
468
+ };
469
+ readonly additionalProperties: false;
470
+ };
471
+ };
472
+ readonly filters: {
473
+ readonly type: "array";
474
+ readonly items: {
475
+ readonly type: "object";
476
+ readonly required: readonly ["property", "title"];
477
+ readonly properties: {
478
+ readonly property: {
479
+ readonly type: "string";
480
+ };
481
+ readonly hide: {
482
+ readonly type: "boolean";
483
+ };
484
+ readonly label: {
485
+ readonly type: "string";
486
+ };
487
+ readonly options: {
488
+ readonly type: "array";
489
+ readonly items: {
490
+ readonly type: "string";
491
+ };
492
+ };
493
+ readonly type: {
494
+ readonly type: "string";
495
+ readonly enum: readonly ["select", "checkboxes", "date-range"];
496
+ readonly default: "checkboxes";
497
+ };
498
+ readonly title: {
499
+ readonly type: "string";
500
+ };
501
+ readonly titleTranslationKey: {
502
+ readonly type: "string";
503
+ };
504
+ readonly parentFilter: {
505
+ readonly type: "string";
506
+ };
507
+ readonly valuesMapping: {
508
+ readonly type: "object";
509
+ readonly additionalProperties: {
510
+ readonly type: "string";
511
+ };
512
+ };
513
+ };
514
+ readonly additionalProperties: false;
515
+ };
516
+ };
517
+ readonly titleTranslationKey: {
518
+ readonly type: "string";
519
+ };
520
+ readonly descriptionTranslationKey: {
521
+ readonly type: "string";
522
+ };
523
+ readonly catalogSwitcherLabelTranslationKey: {
524
+ readonly type: "string";
525
+ };
526
+ };
527
+ readonly additionalProperties: false;
528
+ };
529
+ readonly users: {
530
+ readonly type: "object";
531
+ readonly properties: {
532
+ readonly slug: {
533
+ readonly type: "string";
534
+ };
535
+ readonly hide: {
536
+ readonly type: "boolean";
537
+ };
538
+ readonly includes: {
539
+ readonly type: "array";
540
+ readonly items: {
541
+ readonly type: "object";
542
+ readonly required: readonly ["type"];
543
+ readonly properties: {
544
+ readonly type: {
545
+ readonly type: "string";
546
+ };
547
+ };
548
+ readonly additionalProperties: false;
549
+ };
550
+ };
551
+ readonly excludes: {
552
+ readonly type: "array";
553
+ readonly items: {
554
+ readonly type: "object";
555
+ readonly required: readonly ["key"];
556
+ readonly properties: {
557
+ readonly key: {
558
+ readonly type: "string";
559
+ };
560
+ };
561
+ readonly additionalProperties: false;
562
+ };
563
+ };
564
+ readonly filters: {
565
+ readonly type: "array";
566
+ readonly items: {
567
+ readonly type: "object";
568
+ readonly required: readonly ["property", "title"];
569
+ readonly properties: {
570
+ readonly property: {
571
+ readonly type: "string";
572
+ };
573
+ readonly hide: {
574
+ readonly type: "boolean";
575
+ };
576
+ readonly label: {
577
+ readonly type: "string";
578
+ };
579
+ readonly options: {
580
+ readonly type: "array";
581
+ readonly items: {
582
+ readonly type: "string";
583
+ };
584
+ };
585
+ readonly type: {
586
+ readonly type: "string";
587
+ readonly enum: readonly ["select", "checkboxes", "date-range"];
588
+ readonly default: "checkboxes";
589
+ };
590
+ readonly title: {
591
+ readonly type: "string";
592
+ };
593
+ readonly titleTranslationKey: {
594
+ readonly type: "string";
595
+ };
596
+ readonly parentFilter: {
597
+ readonly type: "string";
598
+ };
599
+ readonly valuesMapping: {
600
+ readonly type: "object";
601
+ readonly additionalProperties: {
602
+ readonly type: "string";
603
+ };
604
+ };
605
+ };
606
+ readonly additionalProperties: false;
607
+ };
608
+ };
609
+ readonly titleTranslationKey: {
610
+ readonly type: "string";
611
+ };
612
+ readonly descriptionTranslationKey: {
613
+ readonly type: "string";
614
+ };
615
+ readonly catalogSwitcherLabelTranslationKey: {
616
+ readonly type: "string";
617
+ };
618
+ };
619
+ readonly additionalProperties: false;
620
+ };
621
+ readonly apiDescriptions: {
622
+ readonly type: "object";
623
+ readonly properties: {
624
+ readonly slug: {
625
+ readonly type: "string";
626
+ };
627
+ readonly hide: {
628
+ readonly type: "boolean";
629
+ };
630
+ readonly includes: {
631
+ readonly type: "array";
632
+ readonly items: {
633
+ readonly type: "object";
634
+ readonly required: readonly ["type"];
635
+ readonly properties: {
636
+ readonly type: {
637
+ readonly type: "string";
638
+ };
639
+ };
640
+ readonly additionalProperties: false;
641
+ };
642
+ };
643
+ readonly excludes: {
644
+ readonly type: "array";
645
+ readonly items: {
646
+ readonly type: "object";
647
+ readonly required: readonly ["key"];
648
+ readonly properties: {
649
+ readonly key: {
650
+ readonly type: "string";
651
+ };
652
+ };
653
+ readonly additionalProperties: false;
654
+ };
655
+ };
656
+ readonly filters: {
657
+ readonly type: "array";
658
+ readonly items: {
659
+ readonly type: "object";
660
+ readonly required: readonly ["property", "title"];
661
+ readonly properties: {
662
+ readonly property: {
663
+ readonly type: "string";
664
+ };
665
+ readonly hide: {
666
+ readonly type: "boolean";
667
+ };
668
+ readonly label: {
669
+ readonly type: "string";
670
+ };
671
+ readonly options: {
672
+ readonly type: "array";
673
+ readonly items: {
674
+ readonly type: "string";
675
+ };
676
+ };
677
+ readonly type: {
678
+ readonly type: "string";
679
+ readonly enum: readonly ["select", "checkboxes", "date-range"];
680
+ readonly default: "checkboxes";
681
+ };
682
+ readonly title: {
683
+ readonly type: "string";
684
+ };
685
+ readonly titleTranslationKey: {
686
+ readonly type: "string";
687
+ };
688
+ readonly parentFilter: {
689
+ readonly type: "string";
690
+ };
691
+ readonly valuesMapping: {
692
+ readonly type: "object";
693
+ readonly additionalProperties: {
694
+ readonly type: "string";
695
+ };
696
+ };
697
+ };
698
+ readonly additionalProperties: false;
699
+ };
700
+ };
701
+ readonly titleTranslationKey: {
702
+ readonly type: "string";
703
+ };
704
+ readonly descriptionTranslationKey: {
705
+ readonly type: "string";
706
+ };
707
+ readonly catalogSwitcherLabelTranslationKey: {
708
+ readonly type: "string";
709
+ };
710
+ };
711
+ readonly additionalProperties: false;
712
+ };
713
+ };
714
+ readonly additionalProperties: false;
715
+ };
716
+ };
717
+ readonly additionalProperties: false;
718
+ };