@redocly/config 0.8.1 → 0.8.2

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.
@@ -3320,17 +3320,6 @@ export declare const themeConfigSchema: {
3320
3320
  readonly type: "string";
3321
3321
  readonly enum: readonly ["none", "section", "item"];
3322
3322
  };
3323
- readonly navigation: {
3324
- readonly type: "object";
3325
- readonly properties: {
3326
- readonly contentPrefix: {
3327
- readonly type: "string";
3328
- };
3329
- readonly menuPrefix: {
3330
- readonly type: "string";
3331
- };
3332
- };
3333
- };
3334
3323
  readonly hidePaginationButtons: {
3335
3324
  readonly type: "boolean";
3336
3325
  };
@@ -3464,10 +3453,6 @@ export declare const themeConfigSchema: {
3464
3453
  readonly otherItemsGroupName: {
3465
3454
  readonly type: "string";
3466
3455
  };
3467
- readonly initialLoadState: {
3468
- readonly type: "string";
3469
- readonly enum: readonly ["all-expanded", "default"];
3470
- };
3471
3456
  };
3472
3457
  readonly additionalProperties: false;
3473
3458
  };
@@ -3496,10 +3481,10 @@ export declare const themeConfigSchema: {
3496
3481
  };
3497
3482
  };
3498
3483
  };
3499
- readonly jsonSamplesExpandLevel: {
3484
+ readonly jsonSamplesDepth: {
3500
3485
  readonly type: "number";
3501
3486
  };
3502
- readonly sampleMaxInlineArgs: {
3487
+ readonly samplesMaxInlineArgs: {
3503
3488
  readonly type: "number";
3504
3489
  };
3505
3490
  readonly licenseKey: {
@@ -6887,17 +6872,6 @@ export declare const closedThemeConfigSchema: {
6887
6872
  readonly type: "string";
6888
6873
  readonly enum: readonly ["none", "section", "item"];
6889
6874
  };
6890
- readonly navigation: {
6891
- readonly type: "object";
6892
- readonly properties: {
6893
- readonly contentPrefix: {
6894
- readonly type: "string";
6895
- };
6896
- readonly menuPrefix: {
6897
- readonly type: "string";
6898
- };
6899
- };
6900
- };
6901
6875
  readonly hidePaginationButtons: {
6902
6876
  readonly type: "boolean";
6903
6877
  };
@@ -7031,10 +7005,6 @@ export declare const closedThemeConfigSchema: {
7031
7005
  readonly otherItemsGroupName: {
7032
7006
  readonly type: "string";
7033
7007
  };
7034
- readonly initialLoadState: {
7035
- readonly type: "string";
7036
- readonly enum: readonly ["all-expanded", "default"];
7037
- };
7038
7008
  };
7039
7009
  readonly additionalProperties: false;
7040
7010
  };
@@ -7063,10 +7033,10 @@ export declare const closedThemeConfigSchema: {
7063
7033
  };
7064
7034
  };
7065
7035
  };
7066
- readonly jsonSamplesExpandLevel: {
7036
+ readonly jsonSamplesDepth: {
7067
7037
  readonly type: "number";
7068
7038
  };
7069
- readonly sampleMaxInlineArgs: {
7039
+ readonly samplesMaxInlineArgs: {
7070
7040
  readonly type: "number";
7071
7041
  };
7072
7042
  readonly licenseKey: {
@@ -5,17 +5,6 @@ export declare const graphqlConfigSchema: {
5
5
  readonly type: "string";
6
6
  readonly enum: readonly ["none", "section", "item"];
7
7
  };
8
- readonly navigation: {
9
- readonly type: "object";
10
- readonly properties: {
11
- readonly contentPrefix: {
12
- readonly type: "string";
13
- };
14
- readonly menuPrefix: {
15
- readonly type: "string";
16
- };
17
- };
18
- };
19
8
  readonly hidePaginationButtons: {
20
9
  readonly type: "boolean";
21
10
  };
@@ -149,10 +138,6 @@ export declare const graphqlConfigSchema: {
149
138
  readonly otherItemsGroupName: {
150
139
  readonly type: "string";
151
140
  };
152
- readonly initialLoadState: {
153
- readonly type: "string";
154
- readonly enum: readonly ["all-expanded", "default"];
155
- };
156
141
  };
157
142
  readonly additionalProperties: false;
158
143
  };
@@ -181,10 +166,10 @@ export declare const graphqlConfigSchema: {
181
166
  };
182
167
  };
183
168
  };
184
- readonly jsonSamplesExpandLevel: {
169
+ readonly jsonSamplesDepth: {
185
170
  readonly type: "number";
186
171
  };
187
- readonly sampleMaxInlineArgs: {
172
+ readonly samplesMaxInlineArgs: {
188
173
  readonly type: "number";
189
174
  };
190
175
  readonly licenseKey: {
@@ -60,26 +60,12 @@ exports.graphqlConfigSchema = {
60
60
  type: 'string',
61
61
  enum: ['none', 'section', 'item'],
62
62
  },
63
- navigation: {
64
- type: 'object',
65
- properties: {
66
- contentPrefix: {
67
- type: 'string',
68
- },
69
- menuPrefix: {
70
- type: 'string',
71
- },
72
- },
73
- },
74
63
  hidePaginationButtons: {
75
64
  type: 'boolean',
76
65
  },
77
66
  menu: {
78
67
  type: 'object',
79
- properties: Object.assign({ initialLoadState: {
80
- type: 'string',
81
- enum: ['all-expanded', 'default'],
82
- } }, menuGroupingConfig.properties),
68
+ properties: Object.assign({}, menuGroupingConfig.properties),
83
69
  additionalProperties: false,
84
70
  },
85
71
  sidebar: {
@@ -107,10 +93,10 @@ exports.graphqlConfigSchema = {
107
93
  },
108
94
  },
109
95
  },
110
- jsonSamplesExpandLevel: {
96
+ jsonSamplesDepth: {
111
97
  type: 'number',
112
98
  },
113
- sampleMaxInlineArgs: {
99
+ samplesMaxInlineArgs: {
114
100
  type: 'number',
115
101
  },
116
102
  licenseKey: {
@@ -2184,17 +2184,6 @@ export declare const apiConfigSchema: {
2184
2184
  readonly type: "string";
2185
2185
  readonly enum: readonly ["none", "section", "item"];
2186
2186
  };
2187
- readonly navigation: {
2188
- readonly type: "object";
2189
- readonly properties: {
2190
- readonly contentPrefix: {
2191
- readonly type: "string";
2192
- };
2193
- readonly menuPrefix: {
2194
- readonly type: "string";
2195
- };
2196
- };
2197
- };
2198
2187
  readonly hidePaginationButtons: {
2199
2188
  readonly type: "boolean";
2200
2189
  };
@@ -2328,10 +2317,6 @@ export declare const apiConfigSchema: {
2328
2317
  readonly otherItemsGroupName: {
2329
2318
  readonly type: "string";
2330
2319
  };
2331
- readonly initialLoadState: {
2332
- readonly type: "string";
2333
- readonly enum: readonly ["all-expanded", "default"];
2334
- };
2335
2320
  };
2336
2321
  readonly additionalProperties: false;
2337
2322
  };
@@ -2360,10 +2345,10 @@ export declare const apiConfigSchema: {
2360
2345
  };
2361
2346
  };
2362
2347
  };
2363
- readonly jsonSamplesExpandLevel: {
2348
+ readonly jsonSamplesDepth: {
2364
2349
  readonly type: "number";
2365
2350
  };
2366
- readonly sampleMaxInlineArgs: {
2351
+ readonly samplesMaxInlineArgs: {
2367
2352
  readonly type: "number";
2368
2353
  };
2369
2354
  readonly licenseKey: {
@@ -4973,17 +4958,6 @@ export declare const redoclyConfigSchema: {
4973
4958
  readonly type: "string";
4974
4959
  readonly enum: readonly ["none", "section", "item"];
4975
4960
  };
4976
- readonly navigation: {
4977
- readonly type: "object";
4978
- readonly properties: {
4979
- readonly contentPrefix: {
4980
- readonly type: "string";
4981
- };
4982
- readonly menuPrefix: {
4983
- readonly type: "string";
4984
- };
4985
- };
4986
- };
4987
4961
  readonly hidePaginationButtons: {
4988
4962
  readonly type: "boolean";
4989
4963
  };
@@ -5117,10 +5091,6 @@ export declare const redoclyConfigSchema: {
5117
5091
  readonly otherItemsGroupName: {
5118
5092
  readonly type: "string";
5119
5093
  };
5120
- readonly initialLoadState: {
5121
- readonly type: "string";
5122
- readonly enum: readonly ["all-expanded", "default"];
5123
- };
5124
5094
  };
5125
5095
  readonly additionalProperties: false;
5126
5096
  };
@@ -5149,10 +5119,10 @@ export declare const redoclyConfigSchema: {
5149
5119
  };
5150
5120
  };
5151
5121
  };
5152
- readonly jsonSamplesExpandLevel: {
5122
+ readonly jsonSamplesDepth: {
5153
5123
  readonly type: "number";
5154
5124
  };
5155
- readonly sampleMaxInlineArgs: {
5125
+ readonly samplesMaxInlineArgs: {
5156
5126
  readonly type: "number";
5157
5127
  };
5158
5128
  readonly licenseKey: {
@@ -8336,17 +8306,6 @@ export declare const redoclyConfigSchema: {
8336
8306
  readonly type: "string";
8337
8307
  readonly enum: readonly ["none", "section", "item"];
8338
8308
  };
8339
- readonly navigation: {
8340
- readonly type: "object";
8341
- readonly properties: {
8342
- readonly contentPrefix: {
8343
- readonly type: "string";
8344
- };
8345
- readonly menuPrefix: {
8346
- readonly type: "string";
8347
- };
8348
- };
8349
- };
8350
8309
  readonly hidePaginationButtons: {
8351
8310
  readonly type: "boolean";
8352
8311
  };
@@ -8480,10 +8439,6 @@ export declare const redoclyConfigSchema: {
8480
8439
  readonly otherItemsGroupName: {
8481
8440
  readonly type: "string";
8482
8441
  };
8483
- readonly initialLoadState: {
8484
- readonly type: "string";
8485
- readonly enum: readonly ["all-expanded", "default"];
8486
- };
8487
8442
  };
8488
8443
  readonly additionalProperties: false;
8489
8444
  };
@@ -8512,10 +8467,10 @@ export declare const redoclyConfigSchema: {
8512
8467
  };
8513
8468
  };
8514
8469
  };
8515
- readonly jsonSamplesExpandLevel: {
8470
+ readonly jsonSamplesDepth: {
8516
8471
  readonly type: "number";
8517
8472
  };
8518
- readonly sampleMaxInlineArgs: {
8473
+ readonly samplesMaxInlineArgs: {
8519
8474
  readonly type: "number";
8520
8475
  };
8521
8476
  readonly licenseKey: {
@@ -9527,36 +9482,6 @@ export declare const rootRedoclyConfigSchema: {
9527
9482
  additionalProperties: false;
9528
9483
  type: "object";
9529
9484
  };
9530
- navigation: {
9531
- properties: {
9532
- nextButton: {
9533
- properties: {
9534
- text: {
9535
- type: "string";
9536
- };
9537
- hide: {
9538
- type: "boolean";
9539
- };
9540
- };
9541
- additionalProperties: false;
9542
- type: "object";
9543
- };
9544
- previousButton: {
9545
- properties: {
9546
- text: {
9547
- type: "string";
9548
- };
9549
- hide: {
9550
- type: "boolean";
9551
- };
9552
- };
9553
- additionalProperties: false;
9554
- type: "object";
9555
- };
9556
- };
9557
- additionalProperties: false;
9558
- type: "object";
9559
- };
9560
9485
  feedback: {
9561
9486
  properties: {
9562
9487
  type: {
@@ -9958,6 +9883,36 @@ export declare const rootRedoclyConfigSchema: {
9958
9883
  additionalProperties: false;
9959
9884
  type: "object";
9960
9885
  };
9886
+ navigation: {
9887
+ properties: {
9888
+ nextButton: {
9889
+ properties: {
9890
+ text: {
9891
+ type: "string";
9892
+ };
9893
+ hide: {
9894
+ type: "boolean";
9895
+ };
9896
+ };
9897
+ additionalProperties: false;
9898
+ type: "object";
9899
+ };
9900
+ previousButton: {
9901
+ properties: {
9902
+ text: {
9903
+ type: "string";
9904
+ };
9905
+ hide: {
9906
+ type: "boolean";
9907
+ };
9908
+ };
9909
+ additionalProperties: false;
9910
+ type: "object";
9911
+ };
9912
+ };
9913
+ additionalProperties: false;
9914
+ type: "object";
9915
+ };
9961
9916
  codeSnippet: {
9962
9917
  properties: {
9963
9918
  elementFormat: {
@@ -11087,13 +11042,6 @@ export declare const rootRedoclyConfigSchema: {
11087
11042
  enum: ("stacked" | "three-panel")[];
11088
11043
  type: "string";
11089
11044
  };
11090
- jsonSamplesExpandLevel: {
11091
- oneOf: ({
11092
- type: "number";
11093
- } | {
11094
- type: "string";
11095
- })[];
11096
- };
11097
11045
  licenseKey: {
11098
11046
  type: "string";
11099
11047
  };
@@ -11250,6 +11198,13 @@ export declare const rootRedoclyConfigSchema: {
11250
11198
  hideSchemaTitles: {
11251
11199
  type: "boolean";
11252
11200
  };
11201
+ jsonSamplesExpandLevel: {
11202
+ oneOf: ({
11203
+ type: "number";
11204
+ } | {
11205
+ type: "string";
11206
+ })[];
11207
+ };
11253
11208
  schemasExpansionLevel: {
11254
11209
  oneOf: ({
11255
11210
  type: "number";
@@ -11344,17 +11299,6 @@ export declare const rootRedoclyConfigSchema: {
11344
11299
  };
11345
11300
  type: "object";
11346
11301
  };
11347
- navigation: {
11348
- properties: {
11349
- contentPrefix: {
11350
- type: "string";
11351
- };
11352
- menuPrefix: {
11353
- type: "string";
11354
- };
11355
- };
11356
- type: "object";
11357
- };
11358
11302
  hidePaginationButtons: {
11359
11303
  type: "boolean";
11360
11304
  };
@@ -11409,10 +11353,6 @@ export declare const rootRedoclyConfigSchema: {
11409
11353
  otherItemsGroupName: {
11410
11354
  type: "string";
11411
11355
  };
11412
- initialLoadState: {
11413
- enum: ("all-expanded" | "default")[];
11414
- type: "string";
11415
- };
11416
11356
  };
11417
11357
  additionalProperties: false;
11418
11358
  type: "object";
@@ -11434,10 +11374,10 @@ export declare const rootRedoclyConfigSchema: {
11434
11374
  };
11435
11375
  type: "object";
11436
11376
  };
11437
- jsonSamplesExpandLevel: {
11377
+ jsonSamplesDepth: {
11438
11378
  type: "number";
11439
11379
  };
11440
- sampleMaxInlineArgs: {
11380
+ samplesMaxInlineArgs: {
11441
11381
  type: "number";
11442
11382
  };
11443
11383
  licenseKey: {
@@ -13293,13 +13233,6 @@ export declare const rootRedoclyConfigSchema: {
13293
13233
  enum: ("stacked" | "three-panel")[];
13294
13234
  type: "string";
13295
13235
  };
13296
- jsonSamplesExpandLevel: {
13297
- oneOf: ({
13298
- type: "number";
13299
- } | {
13300
- type: "string";
13301
- })[];
13302
- };
13303
13236
  licenseKey: {
13304
13237
  type: "string";
13305
13238
  };
@@ -13456,6 +13389,13 @@ export declare const rootRedoclyConfigSchema: {
13456
13389
  hideSchemaTitles: {
13457
13390
  type: "boolean";
13458
13391
  };
13392
+ jsonSamplesExpandLevel: {
13393
+ oneOf: ({
13394
+ type: "number";
13395
+ } | {
13396
+ type: "string";
13397
+ })[];
13398
+ };
13459
13399
  schemasExpansionLevel: {
13460
13400
  oneOf: ({
13461
13401
  type: "number";
@@ -13550,17 +13490,6 @@ export declare const rootRedoclyConfigSchema: {
13550
13490
  };
13551
13491
  type: "object";
13552
13492
  };
13553
- navigation: {
13554
- properties: {
13555
- contentPrefix: {
13556
- type: "string";
13557
- };
13558
- menuPrefix: {
13559
- type: "string";
13560
- };
13561
- };
13562
- type: "object";
13563
- };
13564
13493
  hidePaginationButtons: {
13565
13494
  type: "boolean";
13566
13495
  };
@@ -13615,10 +13544,6 @@ export declare const rootRedoclyConfigSchema: {
13615
13544
  otherItemsGroupName: {
13616
13545
  type: "string";
13617
13546
  };
13618
- initialLoadState: {
13619
- enum: ("all-expanded" | "default")[];
13620
- type: "string";
13621
- };
13622
13547
  };
13623
13548
  additionalProperties: false;
13624
13549
  type: "object";
@@ -13640,10 +13565,10 @@ export declare const rootRedoclyConfigSchema: {
13640
13565
  };
13641
13566
  type: "object";
13642
13567
  };
13643
- jsonSamplesExpandLevel: {
13568
+ jsonSamplesDepth: {
13644
13569
  type: "number";
13645
13570
  };
13646
- sampleMaxInlineArgs: {
13571
+ samplesMaxInlineArgs: {
13647
13572
  type: "number";
13648
13573
  };
13649
13574
  licenseKey: {
@@ -16073,17 +15998,6 @@ export declare const rootRedoclyConfigSchema: {
16073
15998
  readonly type: "string";
16074
15999
  readonly enum: readonly ["none", "section", "item"];
16075
16000
  };
16076
- readonly navigation: {
16077
- readonly type: "object";
16078
- readonly properties: {
16079
- readonly contentPrefix: {
16080
- readonly type: "string";
16081
- };
16082
- readonly menuPrefix: {
16083
- readonly type: "string";
16084
- };
16085
- };
16086
- };
16087
16001
  readonly hidePaginationButtons: {
16088
16002
  readonly type: "boolean";
16089
16003
  };
@@ -16217,10 +16131,6 @@ export declare const rootRedoclyConfigSchema: {
16217
16131
  readonly otherItemsGroupName: {
16218
16132
  readonly type: "string";
16219
16133
  };
16220
- readonly initialLoadState: {
16221
- readonly type: "string";
16222
- readonly enum: readonly ["all-expanded", "default"];
16223
- };
16224
16134
  };
16225
16135
  readonly additionalProperties: false;
16226
16136
  };
@@ -16249,10 +16159,10 @@ export declare const rootRedoclyConfigSchema: {
16249
16159
  };
16250
16160
  };
16251
16161
  };
16252
- readonly jsonSamplesExpandLevel: {
16162
+ readonly jsonSamplesDepth: {
16253
16163
  readonly type: "number";
16254
16164
  };
16255
- readonly sampleMaxInlineArgs: {
16165
+ readonly samplesMaxInlineArgs: {
16256
16166
  readonly type: "number";
16257
16167
  };
16258
16168
  readonly licenseKey: {
@@ -19436,17 +19346,6 @@ export declare const rootRedoclyConfigSchema: {
19436
19346
  readonly type: "string";
19437
19347
  readonly enum: readonly ["none", "section", "item"];
19438
19348
  };
19439
- readonly navigation: {
19440
- readonly type: "object";
19441
- readonly properties: {
19442
- readonly contentPrefix: {
19443
- readonly type: "string";
19444
- };
19445
- readonly menuPrefix: {
19446
- readonly type: "string";
19447
- };
19448
- };
19449
- };
19450
19349
  readonly hidePaginationButtons: {
19451
19350
  readonly type: "boolean";
19452
19351
  };
@@ -19580,10 +19479,6 @@ export declare const rootRedoclyConfigSchema: {
19580
19479
  readonly otherItemsGroupName: {
19581
19480
  readonly type: "string";
19582
19481
  };
19583
- readonly initialLoadState: {
19584
- readonly type: "string";
19585
- readonly enum: readonly ["all-expanded", "default"];
19586
- };
19587
19482
  };
19588
19483
  readonly additionalProperties: false;
19589
19484
  };
@@ -19612,10 +19507,10 @@ export declare const rootRedoclyConfigSchema: {
19612
19507
  };
19613
19508
  };
19614
19509
  };
19615
- readonly jsonSamplesExpandLevel: {
19510
+ readonly jsonSamplesDepth: {
19616
19511
  readonly type: "number";
19617
19512
  };
19618
- readonly sampleMaxInlineArgs: {
19513
+ readonly samplesMaxInlineArgs: {
19619
19514
  readonly type: "number";
19620
19515
  };
19621
19516
  readonly licenseKey: {
@@ -3320,17 +3320,6 @@ export declare const themeConfigSchema: {
3320
3320
  readonly type: "string";
3321
3321
  readonly enum: readonly ["none", "section", "item"];
3322
3322
  };
3323
- readonly navigation: {
3324
- readonly type: "object";
3325
- readonly properties: {
3326
- readonly contentPrefix: {
3327
- readonly type: "string";
3328
- };
3329
- readonly menuPrefix: {
3330
- readonly type: "string";
3331
- };
3332
- };
3333
- };
3334
3323
  readonly hidePaginationButtons: {
3335
3324
  readonly type: "boolean";
3336
3325
  };
@@ -3464,10 +3453,6 @@ export declare const themeConfigSchema: {
3464
3453
  readonly otherItemsGroupName: {
3465
3454
  readonly type: "string";
3466
3455
  };
3467
- readonly initialLoadState: {
3468
- readonly type: "string";
3469
- readonly enum: readonly ["all-expanded", "default"];
3470
- };
3471
3456
  };
3472
3457
  readonly additionalProperties: false;
3473
3458
  };
@@ -3496,10 +3481,10 @@ export declare const themeConfigSchema: {
3496
3481
  };
3497
3482
  };
3498
3483
  };
3499
- readonly jsonSamplesExpandLevel: {
3484
+ readonly jsonSamplesDepth: {
3500
3485
  readonly type: "number";
3501
3486
  };
3502
- readonly sampleMaxInlineArgs: {
3487
+ readonly samplesMaxInlineArgs: {
3503
3488
  readonly type: "number";
3504
3489
  };
3505
3490
  readonly licenseKey: {
@@ -6887,17 +6872,6 @@ export declare const closedThemeConfigSchema: {
6887
6872
  readonly type: "string";
6888
6873
  readonly enum: readonly ["none", "section", "item"];
6889
6874
  };
6890
- readonly navigation: {
6891
- readonly type: "object";
6892
- readonly properties: {
6893
- readonly contentPrefix: {
6894
- readonly type: "string";
6895
- };
6896
- readonly menuPrefix: {
6897
- readonly type: "string";
6898
- };
6899
- };
6900
- };
6901
6875
  readonly hidePaginationButtons: {
6902
6876
  readonly type: "boolean";
6903
6877
  };
@@ -7031,10 +7005,6 @@ export declare const closedThemeConfigSchema: {
7031
7005
  readonly otherItemsGroupName: {
7032
7006
  readonly type: "string";
7033
7007
  };
7034
- readonly initialLoadState: {
7035
- readonly type: "string";
7036
- readonly enum: readonly ["all-expanded", "default"];
7037
- };
7038
7008
  };
7039
7009
  readonly additionalProperties: false;
7040
7010
  };
@@ -7063,10 +7033,10 @@ export declare const closedThemeConfigSchema: {
7063
7033
  };
7064
7034
  };
7065
7035
  };
7066
- readonly jsonSamplesExpandLevel: {
7036
+ readonly jsonSamplesDepth: {
7067
7037
  readonly type: "number";
7068
7038
  };
7069
- readonly sampleMaxInlineArgs: {
7039
+ readonly samplesMaxInlineArgs: {
7070
7040
  readonly type: "number";
7071
7041
  };
7072
7042
  readonly licenseKey: {
@@ -5,17 +5,6 @@ export declare const graphqlConfigSchema: {
5
5
  readonly type: "string";
6
6
  readonly enum: readonly ["none", "section", "item"];
7
7
  };
8
- readonly navigation: {
9
- readonly type: "object";
10
- readonly properties: {
11
- readonly contentPrefix: {
12
- readonly type: "string";
13
- };
14
- readonly menuPrefix: {
15
- readonly type: "string";
16
- };
17
- };
18
- };
19
8
  readonly hidePaginationButtons: {
20
9
  readonly type: "boolean";
21
10
  };
@@ -149,10 +138,6 @@ export declare const graphqlConfigSchema: {
149
138
  readonly otherItemsGroupName: {
150
139
  readonly type: "string";
151
140
  };
152
- readonly initialLoadState: {
153
- readonly type: "string";
154
- readonly enum: readonly ["all-expanded", "default"];
155
- };
156
141
  };
157
142
  readonly additionalProperties: false;
158
143
  };
@@ -181,10 +166,10 @@ export declare const graphqlConfigSchema: {
181
166
  };
182
167
  };
183
168
  };
184
- readonly jsonSamplesExpandLevel: {
169
+ readonly jsonSamplesDepth: {
185
170
  readonly type: "number";
186
171
  };
187
- readonly sampleMaxInlineArgs: {
172
+ readonly samplesMaxInlineArgs: {
188
173
  readonly type: "number";
189
174
  };
190
175
  readonly licenseKey: {
@@ -57,26 +57,12 @@ export const graphqlConfigSchema = {
57
57
  type: 'string',
58
58
  enum: ['none', 'section', 'item'],
59
59
  },
60
- navigation: {
61
- type: 'object',
62
- properties: {
63
- contentPrefix: {
64
- type: 'string',
65
- },
66
- menuPrefix: {
67
- type: 'string',
68
- },
69
- },
70
- },
71
60
  hidePaginationButtons: {
72
61
  type: 'boolean',
73
62
  },
74
63
  menu: {
75
64
  type: 'object',
76
- properties: Object.assign({ initialLoadState: {
77
- type: 'string',
78
- enum: ['all-expanded', 'default'],
79
- } }, menuGroupingConfig.properties),
65
+ properties: Object.assign({}, menuGroupingConfig.properties),
80
66
  additionalProperties: false,
81
67
  },
82
68
  sidebar: {
@@ -104,10 +90,10 @@ export const graphqlConfigSchema = {
104
90
  },
105
91
  },
106
92
  },
107
- jsonSamplesExpandLevel: {
93
+ jsonSamplesDepth: {
108
94
  type: 'number',
109
95
  },
110
- sampleMaxInlineArgs: {
96
+ samplesMaxInlineArgs: {
111
97
  type: 'number',
112
98
  },
113
99
  licenseKey: {
@@ -2184,17 +2184,6 @@ export declare const apiConfigSchema: {
2184
2184
  readonly type: "string";
2185
2185
  readonly enum: readonly ["none", "section", "item"];
2186
2186
  };
2187
- readonly navigation: {
2188
- readonly type: "object";
2189
- readonly properties: {
2190
- readonly contentPrefix: {
2191
- readonly type: "string";
2192
- };
2193
- readonly menuPrefix: {
2194
- readonly type: "string";
2195
- };
2196
- };
2197
- };
2198
2187
  readonly hidePaginationButtons: {
2199
2188
  readonly type: "boolean";
2200
2189
  };
@@ -2328,10 +2317,6 @@ export declare const apiConfigSchema: {
2328
2317
  readonly otherItemsGroupName: {
2329
2318
  readonly type: "string";
2330
2319
  };
2331
- readonly initialLoadState: {
2332
- readonly type: "string";
2333
- readonly enum: readonly ["all-expanded", "default"];
2334
- };
2335
2320
  };
2336
2321
  readonly additionalProperties: false;
2337
2322
  };
@@ -2360,10 +2345,10 @@ export declare const apiConfigSchema: {
2360
2345
  };
2361
2346
  };
2362
2347
  };
2363
- readonly jsonSamplesExpandLevel: {
2348
+ readonly jsonSamplesDepth: {
2364
2349
  readonly type: "number";
2365
2350
  };
2366
- readonly sampleMaxInlineArgs: {
2351
+ readonly samplesMaxInlineArgs: {
2367
2352
  readonly type: "number";
2368
2353
  };
2369
2354
  readonly licenseKey: {
@@ -4973,17 +4958,6 @@ export declare const redoclyConfigSchema: {
4973
4958
  readonly type: "string";
4974
4959
  readonly enum: readonly ["none", "section", "item"];
4975
4960
  };
4976
- readonly navigation: {
4977
- readonly type: "object";
4978
- readonly properties: {
4979
- readonly contentPrefix: {
4980
- readonly type: "string";
4981
- };
4982
- readonly menuPrefix: {
4983
- readonly type: "string";
4984
- };
4985
- };
4986
- };
4987
4961
  readonly hidePaginationButtons: {
4988
4962
  readonly type: "boolean";
4989
4963
  };
@@ -5117,10 +5091,6 @@ export declare const redoclyConfigSchema: {
5117
5091
  readonly otherItemsGroupName: {
5118
5092
  readonly type: "string";
5119
5093
  };
5120
- readonly initialLoadState: {
5121
- readonly type: "string";
5122
- readonly enum: readonly ["all-expanded", "default"];
5123
- };
5124
5094
  };
5125
5095
  readonly additionalProperties: false;
5126
5096
  };
@@ -5149,10 +5119,10 @@ export declare const redoclyConfigSchema: {
5149
5119
  };
5150
5120
  };
5151
5121
  };
5152
- readonly jsonSamplesExpandLevel: {
5122
+ readonly jsonSamplesDepth: {
5153
5123
  readonly type: "number";
5154
5124
  };
5155
- readonly sampleMaxInlineArgs: {
5125
+ readonly samplesMaxInlineArgs: {
5156
5126
  readonly type: "number";
5157
5127
  };
5158
5128
  readonly licenseKey: {
@@ -8336,17 +8306,6 @@ export declare const redoclyConfigSchema: {
8336
8306
  readonly type: "string";
8337
8307
  readonly enum: readonly ["none", "section", "item"];
8338
8308
  };
8339
- readonly navigation: {
8340
- readonly type: "object";
8341
- readonly properties: {
8342
- readonly contentPrefix: {
8343
- readonly type: "string";
8344
- };
8345
- readonly menuPrefix: {
8346
- readonly type: "string";
8347
- };
8348
- };
8349
- };
8350
8309
  readonly hidePaginationButtons: {
8351
8310
  readonly type: "boolean";
8352
8311
  };
@@ -8480,10 +8439,6 @@ export declare const redoclyConfigSchema: {
8480
8439
  readonly otherItemsGroupName: {
8481
8440
  readonly type: "string";
8482
8441
  };
8483
- readonly initialLoadState: {
8484
- readonly type: "string";
8485
- readonly enum: readonly ["all-expanded", "default"];
8486
- };
8487
8442
  };
8488
8443
  readonly additionalProperties: false;
8489
8444
  };
@@ -8512,10 +8467,10 @@ export declare const redoclyConfigSchema: {
8512
8467
  };
8513
8468
  };
8514
8469
  };
8515
- readonly jsonSamplesExpandLevel: {
8470
+ readonly jsonSamplesDepth: {
8516
8471
  readonly type: "number";
8517
8472
  };
8518
- readonly sampleMaxInlineArgs: {
8473
+ readonly samplesMaxInlineArgs: {
8519
8474
  readonly type: "number";
8520
8475
  };
8521
8476
  readonly licenseKey: {
@@ -9527,36 +9482,6 @@ export declare const rootRedoclyConfigSchema: {
9527
9482
  additionalProperties: false;
9528
9483
  type: "object";
9529
9484
  };
9530
- navigation: {
9531
- properties: {
9532
- nextButton: {
9533
- properties: {
9534
- text: {
9535
- type: "string";
9536
- };
9537
- hide: {
9538
- type: "boolean";
9539
- };
9540
- };
9541
- additionalProperties: false;
9542
- type: "object";
9543
- };
9544
- previousButton: {
9545
- properties: {
9546
- text: {
9547
- type: "string";
9548
- };
9549
- hide: {
9550
- type: "boolean";
9551
- };
9552
- };
9553
- additionalProperties: false;
9554
- type: "object";
9555
- };
9556
- };
9557
- additionalProperties: false;
9558
- type: "object";
9559
- };
9560
9485
  feedback: {
9561
9486
  properties: {
9562
9487
  type: {
@@ -9958,6 +9883,36 @@ export declare const rootRedoclyConfigSchema: {
9958
9883
  additionalProperties: false;
9959
9884
  type: "object";
9960
9885
  };
9886
+ navigation: {
9887
+ properties: {
9888
+ nextButton: {
9889
+ properties: {
9890
+ text: {
9891
+ type: "string";
9892
+ };
9893
+ hide: {
9894
+ type: "boolean";
9895
+ };
9896
+ };
9897
+ additionalProperties: false;
9898
+ type: "object";
9899
+ };
9900
+ previousButton: {
9901
+ properties: {
9902
+ text: {
9903
+ type: "string";
9904
+ };
9905
+ hide: {
9906
+ type: "boolean";
9907
+ };
9908
+ };
9909
+ additionalProperties: false;
9910
+ type: "object";
9911
+ };
9912
+ };
9913
+ additionalProperties: false;
9914
+ type: "object";
9915
+ };
9961
9916
  codeSnippet: {
9962
9917
  properties: {
9963
9918
  elementFormat: {
@@ -11087,13 +11042,6 @@ export declare const rootRedoclyConfigSchema: {
11087
11042
  enum: ("stacked" | "three-panel")[];
11088
11043
  type: "string";
11089
11044
  };
11090
- jsonSamplesExpandLevel: {
11091
- oneOf: ({
11092
- type: "number";
11093
- } | {
11094
- type: "string";
11095
- })[];
11096
- };
11097
11045
  licenseKey: {
11098
11046
  type: "string";
11099
11047
  };
@@ -11250,6 +11198,13 @@ export declare const rootRedoclyConfigSchema: {
11250
11198
  hideSchemaTitles: {
11251
11199
  type: "boolean";
11252
11200
  };
11201
+ jsonSamplesExpandLevel: {
11202
+ oneOf: ({
11203
+ type: "number";
11204
+ } | {
11205
+ type: "string";
11206
+ })[];
11207
+ };
11253
11208
  schemasExpansionLevel: {
11254
11209
  oneOf: ({
11255
11210
  type: "number";
@@ -11344,17 +11299,6 @@ export declare const rootRedoclyConfigSchema: {
11344
11299
  };
11345
11300
  type: "object";
11346
11301
  };
11347
- navigation: {
11348
- properties: {
11349
- contentPrefix: {
11350
- type: "string";
11351
- };
11352
- menuPrefix: {
11353
- type: "string";
11354
- };
11355
- };
11356
- type: "object";
11357
- };
11358
11302
  hidePaginationButtons: {
11359
11303
  type: "boolean";
11360
11304
  };
@@ -11409,10 +11353,6 @@ export declare const rootRedoclyConfigSchema: {
11409
11353
  otherItemsGroupName: {
11410
11354
  type: "string";
11411
11355
  };
11412
- initialLoadState: {
11413
- enum: ("all-expanded" | "default")[];
11414
- type: "string";
11415
- };
11416
11356
  };
11417
11357
  additionalProperties: false;
11418
11358
  type: "object";
@@ -11434,10 +11374,10 @@ export declare const rootRedoclyConfigSchema: {
11434
11374
  };
11435
11375
  type: "object";
11436
11376
  };
11437
- jsonSamplesExpandLevel: {
11377
+ jsonSamplesDepth: {
11438
11378
  type: "number";
11439
11379
  };
11440
- sampleMaxInlineArgs: {
11380
+ samplesMaxInlineArgs: {
11441
11381
  type: "number";
11442
11382
  };
11443
11383
  licenseKey: {
@@ -13293,13 +13233,6 @@ export declare const rootRedoclyConfigSchema: {
13293
13233
  enum: ("stacked" | "three-panel")[];
13294
13234
  type: "string";
13295
13235
  };
13296
- jsonSamplesExpandLevel: {
13297
- oneOf: ({
13298
- type: "number";
13299
- } | {
13300
- type: "string";
13301
- })[];
13302
- };
13303
13236
  licenseKey: {
13304
13237
  type: "string";
13305
13238
  };
@@ -13456,6 +13389,13 @@ export declare const rootRedoclyConfigSchema: {
13456
13389
  hideSchemaTitles: {
13457
13390
  type: "boolean";
13458
13391
  };
13392
+ jsonSamplesExpandLevel: {
13393
+ oneOf: ({
13394
+ type: "number";
13395
+ } | {
13396
+ type: "string";
13397
+ })[];
13398
+ };
13459
13399
  schemasExpansionLevel: {
13460
13400
  oneOf: ({
13461
13401
  type: "number";
@@ -13550,17 +13490,6 @@ export declare const rootRedoclyConfigSchema: {
13550
13490
  };
13551
13491
  type: "object";
13552
13492
  };
13553
- navigation: {
13554
- properties: {
13555
- contentPrefix: {
13556
- type: "string";
13557
- };
13558
- menuPrefix: {
13559
- type: "string";
13560
- };
13561
- };
13562
- type: "object";
13563
- };
13564
13493
  hidePaginationButtons: {
13565
13494
  type: "boolean";
13566
13495
  };
@@ -13615,10 +13544,6 @@ export declare const rootRedoclyConfigSchema: {
13615
13544
  otherItemsGroupName: {
13616
13545
  type: "string";
13617
13546
  };
13618
- initialLoadState: {
13619
- enum: ("all-expanded" | "default")[];
13620
- type: "string";
13621
- };
13622
13547
  };
13623
13548
  additionalProperties: false;
13624
13549
  type: "object";
@@ -13640,10 +13565,10 @@ export declare const rootRedoclyConfigSchema: {
13640
13565
  };
13641
13566
  type: "object";
13642
13567
  };
13643
- jsonSamplesExpandLevel: {
13568
+ jsonSamplesDepth: {
13644
13569
  type: "number";
13645
13570
  };
13646
- sampleMaxInlineArgs: {
13571
+ samplesMaxInlineArgs: {
13647
13572
  type: "number";
13648
13573
  };
13649
13574
  licenseKey: {
@@ -16073,17 +15998,6 @@ export declare const rootRedoclyConfigSchema: {
16073
15998
  readonly type: "string";
16074
15999
  readonly enum: readonly ["none", "section", "item"];
16075
16000
  };
16076
- readonly navigation: {
16077
- readonly type: "object";
16078
- readonly properties: {
16079
- readonly contentPrefix: {
16080
- readonly type: "string";
16081
- };
16082
- readonly menuPrefix: {
16083
- readonly type: "string";
16084
- };
16085
- };
16086
- };
16087
16001
  readonly hidePaginationButtons: {
16088
16002
  readonly type: "boolean";
16089
16003
  };
@@ -16217,10 +16131,6 @@ export declare const rootRedoclyConfigSchema: {
16217
16131
  readonly otherItemsGroupName: {
16218
16132
  readonly type: "string";
16219
16133
  };
16220
- readonly initialLoadState: {
16221
- readonly type: "string";
16222
- readonly enum: readonly ["all-expanded", "default"];
16223
- };
16224
16134
  };
16225
16135
  readonly additionalProperties: false;
16226
16136
  };
@@ -16249,10 +16159,10 @@ export declare const rootRedoclyConfigSchema: {
16249
16159
  };
16250
16160
  };
16251
16161
  };
16252
- readonly jsonSamplesExpandLevel: {
16162
+ readonly jsonSamplesDepth: {
16253
16163
  readonly type: "number";
16254
16164
  };
16255
- readonly sampleMaxInlineArgs: {
16165
+ readonly samplesMaxInlineArgs: {
16256
16166
  readonly type: "number";
16257
16167
  };
16258
16168
  readonly licenseKey: {
@@ -19436,17 +19346,6 @@ export declare const rootRedoclyConfigSchema: {
19436
19346
  readonly type: "string";
19437
19347
  readonly enum: readonly ["none", "section", "item"];
19438
19348
  };
19439
- readonly navigation: {
19440
- readonly type: "object";
19441
- readonly properties: {
19442
- readonly contentPrefix: {
19443
- readonly type: "string";
19444
- };
19445
- readonly menuPrefix: {
19446
- readonly type: "string";
19447
- };
19448
- };
19449
- };
19450
19349
  readonly hidePaginationButtons: {
19451
19350
  readonly type: "boolean";
19452
19351
  };
@@ -19580,10 +19479,6 @@ export declare const rootRedoclyConfigSchema: {
19580
19479
  readonly otherItemsGroupName: {
19581
19480
  readonly type: "string";
19582
19481
  };
19583
- readonly initialLoadState: {
19584
- readonly type: "string";
19585
- readonly enum: readonly ["all-expanded", "default"];
19586
- };
19587
19482
  };
19588
19483
  readonly additionalProperties: false;
19589
19484
  };
@@ -19612,10 +19507,10 @@ export declare const rootRedoclyConfigSchema: {
19612
19507
  };
19613
19508
  };
19614
19509
  };
19615
- readonly jsonSamplesExpandLevel: {
19510
+ readonly jsonSamplesDepth: {
19616
19511
  readonly type: "number";
19617
19512
  };
19618
- readonly sampleMaxInlineArgs: {
19513
+ readonly samplesMaxInlineArgs: {
19619
19514
  readonly type: "number";
19620
19515
  };
19621
19516
  readonly licenseKey: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@redocly/config",
3
- "version": "0.8.1",
3
+ "version": "0.8.2",
4
4
  "license": "MIT",
5
5
  "main": "./lib/index.js",
6
6
  "module": "./lib-esm/index.js",