@redocly/config 0.12.0 → 0.13.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 +0 -14
- package/lib/graphql-config-schema.d.ts +0 -4
- package/lib/graphql-config-schema.js +0 -4
- package/lib/product-override-schema.d.ts +0 -8
- package/lib/remove-property-recursively.js +1 -2
- package/lib/root-config-schema.d.ts +93 -148
- package/lib/root-config-schema.js +10 -2
- package/lib-esm/default-theme-config-schema.d.ts +0 -14
- 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 +0 -8
- package/lib-esm/root-config-schema.d.ts +93 -148
- package/lib-esm/root-config-schema.js +10 -2
- package/package.json +3 -3
|
@@ -2098,9 +2098,6 @@ export declare const themeConfigSchema: {
|
|
|
2098
2098
|
readonly type: "string";
|
|
2099
2099
|
};
|
|
2100
2100
|
readonly enumSingleValue: {
|
|
2101
|
-
/**
|
|
2102
|
-
* @deprecated Should use `plugins` instead
|
|
2103
|
-
*/
|
|
2104
2101
|
readonly type: "string";
|
|
2105
2102
|
};
|
|
2106
2103
|
readonly enumArray: {
|
|
@@ -2625,10 +2622,6 @@ export declare const themeConfigSchema: {
|
|
|
2625
2622
|
readonly graphql: {
|
|
2626
2623
|
readonly type: "object";
|
|
2627
2624
|
readonly properties: {
|
|
2628
|
-
readonly pagination: {
|
|
2629
|
-
readonly type: "string";
|
|
2630
|
-
readonly enum: readonly ["none", "section", "item"];
|
|
2631
|
-
};
|
|
2632
2625
|
readonly hidePaginationButtons: {
|
|
2633
2626
|
readonly type: "boolean";
|
|
2634
2627
|
};
|
|
@@ -5664,9 +5657,6 @@ export declare const closedThemeConfigSchema: {
|
|
|
5664
5657
|
readonly type: "string";
|
|
5665
5658
|
};
|
|
5666
5659
|
readonly enumSingleValue: {
|
|
5667
|
-
/**
|
|
5668
|
-
* @deprecated Should use `plugins` instead
|
|
5669
|
-
*/
|
|
5670
5660
|
readonly type: "string";
|
|
5671
5661
|
};
|
|
5672
5662
|
readonly enumArray: {
|
|
@@ -6191,10 +6181,6 @@ export declare const closedThemeConfigSchema: {
|
|
|
6191
6181
|
readonly graphql: {
|
|
6192
6182
|
readonly type: "object";
|
|
6193
6183
|
readonly properties: {
|
|
6194
|
-
readonly pagination: {
|
|
6195
|
-
readonly type: "string";
|
|
6196
|
-
readonly enum: readonly ["none", "section", "item"];
|
|
6197
|
-
};
|
|
6198
6184
|
readonly hidePaginationButtons: {
|
|
6199
6185
|
readonly type: "boolean";
|
|
6200
6186
|
};
|
|
@@ -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
|
};
|
|
@@ -4080,10 +4080,6 @@ export declare const productConfigOverrideSchema: {
|
|
|
4080
4080
|
readonly graphql: {
|
|
4081
4081
|
readonly type: "object";
|
|
4082
4082
|
readonly properties: {
|
|
4083
|
-
readonly pagination: {
|
|
4084
|
-
readonly type: "string";
|
|
4085
|
-
readonly enum: readonly ["none", "section", "item"];
|
|
4086
|
-
};
|
|
4087
4083
|
readonly hidePaginationButtons: {
|
|
4088
4084
|
readonly type: "boolean";
|
|
4089
4085
|
};
|
|
@@ -6041,10 +6037,6 @@ export declare const productConfigOverrideSchema: {
|
|
|
6041
6037
|
readonly graphql: {
|
|
6042
6038
|
readonly type: "object";
|
|
6043
6039
|
readonly properties: {
|
|
6044
|
-
readonly pagination: {
|
|
6045
|
-
readonly type: "string";
|
|
6046
|
-
readonly enum: readonly ["none", "section", "item"];
|
|
6047
|
-
};
|
|
6048
6040
|
readonly hidePaginationButtons: {
|
|
6049
6041
|
readonly type: "boolean";
|
|
6050
6042
|
};
|
|
@@ -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
|