@redocly/config 0.36.0 → 0.36.1
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.
- package/lib/default-theme-config-schema.d.ts +38 -0
- package/lib/ex-theme-config-schemas.d.ts +46 -0
- package/lib/ex-theme-config-schemas.js +2 -0
- package/lib/product-override-schema.d.ts +123 -0
- package/lib/product-override-schema.js +1 -0
- package/lib/root-config-schema.d.ts +208 -0
- package/lib/types/api-functions-types.d.ts +8 -0
- package/lib/types/portal-shared-types.d.ts +4 -0
- package/lib-esm/default-theme-config-schema.d.ts +38 -0
- package/lib-esm/ex-theme-config-schemas.d.ts +46 -0
- package/lib-esm/ex-theme-config-schemas.js +2 -0
- package/lib-esm/product-override-schema.d.ts +123 -0
- package/lib-esm/product-override-schema.js +2 -1
- package/lib-esm/root-config-schema.d.ts +208 -0
- package/lib-esm/types/api-functions-types.d.ts +8 -0
- package/lib-esm/types/portal-shared-types.d.ts +4 -0
- package/package.json +1 -1
|
@@ -134,6 +134,10 @@ export declare const themeConfigSchema: {
|
|
|
134
134
|
readonly type: "string";
|
|
135
135
|
};
|
|
136
136
|
};
|
|
137
|
+
readonly additionalProps: {
|
|
138
|
+
readonly type: "object";
|
|
139
|
+
readonly additionalProperties: true;
|
|
140
|
+
};
|
|
137
141
|
};
|
|
138
142
|
};
|
|
139
143
|
};
|
|
@@ -218,6 +222,10 @@ export declare const themeConfigSchema: {
|
|
|
218
222
|
readonly type: "string";
|
|
219
223
|
};
|
|
220
224
|
};
|
|
225
|
+
readonly additionalProps: {
|
|
226
|
+
readonly type: "object";
|
|
227
|
+
readonly additionalProperties: true;
|
|
228
|
+
};
|
|
221
229
|
};
|
|
222
230
|
readonly type: "object";
|
|
223
231
|
};
|
|
@@ -347,6 +355,10 @@ export declare const themeConfigSchema: {
|
|
|
347
355
|
readonly type: "string";
|
|
348
356
|
};
|
|
349
357
|
};
|
|
358
|
+
readonly additionalProps: {
|
|
359
|
+
readonly type: "object";
|
|
360
|
+
readonly additionalProperties: true;
|
|
361
|
+
};
|
|
350
362
|
};
|
|
351
363
|
};
|
|
352
364
|
};
|
|
@@ -431,6 +443,10 @@ export declare const themeConfigSchema: {
|
|
|
431
443
|
readonly type: "string";
|
|
432
444
|
};
|
|
433
445
|
};
|
|
446
|
+
readonly additionalProps: {
|
|
447
|
+
readonly type: "object";
|
|
448
|
+
readonly additionalProperties: true;
|
|
449
|
+
};
|
|
434
450
|
};
|
|
435
451
|
readonly type: "object";
|
|
436
452
|
};
|
|
@@ -3769,6 +3785,9 @@ export declare const themeConfigSchema: {
|
|
|
3769
3785
|
readonly additionalProperties: true;
|
|
3770
3786
|
readonly required: readonly ["slug", "items"];
|
|
3771
3787
|
readonly properties: {
|
|
3788
|
+
readonly show: {
|
|
3789
|
+
readonly type: "boolean";
|
|
3790
|
+
};
|
|
3772
3791
|
readonly slug: {
|
|
3773
3792
|
readonly type: "string";
|
|
3774
3793
|
};
|
|
@@ -3921,6 +3940,10 @@ export declare const themeConfigSchema: {
|
|
|
3921
3940
|
readonly type: "string";
|
|
3922
3941
|
};
|
|
3923
3942
|
};
|
|
3943
|
+
readonly additionalProps: {
|
|
3944
|
+
readonly type: "object";
|
|
3945
|
+
readonly additionalProperties: true;
|
|
3946
|
+
};
|
|
3924
3947
|
};
|
|
3925
3948
|
};
|
|
3926
3949
|
};
|
|
@@ -4005,6 +4028,10 @@ export declare const themeConfigSchema: {
|
|
|
4005
4028
|
readonly type: "string";
|
|
4006
4029
|
};
|
|
4007
4030
|
};
|
|
4031
|
+
readonly additionalProps: {
|
|
4032
|
+
readonly type: "object";
|
|
4033
|
+
readonly additionalProperties: true;
|
|
4034
|
+
};
|
|
4008
4035
|
};
|
|
4009
4036
|
readonly type: "object";
|
|
4010
4037
|
};
|
|
@@ -4985,6 +5012,9 @@ export declare const themeConfigSchema: {
|
|
|
4985
5012
|
readonly additionalProperties: true;
|
|
4986
5013
|
readonly required: readonly ["slug", "items"];
|
|
4987
5014
|
readonly properties: {
|
|
5015
|
+
readonly show: {
|
|
5016
|
+
readonly type: "boolean";
|
|
5017
|
+
};
|
|
4988
5018
|
readonly slug: {
|
|
4989
5019
|
readonly type: "string";
|
|
4990
5020
|
};
|
|
@@ -5137,6 +5167,10 @@ export declare const themeConfigSchema: {
|
|
|
5137
5167
|
readonly type: "string";
|
|
5138
5168
|
};
|
|
5139
5169
|
};
|
|
5170
|
+
readonly additionalProps: {
|
|
5171
|
+
readonly type: "object";
|
|
5172
|
+
readonly additionalProperties: true;
|
|
5173
|
+
};
|
|
5140
5174
|
};
|
|
5141
5175
|
};
|
|
5142
5176
|
};
|
|
@@ -5221,6 +5255,10 @@ export declare const themeConfigSchema: {
|
|
|
5221
5255
|
readonly type: "string";
|
|
5222
5256
|
};
|
|
5223
5257
|
};
|
|
5258
|
+
readonly additionalProps: {
|
|
5259
|
+
readonly type: "object";
|
|
5260
|
+
readonly additionalProperties: true;
|
|
5261
|
+
};
|
|
5224
5262
|
};
|
|
5225
5263
|
readonly type: "object";
|
|
5226
5264
|
};
|
|
@@ -95,6 +95,10 @@ export declare const navItemsSchema: {
|
|
|
95
95
|
readonly type: "string";
|
|
96
96
|
};
|
|
97
97
|
};
|
|
98
|
+
readonly additionalProps: {
|
|
99
|
+
readonly type: "object";
|
|
100
|
+
readonly additionalProperties: true;
|
|
101
|
+
};
|
|
98
102
|
};
|
|
99
103
|
};
|
|
100
104
|
};
|
|
@@ -179,6 +183,10 @@ export declare const navItemsSchema: {
|
|
|
179
183
|
readonly type: "string";
|
|
180
184
|
};
|
|
181
185
|
};
|
|
186
|
+
readonly additionalProps: {
|
|
187
|
+
readonly type: "object";
|
|
188
|
+
readonly additionalProperties: true;
|
|
189
|
+
};
|
|
182
190
|
};
|
|
183
191
|
readonly type: "object";
|
|
184
192
|
};
|
|
@@ -395,6 +403,10 @@ export declare const navbarConfigSchema: {
|
|
|
395
403
|
readonly type: "string";
|
|
396
404
|
};
|
|
397
405
|
};
|
|
406
|
+
readonly additionalProps: {
|
|
407
|
+
readonly type: "object";
|
|
408
|
+
readonly additionalProperties: true;
|
|
409
|
+
};
|
|
398
410
|
};
|
|
399
411
|
};
|
|
400
412
|
};
|
|
@@ -479,6 +491,10 @@ export declare const navbarConfigSchema: {
|
|
|
479
491
|
readonly type: "string";
|
|
480
492
|
};
|
|
481
493
|
};
|
|
494
|
+
readonly additionalProps: {
|
|
495
|
+
readonly type: "object";
|
|
496
|
+
readonly additionalProperties: true;
|
|
497
|
+
};
|
|
482
498
|
};
|
|
483
499
|
readonly type: "object";
|
|
484
500
|
};
|
|
@@ -608,6 +624,10 @@ export declare const footerConfigSchema: {
|
|
|
608
624
|
readonly type: "string";
|
|
609
625
|
};
|
|
610
626
|
};
|
|
627
|
+
readonly additionalProps: {
|
|
628
|
+
readonly type: "object";
|
|
629
|
+
readonly additionalProperties: true;
|
|
630
|
+
};
|
|
611
631
|
};
|
|
612
632
|
};
|
|
613
633
|
};
|
|
@@ -692,6 +712,10 @@ export declare const footerConfigSchema: {
|
|
|
692
712
|
readonly type: "string";
|
|
693
713
|
};
|
|
694
714
|
};
|
|
715
|
+
readonly additionalProps: {
|
|
716
|
+
readonly type: "object";
|
|
717
|
+
readonly additionalProperties: true;
|
|
718
|
+
};
|
|
695
719
|
};
|
|
696
720
|
readonly type: "object";
|
|
697
721
|
};
|
|
@@ -3625,6 +3649,9 @@ export declare const catalogSchema: {
|
|
|
3625
3649
|
readonly additionalProperties: true;
|
|
3626
3650
|
readonly required: readonly ["slug", "items"];
|
|
3627
3651
|
readonly properties: {
|
|
3652
|
+
readonly show: {
|
|
3653
|
+
readonly type: "boolean";
|
|
3654
|
+
};
|
|
3628
3655
|
readonly slug: {
|
|
3629
3656
|
readonly type: "string";
|
|
3630
3657
|
};
|
|
@@ -3777,6 +3804,10 @@ export declare const catalogSchema: {
|
|
|
3777
3804
|
readonly type: "string";
|
|
3778
3805
|
};
|
|
3779
3806
|
};
|
|
3807
|
+
readonly additionalProps: {
|
|
3808
|
+
readonly type: "object";
|
|
3809
|
+
readonly additionalProperties: true;
|
|
3810
|
+
};
|
|
3780
3811
|
};
|
|
3781
3812
|
};
|
|
3782
3813
|
};
|
|
@@ -3861,6 +3892,10 @@ export declare const catalogSchema: {
|
|
|
3861
3892
|
readonly type: "string";
|
|
3862
3893
|
};
|
|
3863
3894
|
};
|
|
3895
|
+
readonly additionalProps: {
|
|
3896
|
+
readonly type: "object";
|
|
3897
|
+
readonly additionalProperties: true;
|
|
3898
|
+
};
|
|
3864
3899
|
};
|
|
3865
3900
|
readonly type: "object";
|
|
3866
3901
|
};
|
|
@@ -3893,6 +3928,9 @@ export declare const catalogsConfigSchema: {
|
|
|
3893
3928
|
readonly additionalProperties: true;
|
|
3894
3929
|
readonly required: readonly ["slug", "items"];
|
|
3895
3930
|
readonly properties: {
|
|
3931
|
+
readonly show: {
|
|
3932
|
+
readonly type: "boolean";
|
|
3933
|
+
};
|
|
3896
3934
|
readonly slug: {
|
|
3897
3935
|
readonly type: "string";
|
|
3898
3936
|
};
|
|
@@ -4045,6 +4083,10 @@ export declare const catalogsConfigSchema: {
|
|
|
4045
4083
|
readonly type: "string";
|
|
4046
4084
|
};
|
|
4047
4085
|
};
|
|
4086
|
+
readonly additionalProps: {
|
|
4087
|
+
readonly type: "object";
|
|
4088
|
+
readonly additionalProperties: true;
|
|
4089
|
+
};
|
|
4048
4090
|
};
|
|
4049
4091
|
};
|
|
4050
4092
|
};
|
|
@@ -4129,6 +4171,10 @@ export declare const catalogsConfigSchema: {
|
|
|
4129
4171
|
readonly type: "string";
|
|
4130
4172
|
};
|
|
4131
4173
|
};
|
|
4174
|
+
readonly additionalProps: {
|
|
4175
|
+
readonly type: "object";
|
|
4176
|
+
readonly additionalProperties: true;
|
|
4177
|
+
};
|
|
4132
4178
|
};
|
|
4133
4179
|
readonly type: "object";
|
|
4134
4180
|
};
|
|
@@ -69,6 +69,7 @@ const navItemSchema = {
|
|
|
69
69
|
type: 'object',
|
|
70
70
|
additionalProperties: { type: 'string' },
|
|
71
71
|
},
|
|
72
|
+
additionalProps: { type: 'object', additionalProperties: true },
|
|
72
73
|
},
|
|
73
74
|
};
|
|
74
75
|
exports.navItemsSchema = {
|
|
@@ -581,6 +582,7 @@ exports.catalogSchema = {
|
|
|
581
582
|
additionalProperties: true,
|
|
582
583
|
required: ['slug', 'items'],
|
|
583
584
|
properties: {
|
|
585
|
+
show: { type: 'boolean' },
|
|
584
586
|
slug: { type: 'string' },
|
|
585
587
|
filters: { type: 'array', items: exports.catalogFilterSchema },
|
|
586
588
|
groupByFirstFilter: { type: 'boolean' },
|
|
@@ -125,6 +125,10 @@ export declare const productThemeOverrideSchema: {
|
|
|
125
125
|
readonly type: "string";
|
|
126
126
|
};
|
|
127
127
|
};
|
|
128
|
+
readonly additionalProps: {
|
|
129
|
+
readonly type: "object";
|
|
130
|
+
readonly additionalProperties: true;
|
|
131
|
+
};
|
|
128
132
|
};
|
|
129
133
|
};
|
|
130
134
|
};
|
|
@@ -209,6 +213,10 @@ export declare const productThemeOverrideSchema: {
|
|
|
209
213
|
readonly type: "string";
|
|
210
214
|
};
|
|
211
215
|
};
|
|
216
|
+
readonly additionalProps: {
|
|
217
|
+
readonly type: "object";
|
|
218
|
+
readonly additionalProperties: true;
|
|
219
|
+
};
|
|
212
220
|
};
|
|
213
221
|
readonly type: "object";
|
|
214
222
|
};
|
|
@@ -319,6 +327,10 @@ export declare const productThemeOverrideSchema: {
|
|
|
319
327
|
readonly type: "string";
|
|
320
328
|
};
|
|
321
329
|
};
|
|
330
|
+
readonly additionalProps: {
|
|
331
|
+
readonly type: "object";
|
|
332
|
+
readonly additionalProperties: true;
|
|
333
|
+
};
|
|
322
334
|
};
|
|
323
335
|
};
|
|
324
336
|
};
|
|
@@ -403,6 +415,10 @@ export declare const productThemeOverrideSchema: {
|
|
|
403
415
|
readonly type: "string";
|
|
404
416
|
};
|
|
405
417
|
};
|
|
418
|
+
readonly additionalProps: {
|
|
419
|
+
readonly type: "object";
|
|
420
|
+
readonly additionalProperties: true;
|
|
421
|
+
};
|
|
406
422
|
};
|
|
407
423
|
readonly type: "object";
|
|
408
424
|
};
|
|
@@ -2672,6 +2688,31 @@ export declare const productThemeOverrideSchema: {
|
|
|
2672
2688
|
};
|
|
2673
2689
|
readonly additionalProperties: false;
|
|
2674
2690
|
};
|
|
2691
|
+
readonly mockServer: {
|
|
2692
|
+
readonly type: "object";
|
|
2693
|
+
readonly properties: {
|
|
2694
|
+
readonly off: {
|
|
2695
|
+
readonly type: "boolean";
|
|
2696
|
+
readonly default: false;
|
|
2697
|
+
};
|
|
2698
|
+
readonly position: {
|
|
2699
|
+
readonly type: "string";
|
|
2700
|
+
readonly enum: readonly ["first", "last", "replace", "off"];
|
|
2701
|
+
readonly default: "first";
|
|
2702
|
+
};
|
|
2703
|
+
readonly strictExamples: {
|
|
2704
|
+
readonly type: "boolean";
|
|
2705
|
+
readonly default: false;
|
|
2706
|
+
};
|
|
2707
|
+
readonly errorIfForcedExampleNotFound: {
|
|
2708
|
+
readonly type: "boolean";
|
|
2709
|
+
readonly default: false;
|
|
2710
|
+
};
|
|
2711
|
+
readonly description: {
|
|
2712
|
+
readonly type: "string";
|
|
2713
|
+
};
|
|
2714
|
+
};
|
|
2715
|
+
};
|
|
2675
2716
|
readonly analytics: {
|
|
2676
2717
|
readonly type: "object";
|
|
2677
2718
|
readonly properties: {
|
|
@@ -7558,6 +7599,10 @@ export declare const productConfigOverrideSchema: {
|
|
|
7558
7599
|
readonly type: "string";
|
|
7559
7600
|
};
|
|
7560
7601
|
};
|
|
7602
|
+
readonly additionalProps: {
|
|
7603
|
+
readonly type: "object";
|
|
7604
|
+
readonly additionalProperties: true;
|
|
7605
|
+
};
|
|
7561
7606
|
};
|
|
7562
7607
|
};
|
|
7563
7608
|
};
|
|
@@ -7642,6 +7687,10 @@ export declare const productConfigOverrideSchema: {
|
|
|
7642
7687
|
readonly type: "string";
|
|
7643
7688
|
};
|
|
7644
7689
|
};
|
|
7690
|
+
readonly additionalProps: {
|
|
7691
|
+
readonly type: "object";
|
|
7692
|
+
readonly additionalProperties: true;
|
|
7693
|
+
};
|
|
7645
7694
|
};
|
|
7646
7695
|
readonly type: "object";
|
|
7647
7696
|
};
|
|
@@ -7752,6 +7801,10 @@ export declare const productConfigOverrideSchema: {
|
|
|
7752
7801
|
readonly type: "string";
|
|
7753
7802
|
};
|
|
7754
7803
|
};
|
|
7804
|
+
readonly additionalProps: {
|
|
7805
|
+
readonly type: "object";
|
|
7806
|
+
readonly additionalProperties: true;
|
|
7807
|
+
};
|
|
7755
7808
|
};
|
|
7756
7809
|
};
|
|
7757
7810
|
};
|
|
@@ -7836,6 +7889,10 @@ export declare const productConfigOverrideSchema: {
|
|
|
7836
7889
|
readonly type: "string";
|
|
7837
7890
|
};
|
|
7838
7891
|
};
|
|
7892
|
+
readonly additionalProps: {
|
|
7893
|
+
readonly type: "object";
|
|
7894
|
+
readonly additionalProperties: true;
|
|
7895
|
+
};
|
|
7839
7896
|
};
|
|
7840
7897
|
readonly type: "object";
|
|
7841
7898
|
};
|
|
@@ -10105,6 +10162,31 @@ export declare const productConfigOverrideSchema: {
|
|
|
10105
10162
|
};
|
|
10106
10163
|
readonly additionalProperties: false;
|
|
10107
10164
|
};
|
|
10165
|
+
readonly mockServer: {
|
|
10166
|
+
readonly type: "object";
|
|
10167
|
+
readonly properties: {
|
|
10168
|
+
readonly off: {
|
|
10169
|
+
readonly type: "boolean";
|
|
10170
|
+
readonly default: false;
|
|
10171
|
+
};
|
|
10172
|
+
readonly position: {
|
|
10173
|
+
readonly type: "string";
|
|
10174
|
+
readonly enum: readonly ["first", "last", "replace", "off"];
|
|
10175
|
+
readonly default: "first";
|
|
10176
|
+
};
|
|
10177
|
+
readonly strictExamples: {
|
|
10178
|
+
readonly type: "boolean";
|
|
10179
|
+
readonly default: false;
|
|
10180
|
+
};
|
|
10181
|
+
readonly errorIfForcedExampleNotFound: {
|
|
10182
|
+
readonly type: "boolean";
|
|
10183
|
+
readonly default: false;
|
|
10184
|
+
};
|
|
10185
|
+
readonly description: {
|
|
10186
|
+
readonly type: "string";
|
|
10187
|
+
};
|
|
10188
|
+
};
|
|
10189
|
+
};
|
|
10108
10190
|
readonly analytics: {
|
|
10109
10191
|
readonly type: "object";
|
|
10110
10192
|
readonly properties: {
|
|
@@ -10266,6 +10348,10 @@ export declare const productConfigOverrideSchema: {
|
|
|
10266
10348
|
readonly type: "string";
|
|
10267
10349
|
};
|
|
10268
10350
|
};
|
|
10351
|
+
readonly additionalProps: {
|
|
10352
|
+
readonly type: "object";
|
|
10353
|
+
readonly additionalProperties: true;
|
|
10354
|
+
};
|
|
10269
10355
|
};
|
|
10270
10356
|
};
|
|
10271
10357
|
};
|
|
@@ -10350,6 +10436,10 @@ export declare const productConfigOverrideSchema: {
|
|
|
10350
10436
|
readonly type: "string";
|
|
10351
10437
|
};
|
|
10352
10438
|
};
|
|
10439
|
+
readonly additionalProps: {
|
|
10440
|
+
readonly type: "object";
|
|
10441
|
+
readonly additionalProperties: true;
|
|
10442
|
+
};
|
|
10353
10443
|
};
|
|
10354
10444
|
readonly type: "object";
|
|
10355
10445
|
};
|
|
@@ -10460,6 +10550,10 @@ export declare const productConfigOverrideSchema: {
|
|
|
10460
10550
|
readonly type: "string";
|
|
10461
10551
|
};
|
|
10462
10552
|
};
|
|
10553
|
+
readonly additionalProps: {
|
|
10554
|
+
readonly type: "object";
|
|
10555
|
+
readonly additionalProperties: true;
|
|
10556
|
+
};
|
|
10463
10557
|
};
|
|
10464
10558
|
};
|
|
10465
10559
|
};
|
|
@@ -10544,6 +10638,10 @@ export declare const productConfigOverrideSchema: {
|
|
|
10544
10638
|
readonly type: "string";
|
|
10545
10639
|
};
|
|
10546
10640
|
};
|
|
10641
|
+
readonly additionalProps: {
|
|
10642
|
+
readonly type: "object";
|
|
10643
|
+
readonly additionalProperties: true;
|
|
10644
|
+
};
|
|
10547
10645
|
};
|
|
10548
10646
|
readonly type: "object";
|
|
10549
10647
|
};
|
|
@@ -12813,6 +12911,31 @@ export declare const productConfigOverrideSchema: {
|
|
|
12813
12911
|
};
|
|
12814
12912
|
readonly additionalProperties: false;
|
|
12815
12913
|
};
|
|
12914
|
+
readonly mockServer: {
|
|
12915
|
+
readonly type: "object";
|
|
12916
|
+
readonly properties: {
|
|
12917
|
+
readonly off: {
|
|
12918
|
+
readonly type: "boolean";
|
|
12919
|
+
readonly default: false;
|
|
12920
|
+
};
|
|
12921
|
+
readonly position: {
|
|
12922
|
+
readonly type: "string";
|
|
12923
|
+
readonly enum: readonly ["first", "last", "replace", "off"];
|
|
12924
|
+
readonly default: "first";
|
|
12925
|
+
};
|
|
12926
|
+
readonly strictExamples: {
|
|
12927
|
+
readonly type: "boolean";
|
|
12928
|
+
readonly default: false;
|
|
12929
|
+
};
|
|
12930
|
+
readonly errorIfForcedExampleNotFound: {
|
|
12931
|
+
readonly type: "boolean";
|
|
12932
|
+
readonly default: false;
|
|
12933
|
+
};
|
|
12934
|
+
readonly description: {
|
|
12935
|
+
readonly type: "string";
|
|
12936
|
+
};
|
|
12937
|
+
};
|
|
12938
|
+
};
|
|
12816
12939
|
readonly analytics: {
|
|
12817
12940
|
readonly type: "object";
|
|
12818
12941
|
readonly properties: {
|
|
@@ -16,6 +16,7 @@ exports.productThemeOverrideSchema = {
|
|
|
16
16
|
breadcrumbs: default_theme_config_schema_1.themeConfigSchema.properties.breadcrumbs,
|
|
17
17
|
openapi: default_theme_config_schema_1.themeConfigSchema.properties.openapi,
|
|
18
18
|
feedback: default_theme_config_schema_1.themeConfigSchema.properties.feedback,
|
|
19
|
+
mockServer: root_config_schema_1.redoclyConfigSchema.properties.mockServer,
|
|
19
20
|
analytics: {
|
|
20
21
|
type: 'object',
|
|
21
22
|
properties: {
|