@redocly/config 0.12.0 → 0.12.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -547,9 +547,7 @@ export declare const apiConfigSchema: {
547
547
  readonly type: "string";
548
548
  };
549
549
  };
550
- }; /**
551
- * @deprecated Should use `plugins` instead
552
- */
550
+ };
553
551
  };
554
552
  };
555
553
  readonly colors: {
@@ -1065,6 +1063,9 @@ export declare const apiConfigSchema: {
1065
1063
  readonly maxHeight: {
1066
1064
  readonly type: "string";
1067
1065
  };
1066
+ /**
1067
+ * @deprecated Should use `plugins` instead
1068
+ */
1068
1069
  readonly maxWidth: {
1069
1070
  readonly type: "string";
1070
1071
  };
@@ -2513,9 +2514,7 @@ export declare const apiConfigSchema: {
2513
2514
  readonly type: "string";
2514
2515
  };
2515
2516
  };
2516
- }; /**
2517
- * @deprecated Should use `plugins` instead
2518
- */
2517
+ };
2519
2518
  };
2520
2519
  };
2521
2520
  readonly colors: {
@@ -3031,6 +3030,9 @@ export declare const apiConfigSchema: {
3031
3030
  readonly maxHeight: {
3032
3031
  readonly type: "string";
3033
3032
  };
3033
+ /**
3034
+ * @deprecated Should use `plugins` instead
3035
+ */
3034
3036
  readonly maxWidth: {
3035
3037
  readonly type: "string";
3036
3038
  };
@@ -5291,9 +5293,7 @@ export declare const redoclyConfigSchema: {
5291
5293
  readonly type: "string";
5292
5294
  };
5293
5295
  };
5294
- }; /**
5295
- * @deprecated Should use `plugins` instead
5296
- */
5296
+ };
5297
5297
  };
5298
5298
  };
5299
5299
  readonly colors: {
@@ -5809,6 +5809,9 @@ export declare const redoclyConfigSchema: {
5809
5809
  readonly maxHeight: {
5810
5810
  readonly type: "string";
5811
5811
  };
5812
+ /**
5813
+ * @deprecated Should use `plugins` instead
5814
+ */
5812
5815
  readonly maxWidth: {
5813
5816
  readonly type: "string";
5814
5817
  };
@@ -7257,9 +7260,7 @@ export declare const redoclyConfigSchema: {
7257
7260
  readonly type: "string";
7258
7261
  };
7259
7262
  };
7260
- }; /**
7261
- * @deprecated Should use `plugins` instead
7262
- */
7263
+ };
7263
7264
  };
7264
7265
  };
7265
7266
  readonly colors: {
@@ -7775,6 +7776,9 @@ export declare const redoclyConfigSchema: {
7775
7776
  readonly maxHeight: {
7776
7777
  readonly type: "string";
7777
7778
  };
7779
+ /**
7780
+ * @deprecated Should use `plugins` instead
7781
+ */
7778
7782
  readonly maxWidth: {
7779
7783
  readonly type: "string";
7780
7784
  };
@@ -9644,6 +9648,13 @@ export declare const redoclyConfigSchema: {
9644
9648
  readonly type: "object";
9645
9649
  readonly additionalProperties: true;
9646
9650
  };
9651
+ readonly metadataGlobs: {
9652
+ readonly type: "object";
9653
+ readonly additionalProperties: {
9654
+ readonly type: "object";
9655
+ readonly additionalProperties: true;
9656
+ };
9657
+ };
9647
9658
  readonly ignore: {
9648
9659
  readonly type: "array";
9649
9660
  readonly items: {
@@ -10646,9 +10657,7 @@ export declare const redoclyConfigSchema: {
10646
10657
  readonly type: "string";
10647
10658
  };
10648
10659
  };
10649
- }; /**
10650
- * @deprecated Should use `plugins` instead
10651
- */
10660
+ };
10652
10661
  };
10653
10662
  };
10654
10663
  readonly colors: {
@@ -11164,6 +11173,9 @@ export declare const redoclyConfigSchema: {
11164
11173
  readonly maxHeight: {
11165
11174
  readonly type: "string";
11166
11175
  };
11176
+ /**
11177
+ * @deprecated Should use `plugins` instead
11178
+ */
11167
11179
  readonly maxWidth: {
11168
11180
  readonly type: "string";
11169
11181
  };
@@ -14214,9 +14226,7 @@ export declare const redoclyConfigSchema: {
14214
14226
  readonly type: "string";
14215
14227
  };
14216
14228
  };
14217
- }; /**
14218
- * @deprecated Should use `plugins` instead
14219
- */
14229
+ };
14220
14230
  };
14221
14231
  };
14222
14232
  readonly colors: {
@@ -14732,6 +14742,9 @@ export declare const redoclyConfigSchema: {
14732
14742
  readonly maxHeight: {
14733
14743
  readonly type: "string";
14734
14744
  };
14745
+ /**
14746
+ * @deprecated Should use `plugins` instead
14747
+ */
14735
14748
  readonly maxWidth: {
14736
14749
  readonly type: "string";
14737
14750
  };
@@ -23562,6 +23575,13 @@ export declare const rootRedoclyConfigSchema: {
23562
23575
  type: "object";
23563
23576
  required: "defaultLocale"[];
23564
23577
  };
23578
+ metadataGlobs: {
23579
+ additionalProperties: {
23580
+ additionalProperties: true;
23581
+ type: "object";
23582
+ };
23583
+ type: "object";
23584
+ };
23565
23585
  ignore: {
23566
23586
  items: {
23567
23587
  type: "string";
@@ -26358,9 +26378,7 @@ export declare const rootRedoclyConfigSchema: {
26358
26378
  readonly type: "string";
26359
26379
  };
26360
26380
  };
26361
- }; /**
26362
- * @deprecated Should use `plugins` instead
26363
- */
26381
+ };
26364
26382
  };
26365
26383
  };
26366
26384
  readonly colors: {
@@ -26876,6 +26894,9 @@ export declare const rootRedoclyConfigSchema: {
26876
26894
  readonly maxHeight: {
26877
26895
  readonly type: "string";
26878
26896
  };
26897
+ /**
26898
+ * @deprecated Should use `plugins` instead
26899
+ */
26879
26900
  readonly maxWidth: {
26880
26901
  readonly type: "string";
26881
26902
  };
@@ -28324,9 +28345,7 @@ export declare const rootRedoclyConfigSchema: {
28324
28345
  readonly type: "string";
28325
28346
  };
28326
28347
  };
28327
- }; /**
28328
- * @deprecated Should use `plugins` instead
28329
- */
28348
+ };
28330
28349
  };
28331
28350
  };
28332
28351
  readonly colors: {
@@ -28842,6 +28861,9 @@ export declare const rootRedoclyConfigSchema: {
28842
28861
  readonly maxHeight: {
28843
28862
  readonly type: "string";
28844
28863
  };
28864
+ /**
28865
+ * @deprecated Should use `plugins` instead
28866
+ */
28845
28867
  readonly maxWidth: {
28846
28868
  readonly type: "string";
28847
28869
  };
@@ -30711,6 +30733,13 @@ export declare const rootRedoclyConfigSchema: {
30711
30733
  readonly type: "object";
30712
30734
  readonly additionalProperties: true;
30713
30735
  };
30736
+ readonly metadataGlobs: {
30737
+ readonly type: "object";
30738
+ readonly additionalProperties: {
30739
+ readonly type: "object";
30740
+ readonly additionalProperties: true;
30741
+ };
30742
+ };
30714
30743
  readonly ignore: {
30715
30744
  readonly type: "array";
30716
30745
  readonly items: {
@@ -31713,9 +31742,7 @@ export declare const rootRedoclyConfigSchema: {
31713
31742
  readonly type: "string";
31714
31743
  };
31715
31744
  };
31716
- }; /**
31717
- * @deprecated Should use `plugins` instead
31718
- */
31745
+ };
31719
31746
  };
31720
31747
  };
31721
31748
  readonly colors: {
@@ -32231,6 +32258,9 @@ export declare const rootRedoclyConfigSchema: {
32231
32258
  readonly maxHeight: {
32232
32259
  readonly type: "string";
32233
32260
  };
32261
+ /**
32262
+ * @deprecated Should use `plugins` instead
32263
+ */
32234
32264
  readonly maxWidth: {
32235
32265
  readonly type: "string";
32236
32266
  };
@@ -35281,9 +35311,7 @@ export declare const rootRedoclyConfigSchema: {
35281
35311
  readonly type: "string";
35282
35312
  };
35283
35313
  };
35284
- }; /**
35285
- * @deprecated Should use `plugins` instead
35286
- */
35314
+ };
35287
35315
  };
35288
35316
  };
35289
35317
  readonly colors: {
@@ -35799,6 +35827,9 @@ export declare const rootRedoclyConfigSchema: {
35799
35827
  readonly maxHeight: {
35800
35828
  readonly type: "string";
35801
35829
  };
35830
+ /**
35831
+ * @deprecated Should use `plugins` instead
35832
+ */
35802
35833
  readonly maxWidth: {
35803
35834
  readonly type: "string";
35804
35835
  };
@@ -132,6 +132,13 @@ const metadataConfigSchema = {
132
132
  type: 'object',
133
133
  additionalProperties: true,
134
134
  };
135
+ const metadataGlobsConfigSchema = {
136
+ type: 'object',
137
+ additionalProperties: {
138
+ type: 'object',
139
+ additionalProperties: true,
140
+ },
141
+ };
135
142
  exports.seoConfigSchema = {
136
143
  type: 'object',
137
144
  properties: {
@@ -345,6 +352,7 @@ exports.redoclyConfigSchema = {
345
352
  i18n: exports.l10nConfigSchema,
346
353
  l10n: exports.l10nConfigSchema,
347
354
  metadata: metadataConfigSchema,
355
+ metadataGlobs: metadataGlobsConfigSchema,
348
356
  ignore: {
349
357
  type: 'array',
350
358
  items: {
@@ -547,9 +547,7 @@ export declare const apiConfigSchema: {
547
547
  readonly type: "string";
548
548
  };
549
549
  };
550
- }; /**
551
- * @deprecated Should use `plugins` instead
552
- */
550
+ };
553
551
  };
554
552
  };
555
553
  readonly colors: {
@@ -1065,6 +1063,9 @@ export declare const apiConfigSchema: {
1065
1063
  readonly maxHeight: {
1066
1064
  readonly type: "string";
1067
1065
  };
1066
+ /**
1067
+ * @deprecated Should use `plugins` instead
1068
+ */
1068
1069
  readonly maxWidth: {
1069
1070
  readonly type: "string";
1070
1071
  };
@@ -2513,9 +2514,7 @@ export declare const apiConfigSchema: {
2513
2514
  readonly type: "string";
2514
2515
  };
2515
2516
  };
2516
- }; /**
2517
- * @deprecated Should use `plugins` instead
2518
- */
2517
+ };
2519
2518
  };
2520
2519
  };
2521
2520
  readonly colors: {
@@ -3031,6 +3030,9 @@ export declare const apiConfigSchema: {
3031
3030
  readonly maxHeight: {
3032
3031
  readonly type: "string";
3033
3032
  };
3033
+ /**
3034
+ * @deprecated Should use `plugins` instead
3035
+ */
3034
3036
  readonly maxWidth: {
3035
3037
  readonly type: "string";
3036
3038
  };
@@ -5291,9 +5293,7 @@ export declare const redoclyConfigSchema: {
5291
5293
  readonly type: "string";
5292
5294
  };
5293
5295
  };
5294
- }; /**
5295
- * @deprecated Should use `plugins` instead
5296
- */
5296
+ };
5297
5297
  };
5298
5298
  };
5299
5299
  readonly colors: {
@@ -5809,6 +5809,9 @@ export declare const redoclyConfigSchema: {
5809
5809
  readonly maxHeight: {
5810
5810
  readonly type: "string";
5811
5811
  };
5812
+ /**
5813
+ * @deprecated Should use `plugins` instead
5814
+ */
5812
5815
  readonly maxWidth: {
5813
5816
  readonly type: "string";
5814
5817
  };
@@ -7257,9 +7260,7 @@ export declare const redoclyConfigSchema: {
7257
7260
  readonly type: "string";
7258
7261
  };
7259
7262
  };
7260
- }; /**
7261
- * @deprecated Should use `plugins` instead
7262
- */
7263
+ };
7263
7264
  };
7264
7265
  };
7265
7266
  readonly colors: {
@@ -7775,6 +7776,9 @@ export declare const redoclyConfigSchema: {
7775
7776
  readonly maxHeight: {
7776
7777
  readonly type: "string";
7777
7778
  };
7779
+ /**
7780
+ * @deprecated Should use `plugins` instead
7781
+ */
7778
7782
  readonly maxWidth: {
7779
7783
  readonly type: "string";
7780
7784
  };
@@ -9644,6 +9648,13 @@ export declare const redoclyConfigSchema: {
9644
9648
  readonly type: "object";
9645
9649
  readonly additionalProperties: true;
9646
9650
  };
9651
+ readonly metadataGlobs: {
9652
+ readonly type: "object";
9653
+ readonly additionalProperties: {
9654
+ readonly type: "object";
9655
+ readonly additionalProperties: true;
9656
+ };
9657
+ };
9647
9658
  readonly ignore: {
9648
9659
  readonly type: "array";
9649
9660
  readonly items: {
@@ -10646,9 +10657,7 @@ export declare const redoclyConfigSchema: {
10646
10657
  readonly type: "string";
10647
10658
  };
10648
10659
  };
10649
- }; /**
10650
- * @deprecated Should use `plugins` instead
10651
- */
10660
+ };
10652
10661
  };
10653
10662
  };
10654
10663
  readonly colors: {
@@ -11164,6 +11173,9 @@ export declare const redoclyConfigSchema: {
11164
11173
  readonly maxHeight: {
11165
11174
  readonly type: "string";
11166
11175
  };
11176
+ /**
11177
+ * @deprecated Should use `plugins` instead
11178
+ */
11167
11179
  readonly maxWidth: {
11168
11180
  readonly type: "string";
11169
11181
  };
@@ -14214,9 +14226,7 @@ export declare const redoclyConfigSchema: {
14214
14226
  readonly type: "string";
14215
14227
  };
14216
14228
  };
14217
- }; /**
14218
- * @deprecated Should use `plugins` instead
14219
- */
14229
+ };
14220
14230
  };
14221
14231
  };
14222
14232
  readonly colors: {
@@ -14732,6 +14742,9 @@ export declare const redoclyConfigSchema: {
14732
14742
  readonly maxHeight: {
14733
14743
  readonly type: "string";
14734
14744
  };
14745
+ /**
14746
+ * @deprecated Should use `plugins` instead
14747
+ */
14735
14748
  readonly maxWidth: {
14736
14749
  readonly type: "string";
14737
14750
  };
@@ -23562,6 +23575,13 @@ export declare const rootRedoclyConfigSchema: {
23562
23575
  type: "object";
23563
23576
  required: "defaultLocale"[];
23564
23577
  };
23578
+ metadataGlobs: {
23579
+ additionalProperties: {
23580
+ additionalProperties: true;
23581
+ type: "object";
23582
+ };
23583
+ type: "object";
23584
+ };
23565
23585
  ignore: {
23566
23586
  items: {
23567
23587
  type: "string";
@@ -26358,9 +26378,7 @@ export declare const rootRedoclyConfigSchema: {
26358
26378
  readonly type: "string";
26359
26379
  };
26360
26380
  };
26361
- }; /**
26362
- * @deprecated Should use `plugins` instead
26363
- */
26381
+ };
26364
26382
  };
26365
26383
  };
26366
26384
  readonly colors: {
@@ -26876,6 +26894,9 @@ export declare const rootRedoclyConfigSchema: {
26876
26894
  readonly maxHeight: {
26877
26895
  readonly type: "string";
26878
26896
  };
26897
+ /**
26898
+ * @deprecated Should use `plugins` instead
26899
+ */
26879
26900
  readonly maxWidth: {
26880
26901
  readonly type: "string";
26881
26902
  };
@@ -28324,9 +28345,7 @@ export declare const rootRedoclyConfigSchema: {
28324
28345
  readonly type: "string";
28325
28346
  };
28326
28347
  };
28327
- }; /**
28328
- * @deprecated Should use `plugins` instead
28329
- */
28348
+ };
28330
28349
  };
28331
28350
  };
28332
28351
  readonly colors: {
@@ -28842,6 +28861,9 @@ export declare const rootRedoclyConfigSchema: {
28842
28861
  readonly maxHeight: {
28843
28862
  readonly type: "string";
28844
28863
  };
28864
+ /**
28865
+ * @deprecated Should use `plugins` instead
28866
+ */
28845
28867
  readonly maxWidth: {
28846
28868
  readonly type: "string";
28847
28869
  };
@@ -30711,6 +30733,13 @@ export declare const rootRedoclyConfigSchema: {
30711
30733
  readonly type: "object";
30712
30734
  readonly additionalProperties: true;
30713
30735
  };
30736
+ readonly metadataGlobs: {
30737
+ readonly type: "object";
30738
+ readonly additionalProperties: {
30739
+ readonly type: "object";
30740
+ readonly additionalProperties: true;
30741
+ };
30742
+ };
30714
30743
  readonly ignore: {
30715
30744
  readonly type: "array";
30716
30745
  readonly items: {
@@ -31713,9 +31742,7 @@ export declare const rootRedoclyConfigSchema: {
31713
31742
  readonly type: "string";
31714
31743
  };
31715
31744
  };
31716
- }; /**
31717
- * @deprecated Should use `plugins` instead
31718
- */
31745
+ };
31719
31746
  };
31720
31747
  };
31721
31748
  readonly colors: {
@@ -32231,6 +32258,9 @@ export declare const rootRedoclyConfigSchema: {
32231
32258
  readonly maxHeight: {
32232
32259
  readonly type: "string";
32233
32260
  };
32261
+ /**
32262
+ * @deprecated Should use `plugins` instead
32263
+ */
32234
32264
  readonly maxWidth: {
32235
32265
  readonly type: "string";
32236
32266
  };
@@ -35281,9 +35311,7 @@ export declare const rootRedoclyConfigSchema: {
35281
35311
  readonly type: "string";
35282
35312
  };
35283
35313
  };
35284
- }; /**
35285
- * @deprecated Should use `plugins` instead
35286
- */
35314
+ };
35287
35315
  };
35288
35316
  };
35289
35317
  readonly colors: {
@@ -35799,6 +35827,9 @@ export declare const rootRedoclyConfigSchema: {
35799
35827
  readonly maxHeight: {
35800
35828
  readonly type: "string";
35801
35829
  };
35830
+ /**
35831
+ * @deprecated Should use `plugins` instead
35832
+ */
35802
35833
  readonly maxWidth: {
35803
35834
  readonly type: "string";
35804
35835
  };
@@ -129,6 +129,13 @@ const metadataConfigSchema = {
129
129
  type: 'object',
130
130
  additionalProperties: true,
131
131
  };
132
+ const metadataGlobsConfigSchema = {
133
+ type: 'object',
134
+ additionalProperties: {
135
+ type: 'object',
136
+ additionalProperties: true,
137
+ },
138
+ };
132
139
  export const seoConfigSchema = {
133
140
  type: 'object',
134
141
  properties: {
@@ -342,6 +349,7 @@ export const redoclyConfigSchema = {
342
349
  i18n: l10nConfigSchema,
343
350
  l10n: l10nConfigSchema,
344
351
  metadata: metadataConfigSchema,
352
+ metadataGlobs: metadataGlobsConfigSchema,
345
353
  ignore: {
346
354
  type: 'array',
347
355
  items: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@redocly/config",
3
- "version": "0.12.0",
3
+ "version": "0.12.1",
4
4
  "license": "MIT",
5
5
  "main": "./lib/index.js",
6
6
  "module": "./lib-esm/index.js",