@redocly/config 0.11.0 → 0.12.0
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 +56 -8
- package/lib/ex-theme-config-schemas.d.ts +51 -4
- package/lib/ex-theme-config-schemas.js +25 -7
- package/lib/product-override-schema.d.ts +84 -12
- package/lib/root-config-schema.d.ts +170 -34
- package/lib/types.d.ts +2 -1
- package/lib-esm/default-theme-config-schema.d.ts +56 -8
- package/lib-esm/ex-theme-config-schemas.d.ts +51 -4
- package/lib-esm/ex-theme-config-schemas.js +24 -6
- package/lib-esm/product-override-schema.d.ts +84 -12
- package/lib-esm/root-config-schema.d.ts +170 -34
- package/lib-esm/types.d.ts +2 -1
- package/package.json +1 -1
|
@@ -696,6 +696,34 @@ export declare const themeConfigSchema: {
|
|
|
696
696
|
readonly hide: {
|
|
697
697
|
readonly type: "boolean";
|
|
698
698
|
};
|
|
699
|
+
readonly engine: {
|
|
700
|
+
readonly type: "string";
|
|
701
|
+
readonly enum: readonly ["flexsearch", "typesense"];
|
|
702
|
+
readonly default: "flexsearch";
|
|
703
|
+
};
|
|
704
|
+
readonly facets: {
|
|
705
|
+
readonly type: "array";
|
|
706
|
+
readonly items: {
|
|
707
|
+
readonly type: "object";
|
|
708
|
+
readonly required: readonly ["name", "field", "type"];
|
|
709
|
+
readonly properties: {
|
|
710
|
+
readonly name: {
|
|
711
|
+
readonly type: "string";
|
|
712
|
+
};
|
|
713
|
+
readonly field: {
|
|
714
|
+
readonly type: "string";
|
|
715
|
+
};
|
|
716
|
+
readonly type: {
|
|
717
|
+
readonly type: "string";
|
|
718
|
+
readonly enum: readonly ["multi-select", "select", "tags"];
|
|
719
|
+
};
|
|
720
|
+
readonly isTop: {
|
|
721
|
+
readonly type: "boolean";
|
|
722
|
+
};
|
|
723
|
+
};
|
|
724
|
+
readonly additionalProperties: false;
|
|
725
|
+
};
|
|
726
|
+
};
|
|
699
727
|
readonly placement: {
|
|
700
728
|
readonly type: "string";
|
|
701
729
|
readonly default: "navbar";
|
|
@@ -725,10 +753,6 @@ export declare const themeConfigSchema: {
|
|
|
725
753
|
readonly required: readonly ["page"];
|
|
726
754
|
};
|
|
727
755
|
};
|
|
728
|
-
readonly fuzzy: {
|
|
729
|
-
readonly type: "boolean";
|
|
730
|
-
readonly default: false;
|
|
731
|
-
};
|
|
732
756
|
};
|
|
733
757
|
readonly additionalProperties: false;
|
|
734
758
|
};
|
|
@@ -4238,6 +4262,34 @@ export declare const closedThemeConfigSchema: {
|
|
|
4238
4262
|
readonly hide: {
|
|
4239
4263
|
readonly type: "boolean";
|
|
4240
4264
|
};
|
|
4265
|
+
readonly engine: {
|
|
4266
|
+
readonly type: "string";
|
|
4267
|
+
readonly enum: readonly ["flexsearch", "typesense"];
|
|
4268
|
+
readonly default: "flexsearch";
|
|
4269
|
+
};
|
|
4270
|
+
readonly facets: {
|
|
4271
|
+
readonly type: "array";
|
|
4272
|
+
readonly items: {
|
|
4273
|
+
readonly type: "object";
|
|
4274
|
+
readonly required: readonly ["name", "field", "type"];
|
|
4275
|
+
readonly properties: {
|
|
4276
|
+
readonly name: {
|
|
4277
|
+
readonly type: "string";
|
|
4278
|
+
};
|
|
4279
|
+
readonly field: {
|
|
4280
|
+
readonly type: "string";
|
|
4281
|
+
};
|
|
4282
|
+
readonly type: {
|
|
4283
|
+
readonly type: "string";
|
|
4284
|
+
readonly enum: readonly ["multi-select", "select", "tags"];
|
|
4285
|
+
};
|
|
4286
|
+
readonly isTop: {
|
|
4287
|
+
readonly type: "boolean";
|
|
4288
|
+
};
|
|
4289
|
+
};
|
|
4290
|
+
readonly additionalProperties: false;
|
|
4291
|
+
};
|
|
4292
|
+
};
|
|
4241
4293
|
readonly placement: {
|
|
4242
4294
|
readonly type: "string";
|
|
4243
4295
|
readonly default: "navbar";
|
|
@@ -4267,10 +4319,6 @@ export declare const closedThemeConfigSchema: {
|
|
|
4267
4319
|
readonly required: readonly ["page"];
|
|
4268
4320
|
};
|
|
4269
4321
|
};
|
|
4270
|
-
readonly fuzzy: {
|
|
4271
|
-
readonly type: "boolean";
|
|
4272
|
-
readonly default: false;
|
|
4273
|
-
};
|
|
4274
4322
|
};
|
|
4275
4323
|
readonly additionalProperties: false;
|
|
4276
4324
|
};
|
|
@@ -187,6 +187,29 @@ export declare const productConfigSchema: {
|
|
|
187
187
|
readonly additionalProperties: false;
|
|
188
188
|
readonly required: readonly ["name", "folder"];
|
|
189
189
|
};
|
|
190
|
+
export declare const searchFacetsConfigSchema: {
|
|
191
|
+
readonly type: "array";
|
|
192
|
+
readonly items: {
|
|
193
|
+
readonly type: "object";
|
|
194
|
+
readonly required: readonly ["name", "field", "type"];
|
|
195
|
+
readonly properties: {
|
|
196
|
+
readonly name: {
|
|
197
|
+
readonly type: "string";
|
|
198
|
+
};
|
|
199
|
+
readonly field: {
|
|
200
|
+
readonly type: "string";
|
|
201
|
+
};
|
|
202
|
+
readonly type: {
|
|
203
|
+
readonly type: "string";
|
|
204
|
+
readonly enum: readonly ["multi-select", "select", "tags"];
|
|
205
|
+
};
|
|
206
|
+
readonly isTop: {
|
|
207
|
+
readonly type: "boolean";
|
|
208
|
+
};
|
|
209
|
+
};
|
|
210
|
+
readonly additionalProperties: false;
|
|
211
|
+
};
|
|
212
|
+
};
|
|
190
213
|
export declare const logoConfigSchema: {
|
|
191
214
|
readonly type: "object";
|
|
192
215
|
readonly properties: {
|
|
@@ -773,6 +796,34 @@ export declare const searchConfigSchema: {
|
|
|
773
796
|
readonly hide: {
|
|
774
797
|
readonly type: "boolean";
|
|
775
798
|
};
|
|
799
|
+
readonly engine: {
|
|
800
|
+
readonly type: "string";
|
|
801
|
+
readonly enum: readonly ["flexsearch", "typesense"];
|
|
802
|
+
readonly default: "flexsearch";
|
|
803
|
+
};
|
|
804
|
+
readonly facets: {
|
|
805
|
+
readonly type: "array";
|
|
806
|
+
readonly items: {
|
|
807
|
+
readonly type: "object";
|
|
808
|
+
readonly required: readonly ["name", "field", "type"];
|
|
809
|
+
readonly properties: {
|
|
810
|
+
readonly name: {
|
|
811
|
+
readonly type: "string";
|
|
812
|
+
};
|
|
813
|
+
readonly field: {
|
|
814
|
+
readonly type: "string";
|
|
815
|
+
};
|
|
816
|
+
readonly type: {
|
|
817
|
+
readonly type: "string";
|
|
818
|
+
readonly enum: readonly ["multi-select", "select", "tags"];
|
|
819
|
+
};
|
|
820
|
+
readonly isTop: {
|
|
821
|
+
readonly type: "boolean";
|
|
822
|
+
};
|
|
823
|
+
};
|
|
824
|
+
readonly additionalProperties: false;
|
|
825
|
+
};
|
|
826
|
+
};
|
|
776
827
|
readonly placement: {
|
|
777
828
|
readonly type: "string";
|
|
778
829
|
readonly default: "navbar";
|
|
@@ -802,10 +853,6 @@ export declare const searchConfigSchema: {
|
|
|
802
853
|
readonly required: readonly ["page"];
|
|
803
854
|
};
|
|
804
855
|
};
|
|
805
|
-
readonly fuzzy: {
|
|
806
|
-
readonly type: "boolean";
|
|
807
|
-
readonly default: false;
|
|
808
|
-
};
|
|
809
856
|
};
|
|
810
857
|
readonly additionalProperties: false;
|
|
811
858
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.scorecardConfigSchema = exports.catalogsConfigSchema = exports.catalogSchema = exports.catalogFilterSchema = exports.breadcrumbsConfigSchema = exports.versionPickerConfigSchema = exports.userMenuConfigSchema = exports.analyticsConfigSchema = exports.googleAnalyticsConfigSchema = exports.productGoogleAnalyticsConfigSchema = exports.gtmAnalyticsConfigSchema = exports.segmentAnalyticsConfigSchema = exports.rudderstackAnalyticsConfigSchema = exports.heapAnalyticsConfigSchema = exports.fullstoryAnalyticsConfigSchema = exports.amplitudeAnalyticsConfigSchema = exports.openapiConfigSchema = exports.markdownConfigSchema = exports.codeSnippetConfigSchema = exports.navigationConfigSchema = exports.colorModeConfigSchema = exports.searchConfigSchema = exports.linksConfigSchema = exports.scriptsConfigSchema = exports.sidebarConfigSchema = exports.footerConfigSchema = exports.productsConfigSchema = exports.navbarConfigSchema = exports.logoConfigSchema = exports.productConfigSchema = exports.navItemsSchema = void 0;
|
|
3
|
+
exports.scorecardConfigSchema = exports.catalogsConfigSchema = exports.catalogSchema = exports.catalogFilterSchema = exports.breadcrumbsConfigSchema = exports.versionPickerConfigSchema = exports.userMenuConfigSchema = exports.analyticsConfigSchema = exports.googleAnalyticsConfigSchema = exports.productGoogleAnalyticsConfigSchema = exports.gtmAnalyticsConfigSchema = exports.segmentAnalyticsConfigSchema = exports.rudderstackAnalyticsConfigSchema = exports.heapAnalyticsConfigSchema = exports.fullstoryAnalyticsConfigSchema = exports.amplitudeAnalyticsConfigSchema = exports.openapiConfigSchema = exports.markdownConfigSchema = exports.codeSnippetConfigSchema = exports.navigationConfigSchema = exports.colorModeConfigSchema = exports.searchConfigSchema = exports.linksConfigSchema = exports.scriptsConfigSchema = exports.sidebarConfigSchema = exports.footerConfigSchema = exports.productsConfigSchema = exports.navbarConfigSchema = exports.logoConfigSchema = exports.searchFacetsConfigSchema = exports.productConfigSchema = exports.navItemsSchema = void 0;
|
|
4
4
|
const redoc_config_schema_1 = require("./redoc-config-schema");
|
|
5
5
|
const reference_docs_config_schema_1 = require("./reference-docs-config-schema");
|
|
6
6
|
const hideConfigSchema = {
|
|
@@ -80,7 +80,24 @@ exports.productConfigSchema = {
|
|
|
80
80
|
additionalProperties: false,
|
|
81
81
|
required: ['name', 'folder'],
|
|
82
82
|
};
|
|
83
|
-
|
|
83
|
+
exports.searchFacetsConfigSchema = {
|
|
84
|
+
type: 'array',
|
|
85
|
+
items: {
|
|
86
|
+
type: 'object',
|
|
87
|
+
required: ['name', 'field', 'type'],
|
|
88
|
+
properties: {
|
|
89
|
+
name: { type: 'string' },
|
|
90
|
+
field: { type: 'string' },
|
|
91
|
+
type: {
|
|
92
|
+
type: 'string',
|
|
93
|
+
enum: ['multi-select', 'select', 'tags'],
|
|
94
|
+
},
|
|
95
|
+
isTop: { type: 'boolean' },
|
|
96
|
+
},
|
|
97
|
+
additionalProperties: false,
|
|
98
|
+
},
|
|
99
|
+
};
|
|
100
|
+
const searchSuggestedPageSchema = {
|
|
84
101
|
type: 'object',
|
|
85
102
|
properties: {
|
|
86
103
|
page: { type: 'string' },
|
|
@@ -158,7 +175,11 @@ exports.linksConfigSchema = {
|
|
|
158
175
|
};
|
|
159
176
|
exports.searchConfigSchema = {
|
|
160
177
|
type: 'object',
|
|
161
|
-
properties: Object.assign({
|
|
178
|
+
properties: Object.assign({ engine: {
|
|
179
|
+
type: 'string',
|
|
180
|
+
enum: ['flexsearch', 'typesense'],
|
|
181
|
+
default: 'flexsearch',
|
|
182
|
+
}, facets: exports.searchFacetsConfigSchema, placement: {
|
|
162
183
|
type: 'string',
|
|
163
184
|
default: 'navbar',
|
|
164
185
|
}, shortcuts: {
|
|
@@ -167,10 +188,7 @@ exports.searchConfigSchema = {
|
|
|
167
188
|
default: ['/'],
|
|
168
189
|
}, suggestedPages: {
|
|
169
190
|
type: 'array',
|
|
170
|
-
items:
|
|
171
|
-
}, fuzzy: {
|
|
172
|
-
type: 'boolean',
|
|
173
|
-
default: false,
|
|
191
|
+
items: searchSuggestedPageSchema,
|
|
174
192
|
} }, hideConfigSchema.properties),
|
|
175
193
|
additionalProperties: false,
|
|
176
194
|
};
|
|
@@ -421,6 +421,34 @@ export declare const productThemeOverrideSchema: {
|
|
|
421
421
|
readonly hide: {
|
|
422
422
|
readonly type: "boolean";
|
|
423
423
|
};
|
|
424
|
+
readonly engine: {
|
|
425
|
+
readonly type: "string";
|
|
426
|
+
readonly enum: readonly ["flexsearch", "typesense"];
|
|
427
|
+
readonly default: "flexsearch";
|
|
428
|
+
};
|
|
429
|
+
readonly facets: {
|
|
430
|
+
readonly type: "array";
|
|
431
|
+
readonly items: {
|
|
432
|
+
readonly type: "object";
|
|
433
|
+
readonly required: readonly ["name", "field", "type"];
|
|
434
|
+
readonly properties: {
|
|
435
|
+
readonly name: {
|
|
436
|
+
readonly type: "string";
|
|
437
|
+
};
|
|
438
|
+
readonly field: {
|
|
439
|
+
readonly type: "string";
|
|
440
|
+
};
|
|
441
|
+
readonly type: {
|
|
442
|
+
readonly type: "string";
|
|
443
|
+
readonly enum: readonly ["multi-select", "select", "tags"];
|
|
444
|
+
};
|
|
445
|
+
readonly isTop: {
|
|
446
|
+
readonly type: "boolean";
|
|
447
|
+
};
|
|
448
|
+
};
|
|
449
|
+
readonly additionalProperties: false;
|
|
450
|
+
};
|
|
451
|
+
};
|
|
424
452
|
readonly placement: {
|
|
425
453
|
readonly type: "string";
|
|
426
454
|
readonly default: "navbar";
|
|
@@ -450,10 +478,6 @@ export declare const productThemeOverrideSchema: {
|
|
|
450
478
|
readonly required: readonly ["page"];
|
|
451
479
|
};
|
|
452
480
|
};
|
|
453
|
-
readonly fuzzy: {
|
|
454
|
-
readonly type: "boolean";
|
|
455
|
-
readonly default: false;
|
|
456
|
-
};
|
|
457
481
|
};
|
|
458
482
|
readonly additionalProperties: false;
|
|
459
483
|
};
|
|
@@ -6758,6 +6782,34 @@ export declare const productConfigOverrideSchema: {
|
|
|
6758
6782
|
readonly hide: {
|
|
6759
6783
|
readonly type: "boolean";
|
|
6760
6784
|
};
|
|
6785
|
+
readonly engine: {
|
|
6786
|
+
readonly type: "string";
|
|
6787
|
+
readonly enum: readonly ["flexsearch", "typesense"];
|
|
6788
|
+
readonly default: "flexsearch";
|
|
6789
|
+
};
|
|
6790
|
+
readonly facets: {
|
|
6791
|
+
readonly type: "array";
|
|
6792
|
+
readonly items: {
|
|
6793
|
+
readonly type: "object";
|
|
6794
|
+
readonly required: readonly ["name", "field", "type"];
|
|
6795
|
+
readonly properties: {
|
|
6796
|
+
readonly name: {
|
|
6797
|
+
readonly type: "string";
|
|
6798
|
+
};
|
|
6799
|
+
readonly field: {
|
|
6800
|
+
readonly type: "string";
|
|
6801
|
+
};
|
|
6802
|
+
readonly type: {
|
|
6803
|
+
readonly type: "string";
|
|
6804
|
+
readonly enum: readonly ["multi-select", "select", "tags"];
|
|
6805
|
+
};
|
|
6806
|
+
readonly isTop: {
|
|
6807
|
+
readonly type: "boolean";
|
|
6808
|
+
};
|
|
6809
|
+
};
|
|
6810
|
+
readonly additionalProperties: false;
|
|
6811
|
+
};
|
|
6812
|
+
};
|
|
6761
6813
|
readonly placement: {
|
|
6762
6814
|
readonly type: "string";
|
|
6763
6815
|
readonly default: "navbar";
|
|
@@ -6787,10 +6839,6 @@ export declare const productConfigOverrideSchema: {
|
|
|
6787
6839
|
readonly required: readonly ["page"];
|
|
6788
6840
|
};
|
|
6789
6841
|
};
|
|
6790
|
-
readonly fuzzy: {
|
|
6791
|
-
readonly type: "boolean";
|
|
6792
|
-
readonly default: false;
|
|
6793
|
-
};
|
|
6794
6842
|
};
|
|
6795
6843
|
readonly additionalProperties: false;
|
|
6796
6844
|
};
|
|
@@ -9118,6 +9166,34 @@ export declare const productConfigOverrideSchema: {
|
|
|
9118
9166
|
readonly hide: {
|
|
9119
9167
|
readonly type: "boolean";
|
|
9120
9168
|
};
|
|
9169
|
+
readonly engine: {
|
|
9170
|
+
readonly type: "string";
|
|
9171
|
+
readonly enum: readonly ["flexsearch", "typesense"];
|
|
9172
|
+
readonly default: "flexsearch";
|
|
9173
|
+
};
|
|
9174
|
+
readonly facets: {
|
|
9175
|
+
readonly type: "array";
|
|
9176
|
+
readonly items: {
|
|
9177
|
+
readonly type: "object";
|
|
9178
|
+
readonly required: readonly ["name", "field", "type"];
|
|
9179
|
+
readonly properties: {
|
|
9180
|
+
readonly name: {
|
|
9181
|
+
readonly type: "string";
|
|
9182
|
+
};
|
|
9183
|
+
readonly field: {
|
|
9184
|
+
readonly type: "string";
|
|
9185
|
+
};
|
|
9186
|
+
readonly type: {
|
|
9187
|
+
readonly type: "string";
|
|
9188
|
+
readonly enum: readonly ["multi-select", "select", "tags"];
|
|
9189
|
+
};
|
|
9190
|
+
readonly isTop: {
|
|
9191
|
+
readonly type: "boolean";
|
|
9192
|
+
};
|
|
9193
|
+
};
|
|
9194
|
+
readonly additionalProperties: false;
|
|
9195
|
+
};
|
|
9196
|
+
};
|
|
9121
9197
|
readonly placement: {
|
|
9122
9198
|
readonly type: "string";
|
|
9123
9199
|
readonly default: "navbar";
|
|
@@ -9147,10 +9223,6 @@ export declare const productConfigOverrideSchema: {
|
|
|
9147
9223
|
readonly required: readonly ["page"];
|
|
9148
9224
|
};
|
|
9149
9225
|
};
|
|
9150
|
-
readonly fuzzy: {
|
|
9151
|
-
readonly type: "boolean";
|
|
9152
|
-
readonly default: false;
|
|
9153
|
-
};
|
|
9154
9226
|
};
|
|
9155
9227
|
readonly additionalProperties: false;
|
|
9156
9228
|
};
|
|
@@ -10348,6 +10348,34 @@ export declare const redoclyConfigSchema: {
|
|
|
10348
10348
|
readonly hide: {
|
|
10349
10349
|
readonly type: "boolean";
|
|
10350
10350
|
};
|
|
10351
|
+
readonly engine: {
|
|
10352
|
+
readonly type: "string";
|
|
10353
|
+
readonly enum: readonly ["flexsearch", "typesense"];
|
|
10354
|
+
readonly default: "flexsearch";
|
|
10355
|
+
};
|
|
10356
|
+
readonly facets: {
|
|
10357
|
+
readonly type: "array";
|
|
10358
|
+
readonly items: {
|
|
10359
|
+
readonly type: "object";
|
|
10360
|
+
readonly required: readonly ["name", "field", "type"];
|
|
10361
|
+
readonly properties: {
|
|
10362
|
+
readonly name: {
|
|
10363
|
+
readonly type: "string";
|
|
10364
|
+
};
|
|
10365
|
+
readonly field: {
|
|
10366
|
+
readonly type: "string";
|
|
10367
|
+
};
|
|
10368
|
+
readonly type: {
|
|
10369
|
+
readonly type: "string";
|
|
10370
|
+
readonly enum: readonly ["multi-select", "select", "tags"];
|
|
10371
|
+
};
|
|
10372
|
+
readonly isTop: {
|
|
10373
|
+
readonly type: "boolean";
|
|
10374
|
+
};
|
|
10375
|
+
};
|
|
10376
|
+
readonly additionalProperties: false;
|
|
10377
|
+
};
|
|
10378
|
+
};
|
|
10351
10379
|
readonly placement: {
|
|
10352
10380
|
readonly type: "string";
|
|
10353
10381
|
readonly default: "navbar";
|
|
@@ -10377,10 +10405,6 @@ export declare const redoclyConfigSchema: {
|
|
|
10377
10405
|
readonly required: readonly ["page"];
|
|
10378
10406
|
};
|
|
10379
10407
|
};
|
|
10380
|
-
readonly fuzzy: {
|
|
10381
|
-
readonly type: "boolean";
|
|
10382
|
-
readonly default: false;
|
|
10383
|
-
};
|
|
10384
10408
|
};
|
|
10385
10409
|
readonly additionalProperties: false;
|
|
10386
10410
|
};
|
|
@@ -12704,9 +12728,7 @@ export declare const redoclyConfigSchema: {
|
|
|
12704
12728
|
readonly type: "object";
|
|
12705
12729
|
readonly properties: {
|
|
12706
12730
|
readonly includeInDevelopment: {
|
|
12707
|
-
readonly type: "boolean";
|
|
12708
|
-
* @deprecated properties moved to the root of the config
|
|
12709
|
-
*/
|
|
12731
|
+
readonly type: "boolean";
|
|
12710
12732
|
};
|
|
12711
12733
|
readonly trackingId: {
|
|
12712
12734
|
readonly type: "string";
|
|
@@ -13894,6 +13916,34 @@ export declare const redoclyConfigSchema: {
|
|
|
13894
13916
|
readonly hide: {
|
|
13895
13917
|
readonly type: "boolean";
|
|
13896
13918
|
};
|
|
13919
|
+
readonly engine: {
|
|
13920
|
+
readonly type: "string";
|
|
13921
|
+
readonly enum: readonly ["flexsearch", "typesense"];
|
|
13922
|
+
readonly default: "flexsearch";
|
|
13923
|
+
};
|
|
13924
|
+
readonly facets: {
|
|
13925
|
+
readonly type: "array";
|
|
13926
|
+
readonly items: {
|
|
13927
|
+
readonly type: "object";
|
|
13928
|
+
readonly required: readonly ["name", "field", "type"];
|
|
13929
|
+
readonly properties: {
|
|
13930
|
+
readonly name: {
|
|
13931
|
+
readonly type: "string";
|
|
13932
|
+
};
|
|
13933
|
+
readonly field: {
|
|
13934
|
+
readonly type: "string";
|
|
13935
|
+
};
|
|
13936
|
+
readonly type: {
|
|
13937
|
+
readonly type: "string";
|
|
13938
|
+
readonly enum: readonly ["multi-select", "select", "tags"];
|
|
13939
|
+
};
|
|
13940
|
+
readonly isTop: {
|
|
13941
|
+
readonly type: "boolean";
|
|
13942
|
+
};
|
|
13943
|
+
};
|
|
13944
|
+
readonly additionalProperties: false;
|
|
13945
|
+
};
|
|
13946
|
+
};
|
|
13897
13947
|
readonly placement: {
|
|
13898
13948
|
readonly type: "string";
|
|
13899
13949
|
readonly default: "navbar";
|
|
@@ -13923,10 +13973,6 @@ export declare const redoclyConfigSchema: {
|
|
|
13923
13973
|
readonly required: readonly ["page"];
|
|
13924
13974
|
};
|
|
13925
13975
|
};
|
|
13926
|
-
readonly fuzzy: {
|
|
13927
|
-
readonly type: "boolean";
|
|
13928
|
-
readonly default: false;
|
|
13929
|
-
};
|
|
13930
13976
|
};
|
|
13931
13977
|
readonly additionalProperties: false;
|
|
13932
13978
|
};
|
|
@@ -16250,9 +16296,7 @@ export declare const redoclyConfigSchema: {
|
|
|
16250
16296
|
readonly type: "object";
|
|
16251
16297
|
readonly properties: {
|
|
16252
16298
|
readonly includeInDevelopment: {
|
|
16253
|
-
readonly type: "boolean";
|
|
16254
|
-
* @deprecated properties moved to the root of the config
|
|
16255
|
-
*/
|
|
16299
|
+
readonly type: "boolean";
|
|
16256
16300
|
};
|
|
16257
16301
|
readonly trackingId: {
|
|
16258
16302
|
readonly type: "string";
|
|
@@ -17306,6 +17350,33 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
17306
17350
|
hide: {
|
|
17307
17351
|
type: "boolean";
|
|
17308
17352
|
};
|
|
17353
|
+
engine: {
|
|
17354
|
+
enum: ("flexsearch" | "typesense")[];
|
|
17355
|
+
type: "string";
|
|
17356
|
+
};
|
|
17357
|
+
facets: {
|
|
17358
|
+
items: {
|
|
17359
|
+
properties: {
|
|
17360
|
+
name: {
|
|
17361
|
+
type: "string";
|
|
17362
|
+
};
|
|
17363
|
+
type: {
|
|
17364
|
+
enum: ("multi-select" | "select" | "tags")[];
|
|
17365
|
+
type: "string";
|
|
17366
|
+
};
|
|
17367
|
+
field: {
|
|
17368
|
+
type: "string";
|
|
17369
|
+
};
|
|
17370
|
+
isTop: {
|
|
17371
|
+
type: "boolean";
|
|
17372
|
+
};
|
|
17373
|
+
};
|
|
17374
|
+
additionalProperties: false;
|
|
17375
|
+
type: "object";
|
|
17376
|
+
required: ("name" | "type" | "field")[];
|
|
17377
|
+
};
|
|
17378
|
+
type: "array";
|
|
17379
|
+
};
|
|
17309
17380
|
placement: {
|
|
17310
17381
|
type: "string";
|
|
17311
17382
|
};
|
|
@@ -17333,9 +17404,6 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
17333
17404
|
};
|
|
17334
17405
|
type: "array";
|
|
17335
17406
|
};
|
|
17336
|
-
fuzzy: {
|
|
17337
|
-
type: "boolean";
|
|
17338
|
-
};
|
|
17339
17407
|
};
|
|
17340
17408
|
additionalProperties: false;
|
|
17341
17409
|
type: "object";
|
|
@@ -23761,6 +23829,33 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
23761
23829
|
hide: {
|
|
23762
23830
|
type: "boolean";
|
|
23763
23831
|
};
|
|
23832
|
+
engine: {
|
|
23833
|
+
enum: ("flexsearch" | "typesense")[];
|
|
23834
|
+
type: "string";
|
|
23835
|
+
};
|
|
23836
|
+
facets: {
|
|
23837
|
+
items: {
|
|
23838
|
+
properties: {
|
|
23839
|
+
name: {
|
|
23840
|
+
type: "string";
|
|
23841
|
+
};
|
|
23842
|
+
type: {
|
|
23843
|
+
enum: ("multi-select" | "select" | "tags")[];
|
|
23844
|
+
type: "string";
|
|
23845
|
+
};
|
|
23846
|
+
field: {
|
|
23847
|
+
type: "string";
|
|
23848
|
+
};
|
|
23849
|
+
isTop: {
|
|
23850
|
+
type: "boolean";
|
|
23851
|
+
};
|
|
23852
|
+
};
|
|
23853
|
+
additionalProperties: false;
|
|
23854
|
+
type: "object";
|
|
23855
|
+
required: ("name" | "type" | "field")[];
|
|
23856
|
+
};
|
|
23857
|
+
type: "array";
|
|
23858
|
+
};
|
|
23764
23859
|
placement: {
|
|
23765
23860
|
type: "string";
|
|
23766
23861
|
};
|
|
@@ -23788,9 +23883,6 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
23788
23883
|
};
|
|
23789
23884
|
type: "array";
|
|
23790
23885
|
};
|
|
23791
|
-
fuzzy: {
|
|
23792
|
-
type: "boolean";
|
|
23793
|
-
};
|
|
23794
23886
|
};
|
|
23795
23887
|
additionalProperties: false;
|
|
23796
23888
|
type: "object";
|
|
@@ -31323,6 +31415,34 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
31323
31415
|
readonly hide: {
|
|
31324
31416
|
readonly type: "boolean";
|
|
31325
31417
|
};
|
|
31418
|
+
readonly engine: {
|
|
31419
|
+
readonly type: "string";
|
|
31420
|
+
readonly enum: readonly ["flexsearch", "typesense"];
|
|
31421
|
+
readonly default: "flexsearch";
|
|
31422
|
+
};
|
|
31423
|
+
readonly facets: {
|
|
31424
|
+
readonly type: "array";
|
|
31425
|
+
readonly items: {
|
|
31426
|
+
readonly type: "object";
|
|
31427
|
+
readonly required: readonly ["name", "field", "type"];
|
|
31428
|
+
readonly properties: {
|
|
31429
|
+
readonly name: {
|
|
31430
|
+
readonly type: "string";
|
|
31431
|
+
};
|
|
31432
|
+
readonly field: {
|
|
31433
|
+
readonly type: "string";
|
|
31434
|
+
};
|
|
31435
|
+
readonly type: {
|
|
31436
|
+
readonly type: "string";
|
|
31437
|
+
readonly enum: readonly ["multi-select", "select", "tags"];
|
|
31438
|
+
};
|
|
31439
|
+
readonly isTop: {
|
|
31440
|
+
readonly type: "boolean";
|
|
31441
|
+
};
|
|
31442
|
+
};
|
|
31443
|
+
readonly additionalProperties: false;
|
|
31444
|
+
};
|
|
31445
|
+
};
|
|
31326
31446
|
readonly placement: {
|
|
31327
31447
|
readonly type: "string";
|
|
31328
31448
|
readonly default: "navbar";
|
|
@@ -31352,10 +31472,6 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
31352
31472
|
readonly required: readonly ["page"];
|
|
31353
31473
|
};
|
|
31354
31474
|
};
|
|
31355
|
-
readonly fuzzy: {
|
|
31356
|
-
readonly type: "boolean";
|
|
31357
|
-
readonly default: false;
|
|
31358
|
-
};
|
|
31359
31475
|
};
|
|
31360
31476
|
readonly additionalProperties: false;
|
|
31361
31477
|
};
|
|
@@ -33679,9 +33795,7 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
33679
33795
|
readonly type: "object";
|
|
33680
33796
|
readonly properties: {
|
|
33681
33797
|
readonly includeInDevelopment: {
|
|
33682
|
-
readonly type: "boolean";
|
|
33683
|
-
* @deprecated properties moved to the root of the config
|
|
33684
|
-
*/
|
|
33798
|
+
readonly type: "boolean";
|
|
33685
33799
|
};
|
|
33686
33800
|
readonly trackingId: {
|
|
33687
33801
|
readonly type: "string";
|
|
@@ -34869,6 +34983,34 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
34869
34983
|
readonly hide: {
|
|
34870
34984
|
readonly type: "boolean";
|
|
34871
34985
|
};
|
|
34986
|
+
readonly engine: {
|
|
34987
|
+
readonly type: "string";
|
|
34988
|
+
readonly enum: readonly ["flexsearch", "typesense"];
|
|
34989
|
+
readonly default: "flexsearch";
|
|
34990
|
+
};
|
|
34991
|
+
readonly facets: {
|
|
34992
|
+
readonly type: "array";
|
|
34993
|
+
readonly items: {
|
|
34994
|
+
readonly type: "object";
|
|
34995
|
+
readonly required: readonly ["name", "field", "type"];
|
|
34996
|
+
readonly properties: {
|
|
34997
|
+
readonly name: {
|
|
34998
|
+
readonly type: "string";
|
|
34999
|
+
};
|
|
35000
|
+
readonly field: {
|
|
35001
|
+
readonly type: "string";
|
|
35002
|
+
};
|
|
35003
|
+
readonly type: {
|
|
35004
|
+
readonly type: "string";
|
|
35005
|
+
readonly enum: readonly ["multi-select", "select", "tags"];
|
|
35006
|
+
};
|
|
35007
|
+
readonly isTop: {
|
|
35008
|
+
readonly type: "boolean";
|
|
35009
|
+
};
|
|
35010
|
+
};
|
|
35011
|
+
readonly additionalProperties: false;
|
|
35012
|
+
};
|
|
35013
|
+
};
|
|
34872
35014
|
readonly placement: {
|
|
34873
35015
|
readonly type: "string";
|
|
34874
35016
|
readonly default: "navbar";
|
|
@@ -34898,10 +35040,6 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
34898
35040
|
readonly required: readonly ["page"];
|
|
34899
35041
|
};
|
|
34900
35042
|
};
|
|
34901
|
-
readonly fuzzy: {
|
|
34902
|
-
readonly type: "boolean";
|
|
34903
|
-
readonly default: false;
|
|
34904
|
-
};
|
|
34905
35043
|
};
|
|
34906
35044
|
readonly additionalProperties: false;
|
|
34907
35045
|
};
|
|
@@ -37225,9 +37363,7 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
37225
37363
|
readonly type: "object";
|
|
37226
37364
|
readonly properties: {
|
|
37227
37365
|
readonly includeInDevelopment: {
|
|
37228
|
-
readonly type: "boolean";
|
|
37229
|
-
* @deprecated properties moved to the root of the config
|
|
37230
|
-
*/
|
|
37366
|
+
readonly type: "boolean";
|
|
37231
37367
|
};
|
|
37232
37368
|
readonly trackingId: {
|
|
37233
37369
|
readonly type: "string";
|