@redocly/config 0.53.0 → 0.53.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/asyncapi-config-schema.d.ts +3 -9
- package/lib/default-theme-config-schema.d.ts +6 -12
- package/lib/ex-theme-config-schemas.d.ts +0 -6
- package/lib/graphql-config-schema.d.ts +3 -0
- package/lib/index.js +1 -1
- package/lib/product-override-schema.d.ts +6 -15
- package/lib/redoc-config-schema.d.ts +0 -3
- package/lib/root-config-schema.d.ts +51 -69
- package/lib/types/graphql-types.d.ts +10 -0
- package/lib-esm/asyncapi-config-schema.d.ts +3 -9
- package/lib-esm/default-theme-config-schema.d.ts +6 -12
- package/lib-esm/ex-theme-config-schemas.d.ts +0 -6
- package/lib-esm/graphql-config-schema.d.ts +3 -0
- package/lib-esm/index.js +1 -1
- package/lib-esm/product-override-schema.d.ts +6 -15
- package/lib-esm/redoc-config-schema.d.ts +0 -3
- package/lib-esm/root-config-schema.d.ts +51 -69
- package/lib-esm/types/graphql-types.d.ts +10 -0
- package/package.json +1 -1
|
@@ -899,9 +899,6 @@ export declare const apiConfigSchema: {
|
|
|
899
899
|
readonly hideLoading: {
|
|
900
900
|
readonly type: 'boolean';
|
|
901
901
|
};
|
|
902
|
-
readonly disableRouter: {
|
|
903
|
-
readonly type: 'boolean';
|
|
904
|
-
};
|
|
905
902
|
readonly hideSidebar: {
|
|
906
903
|
readonly type: 'boolean';
|
|
907
904
|
};
|
|
@@ -3111,6 +3108,9 @@ export declare const apiConfigSchema: {
|
|
|
3111
3108
|
readonly showBuiltInDirectives: {
|
|
3112
3109
|
readonly type: 'boolean';
|
|
3113
3110
|
};
|
|
3111
|
+
readonly excludeFromSearch: {
|
|
3112
|
+
readonly type: 'boolean';
|
|
3113
|
+
};
|
|
3114
3114
|
readonly info: {
|
|
3115
3115
|
readonly type: 'object';
|
|
3116
3116
|
readonly properties: {
|
|
@@ -3182,9 +3182,6 @@ export declare const apiConfigSchema: {
|
|
|
3182
3182
|
readonly hideLoading: {
|
|
3183
3183
|
readonly type: 'boolean';
|
|
3184
3184
|
};
|
|
3185
|
-
readonly disableRouter: {
|
|
3186
|
-
readonly type: 'boolean';
|
|
3187
|
-
};
|
|
3188
3185
|
readonly hideSidebar: {
|
|
3189
3186
|
readonly type: 'boolean';
|
|
3190
3187
|
};
|
|
@@ -5394,6 +5391,9 @@ export declare const apiConfigSchema: {
|
|
|
5394
5391
|
readonly showBuiltInDirectives: {
|
|
5395
5392
|
readonly type: 'boolean';
|
|
5396
5393
|
};
|
|
5394
|
+
readonly excludeFromSearch: {
|
|
5395
|
+
readonly type: 'boolean';
|
|
5396
|
+
};
|
|
5397
5397
|
readonly info: {
|
|
5398
5398
|
readonly type: 'object';
|
|
5399
5399
|
readonly properties: {
|
|
@@ -7755,9 +7755,6 @@ export declare const redoclyConfigSchema: {
|
|
|
7755
7755
|
readonly hideLoading: {
|
|
7756
7756
|
readonly type: 'boolean';
|
|
7757
7757
|
};
|
|
7758
|
-
readonly disableRouter: {
|
|
7759
|
-
readonly type: 'boolean';
|
|
7760
|
-
};
|
|
7761
7758
|
readonly hideSidebar: {
|
|
7762
7759
|
readonly type: 'boolean';
|
|
7763
7760
|
};
|
|
@@ -9967,6 +9964,9 @@ export declare const redoclyConfigSchema: {
|
|
|
9967
9964
|
readonly showBuiltInDirectives: {
|
|
9968
9965
|
readonly type: 'boolean';
|
|
9969
9966
|
};
|
|
9967
|
+
readonly excludeFromSearch: {
|
|
9968
|
+
readonly type: 'boolean';
|
|
9969
|
+
};
|
|
9970
9970
|
readonly info: {
|
|
9971
9971
|
readonly type: 'object';
|
|
9972
9972
|
readonly properties: {
|
|
@@ -10038,9 +10038,6 @@ export declare const redoclyConfigSchema: {
|
|
|
10038
10038
|
readonly hideLoading: {
|
|
10039
10039
|
readonly type: 'boolean';
|
|
10040
10040
|
};
|
|
10041
|
-
readonly disableRouter: {
|
|
10042
|
-
readonly type: 'boolean';
|
|
10043
|
-
};
|
|
10044
10041
|
readonly hideSidebar: {
|
|
10045
10042
|
readonly type: 'boolean';
|
|
10046
10043
|
};
|
|
@@ -12250,6 +12247,9 @@ export declare const redoclyConfigSchema: {
|
|
|
12250
12247
|
readonly showBuiltInDirectives: {
|
|
12251
12248
|
readonly type: 'boolean';
|
|
12252
12249
|
};
|
|
12250
|
+
readonly excludeFromSearch: {
|
|
12251
|
+
readonly type: 'boolean';
|
|
12252
|
+
};
|
|
12253
12253
|
readonly info: {
|
|
12254
12254
|
readonly type: 'object';
|
|
12255
12255
|
readonly properties: {
|
|
@@ -14235,9 +14235,6 @@ export declare const redoclyConfigSchema: {
|
|
|
14235
14235
|
readonly hideLoading: {
|
|
14236
14236
|
readonly type: 'boolean';
|
|
14237
14237
|
};
|
|
14238
|
-
readonly disableRouter: {
|
|
14239
|
-
readonly type: 'boolean';
|
|
14240
|
-
};
|
|
14241
14238
|
readonly hideSidebar: {
|
|
14242
14239
|
readonly type: 'boolean';
|
|
14243
14240
|
};
|
|
@@ -16056,6 +16053,9 @@ export declare const redoclyConfigSchema: {
|
|
|
16056
16053
|
readonly jsonSamplesDepth: {
|
|
16057
16054
|
readonly type: 'number';
|
|
16058
16055
|
};
|
|
16056
|
+
readonly excludeFromSearch: {
|
|
16057
|
+
readonly type: 'boolean';
|
|
16058
|
+
};
|
|
16059
16059
|
readonly samplesMaxInlineArgs: {
|
|
16060
16060
|
readonly type: 'number';
|
|
16061
16061
|
};
|
|
@@ -16065,15 +16065,6 @@ export declare const redoclyConfigSchema: {
|
|
|
16065
16065
|
readonly baseUrlPath: {
|
|
16066
16066
|
readonly type: 'string';
|
|
16067
16067
|
};
|
|
16068
|
-
readonly metadata: {
|
|
16069
|
-
readonly type: 'object';
|
|
16070
|
-
readonly properties: {
|
|
16071
|
-
readonly apiId: {
|
|
16072
|
-
readonly type: 'string';
|
|
16073
|
-
};
|
|
16074
|
-
};
|
|
16075
|
-
readonly additionalProperties: true;
|
|
16076
|
-
};
|
|
16077
16068
|
readonly feedback: {
|
|
16078
16069
|
readonly type: 'object';
|
|
16079
16070
|
readonly properties: {
|
|
@@ -16730,6 +16721,9 @@ export declare const redoclyConfigSchema: {
|
|
|
16730
16721
|
readonly showBuiltInDirectives: {
|
|
16731
16722
|
readonly type: 'boolean';
|
|
16732
16723
|
};
|
|
16724
|
+
readonly excludeFromSearch: {
|
|
16725
|
+
readonly type: 'boolean';
|
|
16726
|
+
};
|
|
16733
16727
|
readonly info: {
|
|
16734
16728
|
readonly type: 'object';
|
|
16735
16729
|
readonly properties: {
|
|
@@ -21232,9 +21226,6 @@ export declare const redoclyConfigSchema: {
|
|
|
21232
21226
|
readonly hideLoading: {
|
|
21233
21227
|
readonly type: 'boolean';
|
|
21234
21228
|
};
|
|
21235
|
-
readonly disableRouter: {
|
|
21236
|
-
readonly type: 'boolean';
|
|
21237
|
-
};
|
|
21238
21229
|
readonly hideSidebar: {
|
|
21239
21230
|
readonly type: 'boolean';
|
|
21240
21231
|
};
|
|
@@ -23444,6 +23435,9 @@ export declare const redoclyConfigSchema: {
|
|
|
23444
23435
|
readonly showBuiltInDirectives: {
|
|
23445
23436
|
readonly type: 'boolean';
|
|
23446
23437
|
};
|
|
23438
|
+
readonly excludeFromSearch: {
|
|
23439
|
+
readonly type: 'boolean';
|
|
23440
|
+
};
|
|
23447
23441
|
readonly info: {
|
|
23448
23442
|
readonly type: 'object';
|
|
23449
23443
|
readonly properties: {
|
|
@@ -27802,9 +27796,6 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
27802
27796
|
readonly hideLoading: {
|
|
27803
27797
|
readonly type: 'boolean';
|
|
27804
27798
|
};
|
|
27805
|
-
readonly disableRouter: {
|
|
27806
|
-
readonly type: 'boolean';
|
|
27807
|
-
};
|
|
27808
27799
|
readonly hideSidebar: {
|
|
27809
27800
|
readonly type: 'boolean';
|
|
27810
27801
|
};
|
|
@@ -30014,6 +30005,9 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
30014
30005
|
readonly showBuiltInDirectives: {
|
|
30015
30006
|
readonly type: 'boolean';
|
|
30016
30007
|
};
|
|
30008
|
+
readonly excludeFromSearch: {
|
|
30009
|
+
readonly type: 'boolean';
|
|
30010
|
+
};
|
|
30017
30011
|
readonly info: {
|
|
30018
30012
|
readonly type: 'object';
|
|
30019
30013
|
readonly properties: {
|
|
@@ -30085,9 +30079,6 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
30085
30079
|
readonly hideLoading: {
|
|
30086
30080
|
readonly type: 'boolean';
|
|
30087
30081
|
};
|
|
30088
|
-
readonly disableRouter: {
|
|
30089
|
-
readonly type: 'boolean';
|
|
30090
|
-
};
|
|
30091
30082
|
readonly hideSidebar: {
|
|
30092
30083
|
readonly type: 'boolean';
|
|
30093
30084
|
};
|
|
@@ -32297,6 +32288,9 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
32297
32288
|
readonly showBuiltInDirectives: {
|
|
32298
32289
|
readonly type: 'boolean';
|
|
32299
32290
|
};
|
|
32291
|
+
readonly excludeFromSearch: {
|
|
32292
|
+
readonly type: 'boolean';
|
|
32293
|
+
};
|
|
32300
32294
|
readonly info: {
|
|
32301
32295
|
readonly type: 'object';
|
|
32302
32296
|
readonly properties: {
|
|
@@ -34282,9 +34276,6 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
34282
34276
|
readonly hideLoading: {
|
|
34283
34277
|
readonly type: 'boolean';
|
|
34284
34278
|
};
|
|
34285
|
-
readonly disableRouter: {
|
|
34286
|
-
readonly type: 'boolean';
|
|
34287
|
-
};
|
|
34288
34279
|
readonly hideSidebar: {
|
|
34289
34280
|
readonly type: 'boolean';
|
|
34290
34281
|
};
|
|
@@ -36103,6 +36094,9 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
36103
36094
|
readonly jsonSamplesDepth: {
|
|
36104
36095
|
readonly type: 'number';
|
|
36105
36096
|
};
|
|
36097
|
+
readonly excludeFromSearch: {
|
|
36098
|
+
readonly type: 'boolean';
|
|
36099
|
+
};
|
|
36106
36100
|
readonly samplesMaxInlineArgs: {
|
|
36107
36101
|
readonly type: 'number';
|
|
36108
36102
|
};
|
|
@@ -36112,15 +36106,6 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
36112
36106
|
readonly baseUrlPath: {
|
|
36113
36107
|
readonly type: 'string';
|
|
36114
36108
|
};
|
|
36115
|
-
readonly metadata: {
|
|
36116
|
-
readonly type: 'object';
|
|
36117
|
-
readonly properties: {
|
|
36118
|
-
readonly apiId: {
|
|
36119
|
-
readonly type: 'string';
|
|
36120
|
-
};
|
|
36121
|
-
};
|
|
36122
|
-
readonly additionalProperties: true;
|
|
36123
|
-
};
|
|
36124
36109
|
readonly feedback: {
|
|
36125
36110
|
readonly type: 'object';
|
|
36126
36111
|
readonly properties: {
|
|
@@ -36777,6 +36762,9 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
36777
36762
|
readonly showBuiltInDirectives: {
|
|
36778
36763
|
readonly type: 'boolean';
|
|
36779
36764
|
};
|
|
36765
|
+
readonly excludeFromSearch: {
|
|
36766
|
+
readonly type: 'boolean';
|
|
36767
|
+
};
|
|
36780
36768
|
readonly info: {
|
|
36781
36769
|
readonly type: 'object';
|
|
36782
36770
|
readonly properties: {
|
|
@@ -41279,9 +41267,6 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
41279
41267
|
readonly hideLoading: {
|
|
41280
41268
|
readonly type: 'boolean';
|
|
41281
41269
|
};
|
|
41282
|
-
readonly disableRouter: {
|
|
41283
|
-
readonly type: 'boolean';
|
|
41284
|
-
};
|
|
41285
41270
|
readonly hideSidebar: {
|
|
41286
41271
|
readonly type: 'boolean';
|
|
41287
41272
|
};
|
|
@@ -43491,6 +43476,9 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
43491
43476
|
readonly showBuiltInDirectives: {
|
|
43492
43477
|
readonly type: 'boolean';
|
|
43493
43478
|
};
|
|
43479
|
+
readonly excludeFromSearch: {
|
|
43480
|
+
readonly type: 'boolean';
|
|
43481
|
+
};
|
|
43494
43482
|
readonly info: {
|
|
43495
43483
|
readonly type: 'object';
|
|
43496
43484
|
readonly properties: {
|
|
@@ -47847,9 +47835,6 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
47847
47835
|
readonly hideLoading: {
|
|
47848
47836
|
readonly type: 'boolean';
|
|
47849
47837
|
};
|
|
47850
|
-
readonly disableRouter: {
|
|
47851
|
-
readonly type: 'boolean';
|
|
47852
|
-
};
|
|
47853
47838
|
readonly hideSidebar: {
|
|
47854
47839
|
readonly type: 'boolean';
|
|
47855
47840
|
};
|
|
@@ -50059,6 +50044,9 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
50059
50044
|
readonly showBuiltInDirectives: {
|
|
50060
50045
|
readonly type: 'boolean';
|
|
50061
50046
|
};
|
|
50047
|
+
readonly excludeFromSearch: {
|
|
50048
|
+
readonly type: 'boolean';
|
|
50049
|
+
};
|
|
50062
50050
|
readonly info: {
|
|
50063
50051
|
readonly type: 'object';
|
|
50064
50052
|
readonly properties: {
|
|
@@ -50130,9 +50118,6 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
50130
50118
|
readonly hideLoading: {
|
|
50131
50119
|
readonly type: 'boolean';
|
|
50132
50120
|
};
|
|
50133
|
-
readonly disableRouter: {
|
|
50134
|
-
readonly type: 'boolean';
|
|
50135
|
-
};
|
|
50136
50121
|
readonly hideSidebar: {
|
|
50137
50122
|
readonly type: 'boolean';
|
|
50138
50123
|
};
|
|
@@ -52342,6 +52327,9 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
52342
52327
|
readonly showBuiltInDirectives: {
|
|
52343
52328
|
readonly type: 'boolean';
|
|
52344
52329
|
};
|
|
52330
|
+
readonly excludeFromSearch: {
|
|
52331
|
+
readonly type: 'boolean';
|
|
52332
|
+
};
|
|
52345
52333
|
readonly info: {
|
|
52346
52334
|
readonly type: 'object';
|
|
52347
52335
|
readonly properties: {
|
|
@@ -54327,9 +54315,6 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
54327
54315
|
readonly hideLoading: {
|
|
54328
54316
|
readonly type: 'boolean';
|
|
54329
54317
|
};
|
|
54330
|
-
readonly disableRouter: {
|
|
54331
|
-
readonly type: 'boolean';
|
|
54332
|
-
};
|
|
54333
54318
|
readonly hideSidebar: {
|
|
54334
54319
|
readonly type: 'boolean';
|
|
54335
54320
|
};
|
|
@@ -56148,6 +56133,9 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
56148
56133
|
readonly jsonSamplesDepth: {
|
|
56149
56134
|
readonly type: 'number';
|
|
56150
56135
|
};
|
|
56136
|
+
readonly excludeFromSearch: {
|
|
56137
|
+
readonly type: 'boolean';
|
|
56138
|
+
};
|
|
56151
56139
|
readonly samplesMaxInlineArgs: {
|
|
56152
56140
|
readonly type: 'number';
|
|
56153
56141
|
};
|
|
@@ -56157,15 +56145,6 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
56157
56145
|
readonly baseUrlPath: {
|
|
56158
56146
|
readonly type: 'string';
|
|
56159
56147
|
};
|
|
56160
|
-
readonly metadata: {
|
|
56161
|
-
readonly type: 'object';
|
|
56162
|
-
readonly properties: {
|
|
56163
|
-
readonly apiId: {
|
|
56164
|
-
readonly type: 'string';
|
|
56165
|
-
};
|
|
56166
|
-
};
|
|
56167
|
-
readonly additionalProperties: true;
|
|
56168
|
-
};
|
|
56169
56148
|
readonly feedback: {
|
|
56170
56149
|
readonly type: 'object';
|
|
56171
56150
|
readonly properties: {
|
|
@@ -56822,6 +56801,9 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
56822
56801
|
readonly showBuiltInDirectives: {
|
|
56823
56802
|
readonly type: 'boolean';
|
|
56824
56803
|
};
|
|
56804
|
+
readonly excludeFromSearch: {
|
|
56805
|
+
readonly type: 'boolean';
|
|
56806
|
+
};
|
|
56825
56807
|
readonly info: {
|
|
56826
56808
|
readonly type: 'object';
|
|
56827
56809
|
readonly properties: {
|
|
@@ -61324,9 +61306,6 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
61324
61306
|
readonly hideLoading: {
|
|
61325
61307
|
readonly type: 'boolean';
|
|
61326
61308
|
};
|
|
61327
|
-
readonly disableRouter: {
|
|
61328
|
-
readonly type: 'boolean';
|
|
61329
|
-
};
|
|
61330
61309
|
readonly hideSidebar: {
|
|
61331
61310
|
readonly type: 'boolean';
|
|
61332
61311
|
};
|
|
@@ -63536,6 +63515,9 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
63536
63515
|
readonly showBuiltInDirectives: {
|
|
63537
63516
|
readonly type: 'boolean';
|
|
63538
63517
|
};
|
|
63518
|
+
readonly excludeFromSearch: {
|
|
63519
|
+
readonly type: 'boolean';
|
|
63520
|
+
};
|
|
63539
63521
|
readonly info: {
|
|
63540
63522
|
readonly type: 'object';
|
|
63541
63523
|
readonly properties: {
|
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
import type { FromSchema } from 'json-schema-to-ts';
|
|
2
|
+
import type { ComponentType } from 'react';
|
|
2
3
|
import type { graphqlConfigSchema } from '../graphql-config-schema.js';
|
|
4
|
+
import type { Schema, ConfigFunction } from '@markdoc/markdoc/dist/src/types.js';
|
|
3
5
|
export type GraphQLConfigTypes = FromSchema<typeof graphqlConfigSchema> & {
|
|
6
|
+
markdocOptions?: {
|
|
7
|
+
tags: Record<string, Schema>;
|
|
8
|
+
nodes: Record<string, Schema>;
|
|
9
|
+
components: Record<string, ComponentType>;
|
|
10
|
+
variables?: Record<string, any>;
|
|
11
|
+
partials?: Record<string, any>;
|
|
12
|
+
functions?: Record<string, ConfigFunction>;
|
|
13
|
+
};
|
|
4
14
|
markdown?: {
|
|
5
15
|
parser?: (md: string) => string;
|
|
6
16
|
highlight?: (code: string, lang: string, options?: Record<string, any>) => string;
|