@redocly/config 0.32.0 → 0.34.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/constants.d.ts +1 -0
- package/lib/constants.js +28 -1
- package/lib/default-theme-config-schema.d.ts +14 -1
- package/lib/entities-catalog-entity-file-schema.d.ts +964 -0
- package/lib/entities-catalog-entity-file-schema.js +273 -0
- package/lib/ex-theme-config-schemas.d.ts +4 -1
- package/lib/ex-theme-config-schemas.js +1 -1
- package/lib/graphql-config-schema.d.ts +10 -0
- package/lib/graphql-config-schema.js +7 -0
- package/lib/index.d.ts +2 -1
- package/lib/index.js +3 -1
- package/lib/product-override-schema.d.ts +35 -0
- package/lib/redoc-config-schema.d.ts +3 -0
- package/lib/redoc-config-schema.js +1 -0
- package/lib/reunite-config-schema.d.ts +1 -1
- package/lib/reunite-config-schema.js +1 -1
- package/lib/root-config-schema.d.ts +3250 -4438
- package/lib/types/catalog-entity-types.d.ts +38 -0
- package/lib-esm/constants.d.ts +1 -0
- package/lib-esm/constants.js +27 -0
- package/lib-esm/default-theme-config-schema.d.ts +14 -1
- package/lib-esm/entities-catalog-entity-file-schema.d.ts +964 -0
- package/lib-esm/entities-catalog-entity-file-schema.js +270 -0
- package/lib-esm/ex-theme-config-schemas.d.ts +4 -1
- package/lib-esm/ex-theme-config-schemas.js +1 -1
- package/lib-esm/graphql-config-schema.d.ts +10 -0
- package/lib-esm/graphql-config-schema.js +7 -0
- package/lib-esm/index.d.ts +2 -1
- package/lib-esm/index.js +2 -1
- package/lib-esm/product-override-schema.d.ts +35 -0
- package/lib-esm/redoc-config-schema.d.ts +3 -0
- package/lib-esm/redoc-config-schema.js +1 -0
- package/lib-esm/reunite-config-schema.d.ts +1 -1
- package/lib-esm/reunite-config-schema.js +1 -1
- package/lib-esm/root-config-schema.d.ts +3250 -4438
- package/lib-esm/types/catalog-entity-types.d.ts +38 -0
- package/package.json +1 -1
package/lib/constants.d.ts
CHANGED
|
@@ -13,3 +13,4 @@ export declare enum LayoutVariant {
|
|
|
13
13
|
STACKED = "stacked",
|
|
14
14
|
THREE_PANEL = "three-panel"
|
|
15
15
|
}
|
|
16
|
+
export declare const ENTITY_RELATION_TYPES: readonly ["partOf", "hasParts", "creates", "createdBy", "owns", "ownedBy", "implements", "implementedBy", "dependsOn", "dependencyOf", "uses", "usedBy", "produces", "consumes", "linksTo", "supersedes", "supersededBy", "compatibleWith", "extends", "extendedBy", "relatesTo", "hasMember", "memberOf", "triggers", "triggeredBy"];
|
package/lib/constants.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.LayoutVariant = exports.REDOCLY_ROUTE_RBAC = exports.REDOCLY_TEAMS_RBAC = exports.ApigeeDevOnboardingIntegrationAuthType = exports.AuthProviderType = exports.DEFAULT_TEAM_CLAIM_NAME = void 0;
|
|
3
|
+
exports.ENTITY_RELATION_TYPES = exports.LayoutVariant = exports.REDOCLY_ROUTE_RBAC = exports.REDOCLY_TEAMS_RBAC = exports.ApigeeDevOnboardingIntegrationAuthType = exports.AuthProviderType = exports.DEFAULT_TEAM_CLAIM_NAME = void 0;
|
|
4
4
|
exports.DEFAULT_TEAM_CLAIM_NAME = 'https://redocly.com/sso/teams';
|
|
5
5
|
var AuthProviderType;
|
|
6
6
|
(function (AuthProviderType) {
|
|
@@ -19,4 +19,31 @@ var LayoutVariant;
|
|
|
19
19
|
LayoutVariant["STACKED"] = "stacked";
|
|
20
20
|
LayoutVariant["THREE_PANEL"] = "three-panel";
|
|
21
21
|
})(LayoutVariant || (exports.LayoutVariant = LayoutVariant = {}));
|
|
22
|
+
exports.ENTITY_RELATION_TYPES = [
|
|
23
|
+
'partOf',
|
|
24
|
+
'hasParts',
|
|
25
|
+
'creates',
|
|
26
|
+
'createdBy',
|
|
27
|
+
'owns',
|
|
28
|
+
'ownedBy',
|
|
29
|
+
'implements',
|
|
30
|
+
'implementedBy',
|
|
31
|
+
'dependsOn',
|
|
32
|
+
'dependencyOf',
|
|
33
|
+
'uses',
|
|
34
|
+
'usedBy',
|
|
35
|
+
'produces',
|
|
36
|
+
'consumes',
|
|
37
|
+
'linksTo',
|
|
38
|
+
'supersedes',
|
|
39
|
+
'supersededBy',
|
|
40
|
+
'compatibleWith',
|
|
41
|
+
'extends',
|
|
42
|
+
'extendedBy',
|
|
43
|
+
'relatesTo',
|
|
44
|
+
'hasMember',
|
|
45
|
+
'memberOf',
|
|
46
|
+
'triggers',
|
|
47
|
+
'triggeredBy',
|
|
48
|
+
];
|
|
22
49
|
//# sourceMappingURL=constants.js.map
|
|
@@ -1092,7 +1092,7 @@ export declare const themeConfigSchema: {
|
|
|
1092
1092
|
readonly items: {
|
|
1093
1093
|
readonly type: "string";
|
|
1094
1094
|
};
|
|
1095
|
-
readonly default: readonly ["_partials"];
|
|
1095
|
+
readonly default: readonly ["**/_partials/**"];
|
|
1096
1096
|
};
|
|
1097
1097
|
readonly lastUpdatedBlock: {
|
|
1098
1098
|
readonly type: "object";
|
|
@@ -2948,6 +2948,9 @@ export declare const themeConfigSchema: {
|
|
|
2948
2948
|
readonly excludeFromSearch: {
|
|
2949
2949
|
readonly type: "boolean";
|
|
2950
2950
|
};
|
|
2951
|
+
readonly showSchemaCatalogLinks: {
|
|
2952
|
+
readonly type: "boolean";
|
|
2953
|
+
};
|
|
2951
2954
|
};
|
|
2952
2955
|
readonly type: "object";
|
|
2953
2956
|
readonly additionalProperties: false;
|
|
@@ -3389,6 +3392,16 @@ export declare const themeConfigSchema: {
|
|
|
3389
3392
|
};
|
|
3390
3393
|
readonly additionalProperties: false;
|
|
3391
3394
|
};
|
|
3395
|
+
readonly layout: {
|
|
3396
|
+
readonly type: "string";
|
|
3397
|
+
readonly enum: readonly ["stacked", "three-panel"];
|
|
3398
|
+
};
|
|
3399
|
+
readonly showBuiltInScalars: {
|
|
3400
|
+
readonly type: "boolean";
|
|
3401
|
+
};
|
|
3402
|
+
readonly showBuiltInDirectives: {
|
|
3403
|
+
readonly type: "boolean";
|
|
3404
|
+
};
|
|
3392
3405
|
};
|
|
3393
3406
|
readonly additionalProperties: false;
|
|
3394
3407
|
};
|