@redocly/config 0.12.1 → 0.14.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 +6 -14
- package/lib/ex-theme-config-schemas.d.ts +3 -0
- package/lib/ex-theme-config-schemas.js +2 -0
- package/lib/graphql-config-schema.d.ts +0 -4
- package/lib/graphql-config-schema.js +0 -4
- package/lib/product-override-schema.d.ts +9 -8
- package/lib/remove-property-recursively.js +1 -2
- package/lib/root-config-schema.d.ts +80 -148
- package/lib/root-config-schema.js +2 -2
- package/lib-esm/default-theme-config-schema.d.ts +6 -14
- package/lib-esm/ex-theme-config-schemas.d.ts +3 -0
- package/lib-esm/ex-theme-config-schemas.js +2 -0
- package/lib-esm/graphql-config-schema.d.ts +0 -4
- package/lib-esm/graphql-config-schema.js +0 -4
- package/lib-esm/product-override-schema.d.ts +9 -8
- package/lib-esm/root-config-schema.d.ts +80 -148
- package/lib-esm/root-config-schema.js +2 -2
- package/package.json +3 -3
|
@@ -701,6 +701,9 @@ export declare const themeConfigSchema: {
|
|
|
701
701
|
readonly enum: readonly ["flexsearch", "typesense"];
|
|
702
702
|
readonly default: "flexsearch";
|
|
703
703
|
};
|
|
704
|
+
readonly askAi: {
|
|
705
|
+
readonly type: "boolean";
|
|
706
|
+
};
|
|
704
707
|
readonly facets: {
|
|
705
708
|
readonly type: "array";
|
|
706
709
|
readonly items: {
|
|
@@ -2098,9 +2101,6 @@ export declare const themeConfigSchema: {
|
|
|
2098
2101
|
readonly type: "string";
|
|
2099
2102
|
};
|
|
2100
2103
|
readonly enumSingleValue: {
|
|
2101
|
-
/**
|
|
2102
|
-
* @deprecated Should use `plugins` instead
|
|
2103
|
-
*/
|
|
2104
2104
|
readonly type: "string";
|
|
2105
2105
|
};
|
|
2106
2106
|
readonly enumArray: {
|
|
@@ -2625,10 +2625,6 @@ export declare const themeConfigSchema: {
|
|
|
2625
2625
|
readonly graphql: {
|
|
2626
2626
|
readonly type: "object";
|
|
2627
2627
|
readonly properties: {
|
|
2628
|
-
readonly pagination: {
|
|
2629
|
-
readonly type: "string";
|
|
2630
|
-
readonly enum: readonly ["none", "section", "item"];
|
|
2631
|
-
};
|
|
2632
2628
|
readonly hidePaginationButtons: {
|
|
2633
2629
|
readonly type: "boolean";
|
|
2634
2630
|
};
|
|
@@ -4267,6 +4263,9 @@ export declare const closedThemeConfigSchema: {
|
|
|
4267
4263
|
readonly enum: readonly ["flexsearch", "typesense"];
|
|
4268
4264
|
readonly default: "flexsearch";
|
|
4269
4265
|
};
|
|
4266
|
+
readonly askAi: {
|
|
4267
|
+
readonly type: "boolean";
|
|
4268
|
+
};
|
|
4270
4269
|
readonly facets: {
|
|
4271
4270
|
readonly type: "array";
|
|
4272
4271
|
readonly items: {
|
|
@@ -5664,9 +5663,6 @@ export declare const closedThemeConfigSchema: {
|
|
|
5664
5663
|
readonly type: "string";
|
|
5665
5664
|
};
|
|
5666
5665
|
readonly enumSingleValue: {
|
|
5667
|
-
/**
|
|
5668
|
-
* @deprecated Should use `plugins` instead
|
|
5669
|
-
*/
|
|
5670
5666
|
readonly type: "string";
|
|
5671
5667
|
};
|
|
5672
5668
|
readonly enumArray: {
|
|
@@ -6191,10 +6187,6 @@ export declare const closedThemeConfigSchema: {
|
|
|
6191
6187
|
readonly graphql: {
|
|
6192
6188
|
readonly type: "object";
|
|
6193
6189
|
readonly properties: {
|
|
6194
|
-
readonly pagination: {
|
|
6195
|
-
readonly type: "string";
|
|
6196
|
-
readonly enum: readonly ["none", "section", "item"];
|
|
6197
|
-
};
|
|
6198
6190
|
readonly hidePaginationButtons: {
|
|
6199
6191
|
readonly type: "boolean";
|
|
6200
6192
|
};
|
|
@@ -801,6 +801,9 @@ export declare const searchConfigSchema: {
|
|
|
801
801
|
readonly enum: readonly ["flexsearch", "typesense"];
|
|
802
802
|
readonly default: "flexsearch";
|
|
803
803
|
};
|
|
804
|
+
readonly askAi: {
|
|
805
|
+
readonly type: "boolean";
|
|
806
|
+
};
|
|
804
807
|
readonly facets: {
|
|
805
808
|
readonly type: "array";
|
|
806
809
|
readonly items: {
|
|
@@ -179,6 +179,8 @@ exports.searchConfigSchema = {
|
|
|
179
179
|
type: 'string',
|
|
180
180
|
enum: ['flexsearch', 'typesense'],
|
|
181
181
|
default: 'flexsearch',
|
|
182
|
+
}, askAi: {
|
|
183
|
+
type: 'boolean',
|
|
182
184
|
}, facets: exports.searchFacetsConfigSchema, placement: {
|
|
183
185
|
type: 'string',
|
|
184
186
|
default: 'navbar',
|
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
export declare const graphqlConfigSchema: {
|
|
2
2
|
readonly type: "object";
|
|
3
3
|
readonly properties: {
|
|
4
|
-
readonly pagination: {
|
|
5
|
-
readonly type: "string";
|
|
6
|
-
readonly enum: readonly ["none", "section", "item"];
|
|
7
|
-
};
|
|
8
4
|
readonly hidePaginationButtons: {
|
|
9
5
|
readonly type: "boolean";
|
|
10
6
|
};
|
|
@@ -426,6 +426,9 @@ export declare const productThemeOverrideSchema: {
|
|
|
426
426
|
readonly enum: readonly ["flexsearch", "typesense"];
|
|
427
427
|
readonly default: "flexsearch";
|
|
428
428
|
};
|
|
429
|
+
readonly askAi: {
|
|
430
|
+
readonly type: "boolean";
|
|
431
|
+
};
|
|
429
432
|
readonly facets: {
|
|
430
433
|
readonly type: "array";
|
|
431
434
|
readonly items: {
|
|
@@ -4080,10 +4083,6 @@ export declare const productConfigOverrideSchema: {
|
|
|
4080
4083
|
readonly graphql: {
|
|
4081
4084
|
readonly type: "object";
|
|
4082
4085
|
readonly properties: {
|
|
4083
|
-
readonly pagination: {
|
|
4084
|
-
readonly type: "string";
|
|
4085
|
-
readonly enum: readonly ["none", "section", "item"];
|
|
4086
|
-
};
|
|
4087
4086
|
readonly hidePaginationButtons: {
|
|
4088
4087
|
readonly type: "boolean";
|
|
4089
4088
|
};
|
|
@@ -6041,10 +6040,6 @@ export declare const productConfigOverrideSchema: {
|
|
|
6041
6040
|
readonly graphql: {
|
|
6042
6041
|
readonly type: "object";
|
|
6043
6042
|
readonly properties: {
|
|
6044
|
-
readonly pagination: {
|
|
6045
|
-
readonly type: "string";
|
|
6046
|
-
readonly enum: readonly ["none", "section", "item"];
|
|
6047
|
-
};
|
|
6048
6043
|
readonly hidePaginationButtons: {
|
|
6049
6044
|
readonly type: "boolean";
|
|
6050
6045
|
};
|
|
@@ -6787,6 +6782,9 @@ export declare const productConfigOverrideSchema: {
|
|
|
6787
6782
|
readonly enum: readonly ["flexsearch", "typesense"];
|
|
6788
6783
|
readonly default: "flexsearch";
|
|
6789
6784
|
};
|
|
6785
|
+
readonly askAi: {
|
|
6786
|
+
readonly type: "boolean";
|
|
6787
|
+
};
|
|
6790
6788
|
readonly facets: {
|
|
6791
6789
|
readonly type: "array";
|
|
6792
6790
|
readonly items: {
|
|
@@ -9171,6 +9169,9 @@ export declare const productConfigOverrideSchema: {
|
|
|
9171
9169
|
readonly enum: readonly ["flexsearch", "typesense"];
|
|
9172
9170
|
readonly default: "flexsearch";
|
|
9173
9171
|
};
|
|
9172
|
+
readonly askAi: {
|
|
9173
|
+
readonly type: "boolean";
|
|
9174
|
+
};
|
|
9174
9175
|
readonly facets: {
|
|
9175
9176
|
readonly type: "array";
|
|
9176
9177
|
readonly items: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.removePropertyRecursively =
|
|
3
|
+
exports.removePropertyRecursively = removePropertyRecursively;
|
|
4
4
|
function removePropertyRecursively(object, propToRemove) {
|
|
5
5
|
return Object.fromEntries(Object.entries(object)
|
|
6
6
|
.map(([key, value]) => {
|
|
@@ -22,5 +22,4 @@ function removePropertyRecursively(object, propToRemove) {
|
|
|
22
22
|
})
|
|
23
23
|
.filter(Boolean));
|
|
24
24
|
}
|
|
25
|
-
exports.removePropertyRecursively = removePropertyRecursively;
|
|
26
25
|
//# sourceMappingURL=remove-property-recursively.js.map
|