@redocly/config 0.53.0 → 0.54.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.
@@ -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: {
@@ -26698,6 +26692,9 @@ export declare const redoclyConfigSchema: {
26698
26692
  readonly type: 'string';
26699
26693
  };
26700
26694
  };
26695
+ readonly publicEndpoint: {
26696
+ readonly type: 'boolean';
26697
+ };
26701
26698
  };
26702
26699
  readonly additionalProperties: false;
26703
26700
  };
@@ -27802,9 +27799,6 @@ export declare const rootRedoclyConfigSchema: {
27802
27799
  readonly hideLoading: {
27803
27800
  readonly type: 'boolean';
27804
27801
  };
27805
- readonly disableRouter: {
27806
- readonly type: 'boolean';
27807
- };
27808
27802
  readonly hideSidebar: {
27809
27803
  readonly type: 'boolean';
27810
27804
  };
@@ -30014,6 +30008,9 @@ export declare const rootRedoclyConfigSchema: {
30014
30008
  readonly showBuiltInDirectives: {
30015
30009
  readonly type: 'boolean';
30016
30010
  };
30011
+ readonly excludeFromSearch: {
30012
+ readonly type: 'boolean';
30013
+ };
30017
30014
  readonly info: {
30018
30015
  readonly type: 'object';
30019
30016
  readonly properties: {
@@ -30085,9 +30082,6 @@ export declare const rootRedoclyConfigSchema: {
30085
30082
  readonly hideLoading: {
30086
30083
  readonly type: 'boolean';
30087
30084
  };
30088
- readonly disableRouter: {
30089
- readonly type: 'boolean';
30090
- };
30091
30085
  readonly hideSidebar: {
30092
30086
  readonly type: 'boolean';
30093
30087
  };
@@ -32297,6 +32291,9 @@ export declare const rootRedoclyConfigSchema: {
32297
32291
  readonly showBuiltInDirectives: {
32298
32292
  readonly type: 'boolean';
32299
32293
  };
32294
+ readonly excludeFromSearch: {
32295
+ readonly type: 'boolean';
32296
+ };
32300
32297
  readonly info: {
32301
32298
  readonly type: 'object';
32302
32299
  readonly properties: {
@@ -34282,9 +34279,6 @@ export declare const rootRedoclyConfigSchema: {
34282
34279
  readonly hideLoading: {
34283
34280
  readonly type: 'boolean';
34284
34281
  };
34285
- readonly disableRouter: {
34286
- readonly type: 'boolean';
34287
- };
34288
34282
  readonly hideSidebar: {
34289
34283
  readonly type: 'boolean';
34290
34284
  };
@@ -36103,6 +36097,9 @@ export declare const rootRedoclyConfigSchema: {
36103
36097
  readonly jsonSamplesDepth: {
36104
36098
  readonly type: 'number';
36105
36099
  };
36100
+ readonly excludeFromSearch: {
36101
+ readonly type: 'boolean';
36102
+ };
36106
36103
  readonly samplesMaxInlineArgs: {
36107
36104
  readonly type: 'number';
36108
36105
  };
@@ -36112,15 +36109,6 @@ export declare const rootRedoclyConfigSchema: {
36112
36109
  readonly baseUrlPath: {
36113
36110
  readonly type: 'string';
36114
36111
  };
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
36112
  readonly feedback: {
36125
36113
  readonly type: 'object';
36126
36114
  readonly properties: {
@@ -36777,6 +36765,9 @@ export declare const rootRedoclyConfigSchema: {
36777
36765
  readonly showBuiltInDirectives: {
36778
36766
  readonly type: 'boolean';
36779
36767
  };
36768
+ readonly excludeFromSearch: {
36769
+ readonly type: 'boolean';
36770
+ };
36780
36771
  readonly info: {
36781
36772
  readonly type: 'object';
36782
36773
  readonly properties: {
@@ -41279,9 +41270,6 @@ export declare const rootRedoclyConfigSchema: {
41279
41270
  readonly hideLoading: {
41280
41271
  readonly type: 'boolean';
41281
41272
  };
41282
- readonly disableRouter: {
41283
- readonly type: 'boolean';
41284
- };
41285
41273
  readonly hideSidebar: {
41286
41274
  readonly type: 'boolean';
41287
41275
  };
@@ -43491,6 +43479,9 @@ export declare const rootRedoclyConfigSchema: {
43491
43479
  readonly showBuiltInDirectives: {
43492
43480
  readonly type: 'boolean';
43493
43481
  };
43482
+ readonly excludeFromSearch: {
43483
+ readonly type: 'boolean';
43484
+ };
43494
43485
  readonly info: {
43495
43486
  readonly type: 'object';
43496
43487
  readonly properties: {
@@ -46745,6 +46736,9 @@ export declare const rootRedoclyConfigSchema: {
46745
46736
  readonly type: 'string';
46746
46737
  };
46747
46738
  };
46739
+ readonly publicEndpoint: {
46740
+ readonly type: 'boolean';
46741
+ };
46748
46742
  };
46749
46743
  readonly additionalProperties: false;
46750
46744
  };
@@ -47847,9 +47841,6 @@ export declare const rootRedoclyConfigSchema: {
47847
47841
  readonly hideLoading: {
47848
47842
  readonly type: 'boolean';
47849
47843
  };
47850
- readonly disableRouter: {
47851
- readonly type: 'boolean';
47852
- };
47853
47844
  readonly hideSidebar: {
47854
47845
  readonly type: 'boolean';
47855
47846
  };
@@ -50059,6 +50050,9 @@ export declare const rootRedoclyConfigSchema: {
50059
50050
  readonly showBuiltInDirectives: {
50060
50051
  readonly type: 'boolean';
50061
50052
  };
50053
+ readonly excludeFromSearch: {
50054
+ readonly type: 'boolean';
50055
+ };
50062
50056
  readonly info: {
50063
50057
  readonly type: 'object';
50064
50058
  readonly properties: {
@@ -50130,9 +50124,6 @@ export declare const rootRedoclyConfigSchema: {
50130
50124
  readonly hideLoading: {
50131
50125
  readonly type: 'boolean';
50132
50126
  };
50133
- readonly disableRouter: {
50134
- readonly type: 'boolean';
50135
- };
50136
50127
  readonly hideSidebar: {
50137
50128
  readonly type: 'boolean';
50138
50129
  };
@@ -52342,6 +52333,9 @@ export declare const rootRedoclyConfigSchema: {
52342
52333
  readonly showBuiltInDirectives: {
52343
52334
  readonly type: 'boolean';
52344
52335
  };
52336
+ readonly excludeFromSearch: {
52337
+ readonly type: 'boolean';
52338
+ };
52345
52339
  readonly info: {
52346
52340
  readonly type: 'object';
52347
52341
  readonly properties: {
@@ -54327,9 +54321,6 @@ export declare const rootRedoclyConfigSchema: {
54327
54321
  readonly hideLoading: {
54328
54322
  readonly type: 'boolean';
54329
54323
  };
54330
- readonly disableRouter: {
54331
- readonly type: 'boolean';
54332
- };
54333
54324
  readonly hideSidebar: {
54334
54325
  readonly type: 'boolean';
54335
54326
  };
@@ -56148,6 +56139,9 @@ export declare const rootRedoclyConfigSchema: {
56148
56139
  readonly jsonSamplesDepth: {
56149
56140
  readonly type: 'number';
56150
56141
  };
56142
+ readonly excludeFromSearch: {
56143
+ readonly type: 'boolean';
56144
+ };
56151
56145
  readonly samplesMaxInlineArgs: {
56152
56146
  readonly type: 'number';
56153
56147
  };
@@ -56157,15 +56151,6 @@ export declare const rootRedoclyConfigSchema: {
56157
56151
  readonly baseUrlPath: {
56158
56152
  readonly type: 'string';
56159
56153
  };
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
56154
  readonly feedback: {
56170
56155
  readonly type: 'object';
56171
56156
  readonly properties: {
@@ -56822,6 +56807,9 @@ export declare const rootRedoclyConfigSchema: {
56822
56807
  readonly showBuiltInDirectives: {
56823
56808
  readonly type: 'boolean';
56824
56809
  };
56810
+ readonly excludeFromSearch: {
56811
+ readonly type: 'boolean';
56812
+ };
56825
56813
  readonly info: {
56826
56814
  readonly type: 'object';
56827
56815
  readonly properties: {
@@ -61324,9 +61312,6 @@ export declare const rootRedoclyConfigSchema: {
61324
61312
  readonly hideLoading: {
61325
61313
  readonly type: 'boolean';
61326
61314
  };
61327
- readonly disableRouter: {
61328
- readonly type: 'boolean';
61329
- };
61330
61315
  readonly hideSidebar: {
61331
61316
  readonly type: 'boolean';
61332
61317
  };
@@ -63536,6 +63521,9 @@ export declare const rootRedoclyConfigSchema: {
63536
63521
  readonly showBuiltInDirectives: {
63537
63522
  readonly type: 'boolean';
63538
63523
  };
63524
+ readonly excludeFromSearch: {
63525
+ readonly type: 'boolean';
63526
+ };
63539
63527
  readonly info: {
63540
63528
  readonly type: 'object';
63541
63529
  readonly properties: {
@@ -66790,6 +66778,9 @@ export declare const rootRedoclyConfigSchema: {
66790
66778
  readonly type: 'string';
66791
66779
  };
66792
66780
  };
66781
+ readonly publicEndpoint: {
66782
+ readonly type: 'boolean';
66783
+ };
66793
66784
  };
66794
66785
  readonly additionalProperties: false;
66795
66786
  };
@@ -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;
@@ -37,6 +37,9 @@ export declare const asyncapiConfigSchema: {
37
37
  readonly jsonSamplesDepth: {
38
38
  readonly type: 'number';
39
39
  };
40
+ readonly excludeFromSearch: {
41
+ readonly type: 'boolean';
42
+ };
40
43
  readonly samplesMaxInlineArgs: {
41
44
  readonly type: 'number';
42
45
  };
@@ -46,15 +49,6 @@ export declare const asyncapiConfigSchema: {
46
49
  readonly baseUrlPath: {
47
50
  readonly type: 'string';
48
51
  };
49
- readonly metadata: {
50
- readonly type: 'object';
51
- readonly properties: {
52
- readonly apiId: {
53
- readonly type: 'string';
54
- };
55
- };
56
- readonly additionalProperties: true;
57
- };
58
52
  readonly feedback: {
59
53
  readonly type: 'object';
60
54
  readonly properties: {
@@ -1162,9 +1162,6 @@ export declare const themeConfigSchema: {
1162
1162
  readonly hideLoading: {
1163
1163
  readonly type: 'boolean';
1164
1164
  };
1165
- readonly disableRouter: {
1166
- readonly type: 'boolean';
1167
- };
1168
1165
  readonly hideSidebar: {
1169
1166
  readonly type: 'boolean';
1170
1167
  };
@@ -2983,6 +2980,9 @@ export declare const themeConfigSchema: {
2983
2980
  readonly jsonSamplesDepth: {
2984
2981
  readonly type: 'number';
2985
2982
  };
2983
+ readonly excludeFromSearch: {
2984
+ readonly type: 'boolean';
2985
+ };
2986
2986
  readonly samplesMaxInlineArgs: {
2987
2987
  readonly type: 'number';
2988
2988
  };
@@ -2992,15 +2992,6 @@ export declare const themeConfigSchema: {
2992
2992
  readonly baseUrlPath: {
2993
2993
  readonly type: 'string';
2994
2994
  };
2995
- readonly metadata: {
2996
- readonly type: 'object';
2997
- readonly properties: {
2998
- readonly apiId: {
2999
- readonly type: 'string';
3000
- };
3001
- };
3002
- readonly additionalProperties: true;
3003
- };
3004
2995
  readonly feedback: {
3005
2996
  readonly type: 'object';
3006
2997
  readonly properties: {
@@ -3657,6 +3648,9 @@ export declare const themeConfigSchema: {
3657
3648
  readonly showBuiltInDirectives: {
3658
3649
  readonly type: 'boolean';
3659
3650
  };
3651
+ readonly excludeFromSearch: {
3652
+ readonly type: 'boolean';
3653
+ };
3660
3654
  readonly info: {
3661
3655
  readonly type: 'object';
3662
3656
  readonly properties: {
@@ -1206,9 +1206,6 @@ export declare const openapiConfigSchema: {
1206
1206
  readonly hideLoading: {
1207
1207
  readonly type: 'boolean';
1208
1208
  };
1209
- readonly disableRouter: {
1210
- readonly type: 'boolean';
1211
- };
1212
1209
  readonly hideSidebar: {
1213
1210
  readonly type: 'boolean';
1214
1211
  };
@@ -2998,9 +2995,6 @@ export declare const asyncapiConfigSchema: {
2998
2995
  readonly hideLoading: {
2999
2996
  readonly type: 'boolean';
3000
2997
  };
3001
- readonly disableRouter: {
3002
- readonly type: 'boolean';
3003
- };
3004
2998
  readonly hideSidebar: {
3005
2999
  readonly type: 'boolean';
3006
3000
  };
@@ -428,6 +428,9 @@ export declare const graphqlConfigSchema: {
428
428
  readonly showBuiltInDirectives: {
429
429
  readonly type: 'boolean';
430
430
  };
431
+ readonly excludeFromSearch: {
432
+ readonly type: 'boolean';
433
+ };
431
434
  readonly info: {
432
435
  readonly type: 'object';
433
436
  readonly properties: {