@redocly/config 0.26.1 → 0.26.3-rc.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 +160 -0
- package/lib/common.js +40 -0
- package/lib/default-theme-config-schema.d.ts +657 -4260
- package/lib/default-theme-config-schema.js +3 -2
- package/lib/entities-catalog-config-schema.d.ts +718 -0
- package/lib/entities-catalog-config-schema.js +84 -0
- package/lib/ex-theme-config-schemas.d.ts +147 -12
- package/lib/ex-theme-config-schemas.js +4 -12
- package/lib/graphql-config-schema.d.ts +9 -0
- package/lib/graphql-config-schema.js +9 -0
- package/lib/product-override-schema.d.ts +168 -24
- package/lib/root-config-schema.d.ts +30277 -25599
- package/lib/root-config-schema.js +12 -73
- package/lib/types/catalog-entity-types.d.ts +29 -0
- package/lib/types/catalog-entity-types.js +3 -0
- package/lib/types/code-walkthrough-types.d.ts +0 -1
- package/lib/types/config-types.d.ts +2 -0
- package/lib/types/index.d.ts +1 -0
- package/lib/types/index.js +1 -0
- package/lib/types/portal-shared-types.d.ts +12 -1
- package/lib-esm/common.d.ts +160 -0
- package/lib-esm/common.js +37 -0
- package/lib-esm/default-theme-config-schema.d.ts +657 -4260
- package/lib-esm/default-theme-config-schema.js +2 -1
- package/lib-esm/entities-catalog-config-schema.d.ts +718 -0
- package/lib-esm/entities-catalog-config-schema.js +81 -0
- package/lib-esm/ex-theme-config-schemas.d.ts +147 -12
- package/lib-esm/ex-theme-config-schemas.js +4 -12
- package/lib-esm/graphql-config-schema.d.ts +9 -0
- package/lib-esm/graphql-config-schema.js +9 -0
- package/lib-esm/product-override-schema.d.ts +168 -24
- package/lib-esm/root-config-schema.d.ts +37428 -32290
- package/lib-esm/root-config-schema.js +12 -73
- package/lib-esm/types/catalog-entity-types.d.ts +29 -0
- package/lib-esm/types/catalog-entity-types.js +2 -0
- package/lib-esm/types/code-walkthrough-types.d.ts +0 -1
- package/lib-esm/types/config-types.d.ts +2 -0
- package/lib-esm/types/index.d.ts +1 -0
- package/lib-esm/types/index.js +1 -0
- package/lib-esm/types/portal-shared-types.d.ts +12 -1
- package/package.json +2 -2
package/lib/common.d.ts
ADDED
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
export declare const rulesSchema: {
|
|
2
|
+
readonly type: "object";
|
|
3
|
+
readonly additionalProperties: {
|
|
4
|
+
readonly oneOf: readonly [{
|
|
5
|
+
readonly type: "string";
|
|
6
|
+
}, {
|
|
7
|
+
readonly type: "object";
|
|
8
|
+
}];
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
export declare const ruleSchemas: {
|
|
12
|
+
readonly rules: {
|
|
13
|
+
readonly type: "object";
|
|
14
|
+
readonly additionalProperties: {
|
|
15
|
+
readonly oneOf: readonly [{
|
|
16
|
+
readonly type: "string";
|
|
17
|
+
}, {
|
|
18
|
+
readonly type: "object";
|
|
19
|
+
}];
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
readonly oas2Rules: {
|
|
23
|
+
readonly type: "object";
|
|
24
|
+
readonly additionalProperties: {
|
|
25
|
+
readonly oneOf: readonly [{
|
|
26
|
+
readonly type: "string";
|
|
27
|
+
}, {
|
|
28
|
+
readonly type: "object";
|
|
29
|
+
}];
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
readonly oas3_0Rules: {
|
|
33
|
+
readonly type: "object";
|
|
34
|
+
readonly additionalProperties: {
|
|
35
|
+
readonly oneOf: readonly [{
|
|
36
|
+
readonly type: "string";
|
|
37
|
+
}, {
|
|
38
|
+
readonly type: "object";
|
|
39
|
+
}];
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
readonly oas3_1Rules: {
|
|
43
|
+
readonly type: "object";
|
|
44
|
+
readonly additionalProperties: {
|
|
45
|
+
readonly oneOf: readonly [{
|
|
46
|
+
readonly type: "string";
|
|
47
|
+
}, {
|
|
48
|
+
readonly type: "object";
|
|
49
|
+
}];
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
readonly async2Rules: {
|
|
53
|
+
readonly type: "object";
|
|
54
|
+
readonly additionalProperties: {
|
|
55
|
+
readonly oneOf: readonly [{
|
|
56
|
+
readonly type: "string";
|
|
57
|
+
}, {
|
|
58
|
+
readonly type: "object";
|
|
59
|
+
}];
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
readonly async3Rules: {
|
|
63
|
+
readonly type: "object";
|
|
64
|
+
readonly additionalProperties: {
|
|
65
|
+
readonly oneOf: readonly [{
|
|
66
|
+
readonly type: "string";
|
|
67
|
+
}, {
|
|
68
|
+
readonly type: "object";
|
|
69
|
+
}];
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
readonly arazzo1Rules: {
|
|
73
|
+
readonly type: "object";
|
|
74
|
+
readonly additionalProperties: {
|
|
75
|
+
readonly oneOf: readonly [{
|
|
76
|
+
readonly type: "string";
|
|
77
|
+
}, {
|
|
78
|
+
readonly type: "object";
|
|
79
|
+
}];
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
readonly overlay1Rules: {
|
|
83
|
+
readonly type: "object";
|
|
84
|
+
readonly additionalProperties: {
|
|
85
|
+
readonly oneOf: readonly [{
|
|
86
|
+
readonly type: "string";
|
|
87
|
+
}, {
|
|
88
|
+
readonly type: "object";
|
|
89
|
+
}];
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
export declare const preprocessorSchemas: {
|
|
94
|
+
readonly preprocessors: {
|
|
95
|
+
readonly type: "object";
|
|
96
|
+
readonly additionalProperties: true;
|
|
97
|
+
};
|
|
98
|
+
readonly oas2Preprocessors: {
|
|
99
|
+
readonly type: "object";
|
|
100
|
+
readonly additionalProperties: true;
|
|
101
|
+
};
|
|
102
|
+
readonly oas3_0Preprocessors: {
|
|
103
|
+
readonly type: "object";
|
|
104
|
+
readonly additionalProperties: true;
|
|
105
|
+
};
|
|
106
|
+
readonly oas3_1Preprocessors: {
|
|
107
|
+
readonly type: "object";
|
|
108
|
+
readonly additionalProperties: true;
|
|
109
|
+
};
|
|
110
|
+
readonly async2Preprocessors: {
|
|
111
|
+
readonly type: "object";
|
|
112
|
+
readonly additionalProperties: true;
|
|
113
|
+
};
|
|
114
|
+
readonly async3Preprocessors: {
|
|
115
|
+
readonly type: "object";
|
|
116
|
+
readonly additionalProperties: true;
|
|
117
|
+
};
|
|
118
|
+
readonly arazzo1Preprocessors: {
|
|
119
|
+
readonly type: "object";
|
|
120
|
+
readonly additionalProperties: true;
|
|
121
|
+
};
|
|
122
|
+
readonly overlay1Preprocessors: {
|
|
123
|
+
readonly type: "object";
|
|
124
|
+
readonly additionalProperties: true;
|
|
125
|
+
};
|
|
126
|
+
};
|
|
127
|
+
export declare const decoratorsSchemas: {
|
|
128
|
+
readonly decorators: {
|
|
129
|
+
readonly type: "object";
|
|
130
|
+
readonly additionalProperties: true;
|
|
131
|
+
};
|
|
132
|
+
readonly oas2Decorators: {
|
|
133
|
+
readonly type: "object";
|
|
134
|
+
readonly additionalProperties: true;
|
|
135
|
+
};
|
|
136
|
+
readonly oas3_0Decorators: {
|
|
137
|
+
readonly type: "object";
|
|
138
|
+
readonly additionalProperties: true;
|
|
139
|
+
};
|
|
140
|
+
readonly oas3_1Decorators: {
|
|
141
|
+
readonly type: "object";
|
|
142
|
+
readonly additionalProperties: true;
|
|
143
|
+
};
|
|
144
|
+
readonly async2Decorators: {
|
|
145
|
+
readonly type: "object";
|
|
146
|
+
readonly additionalProperties: true;
|
|
147
|
+
};
|
|
148
|
+
readonly async3Decorators: {
|
|
149
|
+
readonly type: "object";
|
|
150
|
+
readonly additionalProperties: true;
|
|
151
|
+
};
|
|
152
|
+
readonly arazzo1Decorators: {
|
|
153
|
+
readonly type: "object";
|
|
154
|
+
readonly additionalProperties: true;
|
|
155
|
+
};
|
|
156
|
+
readonly overlay1Decorators: {
|
|
157
|
+
readonly type: "object";
|
|
158
|
+
readonly additionalProperties: true;
|
|
159
|
+
};
|
|
160
|
+
};
|
package/lib/common.js
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.decoratorsSchemas = exports.preprocessorSchemas = exports.ruleSchemas = exports.rulesSchema = void 0;
|
|
4
|
+
exports.rulesSchema = {
|
|
5
|
+
type: 'object',
|
|
6
|
+
additionalProperties: {
|
|
7
|
+
oneOf: [{ type: 'string' }, { type: 'object' }],
|
|
8
|
+
},
|
|
9
|
+
};
|
|
10
|
+
exports.ruleSchemas = {
|
|
11
|
+
rules: exports.rulesSchema,
|
|
12
|
+
oas2Rules: exports.rulesSchema,
|
|
13
|
+
oas3_0Rules: exports.rulesSchema,
|
|
14
|
+
oas3_1Rules: exports.rulesSchema,
|
|
15
|
+
async2Rules: exports.rulesSchema,
|
|
16
|
+
async3Rules: exports.rulesSchema,
|
|
17
|
+
arazzo1Rules: exports.rulesSchema,
|
|
18
|
+
overlay1Rules: exports.rulesSchema,
|
|
19
|
+
};
|
|
20
|
+
exports.preprocessorSchemas = {
|
|
21
|
+
preprocessors: { type: 'object', additionalProperties: true },
|
|
22
|
+
oas2Preprocessors: { type: 'object', additionalProperties: true },
|
|
23
|
+
oas3_0Preprocessors: { type: 'object', additionalProperties: true },
|
|
24
|
+
oas3_1Preprocessors: { type: 'object', additionalProperties: true },
|
|
25
|
+
async2Preprocessors: { type: 'object', additionalProperties: true },
|
|
26
|
+
async3Preprocessors: { type: 'object', additionalProperties: true },
|
|
27
|
+
arazzo1Preprocessors: { type: 'object', additionalProperties: true },
|
|
28
|
+
overlay1Preprocessors: { type: 'object', additionalProperties: true },
|
|
29
|
+
};
|
|
30
|
+
exports.decoratorsSchemas = {
|
|
31
|
+
decorators: { type: 'object', additionalProperties: true },
|
|
32
|
+
oas2Decorators: { type: 'object', additionalProperties: true },
|
|
33
|
+
oas3_0Decorators: { type: 'object', additionalProperties: true },
|
|
34
|
+
oas3_1Decorators: { type: 'object', additionalProperties: true },
|
|
35
|
+
async2Decorators: { type: 'object', additionalProperties: true },
|
|
36
|
+
async3Decorators: { type: 'object', additionalProperties: true },
|
|
37
|
+
arazzo1Decorators: { type: 'object', additionalProperties: true },
|
|
38
|
+
overlay1Decorators: { type: 'object', additionalProperties: true },
|
|
39
|
+
};
|
|
40
|
+
//# sourceMappingURL=common.js.map
|