@redocly/config 0.41.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 CHANGED
@@ -8,10 +8,10 @@ export declare const rulesSchema: {
8
8
  }];
9
9
  };
10
10
  };
11
- export declare const ruleTypes: readonly ["rules", "oas2Rules", "oas3_0Rules", "oas3_1Rules", "oas3_2Rules", "async2Rules", "async3Rules", "arazzo1Rules", "overlay1Rules"];
11
+ export declare const ruleTypes: readonly ["rules", "oas2Rules", "oas3_0Rules", "oas3_1Rules", "oas3_2Rules", "async2Rules", "async3Rules", "arazzo1Rules", "overlay1Rules", "openrpc1Rules"];
12
12
  export type RuleTypes = (typeof ruleTypes)[number];
13
13
  export declare const ruleSchemas: Record<RuleTypes, typeof rulesSchema>;
14
- export declare const preprocessorTypes: readonly ["preprocessors", "oas2Preprocessors", "oas3_0Preprocessors", "oas3_1Preprocessors", "oas3_2Preprocessors", "async2Preprocessors", "async3Preprocessors", "arazzo1Preprocessors", "overlay1Preprocessors"];
14
+ export declare const preprocessorTypes: readonly ["preprocessors", "oas2Preprocessors", "oas3_0Preprocessors", "oas3_1Preprocessors", "oas3_2Preprocessors", "async2Preprocessors", "async3Preprocessors", "arazzo1Preprocessors", "overlay1Preprocessors", "openrpc1Preprocessors"];
15
15
  export type PreprocessorTypes = (typeof preprocessorTypes)[number];
16
16
  declare const preprocessorSchema: {
17
17
  readonly type: "object";
@@ -22,7 +22,7 @@ export declare const decoratorsSchema: {
22
22
  readonly type: "object";
23
23
  readonly additionalProperties: true;
24
24
  };
25
- export declare const decoratorTypes: readonly ["decorators", "oas2Decorators", "oas3_0Decorators", "oas3_1Decorators", "oas3_2Decorators", "async2Decorators", "async3Decorators", "arazzo1Decorators", "overlay1Decorators"];
25
+ export declare const decoratorTypes: readonly ["decorators", "oas2Decorators", "oas3_0Decorators", "oas3_1Decorators", "oas3_2Decorators", "async2Decorators", "async3Decorators", "arazzo1Decorators", "overlay1Decorators", "openrpc1Decorators"];
26
26
  export type DecoratorTypes = (typeof decoratorTypes)[number];
27
27
  export declare const decoratorsSchemas: Record<DecoratorTypes, typeof decoratorsSchema>;
28
28
  export {};
package/lib/common.js CHANGED
@@ -17,6 +17,7 @@ exports.ruleTypes = [
17
17
  'async3Rules',
18
18
  'arazzo1Rules',
19
19
  'overlay1Rules',
20
+ 'openrpc1Rules',
20
21
  ];
21
22
  exports.ruleSchemas = {
22
23
  rules: exports.rulesSchema,
@@ -28,6 +29,7 @@ exports.ruleSchemas = {
28
29
  async3Rules: exports.rulesSchema,
29
30
  arazzo1Rules: exports.rulesSchema,
30
31
  overlay1Rules: exports.rulesSchema,
32
+ openrpc1Rules: exports.rulesSchema,
31
33
  };
32
34
  exports.preprocessorTypes = [
33
35
  'preprocessors',
@@ -39,6 +41,7 @@ exports.preprocessorTypes = [
39
41
  'async3Preprocessors',
40
42
  'arazzo1Preprocessors',
41
43
  'overlay1Preprocessors',
44
+ 'openrpc1Preprocessors',
42
45
  ];
43
46
  const preprocessorSchema = {
44
47
  type: 'object',
@@ -54,6 +57,7 @@ exports.preprocessorSchemas = {
54
57
  async3Preprocessors: preprocessorSchema,
55
58
  arazzo1Preprocessors: preprocessorSchema,
56
59
  overlay1Preprocessors: preprocessorSchema,
60
+ openrpc1Preprocessors: preprocessorSchema,
57
61
  };
58
62
  exports.decoratorsSchema = {
59
63
  type: 'object',
@@ -69,6 +73,7 @@ exports.decoratorTypes = [
69
73
  'async3Decorators',
70
74
  'arazzo1Decorators',
71
75
  'overlay1Decorators',
76
+ 'openrpc1Decorators',
72
77
  ];
73
78
  exports.decoratorsSchemas = {
74
79
  decorators: exports.decoratorsSchema,
@@ -80,5 +85,6 @@ exports.decoratorsSchemas = {
80
85
  async3Decorators: exports.decoratorsSchema,
81
86
  arazzo1Decorators: exports.decoratorsSchema,
82
87
  overlay1Decorators: exports.decoratorsSchema,
88
+ openrpc1Decorators: exports.decoratorsSchema,
83
89
  };
84
90
  //# sourceMappingURL=common.js.map
@@ -5405,6 +5405,10 @@ export declare const themeConfigSchema: {
5405
5405
  readonly type: "object";
5406
5406
  readonly additionalProperties: true;
5407
5407
  };
5408
+ readonly openrpc1Decorators: {
5409
+ readonly type: "object";
5410
+ readonly additionalProperties: true;
5411
+ };
5408
5412
  readonly preprocessors: {
5409
5413
  readonly type: "object";
5410
5414
  readonly additionalProperties: true;
@@ -5441,6 +5445,10 @@ export declare const themeConfigSchema: {
5441
5445
  readonly type: "object";
5442
5446
  readonly additionalProperties: true;
5443
5447
  };
5448
+ readonly openrpc1Preprocessors: {
5449
+ readonly type: "object";
5450
+ readonly additionalProperties: true;
5451
+ };
5444
5452
  readonly rules: {
5445
5453
  readonly type: "object";
5446
5454
  readonly additionalProperties: {
@@ -5531,6 +5539,16 @@ export declare const themeConfigSchema: {
5531
5539
  }];
5532
5540
  };
5533
5541
  };
5542
+ readonly openrpc1Rules: {
5543
+ readonly type: "object";
5544
+ readonly additionalProperties: {
5545
+ readonly oneOf: readonly [{
5546
+ readonly type: "string";
5547
+ }, {
5548
+ readonly type: "object";
5549
+ }];
5550
+ };
5551
+ };
5534
5552
  readonly name: {
5535
5553
  readonly type: "string";
5536
5554
  };
@@ -6195,6 +6213,10 @@ export declare const themeConfigSchema: {
6195
6213
  readonly type: "object";
6196
6214
  readonly additionalProperties: true;
6197
6215
  };
6216
+ readonly openrpc1Decorators: {
6217
+ readonly type: "object";
6218
+ readonly additionalProperties: true;
6219
+ };
6198
6220
  readonly preprocessors: {
6199
6221
  readonly type: "object";
6200
6222
  readonly additionalProperties: true;
@@ -6231,6 +6253,10 @@ export declare const themeConfigSchema: {
6231
6253
  readonly type: "object";
6232
6254
  readonly additionalProperties: true;
6233
6255
  };
6256
+ readonly openrpc1Preprocessors: {
6257
+ readonly type: "object";
6258
+ readonly additionalProperties: true;
6259
+ };
6234
6260
  readonly rules: {
6235
6261
  readonly type: "object";
6236
6262
  readonly additionalProperties: {
@@ -6321,6 +6347,16 @@ export declare const themeConfigSchema: {
6321
6347
  }];
6322
6348
  };
6323
6349
  };
6350
+ readonly openrpc1Rules: {
6351
+ readonly type: "object";
6352
+ readonly additionalProperties: {
6353
+ readonly oneOf: readonly [{
6354
+ readonly type: "string";
6355
+ }, {
6356
+ readonly type: "object";
6357
+ }];
6358
+ };
6359
+ };
6324
6360
  readonly name: {
6325
6361
  readonly type: "string";
6326
6362
  };
@@ -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
  };
@@ -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
  };