@redocly/config 0.49.1 → 0.50.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 +14 -1
- package/lib/constants/identity-provider-slug.d.ts +8 -0
- package/lib/default-theme-config-schema.d.ts +26 -0
- package/lib/ex-theme-config-schemas.d.ts +13 -0
- package/lib/index.d.ts +1 -0
- package/lib/index.js +1 -1
- package/lib/product-override-schema.d.ts +13 -0
- package/lib/root-config-schema.d.ts +442 -12
- package/lib/types/config-types.d.ts +5 -1
- package/lib-esm/common.d.ts +14 -1
- package/lib-esm/constants/identity-provider-slug.d.ts +8 -0
- package/lib-esm/default-theme-config-schema.d.ts +26 -0
- package/lib-esm/ex-theme-config-schemas.d.ts +13 -0
- package/lib-esm/index.d.ts +1 -0
- package/lib-esm/index.js +1 -1
- package/lib-esm/product-override-schema.d.ts +13 -0
- package/lib-esm/root-config-schema.d.ts +442 -12
- package/lib-esm/types/config-types.d.ts +5 -1
- package/package.json +2 -2
|
@@ -457,12 +457,31 @@ export declare const ssoConfigSchema: {
|
|
|
457
457
|
readonly type: 'array';
|
|
458
458
|
readonly items: {
|
|
459
459
|
readonly type: 'string';
|
|
460
|
-
readonly enum: readonly [
|
|
460
|
+
readonly enum: readonly ["REDOCLY", "CORPORATE", "GUEST"];
|
|
461
461
|
};
|
|
462
462
|
readonly uniqueItems: true;
|
|
463
463
|
}, {
|
|
464
464
|
readonly type: 'string';
|
|
465
|
-
readonly enum: readonly [
|
|
465
|
+
readonly enum: readonly ["REDOCLY", "CORPORATE", "GUEST"];
|
|
466
|
+
}];
|
|
467
|
+
};
|
|
468
|
+
export declare const idpsConfigSchema: {
|
|
469
|
+
readonly oneOf: readonly [{
|
|
470
|
+
readonly type: 'array';
|
|
471
|
+
readonly items: {
|
|
472
|
+
readonly type: 'string';
|
|
473
|
+
readonly pattern: "^[a-z0-9]+(?:-[a-z0-9]+)*$";
|
|
474
|
+
readonly not: {
|
|
475
|
+
readonly enum: readonly ["redocly", "corporate", "guest"];
|
|
476
|
+
};
|
|
477
|
+
};
|
|
478
|
+
readonly uniqueItems: true;
|
|
479
|
+
}, {
|
|
480
|
+
readonly type: 'string';
|
|
481
|
+
readonly pattern: "^[a-z0-9]+(?:-[a-z0-9]+)*$";
|
|
482
|
+
readonly not: {
|
|
483
|
+
readonly enum: readonly ["redocly", "corporate", "guest"];
|
|
484
|
+
};
|
|
466
485
|
}];
|
|
467
486
|
};
|
|
468
487
|
export declare const redirectConfigSchema: {
|
|
@@ -5353,6 +5372,19 @@ export declare const apiConfigSchema: {
|
|
|
5353
5372
|
readonly type: 'object';
|
|
5354
5373
|
readonly additionalProperties: true;
|
|
5355
5374
|
};
|
|
5375
|
+
readonly graphqlRules: {
|
|
5376
|
+
readonly nodeTypeName: undefined;
|
|
5377
|
+
readonly type: 'object';
|
|
5378
|
+
readonly additionalProperties: {
|
|
5379
|
+
readonly oneOf: readonly [{
|
|
5380
|
+
readonly type: 'string';
|
|
5381
|
+
}, {
|
|
5382
|
+
readonly type: 'object';
|
|
5383
|
+
}];
|
|
5384
|
+
};
|
|
5385
|
+
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.';
|
|
5386
|
+
readonly documentationLink: 'https://redocly.com/docs/cli/configuration/reference/rules#rules';
|
|
5387
|
+
};
|
|
5356
5388
|
readonly oas2Decorators: {
|
|
5357
5389
|
readonly nodeTypeName: undefined;
|
|
5358
5390
|
readonly type: 'object';
|
|
@@ -6537,12 +6569,31 @@ export declare const accessConfigSchema: {
|
|
|
6537
6569
|
readonly type: 'array';
|
|
6538
6570
|
readonly items: {
|
|
6539
6571
|
readonly type: 'string';
|
|
6540
|
-
readonly enum: readonly [
|
|
6572
|
+
readonly enum: readonly ["REDOCLY", "CORPORATE", "GUEST"];
|
|
6541
6573
|
};
|
|
6542
6574
|
readonly uniqueItems: true;
|
|
6543
6575
|
}, {
|
|
6544
6576
|
readonly type: 'string';
|
|
6545
|
-
readonly enum: readonly [
|
|
6577
|
+
readonly enum: readonly ["REDOCLY", "CORPORATE", "GUEST"];
|
|
6578
|
+
}];
|
|
6579
|
+
};
|
|
6580
|
+
readonly idps: {
|
|
6581
|
+
readonly oneOf: readonly [{
|
|
6582
|
+
readonly type: 'array';
|
|
6583
|
+
readonly items: {
|
|
6584
|
+
readonly type: 'string';
|
|
6585
|
+
readonly pattern: "^[a-z0-9]+(?:-[a-z0-9]+)*$";
|
|
6586
|
+
readonly not: {
|
|
6587
|
+
readonly enum: readonly ["redocly", "corporate", "guest"];
|
|
6588
|
+
};
|
|
6589
|
+
};
|
|
6590
|
+
readonly uniqueItems: true;
|
|
6591
|
+
}, {
|
|
6592
|
+
readonly type: 'string';
|
|
6593
|
+
readonly pattern: "^[a-z0-9]+(?:-[a-z0-9]+)*$";
|
|
6594
|
+
readonly not: {
|
|
6595
|
+
readonly enum: readonly ["redocly", "corporate", "guest"];
|
|
6596
|
+
};
|
|
6546
6597
|
}];
|
|
6547
6598
|
};
|
|
6548
6599
|
readonly rbac: {
|
|
@@ -6773,6 +6824,10 @@ export declare const accessConfigSchema: {
|
|
|
6773
6824
|
};
|
|
6774
6825
|
};
|
|
6775
6826
|
readonly additionalProperties: false;
|
|
6827
|
+
readonly not: {
|
|
6828
|
+
readonly required: readonly ['sso', 'idps'];
|
|
6829
|
+
};
|
|
6830
|
+
readonly description: 'Use either `access.sso` (filter by category) or `access.idps` (filter by slug), not both.';
|
|
6776
6831
|
};
|
|
6777
6832
|
export declare const redoclyConfigSchema: {
|
|
6778
6833
|
readonly type: 'object';
|
|
@@ -12012,6 +12067,19 @@ export declare const redoclyConfigSchema: {
|
|
|
12012
12067
|
readonly type: 'object';
|
|
12013
12068
|
readonly additionalProperties: true;
|
|
12014
12069
|
};
|
|
12070
|
+
readonly graphqlRules: {
|
|
12071
|
+
readonly nodeTypeName: undefined;
|
|
12072
|
+
readonly type: 'object';
|
|
12073
|
+
readonly additionalProperties: {
|
|
12074
|
+
readonly oneOf: readonly [{
|
|
12075
|
+
readonly type: 'string';
|
|
12076
|
+
}, {
|
|
12077
|
+
readonly type: 'object';
|
|
12078
|
+
}];
|
|
12079
|
+
};
|
|
12080
|
+
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.';
|
|
12081
|
+
readonly documentationLink: 'https://redocly.com/docs/cli/configuration/reference/rules#rules';
|
|
12082
|
+
};
|
|
12015
12083
|
readonly oas2Decorators: {
|
|
12016
12084
|
readonly nodeTypeName: undefined;
|
|
12017
12085
|
readonly type: 'object';
|
|
@@ -12328,12 +12396,34 @@ export declare const redoclyConfigSchema: {
|
|
|
12328
12396
|
readonly type: 'array';
|
|
12329
12397
|
readonly items: {
|
|
12330
12398
|
readonly type: 'string';
|
|
12331
|
-
readonly enum: readonly [
|
|
12399
|
+
readonly enum: readonly ["REDOCLY", "CORPORATE", "GUEST"];
|
|
12332
12400
|
};
|
|
12333
12401
|
readonly uniqueItems: true;
|
|
12334
12402
|
}, {
|
|
12335
12403
|
readonly type: 'string';
|
|
12336
|
-
readonly enum: readonly [
|
|
12404
|
+
readonly enum: readonly ["REDOCLY", "CORPORATE", "GUEST"];
|
|
12405
|
+
}];
|
|
12406
|
+
};
|
|
12407
|
+
/**
|
|
12408
|
+
* @deprecated Should use `access.idps` instead
|
|
12409
|
+
*/
|
|
12410
|
+
readonly idps: {
|
|
12411
|
+
readonly oneOf: readonly [{
|
|
12412
|
+
readonly type: 'array';
|
|
12413
|
+
readonly items: {
|
|
12414
|
+
readonly type: 'string';
|
|
12415
|
+
readonly pattern: "^[a-z0-9]+(?:-[a-z0-9]+)*$";
|
|
12416
|
+
readonly not: {
|
|
12417
|
+
readonly enum: readonly ["redocly", "corporate", "guest"];
|
|
12418
|
+
};
|
|
12419
|
+
};
|
|
12420
|
+
readonly uniqueItems: true;
|
|
12421
|
+
}, {
|
|
12422
|
+
readonly type: 'string';
|
|
12423
|
+
readonly pattern: "^[a-z0-9]+(?:-[a-z0-9]+)*$";
|
|
12424
|
+
readonly not: {
|
|
12425
|
+
readonly enum: readonly ["redocly", "corporate", "guest"];
|
|
12426
|
+
};
|
|
12337
12427
|
}];
|
|
12338
12428
|
};
|
|
12339
12429
|
/**
|
|
@@ -12369,12 +12459,31 @@ export declare const redoclyConfigSchema: {
|
|
|
12369
12459
|
readonly type: 'array';
|
|
12370
12460
|
readonly items: {
|
|
12371
12461
|
readonly type: 'string';
|
|
12372
|
-
readonly enum: readonly [
|
|
12462
|
+
readonly enum: readonly ["REDOCLY", "CORPORATE", "GUEST"];
|
|
12373
12463
|
};
|
|
12374
12464
|
readonly uniqueItems: true;
|
|
12375
12465
|
}, {
|
|
12376
12466
|
readonly type: 'string';
|
|
12377
|
-
readonly enum: readonly [
|
|
12467
|
+
readonly enum: readonly ["REDOCLY", "CORPORATE", "GUEST"];
|
|
12468
|
+
}];
|
|
12469
|
+
};
|
|
12470
|
+
readonly idps: {
|
|
12471
|
+
readonly oneOf: readonly [{
|
|
12472
|
+
readonly type: 'array';
|
|
12473
|
+
readonly items: {
|
|
12474
|
+
readonly type: 'string';
|
|
12475
|
+
readonly pattern: "^[a-z0-9]+(?:-[a-z0-9]+)*$";
|
|
12476
|
+
readonly not: {
|
|
12477
|
+
readonly enum: readonly ["redocly", "corporate", "guest"];
|
|
12478
|
+
};
|
|
12479
|
+
};
|
|
12480
|
+
readonly uniqueItems: true;
|
|
12481
|
+
}, {
|
|
12482
|
+
readonly type: 'string';
|
|
12483
|
+
readonly pattern: "^[a-z0-9]+(?:-[a-z0-9]+)*$";
|
|
12484
|
+
readonly not: {
|
|
12485
|
+
readonly enum: readonly ["redocly", "corporate", "guest"];
|
|
12486
|
+
};
|
|
12378
12487
|
}];
|
|
12379
12488
|
};
|
|
12380
12489
|
readonly rbac: {
|
|
@@ -12605,6 +12714,10 @@ export declare const redoclyConfigSchema: {
|
|
|
12605
12714
|
};
|
|
12606
12715
|
};
|
|
12607
12716
|
readonly additionalProperties: false;
|
|
12717
|
+
readonly not: {
|
|
12718
|
+
readonly required: readonly ['sso', 'idps'];
|
|
12719
|
+
};
|
|
12720
|
+
readonly description: 'Use either `access.sso` (filter by category) or `access.idps` (filter by slug), not both.';
|
|
12608
12721
|
};
|
|
12609
12722
|
readonly developerOnboarding: {
|
|
12610
12723
|
readonly type: 'object';
|
|
@@ -18679,6 +18792,19 @@ export declare const redoclyConfigSchema: {
|
|
|
18679
18792
|
readonly type: 'object';
|
|
18680
18793
|
readonly additionalProperties: true;
|
|
18681
18794
|
};
|
|
18795
|
+
readonly graphqlRules: {
|
|
18796
|
+
readonly nodeTypeName: undefined;
|
|
18797
|
+
readonly type: 'object';
|
|
18798
|
+
readonly additionalProperties: {
|
|
18799
|
+
readonly oneOf: readonly [{
|
|
18800
|
+
readonly type: 'string';
|
|
18801
|
+
}, {
|
|
18802
|
+
readonly type: 'object';
|
|
18803
|
+
}];
|
|
18804
|
+
};
|
|
18805
|
+
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.';
|
|
18806
|
+
readonly documentationLink: 'https://redocly.com/docs/cli/configuration/reference/rules#rules';
|
|
18807
|
+
};
|
|
18682
18808
|
readonly oas2Decorators: {
|
|
18683
18809
|
readonly nodeTypeName: undefined;
|
|
18684
18810
|
readonly type: 'object';
|
|
@@ -19039,6 +19165,19 @@ export declare const redoclyConfigSchema: {
|
|
|
19039
19165
|
readonly type: 'object';
|
|
19040
19166
|
readonly additionalProperties: true;
|
|
19041
19167
|
};
|
|
19168
|
+
readonly graphqlRules: {
|
|
19169
|
+
readonly nodeTypeName: undefined;
|
|
19170
|
+
readonly type: 'object';
|
|
19171
|
+
readonly additionalProperties: {
|
|
19172
|
+
readonly oneOf: readonly [{
|
|
19173
|
+
readonly type: 'string';
|
|
19174
|
+
}, {
|
|
19175
|
+
readonly type: 'object';
|
|
19176
|
+
}];
|
|
19177
|
+
};
|
|
19178
|
+
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.';
|
|
19179
|
+
readonly documentationLink: 'https://redocly.com/docs/cli/configuration/reference/rules#rules';
|
|
19180
|
+
};
|
|
19042
19181
|
readonly oas2Decorators: {
|
|
19043
19182
|
readonly nodeTypeName: undefined;
|
|
19044
19183
|
readonly type: 'object';
|
|
@@ -25458,6 +25597,19 @@ export declare const redoclyConfigSchema: {
|
|
|
25458
25597
|
readonly type: 'object';
|
|
25459
25598
|
readonly additionalProperties: true;
|
|
25460
25599
|
};
|
|
25600
|
+
readonly graphqlRules: {
|
|
25601
|
+
readonly nodeTypeName: undefined;
|
|
25602
|
+
readonly type: 'object';
|
|
25603
|
+
readonly additionalProperties: {
|
|
25604
|
+
readonly oneOf: readonly [{
|
|
25605
|
+
readonly type: 'string';
|
|
25606
|
+
}, {
|
|
25607
|
+
readonly type: 'object';
|
|
25608
|
+
}];
|
|
25609
|
+
};
|
|
25610
|
+
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.';
|
|
25611
|
+
readonly documentationLink: 'https://redocly.com/docs/cli/configuration/reference/rules#rules';
|
|
25612
|
+
};
|
|
25461
25613
|
readonly oas2Decorators: {
|
|
25462
25614
|
readonly nodeTypeName: undefined;
|
|
25463
25615
|
readonly type: 'object';
|
|
@@ -25818,6 +25970,19 @@ export declare const redoclyConfigSchema: {
|
|
|
25818
25970
|
readonly type: 'object';
|
|
25819
25971
|
readonly additionalProperties: true;
|
|
25820
25972
|
};
|
|
25973
|
+
readonly graphqlRules: {
|
|
25974
|
+
readonly nodeTypeName: undefined;
|
|
25975
|
+
readonly type: 'object';
|
|
25976
|
+
readonly additionalProperties: {
|
|
25977
|
+
readonly oneOf: readonly [{
|
|
25978
|
+
readonly type: 'string';
|
|
25979
|
+
}, {
|
|
25980
|
+
readonly type: 'object';
|
|
25981
|
+
}];
|
|
25982
|
+
};
|
|
25983
|
+
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.';
|
|
25984
|
+
readonly documentationLink: 'https://redocly.com/docs/cli/configuration/reference/rules#rules';
|
|
25985
|
+
};
|
|
25821
25986
|
readonly oas2Decorators: {
|
|
25822
25987
|
readonly nodeTypeName: undefined;
|
|
25823
25988
|
readonly type: 'object';
|
|
@@ -26813,6 +26978,19 @@ export declare const redoclyConfigSchema: {
|
|
|
26813
26978
|
readonly type: 'object';
|
|
26814
26979
|
readonly additionalProperties: true;
|
|
26815
26980
|
};
|
|
26981
|
+
readonly graphqlRules: {
|
|
26982
|
+
readonly nodeTypeName: undefined;
|
|
26983
|
+
readonly type: 'object';
|
|
26984
|
+
readonly additionalProperties: {
|
|
26985
|
+
readonly oneOf: readonly [{
|
|
26986
|
+
readonly type: 'string';
|
|
26987
|
+
}, {
|
|
26988
|
+
readonly type: 'object';
|
|
26989
|
+
}];
|
|
26990
|
+
};
|
|
26991
|
+
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.';
|
|
26992
|
+
readonly documentationLink: 'https://redocly.com/docs/cli/configuration/reference/rules#rules';
|
|
26993
|
+
};
|
|
26816
26994
|
readonly oas2Decorators: {
|
|
26817
26995
|
readonly nodeTypeName: undefined;
|
|
26818
26996
|
readonly type: 'object';
|
|
@@ -26970,6 +27148,9 @@ export declare const redoclyConfigSchema: {
|
|
|
26970
27148
|
readonly documentationLink: 'https://redocly.com/docs/cli/configuration/reference/rules#rules';
|
|
26971
27149
|
};
|
|
26972
27150
|
};
|
|
27151
|
+
readonly not: {
|
|
27152
|
+
readonly required: readonly ['sso', 'idps'];
|
|
27153
|
+
};
|
|
26973
27154
|
readonly default: {
|
|
26974
27155
|
readonly redirects: {};
|
|
26975
27156
|
readonly seo: {
|
|
@@ -26990,6 +27171,9 @@ export declare const redoclyConfigSchema: {
|
|
|
26990
27171
|
};
|
|
26991
27172
|
export declare const rootRedoclyConfigSchema: {
|
|
26992
27173
|
readonly type: 'object';
|
|
27174
|
+
readonly not: {
|
|
27175
|
+
readonly required: readonly ['sso', 'idps'];
|
|
27176
|
+
};
|
|
26993
27177
|
readonly $id: 'root-redocly-config';
|
|
26994
27178
|
readonly properties: {
|
|
26995
27179
|
readonly extends: {
|
|
@@ -32227,6 +32411,19 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
32227
32411
|
readonly type: 'object';
|
|
32228
32412
|
readonly additionalProperties: true;
|
|
32229
32413
|
};
|
|
32414
|
+
readonly graphqlRules: {
|
|
32415
|
+
readonly nodeTypeName: undefined;
|
|
32416
|
+
readonly type: 'object';
|
|
32417
|
+
readonly additionalProperties: {
|
|
32418
|
+
readonly oneOf: readonly [{
|
|
32419
|
+
readonly type: 'string';
|
|
32420
|
+
}, {
|
|
32421
|
+
readonly type: 'object';
|
|
32422
|
+
}];
|
|
32423
|
+
};
|
|
32424
|
+
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.';
|
|
32425
|
+
readonly documentationLink: 'https://redocly.com/docs/cli/configuration/reference/rules#rules';
|
|
32426
|
+
};
|
|
32230
32427
|
readonly oas2Decorators: {
|
|
32231
32428
|
readonly nodeTypeName: undefined;
|
|
32232
32429
|
readonly type: 'object';
|
|
@@ -32543,12 +32740,34 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
32543
32740
|
readonly type: 'array';
|
|
32544
32741
|
readonly items: {
|
|
32545
32742
|
readonly type: 'string';
|
|
32546
|
-
readonly enum: readonly [
|
|
32743
|
+
readonly enum: readonly ["REDOCLY", "CORPORATE", "GUEST"];
|
|
32547
32744
|
};
|
|
32548
32745
|
readonly uniqueItems: true;
|
|
32549
32746
|
}, {
|
|
32550
32747
|
readonly type: 'string';
|
|
32551
|
-
readonly enum: readonly [
|
|
32748
|
+
readonly enum: readonly ["REDOCLY", "CORPORATE", "GUEST"];
|
|
32749
|
+
}];
|
|
32750
|
+
};
|
|
32751
|
+
/**
|
|
32752
|
+
* @deprecated Should use `access.idps` instead
|
|
32753
|
+
*/
|
|
32754
|
+
readonly idps: {
|
|
32755
|
+
readonly oneOf: readonly [{
|
|
32756
|
+
readonly type: 'array';
|
|
32757
|
+
readonly items: {
|
|
32758
|
+
readonly type: 'string';
|
|
32759
|
+
readonly pattern: "^[a-z0-9]+(?:-[a-z0-9]+)*$";
|
|
32760
|
+
readonly not: {
|
|
32761
|
+
readonly enum: readonly ["redocly", "corporate", "guest"];
|
|
32762
|
+
};
|
|
32763
|
+
};
|
|
32764
|
+
readonly uniqueItems: true;
|
|
32765
|
+
}, {
|
|
32766
|
+
readonly type: 'string';
|
|
32767
|
+
readonly pattern: "^[a-z0-9]+(?:-[a-z0-9]+)*$";
|
|
32768
|
+
readonly not: {
|
|
32769
|
+
readonly enum: readonly ["redocly", "corporate", "guest"];
|
|
32770
|
+
};
|
|
32552
32771
|
}];
|
|
32553
32772
|
};
|
|
32554
32773
|
/**
|
|
@@ -32584,12 +32803,31 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
32584
32803
|
readonly type: 'array';
|
|
32585
32804
|
readonly items: {
|
|
32586
32805
|
readonly type: 'string';
|
|
32587
|
-
readonly enum: readonly [
|
|
32806
|
+
readonly enum: readonly ["REDOCLY", "CORPORATE", "GUEST"];
|
|
32588
32807
|
};
|
|
32589
32808
|
readonly uniqueItems: true;
|
|
32590
32809
|
}, {
|
|
32591
32810
|
readonly type: 'string';
|
|
32592
|
-
readonly enum: readonly [
|
|
32811
|
+
readonly enum: readonly ["REDOCLY", "CORPORATE", "GUEST"];
|
|
32812
|
+
}];
|
|
32813
|
+
};
|
|
32814
|
+
readonly idps: {
|
|
32815
|
+
readonly oneOf: readonly [{
|
|
32816
|
+
readonly type: 'array';
|
|
32817
|
+
readonly items: {
|
|
32818
|
+
readonly type: 'string';
|
|
32819
|
+
readonly pattern: "^[a-z0-9]+(?:-[a-z0-9]+)*$";
|
|
32820
|
+
readonly not: {
|
|
32821
|
+
readonly enum: readonly ["redocly", "corporate", "guest"];
|
|
32822
|
+
};
|
|
32823
|
+
};
|
|
32824
|
+
readonly uniqueItems: true;
|
|
32825
|
+
}, {
|
|
32826
|
+
readonly type: 'string';
|
|
32827
|
+
readonly pattern: "^[a-z0-9]+(?:-[a-z0-9]+)*$";
|
|
32828
|
+
readonly not: {
|
|
32829
|
+
readonly enum: readonly ["redocly", "corporate", "guest"];
|
|
32830
|
+
};
|
|
32593
32831
|
}];
|
|
32594
32832
|
};
|
|
32595
32833
|
readonly rbac: {
|
|
@@ -32820,6 +33058,10 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
32820
33058
|
};
|
|
32821
33059
|
};
|
|
32822
33060
|
readonly additionalProperties: false;
|
|
33061
|
+
readonly not: {
|
|
33062
|
+
readonly required: readonly ['sso', 'idps'];
|
|
33063
|
+
};
|
|
33064
|
+
readonly description: 'Use either `access.sso` (filter by category) or `access.idps` (filter by slug), not both.';
|
|
32823
33065
|
};
|
|
32824
33066
|
readonly developerOnboarding: {
|
|
32825
33067
|
readonly type: 'object';
|
|
@@ -38894,6 +39136,19 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
38894
39136
|
readonly type: 'object';
|
|
38895
39137
|
readonly additionalProperties: true;
|
|
38896
39138
|
};
|
|
39139
|
+
readonly graphqlRules: {
|
|
39140
|
+
readonly nodeTypeName: undefined;
|
|
39141
|
+
readonly type: 'object';
|
|
39142
|
+
readonly additionalProperties: {
|
|
39143
|
+
readonly oneOf: readonly [{
|
|
39144
|
+
readonly type: 'string';
|
|
39145
|
+
}, {
|
|
39146
|
+
readonly type: 'object';
|
|
39147
|
+
}];
|
|
39148
|
+
};
|
|
39149
|
+
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.';
|
|
39150
|
+
readonly documentationLink: 'https://redocly.com/docs/cli/configuration/reference/rules#rules';
|
|
39151
|
+
};
|
|
38897
39152
|
readonly oas2Decorators: {
|
|
38898
39153
|
readonly nodeTypeName: undefined;
|
|
38899
39154
|
readonly type: 'object';
|
|
@@ -39254,6 +39509,19 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
39254
39509
|
readonly type: 'object';
|
|
39255
39510
|
readonly additionalProperties: true;
|
|
39256
39511
|
};
|
|
39512
|
+
readonly graphqlRules: {
|
|
39513
|
+
readonly nodeTypeName: undefined;
|
|
39514
|
+
readonly type: 'object';
|
|
39515
|
+
readonly additionalProperties: {
|
|
39516
|
+
readonly oneOf: readonly [{
|
|
39517
|
+
readonly type: 'string';
|
|
39518
|
+
}, {
|
|
39519
|
+
readonly type: 'object';
|
|
39520
|
+
}];
|
|
39521
|
+
};
|
|
39522
|
+
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.';
|
|
39523
|
+
readonly documentationLink: 'https://redocly.com/docs/cli/configuration/reference/rules#rules';
|
|
39524
|
+
};
|
|
39257
39525
|
readonly oas2Decorators: {
|
|
39258
39526
|
readonly nodeTypeName: undefined;
|
|
39259
39527
|
readonly type: 'object';
|
|
@@ -45673,6 +45941,19 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
45673
45941
|
readonly type: 'object';
|
|
45674
45942
|
readonly additionalProperties: true;
|
|
45675
45943
|
};
|
|
45944
|
+
readonly graphqlRules: {
|
|
45945
|
+
readonly nodeTypeName: undefined;
|
|
45946
|
+
readonly type: 'object';
|
|
45947
|
+
readonly additionalProperties: {
|
|
45948
|
+
readonly oneOf: readonly [{
|
|
45949
|
+
readonly type: 'string';
|
|
45950
|
+
}, {
|
|
45951
|
+
readonly type: 'object';
|
|
45952
|
+
}];
|
|
45953
|
+
};
|
|
45954
|
+
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.';
|
|
45955
|
+
readonly documentationLink: 'https://redocly.com/docs/cli/configuration/reference/rules#rules';
|
|
45956
|
+
};
|
|
45676
45957
|
readonly oas2Decorators: {
|
|
45677
45958
|
readonly nodeTypeName: undefined;
|
|
45678
45959
|
readonly type: 'object';
|
|
@@ -46033,6 +46314,19 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
46033
46314
|
readonly type: 'object';
|
|
46034
46315
|
readonly additionalProperties: true;
|
|
46035
46316
|
};
|
|
46317
|
+
readonly graphqlRules: {
|
|
46318
|
+
readonly nodeTypeName: undefined;
|
|
46319
|
+
readonly type: 'object';
|
|
46320
|
+
readonly additionalProperties: {
|
|
46321
|
+
readonly oneOf: readonly [{
|
|
46322
|
+
readonly type: 'string';
|
|
46323
|
+
}, {
|
|
46324
|
+
readonly type: 'object';
|
|
46325
|
+
}];
|
|
46326
|
+
};
|
|
46327
|
+
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.';
|
|
46328
|
+
readonly documentationLink: 'https://redocly.com/docs/cli/configuration/reference/rules#rules';
|
|
46329
|
+
};
|
|
46036
46330
|
readonly oas2Decorators: {
|
|
46037
46331
|
readonly nodeTypeName: undefined;
|
|
46038
46332
|
readonly type: 'object';
|
|
@@ -46941,10 +47235,36 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
46941
47235
|
readonly type: 'object';
|
|
46942
47236
|
readonly additionalProperties: {
|
|
46943
47237
|
readonly additionalProperties: false;
|
|
47238
|
+
readonly not: {
|
|
47239
|
+
required: ("idps" | "sso")[];
|
|
47240
|
+
};
|
|
46944
47241
|
readonly properties: {
|
|
46945
47242
|
access: {
|
|
46946
47243
|
additionalProperties: false;
|
|
47244
|
+
description: "Use either `access.sso` (filter by category) or `access.idps` (filter by slug), not both.";
|
|
47245
|
+
not: {
|
|
47246
|
+
required: ("idps" | "sso")[];
|
|
47247
|
+
};
|
|
46947
47248
|
properties: {
|
|
47249
|
+
idps: {
|
|
47250
|
+
oneOf: ({
|
|
47251
|
+
not: {
|
|
47252
|
+
enum: ("corporate" | "guest" | "redocly")[];
|
|
47253
|
+
};
|
|
47254
|
+
pattern: "^[a-z0-9]+(?:-[a-z0-9]+)*$";
|
|
47255
|
+
type: "string";
|
|
47256
|
+
} | {
|
|
47257
|
+
items: {
|
|
47258
|
+
not: {
|
|
47259
|
+
enum: ("corporate" | "guest" | "redocly")[];
|
|
47260
|
+
};
|
|
47261
|
+
pattern: "^[a-z0-9]+(?:-[a-z0-9]+)*$";
|
|
47262
|
+
type: "string";
|
|
47263
|
+
};
|
|
47264
|
+
type: "array";
|
|
47265
|
+
uniqueItems: true;
|
|
47266
|
+
})[];
|
|
47267
|
+
};
|
|
46948
47268
|
logoutReturnUrl: {
|
|
46949
47269
|
pattern: "^https?://.*";
|
|
46950
47270
|
type: "string";
|
|
@@ -47810,6 +48130,19 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
47810
48130
|
};
|
|
47811
48131
|
type: "object";
|
|
47812
48132
|
};
|
|
48133
|
+
graphqlRules: {
|
|
48134
|
+
additionalProperties: {
|
|
48135
|
+
oneOf: ({
|
|
48136
|
+
type: "string";
|
|
48137
|
+
} | {
|
|
48138
|
+
type: "object";
|
|
48139
|
+
})[];
|
|
48140
|
+
};
|
|
48141
|
+
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.";
|
|
48142
|
+
documentationLink: "https://redocly.com/docs/cli/configuration/reference/rules#rules";
|
|
48143
|
+
nodeTypeName: undefined;
|
|
48144
|
+
type: "object";
|
|
48145
|
+
};
|
|
47813
48146
|
metadata: {
|
|
47814
48147
|
additionalProperties: true;
|
|
47815
48148
|
type: "object";
|
|
@@ -52406,6 +52739,19 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
52406
52739
|
};
|
|
52407
52740
|
type: "object";
|
|
52408
52741
|
};
|
|
52742
|
+
graphqlRules: {
|
|
52743
|
+
additionalProperties: {
|
|
52744
|
+
oneOf: ({
|
|
52745
|
+
type: "string";
|
|
52746
|
+
} | {
|
|
52747
|
+
type: "object";
|
|
52748
|
+
})[];
|
|
52749
|
+
};
|
|
52750
|
+
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.";
|
|
52751
|
+
documentationLink: "https://redocly.com/docs/cli/configuration/reference/rules#rules";
|
|
52752
|
+
nodeTypeName: undefined;
|
|
52753
|
+
type: "object";
|
|
52754
|
+
};
|
|
52409
52755
|
i18n: {
|
|
52410
52756
|
additionalProperties: false;
|
|
52411
52757
|
properties: {
|
|
@@ -52431,6 +52777,25 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
52431
52777
|
required: "defaultLocale"[];
|
|
52432
52778
|
type: "object";
|
|
52433
52779
|
};
|
|
52780
|
+
idps: {
|
|
52781
|
+
oneOf: ({
|
|
52782
|
+
not: {
|
|
52783
|
+
enum: ("corporate" | "guest" | "redocly")[];
|
|
52784
|
+
};
|
|
52785
|
+
pattern: "^[a-z0-9]+(?:-[a-z0-9]+)*$";
|
|
52786
|
+
type: "string";
|
|
52787
|
+
} | {
|
|
52788
|
+
items: {
|
|
52789
|
+
not: {
|
|
52790
|
+
enum: ("corporate" | "guest" | "redocly")[];
|
|
52791
|
+
};
|
|
52792
|
+
pattern: "^[a-z0-9]+(?:-[a-z0-9]+)*$";
|
|
52793
|
+
type: "string";
|
|
52794
|
+
};
|
|
52795
|
+
type: "array";
|
|
52796
|
+
uniqueItems: true;
|
|
52797
|
+
})[];
|
|
52798
|
+
};
|
|
52434
52799
|
ignore: {
|
|
52435
52800
|
items: {
|
|
52436
52801
|
type: "string";
|
|
@@ -54542,6 +54907,19 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
54542
54907
|
nodeTypeName: undefined;
|
|
54543
54908
|
type: "array";
|
|
54544
54909
|
};
|
|
54910
|
+
graphqlRules: {
|
|
54911
|
+
additionalProperties: {
|
|
54912
|
+
oneOf: ({
|
|
54913
|
+
type: "string";
|
|
54914
|
+
} | {
|
|
54915
|
+
type: "object";
|
|
54916
|
+
})[];
|
|
54917
|
+
};
|
|
54918
|
+
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.";
|
|
54919
|
+
documentationLink: "https://redocly.com/docs/cli/configuration/reference/rules#rules";
|
|
54920
|
+
nodeTypeName: undefined;
|
|
54921
|
+
type: "object";
|
|
54922
|
+
};
|
|
54545
54923
|
name: {
|
|
54546
54924
|
type: "string";
|
|
54547
54925
|
};
|
|
@@ -54898,6 +55276,19 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
54898
55276
|
nodeTypeName: undefined;
|
|
54899
55277
|
type: "array";
|
|
54900
55278
|
};
|
|
55279
|
+
graphqlRules: {
|
|
55280
|
+
additionalProperties: {
|
|
55281
|
+
oneOf: ({
|
|
55282
|
+
type: "string";
|
|
55283
|
+
} | {
|
|
55284
|
+
type: "object";
|
|
55285
|
+
})[];
|
|
55286
|
+
};
|
|
55287
|
+
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.";
|
|
55288
|
+
documentationLink: "https://redocly.com/docs/cli/configuration/reference/rules#rules";
|
|
55289
|
+
nodeTypeName: undefined;
|
|
55290
|
+
type: "object";
|
|
55291
|
+
};
|
|
54901
55292
|
name: {
|
|
54902
55293
|
type: "string";
|
|
54903
55294
|
};
|
|
@@ -59651,6 +60042,19 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
59651
60042
|
nodeTypeName: undefined;
|
|
59652
60043
|
type: "array";
|
|
59653
60044
|
};
|
|
60045
|
+
graphqlRules: {
|
|
60046
|
+
additionalProperties: {
|
|
60047
|
+
oneOf: ({
|
|
60048
|
+
type: "string";
|
|
60049
|
+
} | {
|
|
60050
|
+
type: "object";
|
|
60051
|
+
})[];
|
|
60052
|
+
};
|
|
60053
|
+
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.";
|
|
60054
|
+
documentationLink: "https://redocly.com/docs/cli/configuration/reference/rules#rules";
|
|
60055
|
+
nodeTypeName: undefined;
|
|
60056
|
+
type: "object";
|
|
60057
|
+
};
|
|
59654
60058
|
name: {
|
|
59655
60059
|
type: "string";
|
|
59656
60060
|
};
|
|
@@ -60007,6 +60411,19 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
60007
60411
|
nodeTypeName: undefined;
|
|
60008
60412
|
type: "array";
|
|
60009
60413
|
};
|
|
60414
|
+
graphqlRules: {
|
|
60415
|
+
additionalProperties: {
|
|
60416
|
+
oneOf: ({
|
|
60417
|
+
type: "string";
|
|
60418
|
+
} | {
|
|
60419
|
+
type: "object";
|
|
60420
|
+
})[];
|
|
60421
|
+
};
|
|
60422
|
+
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.";
|
|
60423
|
+
documentationLink: "https://redocly.com/docs/cli/configuration/reference/rules#rules";
|
|
60424
|
+
nodeTypeName: undefined;
|
|
60425
|
+
type: "object";
|
|
60426
|
+
};
|
|
60010
60427
|
name: {
|
|
60011
60428
|
type: "string";
|
|
60012
60429
|
};
|
|
@@ -60891,6 +61308,19 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
60891
61308
|
readonly type: 'object';
|
|
60892
61309
|
readonly additionalProperties: true;
|
|
60893
61310
|
};
|
|
61311
|
+
readonly graphqlRules: {
|
|
61312
|
+
readonly nodeTypeName: undefined;
|
|
61313
|
+
readonly type: 'object';
|
|
61314
|
+
readonly additionalProperties: {
|
|
61315
|
+
readonly oneOf: readonly [{
|
|
61316
|
+
readonly type: 'string';
|
|
61317
|
+
}, {
|
|
61318
|
+
readonly type: 'object';
|
|
61319
|
+
}];
|
|
61320
|
+
};
|
|
61321
|
+
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.';
|
|
61322
|
+
readonly documentationLink: 'https://redocly.com/docs/cli/configuration/reference/rules#rules';
|
|
61323
|
+
};
|
|
60894
61324
|
readonly oas2Decorators: {
|
|
60895
61325
|
readonly nodeTypeName: undefined;
|
|
60896
61326
|
readonly type: 'object';
|