@redocly/config 0.49.0 → 0.49.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.
Files changed (35) hide show
  1. package/lib/asyncapi-config-schema.d.ts +106 -106
  2. package/lib/common.d.ts +158 -135
  3. package/lib/constants/config.d.ts +10 -10
  4. package/lib/constants/entities.d.ts +21 -43
  5. package/lib/default-theme-config-schema.d.ts +3534 -3488
  6. package/lib/entities-catalog-config-schema.d.ts +469 -469
  7. package/lib/entities-catalog-entity-file-schema.d.ts +441 -441
  8. package/lib/ex-theme-config-schemas.d.ts +3020 -2997
  9. package/lib/feedback-config-schema.d.ts +99 -99
  10. package/lib/graphql-config-schema.d.ts +165 -165
  11. package/lib/index.js +1 -1
  12. package/lib/product-override-schema.d.ts +11541 -11518
  13. package/lib/redoc-config-schema.d.ts +155 -155
  14. package/lib/reference-docs-config-schema.d.ts +481 -481
  15. package/lib/reunite-config-schema.d.ts +41 -41
  16. package/lib/root-config-schema.d.ts +52129 -51710
  17. package/lib/scorecards-config-schema.d.ts +405 -405
  18. package/lib-esm/asyncapi-config-schema.d.ts +106 -106
  19. package/lib-esm/common.d.ts +158 -135
  20. package/lib-esm/constants/config.d.ts +10 -10
  21. package/lib-esm/constants/entities.d.ts +21 -43
  22. package/lib-esm/default-theme-config-schema.d.ts +3534 -3488
  23. package/lib-esm/entities-catalog-config-schema.d.ts +469 -469
  24. package/lib-esm/entities-catalog-entity-file-schema.d.ts +441 -441
  25. package/lib-esm/ex-theme-config-schemas.d.ts +3020 -2997
  26. package/lib-esm/feedback-config-schema.d.ts +99 -99
  27. package/lib-esm/graphql-config-schema.d.ts +165 -165
  28. package/lib-esm/index.js +1 -1
  29. package/lib-esm/product-override-schema.d.ts +11541 -11518
  30. package/lib-esm/redoc-config-schema.d.ts +155 -155
  31. package/lib-esm/reference-docs-config-schema.d.ts +481 -481
  32. package/lib-esm/reunite-config-schema.d.ts +41 -41
  33. package/lib-esm/root-config-schema.d.ts +52129 -51710
  34. package/lib-esm/scorecards-config-schema.d.ts +405 -405
  35. package/package.json +9 -9
@@ -1,260 +1,260 @@
1
1
  export declare const downloadUrlsSchema: {
2
- readonly type: "array";
2
+ readonly type: 'array';
3
3
  readonly items: {
4
- readonly type: "object";
4
+ readonly type: 'object';
5
5
  readonly properties: {
6
6
  readonly title: {
7
- readonly type: "string";
7
+ readonly type: 'string';
8
8
  };
9
9
  readonly url: {
10
- readonly type: "string";
10
+ readonly type: 'string';
11
11
  };
12
12
  };
13
- readonly required: readonly ["url"];
13
+ readonly required: readonly ['url'];
14
14
  readonly additionalProperties: false;
15
15
  };
16
16
  };
17
17
  export declare const redocConfigSchema: {
18
- readonly type: "object";
18
+ readonly type: 'object';
19
19
  readonly properties: {
20
20
  readonly licenseKey: {
21
- readonly type: "string";
21
+ readonly type: 'string';
22
22
  };
23
23
  readonly hideLoading: {
24
- readonly type: "boolean";
24
+ readonly type: 'boolean';
25
25
  };
26
26
  readonly disableRouter: {
27
- readonly type: "boolean";
27
+ readonly type: 'boolean';
28
28
  };
29
29
  readonly hideSidebar: {
30
- readonly type: "boolean";
30
+ readonly type: 'boolean';
31
31
  };
32
32
  readonly feedback: {
33
- readonly type: "object";
33
+ readonly type: 'object';
34
34
  readonly properties: {
35
35
  readonly hide: {
36
- readonly type: "boolean";
36
+ readonly type: 'boolean';
37
37
  readonly default: false;
38
38
  };
39
39
  readonly type: {
40
- readonly type: "string";
41
- readonly enum: readonly ["rating", "sentiment", "comment", "reasons", "mood", "scale"];
42
- readonly default: "sentiment";
40
+ readonly type: 'string';
41
+ readonly enum: readonly ['rating', 'sentiment', 'comment', 'reasons', 'mood', 'scale'];
42
+ readonly default: 'sentiment';
43
43
  };
44
44
  readonly settings: {
45
- readonly type: "object";
45
+ readonly type: 'object';
46
46
  readonly properties: {
47
47
  readonly label: {
48
- readonly type: "string";
48
+ readonly type: 'string';
49
49
  };
50
50
  readonly submitText: {
51
- readonly type: "string";
51
+ readonly type: 'string';
52
52
  };
53
53
  readonly buttonText: {
54
- readonly type: "string";
54
+ readonly type: 'string';
55
55
  };
56
56
  readonly component: {
57
- readonly type: "string";
58
- readonly enum: readonly ["radio", "checkbox"];
59
- readonly default: "checkbox";
57
+ readonly type: 'string';
58
+ readonly enum: readonly ['radio', 'checkbox'];
59
+ readonly default: 'checkbox';
60
60
  };
61
61
  readonly items: {
62
- readonly type: "array";
62
+ readonly type: 'array';
63
63
  readonly items: {
64
- readonly type: "string";
64
+ readonly type: 'string';
65
65
  };
66
66
  readonly minItems: 1;
67
67
  };
68
68
  readonly leftScaleLabel: {
69
- readonly type: "string";
69
+ readonly type: 'string';
70
70
  };
71
71
  readonly rightScaleLabel: {
72
- readonly type: "string";
72
+ readonly type: 'string';
73
73
  };
74
74
  readonly reasons: {
75
- readonly type: "object";
75
+ readonly type: 'object';
76
76
  readonly properties: {
77
+ readonly hide: {
78
+ readonly type: 'boolean';
79
+ readonly default: false;
80
+ };
81
+ readonly component: {
82
+ readonly type: 'string';
83
+ readonly enum: readonly ['radio', 'checkbox'];
84
+ readonly default: 'checkbox';
85
+ };
86
+ readonly label: {
87
+ readonly type: 'string';
88
+ };
89
+ readonly items: {
90
+ readonly type: 'array';
91
+ readonly items: {
92
+ readonly type: 'string';
93
+ };
94
+ };
77
95
  readonly like: {
78
- readonly type: "object";
96
+ readonly type: 'object';
79
97
  readonly properties: {
80
98
  readonly hide: {
81
- readonly type: "boolean";
99
+ readonly type: 'boolean';
82
100
  readonly default: false;
83
101
  };
84
102
  readonly component: {
85
- readonly type: "string";
86
- readonly enum: readonly ["radio", "checkbox"];
87
- readonly default: "checkbox";
103
+ readonly type: 'string';
104
+ readonly enum: readonly ['radio', 'checkbox'];
105
+ readonly default: 'checkbox';
88
106
  };
89
107
  readonly label: {
90
- readonly type: "string";
108
+ readonly type: 'string';
91
109
  };
92
110
  readonly items: {
93
- readonly type: "array";
111
+ readonly type: 'array';
94
112
  readonly items: {
95
- readonly type: "string";
113
+ readonly type: 'string';
96
114
  };
97
115
  };
98
116
  };
99
117
  readonly additionalProperties: false;
100
118
  };
101
119
  readonly dislike: {
102
- readonly type: "object";
120
+ readonly type: 'object';
103
121
  readonly properties: {
104
122
  readonly hide: {
105
- readonly type: "boolean";
123
+ readonly type: 'boolean';
106
124
  readonly default: false;
107
125
  };
108
126
  readonly component: {
109
- readonly type: "string";
110
- readonly enum: readonly ["radio", "checkbox"];
111
- readonly default: "checkbox";
127
+ readonly type: 'string';
128
+ readonly enum: readonly ['radio', 'checkbox'];
129
+ readonly default: 'checkbox';
112
130
  };
113
131
  readonly label: {
114
- readonly type: "string";
132
+ readonly type: 'string';
115
133
  };
116
134
  readonly items: {
117
- readonly type: "array";
135
+ readonly type: 'array';
118
136
  readonly items: {
119
- readonly type: "string";
137
+ readonly type: 'string';
120
138
  };
121
139
  };
122
140
  };
123
141
  readonly additionalProperties: false;
124
142
  };
125
143
  readonly satisfied: {
126
- readonly type: "object";
144
+ readonly type: 'object';
127
145
  readonly properties: {
128
146
  readonly hide: {
129
- readonly type: "boolean";
147
+ readonly type: 'boolean';
130
148
  readonly default: false;
131
149
  };
132
150
  readonly component: {
133
- readonly type: "string";
134
- readonly enum: readonly ["radio", "checkbox"];
135
- readonly default: "checkbox";
151
+ readonly type: 'string';
152
+ readonly enum: readonly ['radio', 'checkbox'];
153
+ readonly default: 'checkbox';
136
154
  };
137
155
  readonly label: {
138
- readonly type: "string";
156
+ readonly type: 'string';
139
157
  };
140
158
  readonly items: {
141
- readonly type: "array";
159
+ readonly type: 'array';
142
160
  readonly items: {
143
- readonly type: "string";
161
+ readonly type: 'string';
144
162
  };
145
163
  };
146
164
  };
147
165
  readonly additionalProperties: false;
148
166
  };
149
167
  readonly neutral: {
150
- readonly type: "object";
168
+ readonly type: 'object';
151
169
  readonly properties: {
152
170
  readonly hide: {
153
- readonly type: "boolean";
171
+ readonly type: 'boolean';
154
172
  readonly default: false;
155
173
  };
156
174
  readonly component: {
157
- readonly type: "string";
158
- readonly enum: readonly ["radio", "checkbox"];
159
- readonly default: "checkbox";
175
+ readonly type: 'string';
176
+ readonly enum: readonly ['radio', 'checkbox'];
177
+ readonly default: 'checkbox';
160
178
  };
161
179
  readonly label: {
162
- readonly type: "string";
180
+ readonly type: 'string';
163
181
  };
164
182
  readonly items: {
165
- readonly type: "array";
183
+ readonly type: 'array';
166
184
  readonly items: {
167
- readonly type: "string";
185
+ readonly type: 'string';
168
186
  };
169
187
  };
170
188
  };
171
189
  readonly additionalProperties: false;
172
190
  };
173
191
  readonly dissatisfied: {
174
- readonly type: "object";
192
+ readonly type: 'object';
175
193
  readonly properties: {
176
194
  readonly hide: {
177
- readonly type: "boolean";
195
+ readonly type: 'boolean';
178
196
  readonly default: false;
179
197
  };
180
198
  readonly component: {
181
- readonly type: "string";
182
- readonly enum: readonly ["radio", "checkbox"];
183
- readonly default: "checkbox";
199
+ readonly type: 'string';
200
+ readonly enum: readonly ['radio', 'checkbox'];
201
+ readonly default: 'checkbox';
184
202
  };
185
203
  readonly label: {
186
- readonly type: "string";
204
+ readonly type: 'string';
187
205
  };
188
206
  readonly items: {
189
- readonly type: "array";
207
+ readonly type: 'array';
190
208
  readonly items: {
191
- readonly type: "string";
209
+ readonly type: 'string';
192
210
  };
193
211
  };
194
212
  };
195
213
  readonly additionalProperties: false;
196
214
  };
197
- readonly hide: {
198
- readonly type: "boolean";
199
- readonly default: false;
200
- };
201
- readonly component: {
202
- readonly type: "string";
203
- readonly enum: readonly ["radio", "checkbox"];
204
- readonly default: "checkbox";
205
- };
206
- readonly label: {
207
- readonly type: "string";
208
- };
209
- readonly items: {
210
- readonly type: "array";
211
- readonly items: {
212
- readonly type: "string";
213
- };
214
- };
215
215
  };
216
216
  readonly additionalProperties: false;
217
217
  };
218
218
  readonly comment: {
219
- readonly type: "object";
219
+ readonly type: 'object';
220
220
  readonly properties: {
221
221
  readonly hide: {
222
- readonly type: "boolean";
222
+ readonly type: 'boolean';
223
223
  readonly default: false;
224
224
  };
225
225
  readonly label: {
226
- readonly type: "string";
226
+ readonly type: 'string';
227
227
  };
228
228
  readonly likeLabel: {
229
- readonly type: "string";
229
+ readonly type: 'string';
230
230
  };
231
231
  readonly dislikeLabel: {
232
- readonly type: "string";
232
+ readonly type: 'string';
233
233
  };
234
234
  readonly satisfiedLabel: {
235
- readonly type: "string";
235
+ readonly type: 'string';
236
236
  };
237
237
  readonly neutralLabel: {
238
- readonly type: "string";
238
+ readonly type: 'string';
239
239
  };
240
240
  readonly dissatisfiedLabel: {
241
- readonly type: "string";
241
+ readonly type: 'string';
242
242
  };
243
243
  };
244
244
  readonly additionalProperties: false;
245
245
  };
246
246
  readonly optionalEmail: {
247
- readonly type: "object";
247
+ readonly type: 'object';
248
248
  readonly properties: {
249
249
  readonly hide: {
250
- readonly type: "boolean";
250
+ readonly type: 'boolean';
251
251
  readonly default: false;
252
252
  };
253
253
  readonly label: {
254
- readonly type: "string";
254
+ readonly type: 'string';
255
255
  };
256
256
  readonly placeholder: {
257
- readonly type: "string";
257
+ readonly type: 'string';
258
258
  };
259
259
  };
260
260
  readonly additionalProperties: false;
@@ -266,185 +266,185 @@ export declare const redocConfigSchema: {
266
266
  readonly additionalProperties: false;
267
267
  };
268
268
  readonly hideReplay: {
269
- readonly type: "boolean";
269
+ readonly type: 'boolean';
270
270
  };
271
271
  readonly oAuth2RedirectURI: {
272
- readonly type: "string";
272
+ readonly type: 'string';
273
273
  readonly nullable: true;
274
274
  };
275
275
  readonly corsProxyUrl: {
276
- readonly type: "string";
276
+ readonly type: 'string';
277
277
  };
278
278
  readonly sortRequiredPropsFirst: {
279
- readonly type: "boolean";
279
+ readonly type: 'boolean';
280
280
  };
281
281
  readonly sanitize: {
282
- readonly type: "boolean";
282
+ readonly type: 'boolean';
283
283
  };
284
284
  readonly hideDownloadButtons: {
285
- readonly type: "boolean";
285
+ readonly type: 'boolean';
286
286
  };
287
287
  readonly downloadUrls: {
288
- readonly type: "array";
288
+ readonly type: 'array';
289
289
  readonly items: {
290
- readonly type: "object";
290
+ readonly type: 'object';
291
291
  readonly properties: {
292
292
  readonly title: {
293
- readonly type: "string";
293
+ readonly type: 'string';
294
294
  };
295
295
  readonly url: {
296
- readonly type: "string";
296
+ readonly type: 'string';
297
297
  };
298
298
  };
299
- readonly required: readonly ["url"];
299
+ readonly required: readonly ['url'];
300
300
  readonly additionalProperties: false;
301
301
  };
302
302
  };
303
303
  readonly onlyRequiredInSamples: {
304
- readonly type: "boolean";
304
+ readonly type: 'boolean';
305
305
  };
306
306
  readonly generatedSamplesMaxDepth: {
307
307
  readonly oneOf: readonly [{
308
- readonly type: "number";
308
+ readonly type: 'number';
309
309
  }, {
310
- readonly type: "string";
310
+ readonly type: 'string';
311
311
  }];
312
312
  };
313
313
  readonly showExtensions: {
314
314
  readonly oneOf: readonly [{
315
- readonly type: "boolean";
315
+ readonly type: 'boolean';
316
316
  }, {
317
- readonly type: "string";
317
+ readonly type: 'string';
318
318
  }, {
319
- readonly type: "array";
319
+ readonly type: 'array';
320
320
  readonly items: {
321
- readonly type: "string";
321
+ readonly type: 'string';
322
322
  };
323
323
  }];
324
324
  };
325
325
  readonly hideSchemaTitles: {
326
- readonly type: "boolean";
326
+ readonly type: 'boolean';
327
327
  };
328
328
  readonly jsonSamplesExpandLevel: {
329
329
  readonly oneOf: readonly [{
330
- readonly type: "number";
330
+ readonly type: 'number';
331
331
  }, {
332
- readonly type: "string";
332
+ readonly type: 'string';
333
333
  }];
334
334
  };
335
335
  readonly schemasExpansionLevel: {
336
336
  readonly oneOf: readonly [{
337
- readonly type: "number";
337
+ readonly type: 'number';
338
338
  }, {
339
- readonly type: "string";
339
+ readonly type: 'string';
340
340
  }];
341
341
  };
342
342
  readonly mockServer: {
343
- readonly type: "object";
343
+ readonly type: 'object';
344
344
  readonly properties: {
345
345
  readonly url: {
346
- readonly type: "string";
346
+ readonly type: 'string';
347
347
  };
348
348
  readonly position: {
349
- readonly type: "string";
350
- readonly enum: readonly ["first", "last", "replace", "off"];
349
+ readonly type: 'string';
350
+ readonly enum: readonly ['first', 'last', 'replace', 'off'];
351
351
  };
352
352
  readonly description: {
353
- readonly type: "string";
353
+ readonly type: 'string';
354
354
  };
355
355
  };
356
356
  };
357
357
  readonly maxDisplayedEnumValues: {
358
- readonly type: "number";
358
+ readonly type: 'number';
359
359
  };
360
360
  readonly schemaDefinitionsTagName: {
361
- readonly type: "string";
361
+ readonly type: 'string';
362
362
  };
363
363
  readonly layout: {
364
- readonly type: "string";
365
- readonly enum: readonly ["stacked", "three-panel"];
364
+ readonly type: 'string';
365
+ readonly enum: readonly ['stacked', 'three-panel'];
366
366
  };
367
367
  readonly hideInfoMetadata: {
368
- readonly type: "boolean";
368
+ readonly type: 'boolean';
369
369
  };
370
370
  readonly events: {
371
- readonly type: "object";
371
+ readonly type: 'object';
372
372
  };
373
373
  readonly skipBundle: {
374
- readonly type: "boolean";
374
+ readonly type: 'boolean';
375
375
  };
376
376
  readonly routingBasePath: {
377
- readonly type: "string";
377
+ readonly type: 'string';
378
378
  };
379
379
  readonly codeSamples: {
380
- readonly type: "object";
380
+ readonly type: 'object';
381
381
  readonly properties: {
382
382
  readonly languages: {
383
- readonly type: "array";
383
+ readonly type: 'array';
384
384
  readonly items: {
385
- readonly type: "object";
385
+ readonly type: 'object';
386
386
  readonly properties: {
387
387
  readonly lang: {
388
- readonly type: "string";
389
- readonly examples: readonly ["curl", "JavaScript", "Node.js", "Python", "Java8+Apache", "Java", "C#", "C#+Newtonsoft", "PHP", "Go", "Ruby", "R", "Payload"];
388
+ readonly type: 'string';
389
+ readonly examples: readonly ['curl', 'JavaScript', 'Node.js', 'Python', 'Java8+Apache', 'Java', 'C#', 'C#+Newtonsoft', 'PHP', 'Go', 'Ruby', 'R', 'Payload'];
390
390
  };
391
391
  readonly label: {
392
- readonly type: "string";
392
+ readonly type: 'string';
393
393
  };
394
394
  readonly options: {
395
- readonly type: "object";
395
+ readonly type: 'object';
396
396
  readonly properties: {
397
397
  readonly indent: {
398
- readonly type: "string";
398
+ readonly type: 'string';
399
399
  };
400
400
  readonly withImports: {
401
- readonly type: "boolean";
401
+ readonly type: 'boolean';
402
402
  };
403
403
  readonly withComments: {
404
- readonly type: "boolean";
404
+ readonly type: 'boolean';
405
405
  };
406
406
  readonly binary: {
407
- readonly type: "boolean";
407
+ readonly type: 'boolean';
408
408
  };
409
409
  readonly credentials: {
410
- readonly type: "string";
411
- readonly enum: readonly ["omit", "same-origin", "include"];
410
+ readonly type: 'string';
411
+ readonly enum: readonly ['omit', 'same-origin', 'include'];
412
412
  };
413
413
  };
414
414
  readonly additionalProperties: false;
415
415
  };
416
416
  };
417
- readonly required: readonly ["lang"];
417
+ readonly required: readonly ['lang'];
418
418
  readonly additionalProperties: false;
419
419
  };
420
420
  };
421
421
  readonly skipOptionalParameters: {
422
- readonly type: "boolean";
422
+ readonly type: 'boolean';
423
423
  };
424
424
  readonly withOAuth2Call: {
425
- readonly type: "boolean";
425
+ readonly type: 'boolean';
426
426
  };
427
427
  };
428
428
  readonly additionalProperties: false;
429
429
  };
430
430
  readonly ignoreNamedSchemas: {
431
431
  readonly oneOf: readonly [{
432
- readonly type: "array";
432
+ readonly type: 'array';
433
433
  readonly items: {
434
- readonly type: "string";
434
+ readonly type: 'string';
435
435
  };
436
436
  }, {
437
- readonly type: "string";
437
+ readonly type: 'string';
438
438
  }];
439
439
  };
440
440
  readonly hidePropertiesPrefix: {
441
- readonly type: "boolean";
441
+ readonly type: 'boolean';
442
442
  };
443
443
  readonly excludeFromSearch: {
444
- readonly type: "boolean";
444
+ readonly type: 'boolean';
445
445
  };
446
446
  readonly showSchemaCatalogLinks: {
447
- readonly type: "boolean";
447
+ readonly type: 'boolean';
448
448
  };
449
449
  };
450
450
  readonly additionalProperties: false;