@redocly/config 0.22.0 → 0.22.2
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/default-theme-config-schema.d.ts +72 -0
- package/lib/ex-theme-config-schemas.d.ts +60 -0
- package/lib/ex-theme-config-schemas.js +4 -0
- package/lib/product-override-schema.d.ts +72 -0
- package/lib/root-config-schema.d.ts +186 -0
- package/lib/types/portal-shared-types.d.ts +6 -0
- package/lib-esm/default-theme-config-schema.d.ts +72 -0
- package/lib-esm/ex-theme-config-schemas.d.ts +60 -0
- package/lib-esm/ex-theme-config-schemas.js +4 -0
- package/lib-esm/product-override-schema.d.ts +72 -0
- package/lib-esm/root-config-schema.d.ts +186 -0
- package/lib-esm/types/portal-shared-types.d.ts +6 -0
- package/package.json +2 -2
|
@@ -10899,6 +10899,12 @@ export declare const redoclyConfigSchema: {
|
|
|
10899
10899
|
readonly additionalProperties: true;
|
|
10900
10900
|
};
|
|
10901
10901
|
};
|
|
10902
|
+
readonly rbac: {
|
|
10903
|
+
readonly type: "object";
|
|
10904
|
+
readonly additionalProperties: {
|
|
10905
|
+
readonly type: "string";
|
|
10906
|
+
};
|
|
10907
|
+
};
|
|
10902
10908
|
};
|
|
10903
10909
|
};
|
|
10904
10910
|
};
|
|
@@ -10977,6 +10983,12 @@ export declare const redoclyConfigSchema: {
|
|
|
10977
10983
|
readonly type: "string";
|
|
10978
10984
|
};
|
|
10979
10985
|
};
|
|
10986
|
+
readonly rbac: {
|
|
10987
|
+
readonly type: "object";
|
|
10988
|
+
readonly additionalProperties: {
|
|
10989
|
+
readonly type: "string";
|
|
10990
|
+
};
|
|
10991
|
+
};
|
|
10980
10992
|
};
|
|
10981
10993
|
readonly type: "object";
|
|
10982
10994
|
};
|
|
@@ -11100,6 +11112,12 @@ export declare const redoclyConfigSchema: {
|
|
|
11100
11112
|
readonly additionalProperties: true;
|
|
11101
11113
|
};
|
|
11102
11114
|
};
|
|
11115
|
+
readonly rbac: {
|
|
11116
|
+
readonly type: "object";
|
|
11117
|
+
readonly additionalProperties: {
|
|
11118
|
+
readonly type: "string";
|
|
11119
|
+
};
|
|
11120
|
+
};
|
|
11103
11121
|
};
|
|
11104
11122
|
};
|
|
11105
11123
|
};
|
|
@@ -11178,6 +11196,12 @@ export declare const redoclyConfigSchema: {
|
|
|
11178
11196
|
readonly type: "string";
|
|
11179
11197
|
};
|
|
11180
11198
|
};
|
|
11199
|
+
readonly rbac: {
|
|
11200
|
+
readonly type: "object";
|
|
11201
|
+
readonly additionalProperties: {
|
|
11202
|
+
readonly type: "string";
|
|
11203
|
+
};
|
|
11204
|
+
};
|
|
11181
11205
|
};
|
|
11182
11206
|
readonly type: "object";
|
|
11183
11207
|
};
|
|
@@ -14571,6 +14595,12 @@ export declare const redoclyConfigSchema: {
|
|
|
14571
14595
|
readonly additionalProperties: true;
|
|
14572
14596
|
};
|
|
14573
14597
|
};
|
|
14598
|
+
readonly rbac: {
|
|
14599
|
+
readonly type: "object";
|
|
14600
|
+
readonly additionalProperties: {
|
|
14601
|
+
readonly type: "string";
|
|
14602
|
+
};
|
|
14603
|
+
};
|
|
14574
14604
|
};
|
|
14575
14605
|
};
|
|
14576
14606
|
};
|
|
@@ -14649,6 +14679,12 @@ export declare const redoclyConfigSchema: {
|
|
|
14649
14679
|
readonly type: "string";
|
|
14650
14680
|
};
|
|
14651
14681
|
};
|
|
14682
|
+
readonly rbac: {
|
|
14683
|
+
readonly type: "object";
|
|
14684
|
+
readonly additionalProperties: {
|
|
14685
|
+
readonly type: "string";
|
|
14686
|
+
};
|
|
14687
|
+
};
|
|
14652
14688
|
};
|
|
14653
14689
|
readonly type: "object";
|
|
14654
14690
|
};
|
|
@@ -14983,6 +15019,12 @@ export declare const redoclyConfigSchema: {
|
|
|
14983
15019
|
readonly additionalProperties: true;
|
|
14984
15020
|
};
|
|
14985
15021
|
};
|
|
15022
|
+
readonly rbac: {
|
|
15023
|
+
readonly type: "object";
|
|
15024
|
+
readonly additionalProperties: {
|
|
15025
|
+
readonly type: "string";
|
|
15026
|
+
};
|
|
15027
|
+
};
|
|
14986
15028
|
};
|
|
14987
15029
|
};
|
|
14988
15030
|
};
|
|
@@ -15061,6 +15103,12 @@ export declare const redoclyConfigSchema: {
|
|
|
15061
15103
|
readonly type: "string";
|
|
15062
15104
|
};
|
|
15063
15105
|
};
|
|
15106
|
+
readonly rbac: {
|
|
15107
|
+
readonly type: "object";
|
|
15108
|
+
readonly additionalProperties: {
|
|
15109
|
+
readonly type: "string";
|
|
15110
|
+
};
|
|
15111
|
+
};
|
|
15064
15112
|
};
|
|
15065
15113
|
readonly type: "object";
|
|
15066
15114
|
};
|
|
@@ -15184,6 +15232,12 @@ export declare const redoclyConfigSchema: {
|
|
|
15184
15232
|
readonly additionalProperties: true;
|
|
15185
15233
|
};
|
|
15186
15234
|
};
|
|
15235
|
+
readonly rbac: {
|
|
15236
|
+
readonly type: "object";
|
|
15237
|
+
readonly additionalProperties: {
|
|
15238
|
+
readonly type: "string";
|
|
15239
|
+
};
|
|
15240
|
+
};
|
|
15187
15241
|
};
|
|
15188
15242
|
};
|
|
15189
15243
|
};
|
|
@@ -15262,6 +15316,12 @@ export declare const redoclyConfigSchema: {
|
|
|
15262
15316
|
readonly type: "string";
|
|
15263
15317
|
};
|
|
15264
15318
|
};
|
|
15319
|
+
readonly rbac: {
|
|
15320
|
+
readonly type: "object";
|
|
15321
|
+
readonly additionalProperties: {
|
|
15322
|
+
readonly type: "string";
|
|
15323
|
+
};
|
|
15324
|
+
};
|
|
15265
15325
|
};
|
|
15266
15326
|
readonly type: "object";
|
|
15267
15327
|
};
|
|
@@ -18655,6 +18715,12 @@ export declare const redoclyConfigSchema: {
|
|
|
18655
18715
|
readonly additionalProperties: true;
|
|
18656
18716
|
};
|
|
18657
18717
|
};
|
|
18718
|
+
readonly rbac: {
|
|
18719
|
+
readonly type: "object";
|
|
18720
|
+
readonly additionalProperties: {
|
|
18721
|
+
readonly type: "string";
|
|
18722
|
+
};
|
|
18723
|
+
};
|
|
18658
18724
|
};
|
|
18659
18725
|
};
|
|
18660
18726
|
};
|
|
@@ -18733,6 +18799,12 @@ export declare const redoclyConfigSchema: {
|
|
|
18733
18799
|
readonly type: "string";
|
|
18734
18800
|
};
|
|
18735
18801
|
};
|
|
18802
|
+
readonly rbac: {
|
|
18803
|
+
readonly type: "object";
|
|
18804
|
+
readonly additionalProperties: {
|
|
18805
|
+
readonly type: "string";
|
|
18806
|
+
};
|
|
18807
|
+
};
|
|
18736
18808
|
};
|
|
18737
18809
|
readonly type: "object";
|
|
18738
18810
|
};
|
|
@@ -18977,6 +19049,7 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
18977
19049
|
page: any;
|
|
18978
19050
|
href: any;
|
|
18979
19051
|
icon: any;
|
|
19052
|
+
rbac: any;
|
|
18980
19053
|
directory: any;
|
|
18981
19054
|
disconnect: any;
|
|
18982
19055
|
group: any;
|
|
@@ -19014,6 +19087,12 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
19014
19087
|
required: "srcSet"[];
|
|
19015
19088
|
})[];
|
|
19016
19089
|
};
|
|
19090
|
+
rbac: {
|
|
19091
|
+
additionalProperties: {
|
|
19092
|
+
type: "string";
|
|
19093
|
+
};
|
|
19094
|
+
type: "object";
|
|
19095
|
+
};
|
|
19017
19096
|
directory: {
|
|
19018
19097
|
type: "string";
|
|
19019
19098
|
};
|
|
@@ -19120,6 +19199,7 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
19120
19199
|
page: any;
|
|
19121
19200
|
href: any;
|
|
19122
19201
|
icon: any;
|
|
19202
|
+
rbac: any;
|
|
19123
19203
|
directory: any;
|
|
19124
19204
|
disconnect: any;
|
|
19125
19205
|
group: any;
|
|
@@ -19157,6 +19237,12 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
19157
19237
|
required: "srcSet"[];
|
|
19158
19238
|
})[];
|
|
19159
19239
|
};
|
|
19240
|
+
rbac: {
|
|
19241
|
+
additionalProperties: {
|
|
19242
|
+
type: "string";
|
|
19243
|
+
};
|
|
19244
|
+
type: "object";
|
|
19245
|
+
};
|
|
19160
19246
|
directory: {
|
|
19161
19247
|
type: "string";
|
|
19162
19248
|
};
|
|
@@ -21850,6 +21936,7 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
21850
21936
|
page: any;
|
|
21851
21937
|
href: any;
|
|
21852
21938
|
icon: any;
|
|
21939
|
+
rbac: any;
|
|
21853
21940
|
directory: any;
|
|
21854
21941
|
disconnect: any;
|
|
21855
21942
|
group: any;
|
|
@@ -21887,6 +21974,12 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
21887
21974
|
required: "srcSet"[];
|
|
21888
21975
|
})[];
|
|
21889
21976
|
};
|
|
21977
|
+
rbac: {
|
|
21978
|
+
additionalProperties: {
|
|
21979
|
+
type: "string";
|
|
21980
|
+
};
|
|
21981
|
+
type: "object";
|
|
21982
|
+
};
|
|
21890
21983
|
directory: {
|
|
21891
21984
|
type: "string";
|
|
21892
21985
|
};
|
|
@@ -22220,6 +22313,7 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
22220
22313
|
page: any;
|
|
22221
22314
|
href: any;
|
|
22222
22315
|
icon: any;
|
|
22316
|
+
rbac: any;
|
|
22223
22317
|
directory: any;
|
|
22224
22318
|
disconnect: any;
|
|
22225
22319
|
group: any;
|
|
@@ -22257,6 +22351,12 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
22257
22351
|
required: "srcSet"[];
|
|
22258
22352
|
})[];
|
|
22259
22353
|
};
|
|
22354
|
+
rbac: {
|
|
22355
|
+
additionalProperties: {
|
|
22356
|
+
type: "string";
|
|
22357
|
+
};
|
|
22358
|
+
type: "object";
|
|
22359
|
+
};
|
|
22260
22360
|
directory: {
|
|
22261
22361
|
type: "string";
|
|
22262
22362
|
};
|
|
@@ -26605,6 +26705,7 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
26605
26705
|
page: any;
|
|
26606
26706
|
href: any;
|
|
26607
26707
|
icon: any;
|
|
26708
|
+
rbac: any;
|
|
26608
26709
|
directory: any;
|
|
26609
26710
|
disconnect: any;
|
|
26610
26711
|
group: any;
|
|
@@ -26642,6 +26743,12 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
26642
26743
|
required: "srcSet"[];
|
|
26643
26744
|
})[];
|
|
26644
26745
|
};
|
|
26746
|
+
rbac: {
|
|
26747
|
+
additionalProperties: {
|
|
26748
|
+
type: "string";
|
|
26749
|
+
};
|
|
26750
|
+
type: "object";
|
|
26751
|
+
};
|
|
26645
26752
|
directory: {
|
|
26646
26753
|
type: "string";
|
|
26647
26754
|
};
|
|
@@ -29335,6 +29442,7 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
29335
29442
|
page: any;
|
|
29336
29443
|
href: any;
|
|
29337
29444
|
icon: any;
|
|
29445
|
+
rbac: any;
|
|
29338
29446
|
directory: any;
|
|
29339
29447
|
disconnect: any;
|
|
29340
29448
|
group: any;
|
|
@@ -29372,6 +29480,12 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
29372
29480
|
required: "srcSet"[];
|
|
29373
29481
|
})[];
|
|
29374
29482
|
};
|
|
29483
|
+
rbac: {
|
|
29484
|
+
additionalProperties: {
|
|
29485
|
+
type: "string";
|
|
29486
|
+
};
|
|
29487
|
+
type: "object";
|
|
29488
|
+
};
|
|
29375
29489
|
directory: {
|
|
29376
29490
|
type: "string";
|
|
29377
29491
|
};
|
|
@@ -34894,6 +35008,12 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
34894
35008
|
readonly additionalProperties: true;
|
|
34895
35009
|
};
|
|
34896
35010
|
};
|
|
35011
|
+
readonly rbac: {
|
|
35012
|
+
readonly type: "object";
|
|
35013
|
+
readonly additionalProperties: {
|
|
35014
|
+
readonly type: "string";
|
|
35015
|
+
};
|
|
35016
|
+
};
|
|
34897
35017
|
};
|
|
34898
35018
|
};
|
|
34899
35019
|
};
|
|
@@ -34972,6 +35092,12 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
34972
35092
|
readonly type: "string";
|
|
34973
35093
|
};
|
|
34974
35094
|
};
|
|
35095
|
+
readonly rbac: {
|
|
35096
|
+
readonly type: "object";
|
|
35097
|
+
readonly additionalProperties: {
|
|
35098
|
+
readonly type: "string";
|
|
35099
|
+
};
|
|
35100
|
+
};
|
|
34975
35101
|
};
|
|
34976
35102
|
readonly type: "object";
|
|
34977
35103
|
};
|
|
@@ -35095,6 +35221,12 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
35095
35221
|
readonly additionalProperties: true;
|
|
35096
35222
|
};
|
|
35097
35223
|
};
|
|
35224
|
+
readonly rbac: {
|
|
35225
|
+
readonly type: "object";
|
|
35226
|
+
readonly additionalProperties: {
|
|
35227
|
+
readonly type: "string";
|
|
35228
|
+
};
|
|
35229
|
+
};
|
|
35098
35230
|
};
|
|
35099
35231
|
};
|
|
35100
35232
|
};
|
|
@@ -35173,6 +35305,12 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
35173
35305
|
readonly type: "string";
|
|
35174
35306
|
};
|
|
35175
35307
|
};
|
|
35308
|
+
readonly rbac: {
|
|
35309
|
+
readonly type: "object";
|
|
35310
|
+
readonly additionalProperties: {
|
|
35311
|
+
readonly type: "string";
|
|
35312
|
+
};
|
|
35313
|
+
};
|
|
35176
35314
|
};
|
|
35177
35315
|
readonly type: "object";
|
|
35178
35316
|
};
|
|
@@ -38566,6 +38704,12 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
38566
38704
|
readonly additionalProperties: true;
|
|
38567
38705
|
};
|
|
38568
38706
|
};
|
|
38707
|
+
readonly rbac: {
|
|
38708
|
+
readonly type: "object";
|
|
38709
|
+
readonly additionalProperties: {
|
|
38710
|
+
readonly type: "string";
|
|
38711
|
+
};
|
|
38712
|
+
};
|
|
38569
38713
|
};
|
|
38570
38714
|
};
|
|
38571
38715
|
};
|
|
@@ -38644,6 +38788,12 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
38644
38788
|
readonly type: "string";
|
|
38645
38789
|
};
|
|
38646
38790
|
};
|
|
38791
|
+
readonly rbac: {
|
|
38792
|
+
readonly type: "object";
|
|
38793
|
+
readonly additionalProperties: {
|
|
38794
|
+
readonly type: "string";
|
|
38795
|
+
};
|
|
38796
|
+
};
|
|
38647
38797
|
};
|
|
38648
38798
|
readonly type: "object";
|
|
38649
38799
|
};
|
|
@@ -38978,6 +39128,12 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
38978
39128
|
readonly additionalProperties: true;
|
|
38979
39129
|
};
|
|
38980
39130
|
};
|
|
39131
|
+
readonly rbac: {
|
|
39132
|
+
readonly type: "object";
|
|
39133
|
+
readonly additionalProperties: {
|
|
39134
|
+
readonly type: "string";
|
|
39135
|
+
};
|
|
39136
|
+
};
|
|
38981
39137
|
};
|
|
38982
39138
|
};
|
|
38983
39139
|
};
|
|
@@ -39056,6 +39212,12 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
39056
39212
|
readonly type: "string";
|
|
39057
39213
|
};
|
|
39058
39214
|
};
|
|
39215
|
+
readonly rbac: {
|
|
39216
|
+
readonly type: "object";
|
|
39217
|
+
readonly additionalProperties: {
|
|
39218
|
+
readonly type: "string";
|
|
39219
|
+
};
|
|
39220
|
+
};
|
|
39059
39221
|
};
|
|
39060
39222
|
readonly type: "object";
|
|
39061
39223
|
};
|
|
@@ -39179,6 +39341,12 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
39179
39341
|
readonly additionalProperties: true;
|
|
39180
39342
|
};
|
|
39181
39343
|
};
|
|
39344
|
+
readonly rbac: {
|
|
39345
|
+
readonly type: "object";
|
|
39346
|
+
readonly additionalProperties: {
|
|
39347
|
+
readonly type: "string";
|
|
39348
|
+
};
|
|
39349
|
+
};
|
|
39182
39350
|
};
|
|
39183
39351
|
};
|
|
39184
39352
|
};
|
|
@@ -39257,6 +39425,12 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
39257
39425
|
readonly type: "string";
|
|
39258
39426
|
};
|
|
39259
39427
|
};
|
|
39428
|
+
readonly rbac: {
|
|
39429
|
+
readonly type: "object";
|
|
39430
|
+
readonly additionalProperties: {
|
|
39431
|
+
readonly type: "string";
|
|
39432
|
+
};
|
|
39433
|
+
};
|
|
39260
39434
|
};
|
|
39261
39435
|
readonly type: "object";
|
|
39262
39436
|
};
|
|
@@ -42650,6 +42824,12 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
42650
42824
|
readonly additionalProperties: true;
|
|
42651
42825
|
};
|
|
42652
42826
|
};
|
|
42827
|
+
readonly rbac: {
|
|
42828
|
+
readonly type: "object";
|
|
42829
|
+
readonly additionalProperties: {
|
|
42830
|
+
readonly type: "string";
|
|
42831
|
+
};
|
|
42832
|
+
};
|
|
42653
42833
|
};
|
|
42654
42834
|
};
|
|
42655
42835
|
};
|
|
@@ -42728,6 +42908,12 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
42728
42908
|
readonly type: "string";
|
|
42729
42909
|
};
|
|
42730
42910
|
};
|
|
42911
|
+
readonly rbac: {
|
|
42912
|
+
readonly type: "object";
|
|
42913
|
+
readonly additionalProperties: {
|
|
42914
|
+
readonly type: "string";
|
|
42915
|
+
};
|
|
42916
|
+
};
|
|
42731
42917
|
};
|
|
42732
42918
|
readonly type: "object";
|
|
42733
42919
|
};
|
|
@@ -108,6 +108,7 @@ export type ResolvedNavItem = ResolvedNavLinkItem | ResolvedNavGroupItem | {
|
|
|
108
108
|
sidebar?: ResolvedNavItem[];
|
|
109
109
|
linkedSidebars?: string[];
|
|
110
110
|
icon?: string;
|
|
111
|
+
external?: boolean;
|
|
111
112
|
srcSet?: string;
|
|
112
113
|
languageInsensitive?: boolean;
|
|
113
114
|
[REDOCLY_TEAMS_RBAC]?: RbacScopeItems;
|
|
@@ -163,6 +164,11 @@ export type PageProps = {
|
|
|
163
164
|
disableAutoScroll?: boolean;
|
|
164
165
|
lastModified?: string | null;
|
|
165
166
|
[k: string]: unknown;
|
|
167
|
+
pagePropGetterError?: {
|
|
168
|
+
message: string;
|
|
169
|
+
name: string;
|
|
170
|
+
stack?: string;
|
|
171
|
+
};
|
|
166
172
|
dynamicMarkdocComponents?: string[];
|
|
167
173
|
compilationErrors?: CompilationError[];
|
|
168
174
|
markdown?: MdOptions;
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@redocly/config",
|
|
3
|
-
"version": "0.22.
|
|
3
|
+
"version": "0.22.2",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"module": "./lib-esm/index.js",
|
|
7
7
|
"types": "./lib/index.d.ts",
|
|
8
8
|
"devDependencies": {
|
|
9
|
-
"@markdoc/markdoc": "0.
|
|
9
|
+
"@markdoc/markdoc": "0.5.1",
|
|
10
10
|
"@types/node": "^22.10.7",
|
|
11
11
|
"@types/react": "18.3.9",
|
|
12
12
|
"json-schema-to-ts": "2.7.2",
|