@redocly/config 0.33.0 → 0.35.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.
- package/lib/default-theme-config-schema.d.ts +11 -1
- package/lib/ex-theme-config-schemas.d.ts +1 -1
- package/lib/ex-theme-config-schemas.js +1 -1
- package/lib/graphql-config-schema.d.ts +10 -0
- package/lib/graphql-config-schema.js +7 -0
- package/lib/product-override-schema.d.ts +20 -0
- package/lib/root-config-schema.d.ts +249 -4
- package/lib/root-config-schema.js +29 -1
- package/lib/types/api-functions-types.d.ts +9 -8
- package/lib-esm/default-theme-config-schema.d.ts +11 -1
- package/lib-esm/ex-theme-config-schemas.d.ts +1 -1
- package/lib-esm/ex-theme-config-schemas.js +1 -1
- package/lib-esm/graphql-config-schema.d.ts +10 -0
- package/lib-esm/graphql-config-schema.js +7 -0
- package/lib-esm/product-override-schema.d.ts +20 -0
- package/lib-esm/root-config-schema.d.ts +249 -4
- package/lib-esm/root-config-schema.js +29 -1
- package/lib-esm/types/api-functions-types.d.ts +9 -8
- package/package.json +1 -1
|
@@ -1092,7 +1092,7 @@ export declare const themeConfigSchema: {
|
|
|
1092
1092
|
readonly items: {
|
|
1093
1093
|
readonly type: "string";
|
|
1094
1094
|
};
|
|
1095
|
-
readonly default: readonly ["_partials"];
|
|
1095
|
+
readonly default: readonly ["**/_partials/**"];
|
|
1096
1096
|
};
|
|
1097
1097
|
readonly lastUpdatedBlock: {
|
|
1098
1098
|
readonly type: "object";
|
|
@@ -3392,6 +3392,16 @@ export declare const themeConfigSchema: {
|
|
|
3392
3392
|
};
|
|
3393
3393
|
readonly additionalProperties: false;
|
|
3394
3394
|
};
|
|
3395
|
+
readonly layout: {
|
|
3396
|
+
readonly type: "string";
|
|
3397
|
+
readonly enum: readonly ["stacked", "three-panel"];
|
|
3398
|
+
};
|
|
3399
|
+
readonly showBuiltInScalars: {
|
|
3400
|
+
readonly type: "boolean";
|
|
3401
|
+
};
|
|
3402
|
+
readonly showBuiltInDirectives: {
|
|
3403
|
+
readonly type: "boolean";
|
|
3404
|
+
};
|
|
3395
3405
|
};
|
|
3396
3406
|
readonly additionalProperties: false;
|
|
3397
3407
|
};
|
|
@@ -1114,7 +1114,7 @@ export declare const markdownConfigSchema: {
|
|
|
1114
1114
|
readonly items: {
|
|
1115
1115
|
readonly type: "string";
|
|
1116
1116
|
};
|
|
1117
|
-
readonly default: readonly ["_partials"];
|
|
1117
|
+
readonly default: readonly ["**/_partials/**"];
|
|
1118
1118
|
};
|
|
1119
1119
|
readonly lastUpdatedBlock: {
|
|
1120
1120
|
readonly type: "object";
|
|
@@ -435,6 +435,16 @@ export declare const graphqlConfigSchema: {
|
|
|
435
435
|
};
|
|
436
436
|
readonly additionalProperties: false;
|
|
437
437
|
};
|
|
438
|
+
readonly layout: {
|
|
439
|
+
readonly type: "string";
|
|
440
|
+
readonly enum: readonly ["stacked", "three-panel"];
|
|
441
|
+
};
|
|
442
|
+
readonly showBuiltInScalars: {
|
|
443
|
+
readonly type: "boolean";
|
|
444
|
+
};
|
|
445
|
+
readonly showBuiltInDirectives: {
|
|
446
|
+
readonly type: "boolean";
|
|
447
|
+
};
|
|
438
448
|
};
|
|
439
449
|
readonly additionalProperties: false;
|
|
440
450
|
};
|
|
@@ -113,6 +113,13 @@ exports.graphqlConfigSchema = {
|
|
|
113
113
|
additionalProperties: true,
|
|
114
114
|
},
|
|
115
115
|
feedback: feedback_config_schema_1.feedbackConfigSchema,
|
|
116
|
+
layout: { type: 'string', enum: ['stacked', 'three-panel'] },
|
|
117
|
+
showBuiltInScalars: {
|
|
118
|
+
type: 'boolean',
|
|
119
|
+
},
|
|
120
|
+
showBuiltInDirectives: {
|
|
121
|
+
type: 'boolean',
|
|
122
|
+
},
|
|
116
123
|
},
|
|
117
124
|
additionalProperties: false,
|
|
118
125
|
};
|
|
@@ -5123,6 +5123,16 @@ export declare const productConfigOverrideSchema: {
|
|
|
5123
5123
|
};
|
|
5124
5124
|
readonly additionalProperties: false;
|
|
5125
5125
|
};
|
|
5126
|
+
readonly layout: {
|
|
5127
|
+
readonly type: "string";
|
|
5128
|
+
readonly enum: readonly ["stacked", "three-panel"];
|
|
5129
|
+
};
|
|
5130
|
+
readonly showBuiltInScalars: {
|
|
5131
|
+
readonly type: "boolean";
|
|
5132
|
+
};
|
|
5133
|
+
readonly showBuiltInDirectives: {
|
|
5134
|
+
readonly type: "boolean";
|
|
5135
|
+
};
|
|
5126
5136
|
};
|
|
5127
5137
|
readonly additionalProperties: false;
|
|
5128
5138
|
};
|
|
@@ -7373,6 +7383,16 @@ export declare const productConfigOverrideSchema: {
|
|
|
7373
7383
|
};
|
|
7374
7384
|
readonly additionalProperties: false;
|
|
7375
7385
|
};
|
|
7386
|
+
readonly layout: {
|
|
7387
|
+
readonly type: "string";
|
|
7388
|
+
readonly enum: readonly ["stacked", "three-panel"];
|
|
7389
|
+
};
|
|
7390
|
+
readonly showBuiltInScalars: {
|
|
7391
|
+
readonly type: "boolean";
|
|
7392
|
+
};
|
|
7393
|
+
readonly showBuiltInDirectives: {
|
|
7394
|
+
readonly type: "boolean";
|
|
7395
|
+
};
|
|
7376
7396
|
};
|
|
7377
7397
|
readonly additionalProperties: false;
|
|
7378
7398
|
};
|
|
@@ -2903,6 +2903,16 @@ export declare const apiConfigSchema: {
|
|
|
2903
2903
|
};
|
|
2904
2904
|
readonly additionalProperties: false;
|
|
2905
2905
|
};
|
|
2906
|
+
readonly layout: {
|
|
2907
|
+
readonly type: "string";
|
|
2908
|
+
readonly enum: readonly ["stacked", "three-panel"];
|
|
2909
|
+
};
|
|
2910
|
+
readonly showBuiltInScalars: {
|
|
2911
|
+
readonly type: "boolean";
|
|
2912
|
+
};
|
|
2913
|
+
readonly showBuiltInDirectives: {
|
|
2914
|
+
readonly type: "boolean";
|
|
2915
|
+
};
|
|
2906
2916
|
};
|
|
2907
2917
|
readonly additionalProperties: false;
|
|
2908
2918
|
};
|
|
@@ -5156,6 +5166,16 @@ export declare const apiConfigSchema: {
|
|
|
5156
5166
|
};
|
|
5157
5167
|
readonly additionalProperties: false;
|
|
5158
5168
|
};
|
|
5169
|
+
readonly layout: {
|
|
5170
|
+
readonly type: "string";
|
|
5171
|
+
readonly enum: readonly ["stacked", "three-panel"];
|
|
5172
|
+
};
|
|
5173
|
+
readonly showBuiltInScalars: {
|
|
5174
|
+
readonly type: "boolean";
|
|
5175
|
+
};
|
|
5176
|
+
readonly showBuiltInDirectives: {
|
|
5177
|
+
readonly type: "boolean";
|
|
5178
|
+
};
|
|
5159
5179
|
};
|
|
5160
5180
|
readonly additionalProperties: false;
|
|
5161
5181
|
};
|
|
@@ -7407,7 +7427,7 @@ export declare const redoclyConfigSchema: {
|
|
|
7407
7427
|
readonly items: {
|
|
7408
7428
|
readonly type: "string";
|
|
7409
7429
|
};
|
|
7410
|
-
readonly default: readonly ["_partials"];
|
|
7430
|
+
readonly default: readonly ["**/_partials/**"];
|
|
7411
7431
|
};
|
|
7412
7432
|
readonly lastUpdatedBlock: {
|
|
7413
7433
|
readonly type: "object";
|
|
@@ -9707,6 +9727,16 @@ export declare const redoclyConfigSchema: {
|
|
|
9707
9727
|
};
|
|
9708
9728
|
readonly additionalProperties: false;
|
|
9709
9729
|
};
|
|
9730
|
+
readonly layout: {
|
|
9731
|
+
readonly type: "string";
|
|
9732
|
+
readonly enum: readonly ["stacked", "three-panel"];
|
|
9733
|
+
};
|
|
9734
|
+
readonly showBuiltInScalars: {
|
|
9735
|
+
readonly type: "boolean";
|
|
9736
|
+
};
|
|
9737
|
+
readonly showBuiltInDirectives: {
|
|
9738
|
+
readonly type: "boolean";
|
|
9739
|
+
};
|
|
9710
9740
|
};
|
|
9711
9741
|
readonly additionalProperties: false;
|
|
9712
9742
|
};
|
|
@@ -12931,7 +12961,7 @@ export declare const redoclyConfigSchema: {
|
|
|
12931
12961
|
readonly items: {
|
|
12932
12962
|
readonly type: "string";
|
|
12933
12963
|
};
|
|
12934
|
-
readonly default: readonly ["_partials"];
|
|
12964
|
+
readonly default: readonly ["**/_partials/**"];
|
|
12935
12965
|
};
|
|
12936
12966
|
readonly lastUpdatedBlock: {
|
|
12937
12967
|
readonly type: "object";
|
|
@@ -15231,6 +15261,16 @@ export declare const redoclyConfigSchema: {
|
|
|
15231
15261
|
};
|
|
15232
15262
|
readonly additionalProperties: false;
|
|
15233
15263
|
};
|
|
15264
|
+
readonly layout: {
|
|
15265
|
+
readonly type: "string";
|
|
15266
|
+
readonly enum: readonly ["stacked", "three-panel"];
|
|
15267
|
+
};
|
|
15268
|
+
readonly showBuiltInScalars: {
|
|
15269
|
+
readonly type: "boolean";
|
|
15270
|
+
};
|
|
15271
|
+
readonly showBuiltInDirectives: {
|
|
15272
|
+
readonly type: "boolean";
|
|
15273
|
+
};
|
|
15234
15274
|
};
|
|
15235
15275
|
readonly additionalProperties: false;
|
|
15236
15276
|
};
|
|
@@ -17264,6 +17304,45 @@ export declare const redoclyConfigSchema: {
|
|
|
17264
17304
|
};
|
|
17265
17305
|
};
|
|
17266
17306
|
};
|
|
17307
|
+
readonly mcp: {
|
|
17308
|
+
readonly type: "object";
|
|
17309
|
+
readonly properties: {
|
|
17310
|
+
readonly hide: {
|
|
17311
|
+
readonly type: "boolean";
|
|
17312
|
+
readonly default: false;
|
|
17313
|
+
};
|
|
17314
|
+
readonly docs: {
|
|
17315
|
+
readonly type: "object";
|
|
17316
|
+
readonly properties: {
|
|
17317
|
+
readonly hide: {
|
|
17318
|
+
readonly type: "boolean";
|
|
17319
|
+
readonly default: false;
|
|
17320
|
+
};
|
|
17321
|
+
readonly name: {
|
|
17322
|
+
readonly type: "string";
|
|
17323
|
+
readonly default: "Docs MCP server";
|
|
17324
|
+
};
|
|
17325
|
+
readonly ignore: {
|
|
17326
|
+
readonly type: "array";
|
|
17327
|
+
readonly items: {
|
|
17328
|
+
readonly type: "string";
|
|
17329
|
+
};
|
|
17330
|
+
readonly default: readonly [];
|
|
17331
|
+
};
|
|
17332
|
+
};
|
|
17333
|
+
readonly additionalProperties: false;
|
|
17334
|
+
};
|
|
17335
|
+
};
|
|
17336
|
+
readonly additionalProperties: false;
|
|
17337
|
+
readonly default: {
|
|
17338
|
+
readonly hide: false;
|
|
17339
|
+
readonly docs: {
|
|
17340
|
+
readonly hide: false;
|
|
17341
|
+
readonly name: "MCP server";
|
|
17342
|
+
readonly ignore: readonly [];
|
|
17343
|
+
};
|
|
17344
|
+
};
|
|
17345
|
+
};
|
|
17267
17346
|
readonly preprocessors: {
|
|
17268
17347
|
readonly type: "object";
|
|
17269
17348
|
readonly additionalProperties: true;
|
|
@@ -20115,6 +20194,16 @@ export declare const redoclyConfigSchema: {
|
|
|
20115
20194
|
};
|
|
20116
20195
|
readonly additionalProperties: false;
|
|
20117
20196
|
};
|
|
20197
|
+
readonly layout: {
|
|
20198
|
+
readonly type: "string";
|
|
20199
|
+
readonly enum: readonly ["stacked", "three-panel"];
|
|
20200
|
+
};
|
|
20201
|
+
readonly showBuiltInScalars: {
|
|
20202
|
+
readonly type: "boolean";
|
|
20203
|
+
};
|
|
20204
|
+
readonly showBuiltInDirectives: {
|
|
20205
|
+
readonly type: "boolean";
|
|
20206
|
+
};
|
|
20118
20207
|
};
|
|
20119
20208
|
readonly additionalProperties: false;
|
|
20120
20209
|
};
|
|
@@ -22368,6 +22457,16 @@ export declare const redoclyConfigSchema: {
|
|
|
22368
22457
|
};
|
|
22369
22458
|
readonly additionalProperties: false;
|
|
22370
22459
|
};
|
|
22460
|
+
readonly layout: {
|
|
22461
|
+
readonly type: "string";
|
|
22462
|
+
readonly enum: readonly ["stacked", "three-panel"];
|
|
22463
|
+
};
|
|
22464
|
+
readonly showBuiltInScalars: {
|
|
22465
|
+
readonly type: "boolean";
|
|
22466
|
+
};
|
|
22467
|
+
readonly showBuiltInDirectives: {
|
|
22468
|
+
readonly type: "boolean";
|
|
22469
|
+
};
|
|
22371
22470
|
};
|
|
22372
22471
|
readonly additionalProperties: false;
|
|
22373
22472
|
};
|
|
@@ -23912,6 +24011,10 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
23912
24011
|
};
|
|
23913
24012
|
graphql: {
|
|
23914
24013
|
properties: {
|
|
24014
|
+
layout: {
|
|
24015
|
+
enum: ("stacked" | "three-panel")[];
|
|
24016
|
+
type: "string";
|
|
24017
|
+
};
|
|
23915
24018
|
sidebar: {
|
|
23916
24019
|
properties: {
|
|
23917
24020
|
hide: {
|
|
@@ -24114,6 +24217,12 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
24114
24217
|
baseUrlPath: {
|
|
24115
24218
|
type: "string";
|
|
24116
24219
|
};
|
|
24220
|
+
showBuiltInScalars: {
|
|
24221
|
+
type: "boolean";
|
|
24222
|
+
};
|
|
24223
|
+
showBuiltInDirectives: {
|
|
24224
|
+
type: "boolean";
|
|
24225
|
+
};
|
|
24117
24226
|
};
|
|
24118
24227
|
additionalProperties: false;
|
|
24119
24228
|
type: "object";
|
|
@@ -27641,6 +27750,10 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
27641
27750
|
};
|
|
27642
27751
|
graphql: {
|
|
27643
27752
|
properties: {
|
|
27753
|
+
layout: {
|
|
27754
|
+
enum: ("stacked" | "three-panel")[];
|
|
27755
|
+
type: "string";
|
|
27756
|
+
};
|
|
27644
27757
|
sidebar: {
|
|
27645
27758
|
properties: {
|
|
27646
27759
|
hide: {
|
|
@@ -27843,6 +27956,12 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
27843
27956
|
baseUrlPath: {
|
|
27844
27957
|
type: "string";
|
|
27845
27958
|
};
|
|
27959
|
+
showBuiltInScalars: {
|
|
27960
|
+
type: "boolean";
|
|
27961
|
+
};
|
|
27962
|
+
showBuiltInDirectives: {
|
|
27963
|
+
type: "boolean";
|
|
27964
|
+
};
|
|
27846
27965
|
};
|
|
27847
27966
|
additionalProperties: false;
|
|
27848
27967
|
type: "object";
|
|
@@ -30406,6 +30525,33 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
30406
30525
|
type: "object";
|
|
30407
30526
|
required: never[];
|
|
30408
30527
|
};
|
|
30528
|
+
mcp: {
|
|
30529
|
+
properties: {
|
|
30530
|
+
hide: {
|
|
30531
|
+
type: "boolean";
|
|
30532
|
+
};
|
|
30533
|
+
docs: {
|
|
30534
|
+
properties: {
|
|
30535
|
+
name: {
|
|
30536
|
+
type: "string";
|
|
30537
|
+
};
|
|
30538
|
+
ignore: {
|
|
30539
|
+
items: {
|
|
30540
|
+
type: "string";
|
|
30541
|
+
};
|
|
30542
|
+
type: "array";
|
|
30543
|
+
};
|
|
30544
|
+
hide: {
|
|
30545
|
+
type: "boolean";
|
|
30546
|
+
};
|
|
30547
|
+
};
|
|
30548
|
+
additionalProperties: false;
|
|
30549
|
+
type: "object";
|
|
30550
|
+
};
|
|
30551
|
+
};
|
|
30552
|
+
additionalProperties: false;
|
|
30553
|
+
type: "object";
|
|
30554
|
+
};
|
|
30409
30555
|
preprocessors: {
|
|
30410
30556
|
additionalProperties: true;
|
|
30411
30557
|
type: "object";
|
|
@@ -32094,6 +32240,10 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
32094
32240
|
};
|
|
32095
32241
|
graphql: {
|
|
32096
32242
|
properties: {
|
|
32243
|
+
layout: {
|
|
32244
|
+
enum: ("stacked" | "three-panel")[];
|
|
32245
|
+
type: "string";
|
|
32246
|
+
};
|
|
32097
32247
|
sidebar: {
|
|
32098
32248
|
properties: {
|
|
32099
32249
|
hide: {
|
|
@@ -32296,6 +32446,12 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
32296
32446
|
baseUrlPath: {
|
|
32297
32447
|
type: "string";
|
|
32298
32448
|
};
|
|
32449
|
+
showBuiltInScalars: {
|
|
32450
|
+
type: "boolean";
|
|
32451
|
+
};
|
|
32452
|
+
showBuiltInDirectives: {
|
|
32453
|
+
type: "boolean";
|
|
32454
|
+
};
|
|
32299
32455
|
};
|
|
32300
32456
|
additionalProperties: false;
|
|
32301
32457
|
type: "object";
|
|
@@ -33578,6 +33734,10 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
33578
33734
|
};
|
|
33579
33735
|
graphql: {
|
|
33580
33736
|
properties: {
|
|
33737
|
+
layout: {
|
|
33738
|
+
enum: ("stacked" | "three-panel")[];
|
|
33739
|
+
type: "string";
|
|
33740
|
+
};
|
|
33581
33741
|
sidebar: {
|
|
33582
33742
|
properties: {
|
|
33583
33743
|
hide: {
|
|
@@ -33780,6 +33940,12 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
33780
33940
|
baseUrlPath: {
|
|
33781
33941
|
type: "string";
|
|
33782
33942
|
};
|
|
33943
|
+
showBuiltInScalars: {
|
|
33944
|
+
type: "boolean";
|
|
33945
|
+
};
|
|
33946
|
+
showBuiltInDirectives: {
|
|
33947
|
+
type: "boolean";
|
|
33948
|
+
};
|
|
33783
33949
|
};
|
|
33784
33950
|
additionalProperties: false;
|
|
33785
33951
|
type: "object";
|
|
@@ -35484,7 +35650,7 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
35484
35650
|
readonly items: {
|
|
35485
35651
|
readonly type: "string";
|
|
35486
35652
|
};
|
|
35487
|
-
readonly default: readonly ["_partials"];
|
|
35653
|
+
readonly default: readonly ["**/_partials/**"];
|
|
35488
35654
|
};
|
|
35489
35655
|
readonly lastUpdatedBlock: {
|
|
35490
35656
|
readonly type: "object";
|
|
@@ -37784,6 +37950,16 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
37784
37950
|
};
|
|
37785
37951
|
readonly additionalProperties: false;
|
|
37786
37952
|
};
|
|
37953
|
+
readonly layout: {
|
|
37954
|
+
readonly type: "string";
|
|
37955
|
+
readonly enum: readonly ["stacked", "three-panel"];
|
|
37956
|
+
};
|
|
37957
|
+
readonly showBuiltInScalars: {
|
|
37958
|
+
readonly type: "boolean";
|
|
37959
|
+
};
|
|
37960
|
+
readonly showBuiltInDirectives: {
|
|
37961
|
+
readonly type: "boolean";
|
|
37962
|
+
};
|
|
37787
37963
|
};
|
|
37788
37964
|
readonly additionalProperties: false;
|
|
37789
37965
|
};
|
|
@@ -41008,7 +41184,7 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
41008
41184
|
readonly items: {
|
|
41009
41185
|
readonly type: "string";
|
|
41010
41186
|
};
|
|
41011
|
-
readonly default: readonly ["_partials"];
|
|
41187
|
+
readonly default: readonly ["**/_partials/**"];
|
|
41012
41188
|
};
|
|
41013
41189
|
readonly lastUpdatedBlock: {
|
|
41014
41190
|
readonly type: "object";
|
|
@@ -43308,6 +43484,16 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
43308
43484
|
};
|
|
43309
43485
|
readonly additionalProperties: false;
|
|
43310
43486
|
};
|
|
43487
|
+
readonly layout: {
|
|
43488
|
+
readonly type: "string";
|
|
43489
|
+
readonly enum: readonly ["stacked", "three-panel"];
|
|
43490
|
+
};
|
|
43491
|
+
readonly showBuiltInScalars: {
|
|
43492
|
+
readonly type: "boolean";
|
|
43493
|
+
};
|
|
43494
|
+
readonly showBuiltInDirectives: {
|
|
43495
|
+
readonly type: "boolean";
|
|
43496
|
+
};
|
|
43311
43497
|
};
|
|
43312
43498
|
readonly additionalProperties: false;
|
|
43313
43499
|
};
|
|
@@ -45341,6 +45527,45 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
45341
45527
|
};
|
|
45342
45528
|
};
|
|
45343
45529
|
};
|
|
45530
|
+
readonly mcp: {
|
|
45531
|
+
readonly type: "object";
|
|
45532
|
+
readonly properties: {
|
|
45533
|
+
readonly hide: {
|
|
45534
|
+
readonly type: "boolean";
|
|
45535
|
+
readonly default: false;
|
|
45536
|
+
};
|
|
45537
|
+
readonly docs: {
|
|
45538
|
+
readonly type: "object";
|
|
45539
|
+
readonly properties: {
|
|
45540
|
+
readonly hide: {
|
|
45541
|
+
readonly type: "boolean";
|
|
45542
|
+
readonly default: false;
|
|
45543
|
+
};
|
|
45544
|
+
readonly name: {
|
|
45545
|
+
readonly type: "string";
|
|
45546
|
+
readonly default: "Docs MCP server";
|
|
45547
|
+
};
|
|
45548
|
+
readonly ignore: {
|
|
45549
|
+
readonly type: "array";
|
|
45550
|
+
readonly items: {
|
|
45551
|
+
readonly type: "string";
|
|
45552
|
+
};
|
|
45553
|
+
readonly default: readonly [];
|
|
45554
|
+
};
|
|
45555
|
+
};
|
|
45556
|
+
readonly additionalProperties: false;
|
|
45557
|
+
};
|
|
45558
|
+
};
|
|
45559
|
+
readonly additionalProperties: false;
|
|
45560
|
+
readonly default: {
|
|
45561
|
+
readonly hide: false;
|
|
45562
|
+
readonly docs: {
|
|
45563
|
+
readonly hide: false;
|
|
45564
|
+
readonly name: "MCP server";
|
|
45565
|
+
readonly ignore: readonly [];
|
|
45566
|
+
};
|
|
45567
|
+
};
|
|
45568
|
+
};
|
|
45344
45569
|
readonly preprocessors: {
|
|
45345
45570
|
readonly type: "object";
|
|
45346
45571
|
readonly additionalProperties: true;
|
|
@@ -48192,6 +48417,16 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
48192
48417
|
};
|
|
48193
48418
|
readonly additionalProperties: false;
|
|
48194
48419
|
};
|
|
48420
|
+
readonly layout: {
|
|
48421
|
+
readonly type: "string";
|
|
48422
|
+
readonly enum: readonly ["stacked", "three-panel"];
|
|
48423
|
+
};
|
|
48424
|
+
readonly showBuiltInScalars: {
|
|
48425
|
+
readonly type: "boolean";
|
|
48426
|
+
};
|
|
48427
|
+
readonly showBuiltInDirectives: {
|
|
48428
|
+
readonly type: "boolean";
|
|
48429
|
+
};
|
|
48195
48430
|
};
|
|
48196
48431
|
readonly additionalProperties: false;
|
|
48197
48432
|
};
|
|
@@ -50445,6 +50680,16 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
50445
50680
|
};
|
|
50446
50681
|
readonly additionalProperties: false;
|
|
50447
50682
|
};
|
|
50683
|
+
readonly layout: {
|
|
50684
|
+
readonly type: "string";
|
|
50685
|
+
readonly enum: readonly ["stacked", "three-panel"];
|
|
50686
|
+
};
|
|
50687
|
+
readonly showBuiltInScalars: {
|
|
50688
|
+
readonly type: "boolean";
|
|
50689
|
+
};
|
|
50690
|
+
readonly showBuiltInDirectives: {
|
|
50691
|
+
readonly type: "boolean";
|
|
50692
|
+
};
|
|
50448
50693
|
};
|
|
50449
50694
|
readonly additionalProperties: false;
|
|
50450
50695
|
};
|
|
@@ -377,6 +377,34 @@ const responseHeaderSchema = {
|
|
|
377
377
|
additionalProperties: false,
|
|
378
378
|
required: ['name', 'value'],
|
|
379
379
|
};
|
|
380
|
+
const mcpConfigSchema = {
|
|
381
|
+
type: 'object',
|
|
382
|
+
properties: {
|
|
383
|
+
hide: { type: 'boolean', default: false },
|
|
384
|
+
docs: {
|
|
385
|
+
type: 'object',
|
|
386
|
+
properties: {
|
|
387
|
+
hide: { type: 'boolean', default: false },
|
|
388
|
+
name: { type: 'string', default: 'Docs MCP server' },
|
|
389
|
+
ignore: {
|
|
390
|
+
type: 'array',
|
|
391
|
+
items: { type: 'string' },
|
|
392
|
+
default: [],
|
|
393
|
+
},
|
|
394
|
+
},
|
|
395
|
+
additionalProperties: false,
|
|
396
|
+
},
|
|
397
|
+
},
|
|
398
|
+
additionalProperties: false,
|
|
399
|
+
default: {
|
|
400
|
+
hide: false,
|
|
401
|
+
docs: {
|
|
402
|
+
hide: false,
|
|
403
|
+
name: 'MCP server',
|
|
404
|
+
ignore: [],
|
|
405
|
+
},
|
|
406
|
+
},
|
|
407
|
+
};
|
|
380
408
|
exports.redoclyConfigSchema = {
|
|
381
409
|
type: 'object',
|
|
382
410
|
properties: Object.assign(Object.assign(Object.assign(Object.assign({
|
|
@@ -414,7 +442,7 @@ exports.redoclyConfigSchema = {
|
|
|
414
442
|
/**
|
|
415
443
|
* @deprecated Should use `catalogClassic` instead
|
|
416
444
|
*/
|
|
417
|
-
catalog: ex_theme_config_schemas_1.catalogsConfigSchema, entitiesCatalog: entities_catalog_config_schema_1.entitiesCatalogConfigSchema, catalogClassic: ex_theme_config_schemas_1.catalogsConfigSchema, scorecard: ex_theme_config_schemas_1.scorecardConfigSchema }),
|
|
445
|
+
catalog: ex_theme_config_schemas_1.catalogsConfigSchema, entitiesCatalog: entities_catalog_config_schema_1.entitiesCatalogConfigSchema, catalogClassic: ex_theme_config_schemas_1.catalogsConfigSchema, scorecard: ex_theme_config_schemas_1.scorecardConfigSchema, mcp: mcpConfigSchema }),
|
|
418
446
|
default: { redirects: {}, seo: exports.seoConfigSchema.default },
|
|
419
447
|
additionalProperties: true,
|
|
420
448
|
};
|
|
@@ -16,15 +16,16 @@ export type ApiFunctionsContextMethods = {
|
|
|
16
16
|
text: (data: string, code?: number) => Response;
|
|
17
17
|
redirect: (url: string, code?: number) => Response;
|
|
18
18
|
};
|
|
19
|
+
export type ApiFunctionsUser = {
|
|
20
|
+
teams: string[];
|
|
21
|
+
claims: Record<string, any>;
|
|
22
|
+
email: string | undefined;
|
|
23
|
+
idpAccessToken: string | undefined;
|
|
24
|
+
idpId: string | undefined;
|
|
25
|
+
isAuthenticated: boolean;
|
|
26
|
+
};
|
|
19
27
|
export type ApiFunctionsContext = {
|
|
20
|
-
user:
|
|
21
|
-
teams: string[];
|
|
22
|
-
claims: Record<string, any>;
|
|
23
|
-
email: string | undefined;
|
|
24
|
-
idpAccessToken: string | undefined;
|
|
25
|
-
idpId: string | undefined;
|
|
26
|
-
isAuthenticated: boolean;
|
|
27
|
-
};
|
|
28
|
+
user: ApiFunctionsUser;
|
|
28
29
|
config: RedoclyConfig;
|
|
29
30
|
params: Record<string, string | string[]>;
|
|
30
31
|
query: Record<string, string | string[]>;
|
|
@@ -1092,7 +1092,7 @@ export declare const themeConfigSchema: {
|
|
|
1092
1092
|
readonly items: {
|
|
1093
1093
|
readonly type: "string";
|
|
1094
1094
|
};
|
|
1095
|
-
readonly default: readonly ["_partials"];
|
|
1095
|
+
readonly default: readonly ["**/_partials/**"];
|
|
1096
1096
|
};
|
|
1097
1097
|
readonly lastUpdatedBlock: {
|
|
1098
1098
|
readonly type: "object";
|
|
@@ -3392,6 +3392,16 @@ export declare const themeConfigSchema: {
|
|
|
3392
3392
|
};
|
|
3393
3393
|
readonly additionalProperties: false;
|
|
3394
3394
|
};
|
|
3395
|
+
readonly layout: {
|
|
3396
|
+
readonly type: "string";
|
|
3397
|
+
readonly enum: readonly ["stacked", "three-panel"];
|
|
3398
|
+
};
|
|
3399
|
+
readonly showBuiltInScalars: {
|
|
3400
|
+
readonly type: "boolean";
|
|
3401
|
+
};
|
|
3402
|
+
readonly showBuiltInDirectives: {
|
|
3403
|
+
readonly type: "boolean";
|
|
3404
|
+
};
|
|
3395
3405
|
};
|
|
3396
3406
|
readonly additionalProperties: false;
|
|
3397
3407
|
};
|
|
@@ -1114,7 +1114,7 @@ export declare const markdownConfigSchema: {
|
|
|
1114
1114
|
readonly items: {
|
|
1115
1115
|
readonly type: "string";
|
|
1116
1116
|
};
|
|
1117
|
-
readonly default: readonly ["_partials"];
|
|
1117
|
+
readonly default: readonly ["**/_partials/**"];
|
|
1118
1118
|
};
|
|
1119
1119
|
readonly lastUpdatedBlock: {
|
|
1120
1120
|
readonly type: "object";
|
|
@@ -435,6 +435,16 @@ export declare const graphqlConfigSchema: {
|
|
|
435
435
|
};
|
|
436
436
|
readonly additionalProperties: false;
|
|
437
437
|
};
|
|
438
|
+
readonly layout: {
|
|
439
|
+
readonly type: "string";
|
|
440
|
+
readonly enum: readonly ["stacked", "three-panel"];
|
|
441
|
+
};
|
|
442
|
+
readonly showBuiltInScalars: {
|
|
443
|
+
readonly type: "boolean";
|
|
444
|
+
};
|
|
445
|
+
readonly showBuiltInDirectives: {
|
|
446
|
+
readonly type: "boolean";
|
|
447
|
+
};
|
|
438
448
|
};
|
|
439
449
|
readonly additionalProperties: false;
|
|
440
450
|
};
|
|
@@ -110,6 +110,13 @@ export const graphqlConfigSchema = {
|
|
|
110
110
|
additionalProperties: true,
|
|
111
111
|
},
|
|
112
112
|
feedback: feedbackConfigSchema,
|
|
113
|
+
layout: { type: 'string', enum: ['stacked', 'three-panel'] },
|
|
114
|
+
showBuiltInScalars: {
|
|
115
|
+
type: 'boolean',
|
|
116
|
+
},
|
|
117
|
+
showBuiltInDirectives: {
|
|
118
|
+
type: 'boolean',
|
|
119
|
+
},
|
|
113
120
|
},
|
|
114
121
|
additionalProperties: false,
|
|
115
122
|
};
|
|
@@ -5123,6 +5123,16 @@ export declare const productConfigOverrideSchema: {
|
|
|
5123
5123
|
};
|
|
5124
5124
|
readonly additionalProperties: false;
|
|
5125
5125
|
};
|
|
5126
|
+
readonly layout: {
|
|
5127
|
+
readonly type: "string";
|
|
5128
|
+
readonly enum: readonly ["stacked", "three-panel"];
|
|
5129
|
+
};
|
|
5130
|
+
readonly showBuiltInScalars: {
|
|
5131
|
+
readonly type: "boolean";
|
|
5132
|
+
};
|
|
5133
|
+
readonly showBuiltInDirectives: {
|
|
5134
|
+
readonly type: "boolean";
|
|
5135
|
+
};
|
|
5126
5136
|
};
|
|
5127
5137
|
readonly additionalProperties: false;
|
|
5128
5138
|
};
|
|
@@ -7373,6 +7383,16 @@ export declare const productConfigOverrideSchema: {
|
|
|
7373
7383
|
};
|
|
7374
7384
|
readonly additionalProperties: false;
|
|
7375
7385
|
};
|
|
7386
|
+
readonly layout: {
|
|
7387
|
+
readonly type: "string";
|
|
7388
|
+
readonly enum: readonly ["stacked", "three-panel"];
|
|
7389
|
+
};
|
|
7390
|
+
readonly showBuiltInScalars: {
|
|
7391
|
+
readonly type: "boolean";
|
|
7392
|
+
};
|
|
7393
|
+
readonly showBuiltInDirectives: {
|
|
7394
|
+
readonly type: "boolean";
|
|
7395
|
+
};
|
|
7376
7396
|
};
|
|
7377
7397
|
readonly additionalProperties: false;
|
|
7378
7398
|
};
|
|
@@ -2903,6 +2903,16 @@ export declare const apiConfigSchema: {
|
|
|
2903
2903
|
};
|
|
2904
2904
|
readonly additionalProperties: false;
|
|
2905
2905
|
};
|
|
2906
|
+
readonly layout: {
|
|
2907
|
+
readonly type: "string";
|
|
2908
|
+
readonly enum: readonly ["stacked", "three-panel"];
|
|
2909
|
+
};
|
|
2910
|
+
readonly showBuiltInScalars: {
|
|
2911
|
+
readonly type: "boolean";
|
|
2912
|
+
};
|
|
2913
|
+
readonly showBuiltInDirectives: {
|
|
2914
|
+
readonly type: "boolean";
|
|
2915
|
+
};
|
|
2906
2916
|
};
|
|
2907
2917
|
readonly additionalProperties: false;
|
|
2908
2918
|
};
|
|
@@ -5156,6 +5166,16 @@ export declare const apiConfigSchema: {
|
|
|
5156
5166
|
};
|
|
5157
5167
|
readonly additionalProperties: false;
|
|
5158
5168
|
};
|
|
5169
|
+
readonly layout: {
|
|
5170
|
+
readonly type: "string";
|
|
5171
|
+
readonly enum: readonly ["stacked", "three-panel"];
|
|
5172
|
+
};
|
|
5173
|
+
readonly showBuiltInScalars: {
|
|
5174
|
+
readonly type: "boolean";
|
|
5175
|
+
};
|
|
5176
|
+
readonly showBuiltInDirectives: {
|
|
5177
|
+
readonly type: "boolean";
|
|
5178
|
+
};
|
|
5159
5179
|
};
|
|
5160
5180
|
readonly additionalProperties: false;
|
|
5161
5181
|
};
|
|
@@ -7407,7 +7427,7 @@ export declare const redoclyConfigSchema: {
|
|
|
7407
7427
|
readonly items: {
|
|
7408
7428
|
readonly type: "string";
|
|
7409
7429
|
};
|
|
7410
|
-
readonly default: readonly ["_partials"];
|
|
7430
|
+
readonly default: readonly ["**/_partials/**"];
|
|
7411
7431
|
};
|
|
7412
7432
|
readonly lastUpdatedBlock: {
|
|
7413
7433
|
readonly type: "object";
|
|
@@ -9707,6 +9727,16 @@ export declare const redoclyConfigSchema: {
|
|
|
9707
9727
|
};
|
|
9708
9728
|
readonly additionalProperties: false;
|
|
9709
9729
|
};
|
|
9730
|
+
readonly layout: {
|
|
9731
|
+
readonly type: "string";
|
|
9732
|
+
readonly enum: readonly ["stacked", "three-panel"];
|
|
9733
|
+
};
|
|
9734
|
+
readonly showBuiltInScalars: {
|
|
9735
|
+
readonly type: "boolean";
|
|
9736
|
+
};
|
|
9737
|
+
readonly showBuiltInDirectives: {
|
|
9738
|
+
readonly type: "boolean";
|
|
9739
|
+
};
|
|
9710
9740
|
};
|
|
9711
9741
|
readonly additionalProperties: false;
|
|
9712
9742
|
};
|
|
@@ -12931,7 +12961,7 @@ export declare const redoclyConfigSchema: {
|
|
|
12931
12961
|
readonly items: {
|
|
12932
12962
|
readonly type: "string";
|
|
12933
12963
|
};
|
|
12934
|
-
readonly default: readonly ["_partials"];
|
|
12964
|
+
readonly default: readonly ["**/_partials/**"];
|
|
12935
12965
|
};
|
|
12936
12966
|
readonly lastUpdatedBlock: {
|
|
12937
12967
|
readonly type: "object";
|
|
@@ -15231,6 +15261,16 @@ export declare const redoclyConfigSchema: {
|
|
|
15231
15261
|
};
|
|
15232
15262
|
readonly additionalProperties: false;
|
|
15233
15263
|
};
|
|
15264
|
+
readonly layout: {
|
|
15265
|
+
readonly type: "string";
|
|
15266
|
+
readonly enum: readonly ["stacked", "three-panel"];
|
|
15267
|
+
};
|
|
15268
|
+
readonly showBuiltInScalars: {
|
|
15269
|
+
readonly type: "boolean";
|
|
15270
|
+
};
|
|
15271
|
+
readonly showBuiltInDirectives: {
|
|
15272
|
+
readonly type: "boolean";
|
|
15273
|
+
};
|
|
15234
15274
|
};
|
|
15235
15275
|
readonly additionalProperties: false;
|
|
15236
15276
|
};
|
|
@@ -17264,6 +17304,45 @@ export declare const redoclyConfigSchema: {
|
|
|
17264
17304
|
};
|
|
17265
17305
|
};
|
|
17266
17306
|
};
|
|
17307
|
+
readonly mcp: {
|
|
17308
|
+
readonly type: "object";
|
|
17309
|
+
readonly properties: {
|
|
17310
|
+
readonly hide: {
|
|
17311
|
+
readonly type: "boolean";
|
|
17312
|
+
readonly default: false;
|
|
17313
|
+
};
|
|
17314
|
+
readonly docs: {
|
|
17315
|
+
readonly type: "object";
|
|
17316
|
+
readonly properties: {
|
|
17317
|
+
readonly hide: {
|
|
17318
|
+
readonly type: "boolean";
|
|
17319
|
+
readonly default: false;
|
|
17320
|
+
};
|
|
17321
|
+
readonly name: {
|
|
17322
|
+
readonly type: "string";
|
|
17323
|
+
readonly default: "Docs MCP server";
|
|
17324
|
+
};
|
|
17325
|
+
readonly ignore: {
|
|
17326
|
+
readonly type: "array";
|
|
17327
|
+
readonly items: {
|
|
17328
|
+
readonly type: "string";
|
|
17329
|
+
};
|
|
17330
|
+
readonly default: readonly [];
|
|
17331
|
+
};
|
|
17332
|
+
};
|
|
17333
|
+
readonly additionalProperties: false;
|
|
17334
|
+
};
|
|
17335
|
+
};
|
|
17336
|
+
readonly additionalProperties: false;
|
|
17337
|
+
readonly default: {
|
|
17338
|
+
readonly hide: false;
|
|
17339
|
+
readonly docs: {
|
|
17340
|
+
readonly hide: false;
|
|
17341
|
+
readonly name: "MCP server";
|
|
17342
|
+
readonly ignore: readonly [];
|
|
17343
|
+
};
|
|
17344
|
+
};
|
|
17345
|
+
};
|
|
17267
17346
|
readonly preprocessors: {
|
|
17268
17347
|
readonly type: "object";
|
|
17269
17348
|
readonly additionalProperties: true;
|
|
@@ -20115,6 +20194,16 @@ export declare const redoclyConfigSchema: {
|
|
|
20115
20194
|
};
|
|
20116
20195
|
readonly additionalProperties: false;
|
|
20117
20196
|
};
|
|
20197
|
+
readonly layout: {
|
|
20198
|
+
readonly type: "string";
|
|
20199
|
+
readonly enum: readonly ["stacked", "three-panel"];
|
|
20200
|
+
};
|
|
20201
|
+
readonly showBuiltInScalars: {
|
|
20202
|
+
readonly type: "boolean";
|
|
20203
|
+
};
|
|
20204
|
+
readonly showBuiltInDirectives: {
|
|
20205
|
+
readonly type: "boolean";
|
|
20206
|
+
};
|
|
20118
20207
|
};
|
|
20119
20208
|
readonly additionalProperties: false;
|
|
20120
20209
|
};
|
|
@@ -22368,6 +22457,16 @@ export declare const redoclyConfigSchema: {
|
|
|
22368
22457
|
};
|
|
22369
22458
|
readonly additionalProperties: false;
|
|
22370
22459
|
};
|
|
22460
|
+
readonly layout: {
|
|
22461
|
+
readonly type: "string";
|
|
22462
|
+
readonly enum: readonly ["stacked", "three-panel"];
|
|
22463
|
+
};
|
|
22464
|
+
readonly showBuiltInScalars: {
|
|
22465
|
+
readonly type: "boolean";
|
|
22466
|
+
};
|
|
22467
|
+
readonly showBuiltInDirectives: {
|
|
22468
|
+
readonly type: "boolean";
|
|
22469
|
+
};
|
|
22371
22470
|
};
|
|
22372
22471
|
readonly additionalProperties: false;
|
|
22373
22472
|
};
|
|
@@ -23912,6 +24011,10 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
23912
24011
|
};
|
|
23913
24012
|
graphql: {
|
|
23914
24013
|
properties: {
|
|
24014
|
+
layout: {
|
|
24015
|
+
enum: ("stacked" | "three-panel")[];
|
|
24016
|
+
type: "string";
|
|
24017
|
+
};
|
|
23915
24018
|
sidebar: {
|
|
23916
24019
|
properties: {
|
|
23917
24020
|
hide: {
|
|
@@ -24114,6 +24217,12 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
24114
24217
|
baseUrlPath: {
|
|
24115
24218
|
type: "string";
|
|
24116
24219
|
};
|
|
24220
|
+
showBuiltInScalars: {
|
|
24221
|
+
type: "boolean";
|
|
24222
|
+
};
|
|
24223
|
+
showBuiltInDirectives: {
|
|
24224
|
+
type: "boolean";
|
|
24225
|
+
};
|
|
24117
24226
|
};
|
|
24118
24227
|
additionalProperties: false;
|
|
24119
24228
|
type: "object";
|
|
@@ -27641,6 +27750,10 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
27641
27750
|
};
|
|
27642
27751
|
graphql: {
|
|
27643
27752
|
properties: {
|
|
27753
|
+
layout: {
|
|
27754
|
+
enum: ("stacked" | "three-panel")[];
|
|
27755
|
+
type: "string";
|
|
27756
|
+
};
|
|
27644
27757
|
sidebar: {
|
|
27645
27758
|
properties: {
|
|
27646
27759
|
hide: {
|
|
@@ -27843,6 +27956,12 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
27843
27956
|
baseUrlPath: {
|
|
27844
27957
|
type: "string";
|
|
27845
27958
|
};
|
|
27959
|
+
showBuiltInScalars: {
|
|
27960
|
+
type: "boolean";
|
|
27961
|
+
};
|
|
27962
|
+
showBuiltInDirectives: {
|
|
27963
|
+
type: "boolean";
|
|
27964
|
+
};
|
|
27846
27965
|
};
|
|
27847
27966
|
additionalProperties: false;
|
|
27848
27967
|
type: "object";
|
|
@@ -30406,6 +30525,33 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
30406
30525
|
type: "object";
|
|
30407
30526
|
required: never[];
|
|
30408
30527
|
};
|
|
30528
|
+
mcp: {
|
|
30529
|
+
properties: {
|
|
30530
|
+
hide: {
|
|
30531
|
+
type: "boolean";
|
|
30532
|
+
};
|
|
30533
|
+
docs: {
|
|
30534
|
+
properties: {
|
|
30535
|
+
name: {
|
|
30536
|
+
type: "string";
|
|
30537
|
+
};
|
|
30538
|
+
ignore: {
|
|
30539
|
+
items: {
|
|
30540
|
+
type: "string";
|
|
30541
|
+
};
|
|
30542
|
+
type: "array";
|
|
30543
|
+
};
|
|
30544
|
+
hide: {
|
|
30545
|
+
type: "boolean";
|
|
30546
|
+
};
|
|
30547
|
+
};
|
|
30548
|
+
additionalProperties: false;
|
|
30549
|
+
type: "object";
|
|
30550
|
+
};
|
|
30551
|
+
};
|
|
30552
|
+
additionalProperties: false;
|
|
30553
|
+
type: "object";
|
|
30554
|
+
};
|
|
30409
30555
|
preprocessors: {
|
|
30410
30556
|
additionalProperties: true;
|
|
30411
30557
|
type: "object";
|
|
@@ -32094,6 +32240,10 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
32094
32240
|
};
|
|
32095
32241
|
graphql: {
|
|
32096
32242
|
properties: {
|
|
32243
|
+
layout: {
|
|
32244
|
+
enum: ("stacked" | "three-panel")[];
|
|
32245
|
+
type: "string";
|
|
32246
|
+
};
|
|
32097
32247
|
sidebar: {
|
|
32098
32248
|
properties: {
|
|
32099
32249
|
hide: {
|
|
@@ -32296,6 +32446,12 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
32296
32446
|
baseUrlPath: {
|
|
32297
32447
|
type: "string";
|
|
32298
32448
|
};
|
|
32449
|
+
showBuiltInScalars: {
|
|
32450
|
+
type: "boolean";
|
|
32451
|
+
};
|
|
32452
|
+
showBuiltInDirectives: {
|
|
32453
|
+
type: "boolean";
|
|
32454
|
+
};
|
|
32299
32455
|
};
|
|
32300
32456
|
additionalProperties: false;
|
|
32301
32457
|
type: "object";
|
|
@@ -33578,6 +33734,10 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
33578
33734
|
};
|
|
33579
33735
|
graphql: {
|
|
33580
33736
|
properties: {
|
|
33737
|
+
layout: {
|
|
33738
|
+
enum: ("stacked" | "three-panel")[];
|
|
33739
|
+
type: "string";
|
|
33740
|
+
};
|
|
33581
33741
|
sidebar: {
|
|
33582
33742
|
properties: {
|
|
33583
33743
|
hide: {
|
|
@@ -33780,6 +33940,12 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
33780
33940
|
baseUrlPath: {
|
|
33781
33941
|
type: "string";
|
|
33782
33942
|
};
|
|
33943
|
+
showBuiltInScalars: {
|
|
33944
|
+
type: "boolean";
|
|
33945
|
+
};
|
|
33946
|
+
showBuiltInDirectives: {
|
|
33947
|
+
type: "boolean";
|
|
33948
|
+
};
|
|
33783
33949
|
};
|
|
33784
33950
|
additionalProperties: false;
|
|
33785
33951
|
type: "object";
|
|
@@ -35484,7 +35650,7 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
35484
35650
|
readonly items: {
|
|
35485
35651
|
readonly type: "string";
|
|
35486
35652
|
};
|
|
35487
|
-
readonly default: readonly ["_partials"];
|
|
35653
|
+
readonly default: readonly ["**/_partials/**"];
|
|
35488
35654
|
};
|
|
35489
35655
|
readonly lastUpdatedBlock: {
|
|
35490
35656
|
readonly type: "object";
|
|
@@ -37784,6 +37950,16 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
37784
37950
|
};
|
|
37785
37951
|
readonly additionalProperties: false;
|
|
37786
37952
|
};
|
|
37953
|
+
readonly layout: {
|
|
37954
|
+
readonly type: "string";
|
|
37955
|
+
readonly enum: readonly ["stacked", "three-panel"];
|
|
37956
|
+
};
|
|
37957
|
+
readonly showBuiltInScalars: {
|
|
37958
|
+
readonly type: "boolean";
|
|
37959
|
+
};
|
|
37960
|
+
readonly showBuiltInDirectives: {
|
|
37961
|
+
readonly type: "boolean";
|
|
37962
|
+
};
|
|
37787
37963
|
};
|
|
37788
37964
|
readonly additionalProperties: false;
|
|
37789
37965
|
};
|
|
@@ -41008,7 +41184,7 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
41008
41184
|
readonly items: {
|
|
41009
41185
|
readonly type: "string";
|
|
41010
41186
|
};
|
|
41011
|
-
readonly default: readonly ["_partials"];
|
|
41187
|
+
readonly default: readonly ["**/_partials/**"];
|
|
41012
41188
|
};
|
|
41013
41189
|
readonly lastUpdatedBlock: {
|
|
41014
41190
|
readonly type: "object";
|
|
@@ -43308,6 +43484,16 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
43308
43484
|
};
|
|
43309
43485
|
readonly additionalProperties: false;
|
|
43310
43486
|
};
|
|
43487
|
+
readonly layout: {
|
|
43488
|
+
readonly type: "string";
|
|
43489
|
+
readonly enum: readonly ["stacked", "three-panel"];
|
|
43490
|
+
};
|
|
43491
|
+
readonly showBuiltInScalars: {
|
|
43492
|
+
readonly type: "boolean";
|
|
43493
|
+
};
|
|
43494
|
+
readonly showBuiltInDirectives: {
|
|
43495
|
+
readonly type: "boolean";
|
|
43496
|
+
};
|
|
43311
43497
|
};
|
|
43312
43498
|
readonly additionalProperties: false;
|
|
43313
43499
|
};
|
|
@@ -45341,6 +45527,45 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
45341
45527
|
};
|
|
45342
45528
|
};
|
|
45343
45529
|
};
|
|
45530
|
+
readonly mcp: {
|
|
45531
|
+
readonly type: "object";
|
|
45532
|
+
readonly properties: {
|
|
45533
|
+
readonly hide: {
|
|
45534
|
+
readonly type: "boolean";
|
|
45535
|
+
readonly default: false;
|
|
45536
|
+
};
|
|
45537
|
+
readonly docs: {
|
|
45538
|
+
readonly type: "object";
|
|
45539
|
+
readonly properties: {
|
|
45540
|
+
readonly hide: {
|
|
45541
|
+
readonly type: "boolean";
|
|
45542
|
+
readonly default: false;
|
|
45543
|
+
};
|
|
45544
|
+
readonly name: {
|
|
45545
|
+
readonly type: "string";
|
|
45546
|
+
readonly default: "Docs MCP server";
|
|
45547
|
+
};
|
|
45548
|
+
readonly ignore: {
|
|
45549
|
+
readonly type: "array";
|
|
45550
|
+
readonly items: {
|
|
45551
|
+
readonly type: "string";
|
|
45552
|
+
};
|
|
45553
|
+
readonly default: readonly [];
|
|
45554
|
+
};
|
|
45555
|
+
};
|
|
45556
|
+
readonly additionalProperties: false;
|
|
45557
|
+
};
|
|
45558
|
+
};
|
|
45559
|
+
readonly additionalProperties: false;
|
|
45560
|
+
readonly default: {
|
|
45561
|
+
readonly hide: false;
|
|
45562
|
+
readonly docs: {
|
|
45563
|
+
readonly hide: false;
|
|
45564
|
+
readonly name: "MCP server";
|
|
45565
|
+
readonly ignore: readonly [];
|
|
45566
|
+
};
|
|
45567
|
+
};
|
|
45568
|
+
};
|
|
45344
45569
|
readonly preprocessors: {
|
|
45345
45570
|
readonly type: "object";
|
|
45346
45571
|
readonly additionalProperties: true;
|
|
@@ -48192,6 +48417,16 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
48192
48417
|
};
|
|
48193
48418
|
readonly additionalProperties: false;
|
|
48194
48419
|
};
|
|
48420
|
+
readonly layout: {
|
|
48421
|
+
readonly type: "string";
|
|
48422
|
+
readonly enum: readonly ["stacked", "three-panel"];
|
|
48423
|
+
};
|
|
48424
|
+
readonly showBuiltInScalars: {
|
|
48425
|
+
readonly type: "boolean";
|
|
48426
|
+
};
|
|
48427
|
+
readonly showBuiltInDirectives: {
|
|
48428
|
+
readonly type: "boolean";
|
|
48429
|
+
};
|
|
48195
48430
|
};
|
|
48196
48431
|
readonly additionalProperties: false;
|
|
48197
48432
|
};
|
|
@@ -50445,6 +50680,16 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
50445
50680
|
};
|
|
50446
50681
|
readonly additionalProperties: false;
|
|
50447
50682
|
};
|
|
50683
|
+
readonly layout: {
|
|
50684
|
+
readonly type: "string";
|
|
50685
|
+
readonly enum: readonly ["stacked", "three-panel"];
|
|
50686
|
+
};
|
|
50687
|
+
readonly showBuiltInScalars: {
|
|
50688
|
+
readonly type: "boolean";
|
|
50689
|
+
};
|
|
50690
|
+
readonly showBuiltInDirectives: {
|
|
50691
|
+
readonly type: "boolean";
|
|
50692
|
+
};
|
|
50448
50693
|
};
|
|
50449
50694
|
readonly additionalProperties: false;
|
|
50450
50695
|
};
|
|
@@ -374,6 +374,34 @@ const responseHeaderSchema = {
|
|
|
374
374
|
additionalProperties: false,
|
|
375
375
|
required: ['name', 'value'],
|
|
376
376
|
};
|
|
377
|
+
const mcpConfigSchema = {
|
|
378
|
+
type: 'object',
|
|
379
|
+
properties: {
|
|
380
|
+
hide: { type: 'boolean', default: false },
|
|
381
|
+
docs: {
|
|
382
|
+
type: 'object',
|
|
383
|
+
properties: {
|
|
384
|
+
hide: { type: 'boolean', default: false },
|
|
385
|
+
name: { type: 'string', default: 'Docs MCP server' },
|
|
386
|
+
ignore: {
|
|
387
|
+
type: 'array',
|
|
388
|
+
items: { type: 'string' },
|
|
389
|
+
default: [],
|
|
390
|
+
},
|
|
391
|
+
},
|
|
392
|
+
additionalProperties: false,
|
|
393
|
+
},
|
|
394
|
+
},
|
|
395
|
+
additionalProperties: false,
|
|
396
|
+
default: {
|
|
397
|
+
hide: false,
|
|
398
|
+
docs: {
|
|
399
|
+
hide: false,
|
|
400
|
+
name: 'MCP server',
|
|
401
|
+
ignore: [],
|
|
402
|
+
},
|
|
403
|
+
},
|
|
404
|
+
};
|
|
377
405
|
export const redoclyConfigSchema = {
|
|
378
406
|
type: 'object',
|
|
379
407
|
properties: Object.assign(Object.assign(Object.assign(Object.assign({
|
|
@@ -411,7 +439,7 @@ export const redoclyConfigSchema = {
|
|
|
411
439
|
/**
|
|
412
440
|
* @deprecated Should use `catalogClassic` instead
|
|
413
441
|
*/
|
|
414
|
-
catalog: catalogsConfigSchema, entitiesCatalog: entitiesCatalogConfigSchema, catalogClassic: catalogsConfigSchema, scorecard: scorecardConfigSchema }),
|
|
442
|
+
catalog: catalogsConfigSchema, entitiesCatalog: entitiesCatalogConfigSchema, catalogClassic: catalogsConfigSchema, scorecard: scorecardConfigSchema, mcp: mcpConfigSchema }),
|
|
415
443
|
default: { redirects: {}, seo: seoConfigSchema.default },
|
|
416
444
|
additionalProperties: true,
|
|
417
445
|
};
|
|
@@ -16,15 +16,16 @@ export type ApiFunctionsContextMethods = {
|
|
|
16
16
|
text: (data: string, code?: number) => Response;
|
|
17
17
|
redirect: (url: string, code?: number) => Response;
|
|
18
18
|
};
|
|
19
|
+
export type ApiFunctionsUser = {
|
|
20
|
+
teams: string[];
|
|
21
|
+
claims: Record<string, any>;
|
|
22
|
+
email: string | undefined;
|
|
23
|
+
idpAccessToken: string | undefined;
|
|
24
|
+
idpId: string | undefined;
|
|
25
|
+
isAuthenticated: boolean;
|
|
26
|
+
};
|
|
19
27
|
export type ApiFunctionsContext = {
|
|
20
|
-
user:
|
|
21
|
-
teams: string[];
|
|
22
|
-
claims: Record<string, any>;
|
|
23
|
-
email: string | undefined;
|
|
24
|
-
idpAccessToken: string | undefined;
|
|
25
|
-
idpId: string | undefined;
|
|
26
|
-
isAuthenticated: boolean;
|
|
27
|
-
};
|
|
28
|
+
user: ApiFunctionsUser;
|
|
28
29
|
config: RedoclyConfig;
|
|
29
30
|
params: Record<string, string | string[]>;
|
|
30
31
|
query: Record<string, string | string[]>;
|