@redocly/config 0.40.0 → 0.41.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.
- package/lib/common.d.ts +3 -3
- package/lib/common.js +6 -0
- package/lib/default-theme-config-schema.d.ts +573 -7
- package/lib/default-theme-config-schema.js +2 -1
- package/lib/ex-theme-config-schemas.d.ts +18 -11
- package/lib/ex-theme-config-schemas.js +1 -9
- package/lib/product-override-schema.d.ts +18 -0
- package/lib/root-config-schema.d.ts +3854 -1003
- package/lib/root-config-schema.js +24 -2
- package/lib/scorecards-config-schema.d.ts +1079 -0
- package/lib/scorecards-config-schema.js +240 -0
- package/lib/types/api-functions-types.d.ts +12 -13
- package/lib/types/config-types.d.ts +5 -2
- package/lib/types/portal-shared-types.d.ts +1 -1
- package/lib-esm/common.d.ts +3 -3
- package/lib-esm/common.js +6 -0
- package/lib-esm/default-theme-config-schema.d.ts +573 -7
- package/lib-esm/default-theme-config-schema.js +2 -1
- package/lib-esm/ex-theme-config-schemas.d.ts +18 -11
- package/lib-esm/ex-theme-config-schemas.js +0 -8
- package/lib-esm/product-override-schema.d.ts +18 -0
- package/lib-esm/root-config-schema.d.ts +3854 -1003
- package/lib-esm/root-config-schema.js +24 -2
- package/lib-esm/scorecards-config-schema.d.ts +1079 -0
- package/lib-esm/scorecards-config-schema.js +237 -0
- package/lib-esm/types/api-functions-types.d.ts +12 -13
- package/lib-esm/types/config-types.d.ts +5 -2
- package/lib-esm/types/portal-shared-types.d.ts +1 -1
- package/package.json +2 -2
|
@@ -5,6 +5,7 @@ const graphql_config_schema_1 = require("./graphql-config-schema");
|
|
|
5
5
|
const feedback_config_schema_1 = require("./feedback-config-schema");
|
|
6
6
|
const ex_theme_config_schemas_1 = require("./ex-theme-config-schemas");
|
|
7
7
|
const entities_catalog_config_schema_1 = require("./entities-catalog-config-schema");
|
|
8
|
+
const scorecards_config_schema_1 = require("./scorecards-config-schema");
|
|
8
9
|
exports.themeConfigSchema = {
|
|
9
10
|
type: 'object',
|
|
10
11
|
properties: {
|
|
@@ -45,7 +46,7 @@ exports.themeConfigSchema = {
|
|
|
45
46
|
* @deprecated Should use `scorecardClassic` instead
|
|
46
47
|
*/
|
|
47
48
|
scorecard: ex_theme_config_schemas_1.scorecardConfigSchema,
|
|
48
|
-
scorecards:
|
|
49
|
+
scorecards: scorecards_config_schema_1.scorecardsConfigSchema,
|
|
49
50
|
scorecardClassic: ex_theme_config_schemas_1.scorecardConfigSchema,
|
|
50
51
|
},
|
|
51
52
|
additionalProperties: true,
|
|
@@ -4269,6 +4269,10 @@ export declare const scorecardConfigSchema: {
|
|
|
4269
4269
|
readonly type: "object";
|
|
4270
4270
|
readonly additionalProperties: true;
|
|
4271
4271
|
};
|
|
4272
|
+
readonly openrpc1Decorators: {
|
|
4273
|
+
readonly type: "object";
|
|
4274
|
+
readonly additionalProperties: true;
|
|
4275
|
+
};
|
|
4272
4276
|
readonly preprocessors: {
|
|
4273
4277
|
readonly type: "object";
|
|
4274
4278
|
readonly additionalProperties: true;
|
|
@@ -4305,6 +4309,10 @@ export declare const scorecardConfigSchema: {
|
|
|
4305
4309
|
readonly type: "object";
|
|
4306
4310
|
readonly additionalProperties: true;
|
|
4307
4311
|
};
|
|
4312
|
+
readonly openrpc1Preprocessors: {
|
|
4313
|
+
readonly type: "object";
|
|
4314
|
+
readonly additionalProperties: true;
|
|
4315
|
+
};
|
|
4308
4316
|
readonly rules: {
|
|
4309
4317
|
readonly type: "object";
|
|
4310
4318
|
readonly additionalProperties: {
|
|
@@ -4395,6 +4403,16 @@ export declare const scorecardConfigSchema: {
|
|
|
4395
4403
|
}];
|
|
4396
4404
|
};
|
|
4397
4405
|
};
|
|
4406
|
+
readonly openrpc1Rules: {
|
|
4407
|
+
readonly type: "object";
|
|
4408
|
+
readonly additionalProperties: {
|
|
4409
|
+
readonly oneOf: readonly [{
|
|
4410
|
+
readonly type: "string";
|
|
4411
|
+
}, {
|
|
4412
|
+
readonly type: "object";
|
|
4413
|
+
}];
|
|
4414
|
+
};
|
|
4415
|
+
};
|
|
4398
4416
|
readonly name: {
|
|
4399
4417
|
readonly type: "string";
|
|
4400
4418
|
};
|
|
@@ -4453,14 +4471,3 @@ export declare const scorecardConfigSchema: {
|
|
|
4453
4471
|
};
|
|
4454
4472
|
};
|
|
4455
4473
|
};
|
|
4456
|
-
export declare const scorecardsConfigSchema: {
|
|
4457
|
-
readonly type: "object";
|
|
4458
|
-
readonly additionalProperties: true;
|
|
4459
|
-
readonly required: readonly [];
|
|
4460
|
-
readonly properties: {
|
|
4461
|
-
readonly test: {
|
|
4462
|
-
readonly type: "boolean";
|
|
4463
|
-
readonly default: true;
|
|
4464
|
-
};
|
|
4465
|
-
};
|
|
4466
|
-
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
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.aiAssistantSchema = exports.searchConfigSchema = exports.linksConfigSchema = exports.scriptsConfigSchema = exports.sidebarConfigSchema = exports.footerConfigSchema = exports.productsConfigSchema = exports.navbarConfigSchema = exports.logoConfigSchema = exports.searchFiltersConfigSchema = exports.searchFacetsConfigSchema = exports.aiSearchConfigSchema = 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 common_1 = require("./common");
|
|
@@ -658,12 +658,4 @@ exports.scorecardConfigSchema = {
|
|
|
658
658
|
fromProjectUrl: { type: 'string', format: 'uri' },
|
|
659
659
|
},
|
|
660
660
|
};
|
|
661
|
-
exports.scorecardsConfigSchema = {
|
|
662
|
-
type: 'object',
|
|
663
|
-
additionalProperties: true,
|
|
664
|
-
required: [],
|
|
665
|
-
properties: {
|
|
666
|
-
test: { type: 'boolean', default: true },
|
|
667
|
-
},
|
|
668
|
-
};
|
|
669
661
|
//# sourceMappingURL=ex-theme-config-schemas.js.map
|
|
@@ -2801,6 +2801,10 @@ export declare const productConfigOverrideSchema: {
|
|
|
2801
2801
|
readonly type: "object";
|
|
2802
2802
|
readonly additionalProperties: true;
|
|
2803
2803
|
};
|
|
2804
|
+
readonly openrpc1Decorators: {
|
|
2805
|
+
readonly type: "object";
|
|
2806
|
+
readonly additionalProperties: true;
|
|
2807
|
+
};
|
|
2804
2808
|
readonly preprocessors: {
|
|
2805
2809
|
readonly type: "object";
|
|
2806
2810
|
readonly additionalProperties: true;
|
|
@@ -2837,6 +2841,10 @@ export declare const productConfigOverrideSchema: {
|
|
|
2837
2841
|
readonly type: "object";
|
|
2838
2842
|
readonly additionalProperties: true;
|
|
2839
2843
|
};
|
|
2844
|
+
readonly openrpc1Preprocessors: {
|
|
2845
|
+
readonly type: "object";
|
|
2846
|
+
readonly additionalProperties: true;
|
|
2847
|
+
};
|
|
2840
2848
|
readonly rules: {
|
|
2841
2849
|
readonly type: "object";
|
|
2842
2850
|
readonly additionalProperties: {
|
|
@@ -2927,6 +2935,16 @@ export declare const productConfigOverrideSchema: {
|
|
|
2927
2935
|
}];
|
|
2928
2936
|
};
|
|
2929
2937
|
};
|
|
2938
|
+
readonly openrpc1Rules: {
|
|
2939
|
+
readonly type: "object";
|
|
2940
|
+
readonly additionalProperties: {
|
|
2941
|
+
readonly oneOf: readonly [{
|
|
2942
|
+
readonly type: "string";
|
|
2943
|
+
}, {
|
|
2944
|
+
readonly type: "object";
|
|
2945
|
+
}];
|
|
2946
|
+
};
|
|
2947
|
+
};
|
|
2930
2948
|
readonly root: {
|
|
2931
2949
|
readonly type: "string";
|
|
2932
2950
|
};
|