@redocly/config 0.25.0 → 0.27.0-rc.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.
@@ -3120,6 +3120,15 @@ export declare const themeConfigSchema: {
3120
3120
  readonly baseUrlPath: {
3121
3121
  readonly type: "string";
3122
3122
  };
3123
+ readonly metadata: {
3124
+ readonly type: "object";
3125
+ readonly properties: {
3126
+ readonly apiId: {
3127
+ readonly type: "string";
3128
+ };
3129
+ };
3130
+ readonly additionalProperties: true;
3131
+ };
3123
3132
  readonly feedback: {
3124
3133
  readonly type: "object";
3125
3134
  readonly properties: {
@@ -4281,15 +4290,16 @@ export declare const themeConfigSchema: {
4281
4290
  readonly type: "object";
4282
4291
  readonly additionalProperties: true;
4283
4292
  };
4293
+ readonly ignore: {
4294
+ readonly type: "boolean";
4295
+ };
4284
4296
  readonly where: {
4285
4297
  readonly type: "object";
4286
4298
  readonly required: readonly ["metadata"];
4287
4299
  readonly properties: {
4288
4300
  readonly metadata: {
4289
4301
  readonly type: "object";
4290
- readonly additionalProperties: {
4291
- readonly type: "string";
4292
- };
4302
+ readonly additionalProperties: {};
4293
4303
  };
4294
4304
  };
4295
4305
  readonly additionalProperties: false;
@@ -7432,6 +7442,15 @@ export declare const closedThemeConfigSchema: {
7432
7442
  readonly baseUrlPath: {
7433
7443
  readonly type: "string";
7434
7444
  };
7445
+ readonly metadata: {
7446
+ readonly type: "object";
7447
+ readonly properties: {
7448
+ readonly apiId: {
7449
+ readonly type: "string";
7450
+ };
7451
+ };
7452
+ readonly additionalProperties: true;
7453
+ };
7435
7454
  readonly feedback: {
7436
7455
  readonly type: "object";
7437
7456
  readonly properties: {
@@ -8593,15 +8612,16 @@ export declare const closedThemeConfigSchema: {
8593
8612
  readonly type: "object";
8594
8613
  readonly additionalProperties: true;
8595
8614
  };
8615
+ readonly ignore: {
8616
+ readonly type: "boolean";
8617
+ };
8596
8618
  readonly where: {
8597
8619
  readonly type: "object";
8598
8620
  readonly required: readonly ["metadata"];
8599
8621
  readonly properties: {
8600
8622
  readonly metadata: {
8601
8623
  readonly type: "object";
8602
- readonly additionalProperties: {
8603
- readonly type: "string";
8604
- };
8624
+ readonly additionalProperties: {};
8605
8625
  };
8606
8626
  };
8607
8627
  readonly additionalProperties: false;
@@ -4167,15 +4167,16 @@ export declare const scorecardConfigSchema: {
4167
4167
  readonly type: "object";
4168
4168
  readonly additionalProperties: true;
4169
4169
  };
4170
+ readonly ignore: {
4171
+ readonly type: "boolean";
4172
+ };
4170
4173
  readonly where: {
4171
4174
  readonly type: "object";
4172
4175
  readonly required: readonly ["metadata"];
4173
4176
  readonly properties: {
4174
4177
  readonly metadata: {
4175
4178
  readonly type: "object";
4176
- readonly additionalProperties: {
4177
- readonly type: "string";
4178
- };
4179
+ readonly additionalProperties: {};
4179
4180
  };
4180
4181
  };
4181
4182
  readonly additionalProperties: false;
@@ -589,11 +589,12 @@ exports.scorecardConfigSchema = {
589
589
  properties: {
590
590
  minimumLevel: { type: 'string' },
591
591
  rules: { type: 'object', additionalProperties: true },
592
+ ignore: { type: 'boolean' },
592
593
  where: {
593
594
  type: 'object',
594
595
  required: ['metadata'],
595
596
  properties: {
596
- metadata: { type: 'object', additionalProperties: { type: 'string' } },
597
+ metadata: { type: 'object', additionalProperties: {} },
597
598
  },
598
599
  additionalProperties: false,
599
600
  },
@@ -177,6 +177,15 @@ export declare const graphqlConfigSchema: {
177
177
  readonly baseUrlPath: {
178
178
  readonly type: "string";
179
179
  };
180
+ readonly metadata: {
181
+ readonly type: "object";
182
+ readonly properties: {
183
+ readonly apiId: {
184
+ readonly type: "string";
185
+ };
186
+ };
187
+ readonly additionalProperties: true;
188
+ };
180
189
  readonly feedback: {
181
190
  readonly type: "object";
182
191
  readonly properties: {
@@ -104,6 +104,15 @@ exports.graphqlConfigSchema = {
104
104
  baseUrlPath: {
105
105
  type: 'string',
106
106
  },
107
+ metadata: {
108
+ type: 'object',
109
+ properties: {
110
+ apiId: {
111
+ type: 'string',
112
+ },
113
+ },
114
+ additionalProperties: true,
115
+ },
107
116
  feedback: feedback_config_schema_1.feedbackConfigSchema,
108
117
  },
109
118
  additionalProperties: false,
@@ -4714,6 +4714,15 @@ export declare const productConfigOverrideSchema: {
4714
4714
  readonly baseUrlPath: {
4715
4715
  readonly type: "string";
4716
4716
  };
4717
+ readonly metadata: {
4718
+ readonly type: "object";
4719
+ readonly properties: {
4720
+ readonly apiId: {
4721
+ readonly type: "string";
4722
+ };
4723
+ };
4724
+ readonly additionalProperties: true;
4725
+ };
4717
4726
  readonly feedback: {
4718
4727
  readonly type: "object";
4719
4728
  readonly properties: {
@@ -6943,6 +6952,15 @@ export declare const productConfigOverrideSchema: {
6943
6952
  readonly baseUrlPath: {
6944
6953
  readonly type: "string";
6945
6954
  };
6955
+ readonly metadata: {
6956
+ readonly type: "object";
6957
+ readonly properties: {
6958
+ readonly apiId: {
6959
+ readonly type: "string";
6960
+ };
6961
+ };
6962
+ readonly additionalProperties: true;
6963
+ };
6946
6964
  readonly feedback: {
6947
6965
  readonly type: "object";
6948
6966
  readonly properties: {
@@ -2487,6 +2487,15 @@ export declare const apiConfigSchema: {
2487
2487
  readonly baseUrlPath: {
2488
2488
  readonly type: "string";
2489
2489
  };
2490
+ readonly metadata: {
2491
+ readonly type: "object";
2492
+ readonly properties: {
2493
+ readonly apiId: {
2494
+ readonly type: "string";
2495
+ };
2496
+ };
2497
+ readonly additionalProperties: true;
2498
+ };
2490
2499
  readonly feedback: {
2491
2500
  readonly type: "object";
2492
2501
  readonly properties: {
@@ -4719,6 +4728,15 @@ export declare const apiConfigSchema: {
4719
4728
  readonly baseUrlPath: {
4720
4729
  readonly type: "string";
4721
4730
  };
4731
+ readonly metadata: {
4732
+ readonly type: "object";
4733
+ readonly properties: {
4734
+ readonly apiId: {
4735
+ readonly type: "string";
4736
+ };
4737
+ };
4738
+ readonly additionalProperties: true;
4739
+ };
4722
4740
  readonly feedback: {
4723
4741
  readonly type: "object";
4724
4742
  readonly properties: {
@@ -5105,7 +5123,7 @@ export declare const seoConfigSchema: {
5105
5123
  readonly description: undefined;
5106
5124
  readonly details: undefined;
5107
5125
  readonly sections: readonly [{
5108
- readonly title: "Optional";
5126
+ readonly title: "Table of contents";
5109
5127
  readonly includeFiles: readonly ["**/*"];
5110
5128
  readonly excludeFiles: readonly [];
5111
5129
  }];
@@ -5120,7 +5138,7 @@ export declare const seoConfigSchema: {
5120
5138
  readonly description: undefined;
5121
5139
  readonly details: undefined;
5122
5140
  readonly sections: readonly [{
5123
- readonly title: "Optional";
5141
+ readonly title: "Table of contents";
5124
5142
  readonly includeFiles: readonly ["**/*"];
5125
5143
  readonly excludeFiles: readonly [];
5126
5144
  }];
@@ -5834,7 +5852,7 @@ export declare const redoclyConfigSchema: {
5834
5852
  readonly description: undefined;
5835
5853
  readonly details: undefined;
5836
5854
  readonly sections: readonly [{
5837
- readonly title: "Optional";
5855
+ readonly title: "Table of contents";
5838
5856
  readonly includeFiles: readonly ["**/*"];
5839
5857
  readonly excludeFiles: readonly [];
5840
5858
  }];
@@ -5849,7 +5867,7 @@ export declare const redoclyConfigSchema: {
5849
5867
  readonly description: undefined;
5850
5868
  readonly details: undefined;
5851
5869
  readonly sections: readonly [{
5852
- readonly title: "Optional";
5870
+ readonly title: "Table of contents";
5853
5871
  readonly includeFiles: readonly ["**/*"];
5854
5872
  readonly excludeFiles: readonly [];
5855
5873
  }];
@@ -7989,6 +8007,15 @@ export declare const redoclyConfigSchema: {
7989
8007
  readonly baseUrlPath: {
7990
8008
  readonly type: "string";
7991
8009
  };
8010
+ readonly metadata: {
8011
+ readonly type: "object";
8012
+ readonly properties: {
8013
+ readonly apiId: {
8014
+ readonly type: "string";
8015
+ };
8016
+ };
8017
+ readonly additionalProperties: true;
8018
+ };
7992
8019
  readonly feedback: {
7993
8020
  readonly type: "object";
7994
8021
  readonly properties: {
@@ -10221,6 +10248,15 @@ export declare const redoclyConfigSchema: {
10221
10248
  readonly baseUrlPath: {
10222
10249
  readonly type: "string";
10223
10250
  };
10251
+ readonly metadata: {
10252
+ readonly type: "object";
10253
+ readonly properties: {
10254
+ readonly apiId: {
10255
+ readonly type: "string";
10256
+ };
10257
+ };
10258
+ readonly additionalProperties: true;
10259
+ };
10224
10260
  readonly feedback: {
10225
10261
  readonly type: "object";
10226
10262
  readonly properties: {
@@ -14069,6 +14105,15 @@ export declare const redoclyConfigSchema: {
14069
14105
  readonly baseUrlPath: {
14070
14106
  readonly type: "string";
14071
14107
  };
14108
+ readonly metadata: {
14109
+ readonly type: "object";
14110
+ readonly properties: {
14111
+ readonly apiId: {
14112
+ readonly type: "string";
14113
+ };
14114
+ };
14115
+ readonly additionalProperties: true;
14116
+ };
14072
14117
  readonly feedback: {
14073
14118
  readonly type: "object";
14074
14119
  readonly properties: {
@@ -15227,15 +15272,16 @@ export declare const redoclyConfigSchema: {
15227
15272
  readonly type: "object";
15228
15273
  readonly additionalProperties: true;
15229
15274
  };
15275
+ readonly ignore: {
15276
+ readonly type: "boolean";
15277
+ };
15230
15278
  readonly where: {
15231
15279
  readonly type: "object";
15232
15280
  readonly required: readonly ["metadata"];
15233
15281
  readonly properties: {
15234
15282
  readonly metadata: {
15235
15283
  readonly type: "object";
15236
- readonly additionalProperties: {
15237
- readonly type: "string";
15238
- };
15284
+ readonly additionalProperties: {};
15239
15285
  };
15240
15286
  };
15241
15287
  readonly additionalProperties: false;
@@ -18471,6 +18517,15 @@ export declare const redoclyConfigSchema: {
18471
18517
  readonly baseUrlPath: {
18472
18518
  readonly type: "string";
18473
18519
  };
18520
+ readonly metadata: {
18521
+ readonly type: "object";
18522
+ readonly properties: {
18523
+ readonly apiId: {
18524
+ readonly type: "string";
18525
+ };
18526
+ };
18527
+ readonly additionalProperties: true;
18528
+ };
18474
18529
  readonly feedback: {
18475
18530
  readonly type: "object";
18476
18531
  readonly properties: {
@@ -19632,15 +19687,16 @@ export declare const redoclyConfigSchema: {
19632
19687
  readonly type: "object";
19633
19688
  readonly additionalProperties: true;
19634
19689
  };
19690
+ readonly ignore: {
19691
+ readonly type: "boolean";
19692
+ };
19635
19693
  readonly where: {
19636
19694
  readonly type: "object";
19637
19695
  readonly required: readonly ["metadata"];
19638
19696
  readonly properties: {
19639
19697
  readonly metadata: {
19640
19698
  readonly type: "object";
19641
- readonly additionalProperties: {
19642
- readonly type: "string";
19643
- };
19699
+ readonly additionalProperties: {};
19644
19700
  };
19645
19701
  };
19646
19702
  readonly additionalProperties: false;
@@ -19667,7 +19723,7 @@ export declare const redoclyConfigSchema: {
19667
19723
  readonly description: undefined;
19668
19724
  readonly details: undefined;
19669
19725
  readonly sections: readonly [{
19670
- readonly title: "Optional";
19726
+ readonly title: "Table of contents";
19671
19727
  readonly includeFiles: readonly ["**/*"];
19672
19728
  readonly excludeFiles: readonly [];
19673
19729
  }];
@@ -22042,6 +22098,15 @@ export declare const rootRedoclyConfigSchema: {
22042
22098
  };
22043
22099
  type: "object";
22044
22100
  };
22101
+ metadata: {
22102
+ properties: {
22103
+ apiId: {
22104
+ type: "string";
22105
+ };
22106
+ };
22107
+ additionalProperties: true;
22108
+ type: "object";
22109
+ };
22045
22110
  licenseKey: {
22046
22111
  type: "string";
22047
22112
  };
@@ -23126,6 +23191,9 @@ export declare const rootRedoclyConfigSchema: {
23126
23191
  additionalProperties: true;
23127
23192
  type: "object";
23128
23193
  };
23194
+ ignore: {
23195
+ type: "boolean";
23196
+ };
23129
23197
  minimumLevel: {
23130
23198
  type: "string";
23131
23199
  };
@@ -25050,6 +25118,15 @@ export declare const rootRedoclyConfigSchema: {
25050
25118
  };
25051
25119
  type: "object";
25052
25120
  };
25121
+ metadata: {
25122
+ properties: {
25123
+ apiId: {
25124
+ type: "string";
25125
+ };
25126
+ };
25127
+ additionalProperties: true;
25128
+ type: "object";
25129
+ };
25053
25130
  licenseKey: {
25054
25131
  type: "string";
25055
25132
  };
@@ -26812,6 +26889,15 @@ export declare const rootRedoclyConfigSchema: {
26812
26889
  };
26813
26890
  type: "object";
26814
26891
  };
26892
+ metadata: {
26893
+ properties: {
26894
+ apiId: {
26895
+ type: "string";
26896
+ };
26897
+ };
26898
+ additionalProperties: true;
26899
+ type: "object";
26900
+ };
26815
26901
  licenseKey: {
26816
26902
  type: "string";
26817
26903
  };
@@ -29817,6 +29903,15 @@ export declare const rootRedoclyConfigSchema: {
29817
29903
  };
29818
29904
  type: "object";
29819
29905
  };
29906
+ metadata: {
29907
+ properties: {
29908
+ apiId: {
29909
+ type: "string";
29910
+ };
29911
+ };
29912
+ additionalProperties: true;
29913
+ type: "object";
29914
+ };
29820
29915
  licenseKey: {
29821
29916
  type: "string";
29822
29917
  };
@@ -30901,6 +30996,9 @@ export declare const rootRedoclyConfigSchema: {
30901
30996
  additionalProperties: true;
30902
30997
  type: "object";
30903
30998
  };
30999
+ ignore: {
31000
+ type: "boolean";
31001
+ };
30904
31002
  minimumLevel: {
30905
31003
  type: "string";
30906
31004
  };
@@ -31065,7 +31163,7 @@ export declare const rootRedoclyConfigSchema: {
31065
31163
  readonly description: undefined;
31066
31164
  readonly details: undefined;
31067
31165
  readonly sections: readonly [{
31068
- readonly title: "Optional";
31166
+ readonly title: "Table of contents";
31069
31167
  readonly includeFiles: readonly ["**/*"];
31070
31168
  readonly excludeFiles: readonly [];
31071
31169
  }];
@@ -31080,7 +31178,7 @@ export declare const rootRedoclyConfigSchema: {
31080
31178
  readonly description: undefined;
31081
31179
  readonly details: undefined;
31082
31180
  readonly sections: readonly [{
31083
- readonly title: "Optional";
31181
+ readonly title: "Table of contents";
31084
31182
  readonly includeFiles: readonly ["**/*"];
31085
31183
  readonly excludeFiles: readonly [];
31086
31184
  }];
@@ -33220,6 +33318,15 @@ export declare const rootRedoclyConfigSchema: {
33220
33318
  readonly baseUrlPath: {
33221
33319
  readonly type: "string";
33222
33320
  };
33321
+ readonly metadata: {
33322
+ readonly type: "object";
33323
+ readonly properties: {
33324
+ readonly apiId: {
33325
+ readonly type: "string";
33326
+ };
33327
+ };
33328
+ readonly additionalProperties: true;
33329
+ };
33223
33330
  readonly feedback: {
33224
33331
  readonly type: "object";
33225
33332
  readonly properties: {
@@ -35452,6 +35559,15 @@ export declare const rootRedoclyConfigSchema: {
35452
35559
  readonly baseUrlPath: {
35453
35560
  readonly type: "string";
35454
35561
  };
35562
+ readonly metadata: {
35563
+ readonly type: "object";
35564
+ readonly properties: {
35565
+ readonly apiId: {
35566
+ readonly type: "string";
35567
+ };
35568
+ };
35569
+ readonly additionalProperties: true;
35570
+ };
35455
35571
  readonly feedback: {
35456
35572
  readonly type: "object";
35457
35573
  readonly properties: {
@@ -39300,6 +39416,15 @@ export declare const rootRedoclyConfigSchema: {
39300
39416
  readonly baseUrlPath: {
39301
39417
  readonly type: "string";
39302
39418
  };
39419
+ readonly metadata: {
39420
+ readonly type: "object";
39421
+ readonly properties: {
39422
+ readonly apiId: {
39423
+ readonly type: "string";
39424
+ };
39425
+ };
39426
+ readonly additionalProperties: true;
39427
+ };
39303
39428
  readonly feedback: {
39304
39429
  readonly type: "object";
39305
39430
  readonly properties: {
@@ -40458,15 +40583,16 @@ export declare const rootRedoclyConfigSchema: {
40458
40583
  readonly type: "object";
40459
40584
  readonly additionalProperties: true;
40460
40585
  };
40586
+ readonly ignore: {
40587
+ readonly type: "boolean";
40588
+ };
40461
40589
  readonly where: {
40462
40590
  readonly type: "object";
40463
40591
  readonly required: readonly ["metadata"];
40464
40592
  readonly properties: {
40465
40593
  readonly metadata: {
40466
40594
  readonly type: "object";
40467
- readonly additionalProperties: {
40468
- readonly type: "string";
40469
- };
40595
+ readonly additionalProperties: {};
40470
40596
  };
40471
40597
  };
40472
40598
  readonly additionalProperties: false;
@@ -43702,6 +43828,15 @@ export declare const rootRedoclyConfigSchema: {
43702
43828
  readonly baseUrlPath: {
43703
43829
  readonly type: "string";
43704
43830
  };
43831
+ readonly metadata: {
43832
+ readonly type: "object";
43833
+ readonly properties: {
43834
+ readonly apiId: {
43835
+ readonly type: "string";
43836
+ };
43837
+ };
43838
+ readonly additionalProperties: true;
43839
+ };
43705
43840
  readonly feedback: {
43706
43841
  readonly type: "object";
43707
43842
  readonly properties: {
@@ -44863,15 +44998,16 @@ export declare const rootRedoclyConfigSchema: {
44863
44998
  readonly type: "object";
44864
44999
  readonly additionalProperties: true;
44865
45000
  };
45001
+ readonly ignore: {
45002
+ readonly type: "boolean";
45003
+ };
44866
45004
  readonly where: {
44867
45005
  readonly type: "object";
44868
45006
  readonly required: readonly ["metadata"];
44869
45007
  readonly properties: {
44870
45008
  readonly metadata: {
44871
45009
  readonly type: "object";
44872
- readonly additionalProperties: {
44873
- readonly type: "string";
44874
- };
45010
+ readonly additionalProperties: {};
44875
45011
  };
44876
45012
  };
44877
45013
  readonly additionalProperties: false;
@@ -199,7 +199,7 @@ const llmstxtConfigSchema = {
199
199
  details: undefined,
200
200
  sections: [
201
201
  {
202
- title: 'Optional',
202
+ title: 'Table of contents',
203
203
  includeFiles: ['**/*'],
204
204
  excludeFiles: [],
205
205
  },
@@ -28,7 +28,6 @@ export type ApiFunctionsContext = {
28
28
  config: RedoclyConfig;
29
29
  params: Record<string, string | string[]>;
30
30
  query: Record<string, string | string[]>;
31
- headers: Record<string, string>;
32
31
  cookies: Record<string, string>;
33
32
  } & ApiFunctionsContextMethods;
34
33
  export type ApiFunctionsHandler = (request: Request, context: ApiFunctionsContext,
@@ -3120,6 +3120,15 @@ export declare const themeConfigSchema: {
3120
3120
  readonly baseUrlPath: {
3121
3121
  readonly type: "string";
3122
3122
  };
3123
+ readonly metadata: {
3124
+ readonly type: "object";
3125
+ readonly properties: {
3126
+ readonly apiId: {
3127
+ readonly type: "string";
3128
+ };
3129
+ };
3130
+ readonly additionalProperties: true;
3131
+ };
3123
3132
  readonly feedback: {
3124
3133
  readonly type: "object";
3125
3134
  readonly properties: {
@@ -4281,15 +4290,16 @@ export declare const themeConfigSchema: {
4281
4290
  readonly type: "object";
4282
4291
  readonly additionalProperties: true;
4283
4292
  };
4293
+ readonly ignore: {
4294
+ readonly type: "boolean";
4295
+ };
4284
4296
  readonly where: {
4285
4297
  readonly type: "object";
4286
4298
  readonly required: readonly ["metadata"];
4287
4299
  readonly properties: {
4288
4300
  readonly metadata: {
4289
4301
  readonly type: "object";
4290
- readonly additionalProperties: {
4291
- readonly type: "string";
4292
- };
4302
+ readonly additionalProperties: {};
4293
4303
  };
4294
4304
  };
4295
4305
  readonly additionalProperties: false;
@@ -7432,6 +7442,15 @@ export declare const closedThemeConfigSchema: {
7432
7442
  readonly baseUrlPath: {
7433
7443
  readonly type: "string";
7434
7444
  };
7445
+ readonly metadata: {
7446
+ readonly type: "object";
7447
+ readonly properties: {
7448
+ readonly apiId: {
7449
+ readonly type: "string";
7450
+ };
7451
+ };
7452
+ readonly additionalProperties: true;
7453
+ };
7435
7454
  readonly feedback: {
7436
7455
  readonly type: "object";
7437
7456
  readonly properties: {
@@ -8593,15 +8612,16 @@ export declare const closedThemeConfigSchema: {
8593
8612
  readonly type: "object";
8594
8613
  readonly additionalProperties: true;
8595
8614
  };
8615
+ readonly ignore: {
8616
+ readonly type: "boolean";
8617
+ };
8596
8618
  readonly where: {
8597
8619
  readonly type: "object";
8598
8620
  readonly required: readonly ["metadata"];
8599
8621
  readonly properties: {
8600
8622
  readonly metadata: {
8601
8623
  readonly type: "object";
8602
- readonly additionalProperties: {
8603
- readonly type: "string";
8604
- };
8624
+ readonly additionalProperties: {};
8605
8625
  };
8606
8626
  };
8607
8627
  readonly additionalProperties: false;
@@ -4167,15 +4167,16 @@ export declare const scorecardConfigSchema: {
4167
4167
  readonly type: "object";
4168
4168
  readonly additionalProperties: true;
4169
4169
  };
4170
+ readonly ignore: {
4171
+ readonly type: "boolean";
4172
+ };
4170
4173
  readonly where: {
4171
4174
  readonly type: "object";
4172
4175
  readonly required: readonly ["metadata"];
4173
4176
  readonly properties: {
4174
4177
  readonly metadata: {
4175
4178
  readonly type: "object";
4176
- readonly additionalProperties: {
4177
- readonly type: "string";
4178
- };
4179
+ readonly additionalProperties: {};
4179
4180
  };
4180
4181
  };
4181
4182
  readonly additionalProperties: false;
@@ -586,11 +586,12 @@ export const scorecardConfigSchema = {
586
586
  properties: {
587
587
  minimumLevel: { type: 'string' },
588
588
  rules: { type: 'object', additionalProperties: true },
589
+ ignore: { type: 'boolean' },
589
590
  where: {
590
591
  type: 'object',
591
592
  required: ['metadata'],
592
593
  properties: {
593
- metadata: { type: 'object', additionalProperties: { type: 'string' } },
594
+ metadata: { type: 'object', additionalProperties: {} },
594
595
  },
595
596
  additionalProperties: false,
596
597
  },
@@ -177,6 +177,15 @@ export declare const graphqlConfigSchema: {
177
177
  readonly baseUrlPath: {
178
178
  readonly type: "string";
179
179
  };
180
+ readonly metadata: {
181
+ readonly type: "object";
182
+ readonly properties: {
183
+ readonly apiId: {
184
+ readonly type: "string";
185
+ };
186
+ };
187
+ readonly additionalProperties: true;
188
+ };
180
189
  readonly feedback: {
181
190
  readonly type: "object";
182
191
  readonly properties: {
@@ -101,6 +101,15 @@ export const graphqlConfigSchema = {
101
101
  baseUrlPath: {
102
102
  type: 'string',
103
103
  },
104
+ metadata: {
105
+ type: 'object',
106
+ properties: {
107
+ apiId: {
108
+ type: 'string',
109
+ },
110
+ },
111
+ additionalProperties: true,
112
+ },
104
113
  feedback: feedbackConfigSchema,
105
114
  },
106
115
  additionalProperties: false,
@@ -4714,6 +4714,15 @@ export declare const productConfigOverrideSchema: {
4714
4714
  readonly baseUrlPath: {
4715
4715
  readonly type: "string";
4716
4716
  };
4717
+ readonly metadata: {
4718
+ readonly type: "object";
4719
+ readonly properties: {
4720
+ readonly apiId: {
4721
+ readonly type: "string";
4722
+ };
4723
+ };
4724
+ readonly additionalProperties: true;
4725
+ };
4717
4726
  readonly feedback: {
4718
4727
  readonly type: "object";
4719
4728
  readonly properties: {
@@ -6943,6 +6952,15 @@ export declare const productConfigOverrideSchema: {
6943
6952
  readonly baseUrlPath: {
6944
6953
  readonly type: "string";
6945
6954
  };
6955
+ readonly metadata: {
6956
+ readonly type: "object";
6957
+ readonly properties: {
6958
+ readonly apiId: {
6959
+ readonly type: "string";
6960
+ };
6961
+ };
6962
+ readonly additionalProperties: true;
6963
+ };
6946
6964
  readonly feedback: {
6947
6965
  readonly type: "object";
6948
6966
  readonly properties: {
@@ -2487,6 +2487,15 @@ export declare const apiConfigSchema: {
2487
2487
  readonly baseUrlPath: {
2488
2488
  readonly type: "string";
2489
2489
  };
2490
+ readonly metadata: {
2491
+ readonly type: "object";
2492
+ readonly properties: {
2493
+ readonly apiId: {
2494
+ readonly type: "string";
2495
+ };
2496
+ };
2497
+ readonly additionalProperties: true;
2498
+ };
2490
2499
  readonly feedback: {
2491
2500
  readonly type: "object";
2492
2501
  readonly properties: {
@@ -4719,6 +4728,15 @@ export declare const apiConfigSchema: {
4719
4728
  readonly baseUrlPath: {
4720
4729
  readonly type: "string";
4721
4730
  };
4731
+ readonly metadata: {
4732
+ readonly type: "object";
4733
+ readonly properties: {
4734
+ readonly apiId: {
4735
+ readonly type: "string";
4736
+ };
4737
+ };
4738
+ readonly additionalProperties: true;
4739
+ };
4722
4740
  readonly feedback: {
4723
4741
  readonly type: "object";
4724
4742
  readonly properties: {
@@ -5105,7 +5123,7 @@ export declare const seoConfigSchema: {
5105
5123
  readonly description: undefined;
5106
5124
  readonly details: undefined;
5107
5125
  readonly sections: readonly [{
5108
- readonly title: "Optional";
5126
+ readonly title: "Table of contents";
5109
5127
  readonly includeFiles: readonly ["**/*"];
5110
5128
  readonly excludeFiles: readonly [];
5111
5129
  }];
@@ -5120,7 +5138,7 @@ export declare const seoConfigSchema: {
5120
5138
  readonly description: undefined;
5121
5139
  readonly details: undefined;
5122
5140
  readonly sections: readonly [{
5123
- readonly title: "Optional";
5141
+ readonly title: "Table of contents";
5124
5142
  readonly includeFiles: readonly ["**/*"];
5125
5143
  readonly excludeFiles: readonly [];
5126
5144
  }];
@@ -5834,7 +5852,7 @@ export declare const redoclyConfigSchema: {
5834
5852
  readonly description: undefined;
5835
5853
  readonly details: undefined;
5836
5854
  readonly sections: readonly [{
5837
- readonly title: "Optional";
5855
+ readonly title: "Table of contents";
5838
5856
  readonly includeFiles: readonly ["**/*"];
5839
5857
  readonly excludeFiles: readonly [];
5840
5858
  }];
@@ -5849,7 +5867,7 @@ export declare const redoclyConfigSchema: {
5849
5867
  readonly description: undefined;
5850
5868
  readonly details: undefined;
5851
5869
  readonly sections: readonly [{
5852
- readonly title: "Optional";
5870
+ readonly title: "Table of contents";
5853
5871
  readonly includeFiles: readonly ["**/*"];
5854
5872
  readonly excludeFiles: readonly [];
5855
5873
  }];
@@ -7989,6 +8007,15 @@ export declare const redoclyConfigSchema: {
7989
8007
  readonly baseUrlPath: {
7990
8008
  readonly type: "string";
7991
8009
  };
8010
+ readonly metadata: {
8011
+ readonly type: "object";
8012
+ readonly properties: {
8013
+ readonly apiId: {
8014
+ readonly type: "string";
8015
+ };
8016
+ };
8017
+ readonly additionalProperties: true;
8018
+ };
7992
8019
  readonly feedback: {
7993
8020
  readonly type: "object";
7994
8021
  readonly properties: {
@@ -10221,6 +10248,15 @@ export declare const redoclyConfigSchema: {
10221
10248
  readonly baseUrlPath: {
10222
10249
  readonly type: "string";
10223
10250
  };
10251
+ readonly metadata: {
10252
+ readonly type: "object";
10253
+ readonly properties: {
10254
+ readonly apiId: {
10255
+ readonly type: "string";
10256
+ };
10257
+ };
10258
+ readonly additionalProperties: true;
10259
+ };
10224
10260
  readonly feedback: {
10225
10261
  readonly type: "object";
10226
10262
  readonly properties: {
@@ -14069,6 +14105,15 @@ export declare const redoclyConfigSchema: {
14069
14105
  readonly baseUrlPath: {
14070
14106
  readonly type: "string";
14071
14107
  };
14108
+ readonly metadata: {
14109
+ readonly type: "object";
14110
+ readonly properties: {
14111
+ readonly apiId: {
14112
+ readonly type: "string";
14113
+ };
14114
+ };
14115
+ readonly additionalProperties: true;
14116
+ };
14072
14117
  readonly feedback: {
14073
14118
  readonly type: "object";
14074
14119
  readonly properties: {
@@ -15227,15 +15272,16 @@ export declare const redoclyConfigSchema: {
15227
15272
  readonly type: "object";
15228
15273
  readonly additionalProperties: true;
15229
15274
  };
15275
+ readonly ignore: {
15276
+ readonly type: "boolean";
15277
+ };
15230
15278
  readonly where: {
15231
15279
  readonly type: "object";
15232
15280
  readonly required: readonly ["metadata"];
15233
15281
  readonly properties: {
15234
15282
  readonly metadata: {
15235
15283
  readonly type: "object";
15236
- readonly additionalProperties: {
15237
- readonly type: "string";
15238
- };
15284
+ readonly additionalProperties: {};
15239
15285
  };
15240
15286
  };
15241
15287
  readonly additionalProperties: false;
@@ -18471,6 +18517,15 @@ export declare const redoclyConfigSchema: {
18471
18517
  readonly baseUrlPath: {
18472
18518
  readonly type: "string";
18473
18519
  };
18520
+ readonly metadata: {
18521
+ readonly type: "object";
18522
+ readonly properties: {
18523
+ readonly apiId: {
18524
+ readonly type: "string";
18525
+ };
18526
+ };
18527
+ readonly additionalProperties: true;
18528
+ };
18474
18529
  readonly feedback: {
18475
18530
  readonly type: "object";
18476
18531
  readonly properties: {
@@ -19632,15 +19687,16 @@ export declare const redoclyConfigSchema: {
19632
19687
  readonly type: "object";
19633
19688
  readonly additionalProperties: true;
19634
19689
  };
19690
+ readonly ignore: {
19691
+ readonly type: "boolean";
19692
+ };
19635
19693
  readonly where: {
19636
19694
  readonly type: "object";
19637
19695
  readonly required: readonly ["metadata"];
19638
19696
  readonly properties: {
19639
19697
  readonly metadata: {
19640
19698
  readonly type: "object";
19641
- readonly additionalProperties: {
19642
- readonly type: "string";
19643
- };
19699
+ readonly additionalProperties: {};
19644
19700
  };
19645
19701
  };
19646
19702
  readonly additionalProperties: false;
@@ -19667,7 +19723,7 @@ export declare const redoclyConfigSchema: {
19667
19723
  readonly description: undefined;
19668
19724
  readonly details: undefined;
19669
19725
  readonly sections: readonly [{
19670
- readonly title: "Optional";
19726
+ readonly title: "Table of contents";
19671
19727
  readonly includeFiles: readonly ["**/*"];
19672
19728
  readonly excludeFiles: readonly [];
19673
19729
  }];
@@ -22042,6 +22098,15 @@ export declare const rootRedoclyConfigSchema: {
22042
22098
  };
22043
22099
  type: "object";
22044
22100
  };
22101
+ metadata: {
22102
+ properties: {
22103
+ apiId: {
22104
+ type: "string";
22105
+ };
22106
+ };
22107
+ additionalProperties: true;
22108
+ type: "object";
22109
+ };
22045
22110
  licenseKey: {
22046
22111
  type: "string";
22047
22112
  };
@@ -23126,6 +23191,9 @@ export declare const rootRedoclyConfigSchema: {
23126
23191
  additionalProperties: true;
23127
23192
  type: "object";
23128
23193
  };
23194
+ ignore: {
23195
+ type: "boolean";
23196
+ };
23129
23197
  minimumLevel: {
23130
23198
  type: "string";
23131
23199
  };
@@ -25050,6 +25118,15 @@ export declare const rootRedoclyConfigSchema: {
25050
25118
  };
25051
25119
  type: "object";
25052
25120
  };
25121
+ metadata: {
25122
+ properties: {
25123
+ apiId: {
25124
+ type: "string";
25125
+ };
25126
+ };
25127
+ additionalProperties: true;
25128
+ type: "object";
25129
+ };
25053
25130
  licenseKey: {
25054
25131
  type: "string";
25055
25132
  };
@@ -26812,6 +26889,15 @@ export declare const rootRedoclyConfigSchema: {
26812
26889
  };
26813
26890
  type: "object";
26814
26891
  };
26892
+ metadata: {
26893
+ properties: {
26894
+ apiId: {
26895
+ type: "string";
26896
+ };
26897
+ };
26898
+ additionalProperties: true;
26899
+ type: "object";
26900
+ };
26815
26901
  licenseKey: {
26816
26902
  type: "string";
26817
26903
  };
@@ -29817,6 +29903,15 @@ export declare const rootRedoclyConfigSchema: {
29817
29903
  };
29818
29904
  type: "object";
29819
29905
  };
29906
+ metadata: {
29907
+ properties: {
29908
+ apiId: {
29909
+ type: "string";
29910
+ };
29911
+ };
29912
+ additionalProperties: true;
29913
+ type: "object";
29914
+ };
29820
29915
  licenseKey: {
29821
29916
  type: "string";
29822
29917
  };
@@ -30901,6 +30996,9 @@ export declare const rootRedoclyConfigSchema: {
30901
30996
  additionalProperties: true;
30902
30997
  type: "object";
30903
30998
  };
30999
+ ignore: {
31000
+ type: "boolean";
31001
+ };
30904
31002
  minimumLevel: {
30905
31003
  type: "string";
30906
31004
  };
@@ -31065,7 +31163,7 @@ export declare const rootRedoclyConfigSchema: {
31065
31163
  readonly description: undefined;
31066
31164
  readonly details: undefined;
31067
31165
  readonly sections: readonly [{
31068
- readonly title: "Optional";
31166
+ readonly title: "Table of contents";
31069
31167
  readonly includeFiles: readonly ["**/*"];
31070
31168
  readonly excludeFiles: readonly [];
31071
31169
  }];
@@ -31080,7 +31178,7 @@ export declare const rootRedoclyConfigSchema: {
31080
31178
  readonly description: undefined;
31081
31179
  readonly details: undefined;
31082
31180
  readonly sections: readonly [{
31083
- readonly title: "Optional";
31181
+ readonly title: "Table of contents";
31084
31182
  readonly includeFiles: readonly ["**/*"];
31085
31183
  readonly excludeFiles: readonly [];
31086
31184
  }];
@@ -33220,6 +33318,15 @@ export declare const rootRedoclyConfigSchema: {
33220
33318
  readonly baseUrlPath: {
33221
33319
  readonly type: "string";
33222
33320
  };
33321
+ readonly metadata: {
33322
+ readonly type: "object";
33323
+ readonly properties: {
33324
+ readonly apiId: {
33325
+ readonly type: "string";
33326
+ };
33327
+ };
33328
+ readonly additionalProperties: true;
33329
+ };
33223
33330
  readonly feedback: {
33224
33331
  readonly type: "object";
33225
33332
  readonly properties: {
@@ -35452,6 +35559,15 @@ export declare const rootRedoclyConfigSchema: {
35452
35559
  readonly baseUrlPath: {
35453
35560
  readonly type: "string";
35454
35561
  };
35562
+ readonly metadata: {
35563
+ readonly type: "object";
35564
+ readonly properties: {
35565
+ readonly apiId: {
35566
+ readonly type: "string";
35567
+ };
35568
+ };
35569
+ readonly additionalProperties: true;
35570
+ };
35455
35571
  readonly feedback: {
35456
35572
  readonly type: "object";
35457
35573
  readonly properties: {
@@ -39300,6 +39416,15 @@ export declare const rootRedoclyConfigSchema: {
39300
39416
  readonly baseUrlPath: {
39301
39417
  readonly type: "string";
39302
39418
  };
39419
+ readonly metadata: {
39420
+ readonly type: "object";
39421
+ readonly properties: {
39422
+ readonly apiId: {
39423
+ readonly type: "string";
39424
+ };
39425
+ };
39426
+ readonly additionalProperties: true;
39427
+ };
39303
39428
  readonly feedback: {
39304
39429
  readonly type: "object";
39305
39430
  readonly properties: {
@@ -40458,15 +40583,16 @@ export declare const rootRedoclyConfigSchema: {
40458
40583
  readonly type: "object";
40459
40584
  readonly additionalProperties: true;
40460
40585
  };
40586
+ readonly ignore: {
40587
+ readonly type: "boolean";
40588
+ };
40461
40589
  readonly where: {
40462
40590
  readonly type: "object";
40463
40591
  readonly required: readonly ["metadata"];
40464
40592
  readonly properties: {
40465
40593
  readonly metadata: {
40466
40594
  readonly type: "object";
40467
- readonly additionalProperties: {
40468
- readonly type: "string";
40469
- };
40595
+ readonly additionalProperties: {};
40470
40596
  };
40471
40597
  };
40472
40598
  readonly additionalProperties: false;
@@ -43702,6 +43828,15 @@ export declare const rootRedoclyConfigSchema: {
43702
43828
  readonly baseUrlPath: {
43703
43829
  readonly type: "string";
43704
43830
  };
43831
+ readonly metadata: {
43832
+ readonly type: "object";
43833
+ readonly properties: {
43834
+ readonly apiId: {
43835
+ readonly type: "string";
43836
+ };
43837
+ };
43838
+ readonly additionalProperties: true;
43839
+ };
43705
43840
  readonly feedback: {
43706
43841
  readonly type: "object";
43707
43842
  readonly properties: {
@@ -44863,15 +44998,16 @@ export declare const rootRedoclyConfigSchema: {
44863
44998
  readonly type: "object";
44864
44999
  readonly additionalProperties: true;
44865
45000
  };
45001
+ readonly ignore: {
45002
+ readonly type: "boolean";
45003
+ };
44866
45004
  readonly where: {
44867
45005
  readonly type: "object";
44868
45006
  readonly required: readonly ["metadata"];
44869
45007
  readonly properties: {
44870
45008
  readonly metadata: {
44871
45009
  readonly type: "object";
44872
- readonly additionalProperties: {
44873
- readonly type: "string";
44874
- };
45010
+ readonly additionalProperties: {};
44875
45011
  };
44876
45012
  };
44877
45013
  readonly additionalProperties: false;
@@ -196,7 +196,7 @@ const llmstxtConfigSchema = {
196
196
  details: undefined,
197
197
  sections: [
198
198
  {
199
- title: 'Optional',
199
+ title: 'Table of contents',
200
200
  includeFiles: ['**/*'],
201
201
  excludeFiles: [],
202
202
  },
@@ -28,7 +28,6 @@ export type ApiFunctionsContext = {
28
28
  config: RedoclyConfig;
29
29
  params: Record<string, string | string[]>;
30
30
  query: Record<string, string | string[]>;
31
- headers: Record<string, string>;
32
31
  cookies: Record<string, string>;
33
32
  } & ApiFunctionsContextMethods;
34
33
  export type ApiFunctionsHandler = (request: Request, context: ApiFunctionsContext,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@redocly/config",
3
- "version": "0.25.0",
3
+ "version": "0.27.0-rc.0",
4
4
  "license": "MIT",
5
5
  "main": "./lib/index.js",
6
6
  "module": "./lib-esm/index.js",