@redocly/config 0.17.0 → 0.18.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 +36 -4
- package/lib/ex-theme-config-schemas.d.ts +31 -2
- package/lib/ex-theme-config-schemas.js +19 -4
- package/lib/product-override-schema.d.ts +36 -6
- package/lib/root-config-schema.d.ts +110 -16
- package/lib/root-config-schema.js +3 -3
- package/lib/types.d.ts +2 -2
- package/lib-esm/default-theme-config-schema.d.ts +36 -4
- package/lib-esm/ex-theme-config-schemas.d.ts +31 -2
- package/lib-esm/ex-theme-config-schemas.js +18 -3
- package/lib-esm/product-override-schema.d.ts +36 -6
- package/lib-esm/root-config-schema.d.ts +280 -186
- package/lib-esm/root-config-schema.js +2 -2
- package/lib-esm/types.d.ts +2 -2
- package/package.json +1 -1
|
@@ -77,6 +77,19 @@ export const productConfigSchema = {
|
|
|
77
77
|
additionalProperties: false,
|
|
78
78
|
required: ['name', 'folder'],
|
|
79
79
|
};
|
|
80
|
+
export const aiSearchConfigSchema = {
|
|
81
|
+
type: 'object',
|
|
82
|
+
properties: {
|
|
83
|
+
hide: {
|
|
84
|
+
type: 'boolean',
|
|
85
|
+
default: false,
|
|
86
|
+
},
|
|
87
|
+
prompt: {
|
|
88
|
+
type: 'string',
|
|
89
|
+
},
|
|
90
|
+
},
|
|
91
|
+
additionalProperties: false,
|
|
92
|
+
};
|
|
80
93
|
export const searchFacetsConfigSchema = {
|
|
81
94
|
type: 'array',
|
|
82
95
|
items: {
|
|
@@ -176,9 +189,7 @@ export const searchConfigSchema = {
|
|
|
176
189
|
type: 'string',
|
|
177
190
|
enum: ['flexsearch', 'typesense'],
|
|
178
191
|
default: 'flexsearch',
|
|
179
|
-
},
|
|
180
|
-
type: 'boolean',
|
|
181
|
-
}, facets: searchFacetsConfigSchema, placement: {
|
|
192
|
+
}, ai: aiSearchConfigSchema, facets: searchFacetsConfigSchema, placement: {
|
|
182
193
|
type: 'string',
|
|
183
194
|
default: 'navbar',
|
|
184
195
|
}, shortcuts: {
|
|
@@ -572,6 +583,10 @@ export const scorecardConfigSchema = {
|
|
|
572
583
|
additionalProperties: false,
|
|
573
584
|
},
|
|
574
585
|
},
|
|
586
|
+
ignore: {
|
|
587
|
+
type: 'array',
|
|
588
|
+
items: { type: 'string' },
|
|
589
|
+
},
|
|
575
590
|
},
|
|
576
591
|
};
|
|
577
592
|
//# sourceMappingURL=ex-theme-config-schemas.js.map
|
|
@@ -426,8 +426,18 @@ export declare const productThemeOverrideSchema: {
|
|
|
426
426
|
readonly enum: readonly ["flexsearch", "typesense"];
|
|
427
427
|
readonly default: "flexsearch";
|
|
428
428
|
};
|
|
429
|
-
readonly
|
|
430
|
-
readonly type: "
|
|
429
|
+
readonly ai: {
|
|
430
|
+
readonly type: "object";
|
|
431
|
+
readonly properties: {
|
|
432
|
+
readonly hide: {
|
|
433
|
+
readonly type: "boolean";
|
|
434
|
+
readonly default: false;
|
|
435
|
+
};
|
|
436
|
+
readonly prompt: {
|
|
437
|
+
readonly type: "string";
|
|
438
|
+
};
|
|
439
|
+
};
|
|
440
|
+
readonly additionalProperties: false;
|
|
431
441
|
};
|
|
432
442
|
readonly facets: {
|
|
433
443
|
readonly type: "array";
|
|
@@ -7502,8 +7512,18 @@ export declare const productConfigOverrideSchema: {
|
|
|
7502
7512
|
readonly enum: readonly ["flexsearch", "typesense"];
|
|
7503
7513
|
readonly default: "flexsearch";
|
|
7504
7514
|
};
|
|
7505
|
-
readonly
|
|
7506
|
-
readonly type: "
|
|
7515
|
+
readonly ai: {
|
|
7516
|
+
readonly type: "object";
|
|
7517
|
+
readonly properties: {
|
|
7518
|
+
readonly hide: {
|
|
7519
|
+
readonly type: "boolean";
|
|
7520
|
+
readonly default: false;
|
|
7521
|
+
};
|
|
7522
|
+
readonly prompt: {
|
|
7523
|
+
readonly type: "string";
|
|
7524
|
+
};
|
|
7525
|
+
};
|
|
7526
|
+
readonly additionalProperties: false;
|
|
7507
7527
|
};
|
|
7508
7528
|
readonly facets: {
|
|
7509
7529
|
readonly type: "array";
|
|
@@ -10129,8 +10149,18 @@ export declare const productConfigOverrideSchema: {
|
|
|
10129
10149
|
readonly enum: readonly ["flexsearch", "typesense"];
|
|
10130
10150
|
readonly default: "flexsearch";
|
|
10131
10151
|
};
|
|
10132
|
-
readonly
|
|
10133
|
-
readonly type: "
|
|
10152
|
+
readonly ai: {
|
|
10153
|
+
readonly type: "object";
|
|
10154
|
+
readonly properties: {
|
|
10155
|
+
readonly hide: {
|
|
10156
|
+
readonly type: "boolean";
|
|
10157
|
+
readonly default: false;
|
|
10158
|
+
};
|
|
10159
|
+
readonly prompt: {
|
|
10160
|
+
readonly type: "string";
|
|
10161
|
+
};
|
|
10162
|
+
};
|
|
10163
|
+
readonly additionalProperties: false;
|
|
10134
10164
|
};
|
|
10135
10165
|
readonly facets: {
|
|
10136
10166
|
readonly type: "array";
|