@redocly/config 0.50.1 → 0.52.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/asyncapi-config-schema.d.ts +10 -27
- package/lib/common.d.ts +120 -120
- package/lib/constants/identity-provider-slug.d.ts +2 -1
- package/lib/constants/shared.d.ts +1 -0
- package/lib/default-theme-config-schema.d.ts +520 -621
- package/lib/entities-catalog-config-schema.d.ts +60 -72
- package/lib/entities-catalog-entity-file-schema.d.ts +74 -67
- package/lib/ex-theme-config-schemas.d.ts +266 -354
- package/lib/feedback-config-schema.d.ts +9 -29
- package/lib/graphql-config-schema.d.ts +11 -28
- package/lib/index.d.ts +2 -2
- package/lib/index.js +1 -1
- package/lib/product-override-schema.d.ts +4203 -4461
- package/lib/redoc-config-schema.d.ts +14 -33
- package/lib/reference-docs-config-schema.d.ts +14 -10
- package/lib/reunite-config-schema.d.ts +11 -12
- package/lib/root-config-schema.d.ts +22685 -17296
- package/lib/scorecards-config-schema.d.ts +168 -108
- package/lib/types/config-types.d.ts +2 -1
- package/lib/types/index.d.ts +1 -0
- package/lib/types/json-schema-types.d.ts +69 -0
- package/lib/types/portal-shared-types.d.ts +3 -0
- package/lib-esm/asyncapi-config-schema.d.ts +10 -27
- package/lib-esm/common.d.ts +120 -120
- package/lib-esm/constants/identity-provider-slug.d.ts +2 -1
- package/lib-esm/constants/shared.d.ts +1 -0
- package/lib-esm/default-theme-config-schema.d.ts +520 -621
- package/lib-esm/entities-catalog-config-schema.d.ts +60 -72
- package/lib-esm/entities-catalog-entity-file-schema.d.ts +74 -67
- package/lib-esm/ex-theme-config-schemas.d.ts +266 -354
- package/lib-esm/feedback-config-schema.d.ts +9 -29
- package/lib-esm/graphql-config-schema.d.ts +11 -28
- package/lib-esm/index.d.ts +2 -2
- package/lib-esm/index.js +1 -1
- package/lib-esm/product-override-schema.d.ts +4203 -4461
- package/lib-esm/redoc-config-schema.d.ts +14 -33
- package/lib-esm/reference-docs-config-schema.d.ts +14 -10
- package/lib-esm/reunite-config-schema.d.ts +11 -12
- package/lib-esm/root-config-schema.d.ts +22685 -17296
- package/lib-esm/scorecards-config-schema.d.ts +168 -108
- package/lib-esm/types/config-types.d.ts +2 -1
- package/lib-esm/types/index.d.ts +1 -0
- package/lib-esm/types/json-schema-types.d.ts +69 -0
- package/lib-esm/types/portal-shared-types.d.ts +3 -0
- package/package.json +2 -2
- package/lib/remove-property-recursively.d.ts +0 -5
- package/lib-esm/remove-property-recursively.d.ts +0 -5
|
@@ -13,7 +13,7 @@ export declare const asyncapiConfigSchema: {
|
|
|
13
13
|
readonly type: 'string';
|
|
14
14
|
};
|
|
15
15
|
};
|
|
16
|
-
readonly required: readonly [
|
|
16
|
+
readonly required: readonly ["url"];
|
|
17
17
|
readonly additionalProperties: false;
|
|
18
18
|
};
|
|
19
19
|
};
|
|
@@ -60,12 +60,10 @@ export declare const asyncapiConfigSchema: {
|
|
|
60
60
|
readonly properties: {
|
|
61
61
|
readonly hide: {
|
|
62
62
|
readonly type: 'boolean';
|
|
63
|
-
readonly default: false;
|
|
64
63
|
};
|
|
65
64
|
readonly type: {
|
|
66
65
|
readonly type: 'string';
|
|
67
|
-
readonly enum: readonly [
|
|
68
|
-
readonly default: 'sentiment';
|
|
66
|
+
readonly enum: readonly ["rating", "sentiment", "comment", "reasons", "mood", "scale"];
|
|
69
67
|
};
|
|
70
68
|
readonly settings: {
|
|
71
69
|
readonly type: 'object';
|
|
@@ -81,8 +79,7 @@ export declare const asyncapiConfigSchema: {
|
|
|
81
79
|
};
|
|
82
80
|
readonly component: {
|
|
83
81
|
readonly type: 'string';
|
|
84
|
-
readonly enum: readonly [
|
|
85
|
-
readonly default: 'checkbox';
|
|
82
|
+
readonly enum: readonly ["radio", "checkbox"];
|
|
86
83
|
};
|
|
87
84
|
readonly items: {
|
|
88
85
|
readonly type: 'array';
|
|
@@ -102,12 +99,10 @@ export declare const asyncapiConfigSchema: {
|
|
|
102
99
|
readonly properties: {
|
|
103
100
|
readonly hide: {
|
|
104
101
|
readonly type: 'boolean';
|
|
105
|
-
readonly default: false;
|
|
106
102
|
};
|
|
107
103
|
readonly component: {
|
|
108
104
|
readonly type: 'string';
|
|
109
|
-
readonly enum: readonly [
|
|
110
|
-
readonly default: 'checkbox';
|
|
105
|
+
readonly enum: readonly ["radio", "checkbox"];
|
|
111
106
|
};
|
|
112
107
|
readonly label: {
|
|
113
108
|
readonly type: 'string';
|
|
@@ -123,12 +118,10 @@ export declare const asyncapiConfigSchema: {
|
|
|
123
118
|
readonly properties: {
|
|
124
119
|
readonly hide: {
|
|
125
120
|
readonly type: 'boolean';
|
|
126
|
-
readonly default: false;
|
|
127
121
|
};
|
|
128
122
|
readonly component: {
|
|
129
123
|
readonly type: 'string';
|
|
130
|
-
readonly enum: readonly [
|
|
131
|
-
readonly default: 'checkbox';
|
|
124
|
+
readonly enum: readonly ["radio", "checkbox"];
|
|
132
125
|
};
|
|
133
126
|
readonly label: {
|
|
134
127
|
readonly type: 'string';
|
|
@@ -147,12 +140,10 @@ export declare const asyncapiConfigSchema: {
|
|
|
147
140
|
readonly properties: {
|
|
148
141
|
readonly hide: {
|
|
149
142
|
readonly type: 'boolean';
|
|
150
|
-
readonly default: false;
|
|
151
143
|
};
|
|
152
144
|
readonly component: {
|
|
153
145
|
readonly type: 'string';
|
|
154
|
-
readonly enum: readonly [
|
|
155
|
-
readonly default: 'checkbox';
|
|
146
|
+
readonly enum: readonly ["radio", "checkbox"];
|
|
156
147
|
};
|
|
157
148
|
readonly label: {
|
|
158
149
|
readonly type: 'string';
|
|
@@ -171,12 +162,10 @@ export declare const asyncapiConfigSchema: {
|
|
|
171
162
|
readonly properties: {
|
|
172
163
|
readonly hide: {
|
|
173
164
|
readonly type: 'boolean';
|
|
174
|
-
readonly default: false;
|
|
175
165
|
};
|
|
176
166
|
readonly component: {
|
|
177
167
|
readonly type: 'string';
|
|
178
|
-
readonly enum: readonly [
|
|
179
|
-
readonly default: 'checkbox';
|
|
168
|
+
readonly enum: readonly ["radio", "checkbox"];
|
|
180
169
|
};
|
|
181
170
|
readonly label: {
|
|
182
171
|
readonly type: 'string';
|
|
@@ -195,12 +184,10 @@ export declare const asyncapiConfigSchema: {
|
|
|
195
184
|
readonly properties: {
|
|
196
185
|
readonly hide: {
|
|
197
186
|
readonly type: 'boolean';
|
|
198
|
-
readonly default: false;
|
|
199
187
|
};
|
|
200
188
|
readonly component: {
|
|
201
189
|
readonly type: 'string';
|
|
202
|
-
readonly enum: readonly [
|
|
203
|
-
readonly default: 'checkbox';
|
|
190
|
+
readonly enum: readonly ["radio", "checkbox"];
|
|
204
191
|
};
|
|
205
192
|
readonly label: {
|
|
206
193
|
readonly type: 'string';
|
|
@@ -219,12 +206,10 @@ export declare const asyncapiConfigSchema: {
|
|
|
219
206
|
readonly properties: {
|
|
220
207
|
readonly hide: {
|
|
221
208
|
readonly type: 'boolean';
|
|
222
|
-
readonly default: false;
|
|
223
209
|
};
|
|
224
210
|
readonly component: {
|
|
225
211
|
readonly type: 'string';
|
|
226
|
-
readonly enum: readonly [
|
|
227
|
-
readonly default: 'checkbox';
|
|
212
|
+
readonly enum: readonly ["radio", "checkbox"];
|
|
228
213
|
};
|
|
229
214
|
readonly label: {
|
|
230
215
|
readonly type: 'string';
|
|
@@ -246,7 +231,6 @@ export declare const asyncapiConfigSchema: {
|
|
|
246
231
|
readonly properties: {
|
|
247
232
|
readonly hide: {
|
|
248
233
|
readonly type: 'boolean';
|
|
249
|
-
readonly default: false;
|
|
250
234
|
};
|
|
251
235
|
readonly label: {
|
|
252
236
|
readonly type: 'string';
|
|
@@ -274,7 +258,6 @@ export declare const asyncapiConfigSchema: {
|
|
|
274
258
|
readonly properties: {
|
|
275
259
|
readonly hide: {
|
|
276
260
|
readonly type: 'boolean';
|
|
277
|
-
readonly default: false;
|
|
278
261
|
};
|
|
279
262
|
readonly label: {
|
|
280
263
|
readonly type: 'string';
|
|
@@ -293,7 +276,7 @@ export declare const asyncapiConfigSchema: {
|
|
|
293
276
|
};
|
|
294
277
|
readonly layout: {
|
|
295
278
|
readonly type: 'string';
|
|
296
|
-
readonly enum: readonly [
|
|
279
|
+
readonly enum: readonly ["stacked", "three-panel"];
|
|
297
280
|
};
|
|
298
281
|
};
|
|
299
282
|
readonly additionalProperties: false;
|
package/lib/common.d.ts
CHANGED
|
@@ -5,26 +5,7 @@ export type PreprocessorTypes = (typeof preprocessorTypes)[number];
|
|
|
5
5
|
export declare const decoratorTypes: readonly ['decorators', 'oas2Decorators', 'oas3_0Decorators', 'oas3_1Decorators', 'oas3_2Decorators', 'async2Decorators', 'async3Decorators', 'arazzo1Decorators', 'arazzo1_1Decorators', 'overlay1Decorators', 'openrpc1Decorators'];
|
|
6
6
|
export type DecoratorTypes = (typeof decoratorTypes)[number];
|
|
7
7
|
export declare const configGovernanceSchema: {
|
|
8
|
-
|
|
9
|
-
readonly nodeTypeName: undefined;
|
|
10
|
-
readonly type: 'array';
|
|
11
|
-
readonly items: {
|
|
12
|
-
readonly type: 'string';
|
|
13
|
-
};
|
|
14
|
-
readonly description: 'Use extends to inherit rules and their configurations from other rulesets.';
|
|
15
|
-
readonly documentationLink: 'https://redocly.com/docs/cli/configuration/reference/extends';
|
|
16
|
-
};
|
|
17
|
-
arazzo1Decorators: {
|
|
18
|
-
readonly nodeTypeName: undefined;
|
|
19
|
-
readonly type: 'object';
|
|
20
|
-
readonly additionalProperties: true;
|
|
21
|
-
};
|
|
22
|
-
arazzo1Preprocessors: {
|
|
23
|
-
readonly nodeTypeName: undefined;
|
|
24
|
-
readonly type: 'object';
|
|
25
|
-
readonly additionalProperties: true;
|
|
26
|
-
};
|
|
27
|
-
arazzo1Rules: {
|
|
8
|
+
readonly rules: {
|
|
28
9
|
readonly nodeTypeName: undefined;
|
|
29
10
|
readonly type: 'object';
|
|
30
11
|
readonly additionalProperties: {
|
|
@@ -37,17 +18,33 @@ export declare const configGovernanceSchema: {
|
|
|
37
18
|
readonly description: 'The rules configuration blocks set up linting rules and their severity. You can configure built-in rules, add configurable rules, and rules from plugins.';
|
|
38
19
|
readonly documentationLink: 'https://redocly.com/docs/cli/configuration/reference/rules#rules';
|
|
39
20
|
};
|
|
40
|
-
|
|
21
|
+
readonly oas2Rules: {
|
|
41
22
|
readonly nodeTypeName: undefined;
|
|
42
23
|
readonly type: 'object';
|
|
43
|
-
readonly additionalProperties:
|
|
24
|
+
readonly additionalProperties: {
|
|
25
|
+
readonly oneOf: readonly [{
|
|
26
|
+
readonly type: 'string';
|
|
27
|
+
}, {
|
|
28
|
+
readonly type: 'object';
|
|
29
|
+
}];
|
|
30
|
+
};
|
|
31
|
+
readonly description: 'The rules configuration blocks set up linting rules and their severity. You can configure built-in rules, add configurable rules, and rules from plugins.';
|
|
32
|
+
readonly documentationLink: 'https://redocly.com/docs/cli/configuration/reference/rules#rules';
|
|
44
33
|
};
|
|
45
|
-
|
|
34
|
+
readonly oas3_0Rules: {
|
|
46
35
|
readonly nodeTypeName: undefined;
|
|
47
36
|
readonly type: 'object';
|
|
48
|
-
readonly additionalProperties:
|
|
37
|
+
readonly additionalProperties: {
|
|
38
|
+
readonly oneOf: readonly [{
|
|
39
|
+
readonly type: 'string';
|
|
40
|
+
}, {
|
|
41
|
+
readonly type: 'object';
|
|
42
|
+
}];
|
|
43
|
+
};
|
|
44
|
+
readonly description: 'The rules configuration blocks set up linting rules and their severity. You can configure built-in rules, add configurable rules, and rules from plugins.';
|
|
45
|
+
readonly documentationLink: 'https://redocly.com/docs/cli/configuration/reference/rules#rules';
|
|
49
46
|
};
|
|
50
|
-
|
|
47
|
+
readonly oas3_1Rules: {
|
|
51
48
|
readonly nodeTypeName: undefined;
|
|
52
49
|
readonly type: 'object';
|
|
53
50
|
readonly additionalProperties: {
|
|
@@ -60,17 +57,33 @@ export declare const configGovernanceSchema: {
|
|
|
60
57
|
readonly description: 'The rules configuration blocks set up linting rules and their severity. You can configure built-in rules, add configurable rules, and rules from plugins.';
|
|
61
58
|
readonly documentationLink: 'https://redocly.com/docs/cli/configuration/reference/rules#rules';
|
|
62
59
|
};
|
|
63
|
-
|
|
60
|
+
readonly oas3_2Rules: {
|
|
64
61
|
readonly nodeTypeName: undefined;
|
|
65
62
|
readonly type: 'object';
|
|
66
|
-
readonly additionalProperties:
|
|
63
|
+
readonly additionalProperties: {
|
|
64
|
+
readonly oneOf: readonly [{
|
|
65
|
+
readonly type: 'string';
|
|
66
|
+
}, {
|
|
67
|
+
readonly type: 'object';
|
|
68
|
+
}];
|
|
69
|
+
};
|
|
70
|
+
readonly description: 'The rules configuration blocks set up linting rules and their severity. You can configure built-in rules, add configurable rules, and rules from plugins.';
|
|
71
|
+
readonly documentationLink: 'https://redocly.com/docs/cli/configuration/reference/rules#rules';
|
|
67
72
|
};
|
|
68
|
-
|
|
73
|
+
readonly async2Rules: {
|
|
69
74
|
readonly nodeTypeName: undefined;
|
|
70
75
|
readonly type: 'object';
|
|
71
|
-
readonly additionalProperties:
|
|
76
|
+
readonly additionalProperties: {
|
|
77
|
+
readonly oneOf: readonly [{
|
|
78
|
+
readonly type: 'string';
|
|
79
|
+
}, {
|
|
80
|
+
readonly type: 'object';
|
|
81
|
+
}];
|
|
82
|
+
};
|
|
83
|
+
readonly description: 'The rules configuration blocks set up linting rules and their severity. You can configure built-in rules, add configurable rules, and rules from plugins.';
|
|
84
|
+
readonly documentationLink: 'https://redocly.com/docs/cli/configuration/reference/rules#rules';
|
|
72
85
|
};
|
|
73
|
-
|
|
86
|
+
readonly async3Rules: {
|
|
74
87
|
readonly nodeTypeName: undefined;
|
|
75
88
|
readonly type: 'object';
|
|
76
89
|
readonly additionalProperties: {
|
|
@@ -83,17 +96,33 @@ export declare const configGovernanceSchema: {
|
|
|
83
96
|
readonly description: 'The rules configuration blocks set up linting rules and their severity. You can configure built-in rules, add configurable rules, and rules from plugins.';
|
|
84
97
|
readonly documentationLink: 'https://redocly.com/docs/cli/configuration/reference/rules#rules';
|
|
85
98
|
};
|
|
86
|
-
|
|
99
|
+
readonly arazzo1Rules: {
|
|
87
100
|
readonly nodeTypeName: undefined;
|
|
88
101
|
readonly type: 'object';
|
|
89
|
-
readonly additionalProperties:
|
|
102
|
+
readonly additionalProperties: {
|
|
103
|
+
readonly oneOf: readonly [{
|
|
104
|
+
readonly type: 'string';
|
|
105
|
+
}, {
|
|
106
|
+
readonly type: 'object';
|
|
107
|
+
}];
|
|
108
|
+
};
|
|
109
|
+
readonly description: 'The rules configuration blocks set up linting rules and their severity. You can configure built-in rules, add configurable rules, and rules from plugins.';
|
|
110
|
+
readonly documentationLink: 'https://redocly.com/docs/cli/configuration/reference/rules#rules';
|
|
90
111
|
};
|
|
91
|
-
|
|
112
|
+
readonly arazzo1_1Rules: {
|
|
92
113
|
readonly nodeTypeName: undefined;
|
|
93
114
|
readonly type: 'object';
|
|
94
|
-
readonly additionalProperties:
|
|
115
|
+
readonly additionalProperties: {
|
|
116
|
+
readonly oneOf: readonly [{
|
|
117
|
+
readonly type: 'string';
|
|
118
|
+
}, {
|
|
119
|
+
readonly type: 'object';
|
|
120
|
+
}];
|
|
121
|
+
};
|
|
122
|
+
readonly description: 'The rules configuration blocks set up linting rules and their severity. You can configure built-in rules, add configurable rules, and rules from plugins.';
|
|
123
|
+
readonly documentationLink: 'https://redocly.com/docs/cli/configuration/reference/rules#rules';
|
|
95
124
|
};
|
|
96
|
-
|
|
125
|
+
readonly overlay1Rules: {
|
|
97
126
|
readonly nodeTypeName: undefined;
|
|
98
127
|
readonly type: 'object';
|
|
99
128
|
readonly additionalProperties: {
|
|
@@ -106,12 +135,20 @@ export declare const configGovernanceSchema: {
|
|
|
106
135
|
readonly description: 'The rules configuration blocks set up linting rules and their severity. You can configure built-in rules, add configurable rules, and rules from plugins.';
|
|
107
136
|
readonly documentationLink: 'https://redocly.com/docs/cli/configuration/reference/rules#rules';
|
|
108
137
|
};
|
|
109
|
-
|
|
138
|
+
readonly openrpc1Rules: {
|
|
110
139
|
readonly nodeTypeName: undefined;
|
|
111
140
|
readonly type: 'object';
|
|
112
|
-
readonly additionalProperties:
|
|
141
|
+
readonly additionalProperties: {
|
|
142
|
+
readonly oneOf: readonly [{
|
|
143
|
+
readonly type: 'string';
|
|
144
|
+
}, {
|
|
145
|
+
readonly type: 'object';
|
|
146
|
+
}];
|
|
147
|
+
};
|
|
148
|
+
readonly description: 'The rules configuration blocks set up linting rules and their severity. You can configure built-in rules, add configurable rules, and rules from plugins.';
|
|
149
|
+
readonly documentationLink: 'https://redocly.com/docs/cli/configuration/reference/rules#rules';
|
|
113
150
|
};
|
|
114
|
-
graphqlRules: {
|
|
151
|
+
readonly graphqlRules: {
|
|
115
152
|
readonly nodeTypeName: undefined;
|
|
116
153
|
readonly type: 'object';
|
|
117
154
|
readonly additionalProperties: {
|
|
@@ -124,160 +161,123 @@ export declare const configGovernanceSchema: {
|
|
|
124
161
|
readonly description: 'The rules configuration blocks set up linting rules and their severity. You can configure built-in rules, add configurable rules, and rules from plugins.';
|
|
125
162
|
readonly documentationLink: 'https://redocly.com/docs/cli/configuration/reference/rules#rules';
|
|
126
163
|
};
|
|
127
|
-
|
|
164
|
+
readonly preprocessors: {
|
|
128
165
|
readonly nodeTypeName: undefined;
|
|
129
166
|
readonly type: 'object';
|
|
130
167
|
readonly additionalProperties: true;
|
|
131
168
|
};
|
|
132
|
-
oas2Preprocessors: {
|
|
169
|
+
readonly oas2Preprocessors: {
|
|
133
170
|
readonly nodeTypeName: undefined;
|
|
134
171
|
readonly type: 'object';
|
|
135
172
|
readonly additionalProperties: true;
|
|
136
173
|
};
|
|
137
|
-
|
|
174
|
+
readonly oas3_0Preprocessors: {
|
|
138
175
|
readonly nodeTypeName: undefined;
|
|
139
176
|
readonly type: 'object';
|
|
140
|
-
readonly additionalProperties:
|
|
141
|
-
readonly oneOf: readonly [{
|
|
142
|
-
readonly type: 'string';
|
|
143
|
-
}, {
|
|
144
|
-
readonly type: 'object';
|
|
145
|
-
}];
|
|
146
|
-
};
|
|
147
|
-
readonly description: 'The rules configuration blocks set up linting rules and their severity. You can configure built-in rules, add configurable rules, and rules from plugins.';
|
|
148
|
-
readonly documentationLink: 'https://redocly.com/docs/cli/configuration/reference/rules#rules';
|
|
177
|
+
readonly additionalProperties: true;
|
|
149
178
|
};
|
|
150
|
-
|
|
179
|
+
readonly oas3_1Preprocessors: {
|
|
151
180
|
readonly nodeTypeName: undefined;
|
|
152
181
|
readonly type: 'object';
|
|
153
182
|
readonly additionalProperties: true;
|
|
154
183
|
};
|
|
155
|
-
|
|
184
|
+
readonly oas3_2Preprocessors: {
|
|
156
185
|
readonly nodeTypeName: undefined;
|
|
157
186
|
readonly type: 'object';
|
|
158
187
|
readonly additionalProperties: true;
|
|
159
188
|
};
|
|
160
|
-
|
|
189
|
+
readonly async2Preprocessors: {
|
|
161
190
|
readonly nodeTypeName: undefined;
|
|
162
191
|
readonly type: 'object';
|
|
163
|
-
readonly additionalProperties:
|
|
164
|
-
readonly oneOf: readonly [{
|
|
165
|
-
readonly type: 'string';
|
|
166
|
-
}, {
|
|
167
|
-
readonly type: 'object';
|
|
168
|
-
}];
|
|
169
|
-
};
|
|
170
|
-
readonly description: 'The rules configuration blocks set up linting rules and their severity. You can configure built-in rules, add configurable rules, and rules from plugins.';
|
|
171
|
-
readonly documentationLink: 'https://redocly.com/docs/cli/configuration/reference/rules#rules';
|
|
192
|
+
readonly additionalProperties: true;
|
|
172
193
|
};
|
|
173
|
-
|
|
194
|
+
readonly async3Preprocessors: {
|
|
174
195
|
readonly nodeTypeName: undefined;
|
|
175
196
|
readonly type: 'object';
|
|
176
197
|
readonly additionalProperties: true;
|
|
177
198
|
};
|
|
178
|
-
|
|
199
|
+
readonly arazzo1Preprocessors: {
|
|
179
200
|
readonly nodeTypeName: undefined;
|
|
180
201
|
readonly type: 'object';
|
|
181
202
|
readonly additionalProperties: true;
|
|
182
203
|
};
|
|
183
|
-
|
|
204
|
+
readonly arazzo1_1Preprocessors: {
|
|
184
205
|
readonly nodeTypeName: undefined;
|
|
185
206
|
readonly type: 'object';
|
|
186
|
-
readonly additionalProperties:
|
|
187
|
-
readonly oneOf: readonly [{
|
|
188
|
-
readonly type: 'string';
|
|
189
|
-
}, {
|
|
190
|
-
readonly type: 'object';
|
|
191
|
-
}];
|
|
192
|
-
};
|
|
193
|
-
readonly description: 'The rules configuration blocks set up linting rules and their severity. You can configure built-in rules, add configurable rules, and rules from plugins.';
|
|
194
|
-
readonly documentationLink: 'https://redocly.com/docs/cli/configuration/reference/rules#rules';
|
|
207
|
+
readonly additionalProperties: true;
|
|
195
208
|
};
|
|
196
|
-
|
|
209
|
+
readonly overlay1Preprocessors: {
|
|
197
210
|
readonly nodeTypeName: undefined;
|
|
198
211
|
readonly type: 'object';
|
|
199
212
|
readonly additionalProperties: true;
|
|
200
213
|
};
|
|
201
|
-
|
|
214
|
+
readonly openrpc1Preprocessors: {
|
|
202
215
|
readonly nodeTypeName: undefined;
|
|
203
216
|
readonly type: 'object';
|
|
204
217
|
readonly additionalProperties: true;
|
|
205
218
|
};
|
|
206
|
-
|
|
219
|
+
readonly decorators: {
|
|
207
220
|
readonly nodeTypeName: undefined;
|
|
208
221
|
readonly type: 'object';
|
|
209
|
-
readonly additionalProperties:
|
|
210
|
-
readonly oneOf: readonly [{
|
|
211
|
-
readonly type: 'string';
|
|
212
|
-
}, {
|
|
213
|
-
readonly type: 'object';
|
|
214
|
-
}];
|
|
215
|
-
};
|
|
216
|
-
readonly description: 'The rules configuration blocks set up linting rules and their severity. You can configure built-in rules, add configurable rules, and rules from plugins.';
|
|
217
|
-
readonly documentationLink: 'https://redocly.com/docs/cli/configuration/reference/rules#rules';
|
|
222
|
+
readonly additionalProperties: true;
|
|
218
223
|
};
|
|
219
|
-
|
|
224
|
+
readonly oas2Decorators: {
|
|
220
225
|
readonly nodeTypeName: undefined;
|
|
221
226
|
readonly type: 'object';
|
|
222
227
|
readonly additionalProperties: true;
|
|
223
228
|
};
|
|
224
|
-
|
|
229
|
+
readonly oas3_0Decorators: {
|
|
225
230
|
readonly nodeTypeName: undefined;
|
|
226
231
|
readonly type: 'object';
|
|
227
232
|
readonly additionalProperties: true;
|
|
228
233
|
};
|
|
229
|
-
|
|
234
|
+
readonly oas3_1Decorators: {
|
|
230
235
|
readonly nodeTypeName: undefined;
|
|
231
236
|
readonly type: 'object';
|
|
232
|
-
readonly additionalProperties:
|
|
233
|
-
readonly oneOf: readonly [{
|
|
234
|
-
readonly type: 'string';
|
|
235
|
-
}, {
|
|
236
|
-
readonly type: 'object';
|
|
237
|
-
}];
|
|
238
|
-
};
|
|
239
|
-
readonly description: 'The rules configuration blocks set up linting rules and their severity. You can configure built-in rules, add configurable rules, and rules from plugins.';
|
|
240
|
-
readonly documentationLink: 'https://redocly.com/docs/cli/configuration/reference/rules#rules';
|
|
237
|
+
readonly additionalProperties: true;
|
|
241
238
|
};
|
|
242
|
-
|
|
239
|
+
readonly oas3_2Decorators: {
|
|
243
240
|
readonly nodeTypeName: undefined;
|
|
244
241
|
readonly type: 'object';
|
|
245
242
|
readonly additionalProperties: true;
|
|
246
243
|
};
|
|
247
|
-
|
|
244
|
+
readonly async2Decorators: {
|
|
248
245
|
readonly nodeTypeName: undefined;
|
|
249
246
|
readonly type: 'object';
|
|
250
247
|
readonly additionalProperties: true;
|
|
251
248
|
};
|
|
252
|
-
|
|
249
|
+
readonly async3Decorators: {
|
|
253
250
|
readonly nodeTypeName: undefined;
|
|
254
251
|
readonly type: 'object';
|
|
255
|
-
readonly additionalProperties:
|
|
256
|
-
readonly oneOf: readonly [{
|
|
257
|
-
readonly type: 'string';
|
|
258
|
-
}, {
|
|
259
|
-
readonly type: 'object';
|
|
260
|
-
}];
|
|
261
|
-
};
|
|
262
|
-
readonly description: 'The rules configuration blocks set up linting rules and their severity. You can configure built-in rules, add configurable rules, and rules from plugins.';
|
|
263
|
-
readonly documentationLink: 'https://redocly.com/docs/cli/configuration/reference/rules#rules';
|
|
252
|
+
readonly additionalProperties: true;
|
|
264
253
|
};
|
|
265
|
-
|
|
254
|
+
readonly arazzo1Decorators: {
|
|
266
255
|
readonly nodeTypeName: undefined;
|
|
267
256
|
readonly type: 'object';
|
|
268
257
|
readonly additionalProperties: true;
|
|
269
258
|
};
|
|
270
|
-
|
|
259
|
+
readonly arazzo1_1Decorators: {
|
|
271
260
|
readonly nodeTypeName: undefined;
|
|
272
261
|
readonly type: 'object';
|
|
273
|
-
readonly additionalProperties:
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
262
|
+
readonly additionalProperties: true;
|
|
263
|
+
};
|
|
264
|
+
readonly overlay1Decorators: {
|
|
265
|
+
readonly nodeTypeName: undefined;
|
|
266
|
+
readonly type: 'object';
|
|
267
|
+
readonly additionalProperties: true;
|
|
268
|
+
};
|
|
269
|
+
readonly openrpc1Decorators: {
|
|
270
|
+
readonly nodeTypeName: undefined;
|
|
271
|
+
readonly type: 'object';
|
|
272
|
+
readonly additionalProperties: true;
|
|
273
|
+
};
|
|
274
|
+
readonly extends: {
|
|
275
|
+
readonly nodeTypeName: undefined;
|
|
276
|
+
readonly type: 'array';
|
|
277
|
+
readonly items: {
|
|
278
|
+
readonly type: 'string';
|
|
279
279
|
};
|
|
280
|
-
readonly description: '
|
|
281
|
-
readonly documentationLink: 'https://redocly.com/docs/cli/configuration/reference/
|
|
280
|
+
readonly description: 'Use extends to inherit rules and their configurations from other rulesets.';
|
|
281
|
+
readonly documentationLink: 'https://redocly.com/docs/cli/configuration/reference/extends';
|
|
282
282
|
};
|
|
283
283
|
};
|
|
@@ -3,6 +3,7 @@ export declare const IDENTITY_PROVIDER_SLUG_REGEX: RegExp;
|
|
|
3
3
|
export declare const IDENTITY_PROVIDER_SLUG_MESSAGE = "Unique ID must be lowercase letters, numbers, and hyphens only";
|
|
4
4
|
export declare const IDENTITY_PROVIDER_SLUG_MAX_LENGTH = 63;
|
|
5
5
|
export declare const IDENTITY_PROVIDER_SLUG_MAX_LENGTH_MESSAGE = "Unique ID cannot exceed 63 characters";
|
|
6
|
-
export declare const
|
|
6
|
+
export declare const REDOCLY_IDP_SLUG = "redocly";
|
|
7
|
+
export declare const IDENTITY_PROVIDER_RESERVED_SLUGS: readonly ["redocly", 'corporate', 'guest'];
|
|
7
8
|
export declare const IDENTITY_PROVIDER_RESERVED_MESSAGE: string;
|
|
8
9
|
export declare const SSO_LOGIN_TYPES: readonly ['REDOCLY', 'CORPORATE', 'GUEST'];
|