@redocly/theme 0.18.3 → 0.18.4
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/config.d.ts +28 -0
- package/lib/config.js +8 -0
- package/package.json +1 -1
- package/src/config.ts +8 -0
package/lib/config.d.ts
CHANGED
|
@@ -356,6 +356,20 @@ declare const scorecardConfigSchema: {
|
|
|
356
356
|
readonly type: "boolean";
|
|
357
357
|
readonly default: false;
|
|
358
358
|
};
|
|
359
|
+
readonly teamMetadataProperty: {
|
|
360
|
+
readonly type: "object";
|
|
361
|
+
readonly properties: {
|
|
362
|
+
readonly property: {
|
|
363
|
+
readonly type: "string";
|
|
364
|
+
};
|
|
365
|
+
readonly label: {
|
|
366
|
+
readonly type: "string";
|
|
367
|
+
};
|
|
368
|
+
readonly default: {
|
|
369
|
+
readonly type: "string";
|
|
370
|
+
};
|
|
371
|
+
};
|
|
372
|
+
};
|
|
359
373
|
readonly levels: {
|
|
360
374
|
readonly type: "array";
|
|
361
375
|
readonly items: {
|
|
@@ -1837,6 +1851,20 @@ export declare const themeConfigSchema: {
|
|
|
1837
1851
|
readonly type: "boolean";
|
|
1838
1852
|
readonly default: false;
|
|
1839
1853
|
};
|
|
1854
|
+
readonly teamMetadataProperty: {
|
|
1855
|
+
readonly type: "object";
|
|
1856
|
+
readonly properties: {
|
|
1857
|
+
readonly property: {
|
|
1858
|
+
readonly type: "string";
|
|
1859
|
+
};
|
|
1860
|
+
readonly label: {
|
|
1861
|
+
readonly type: "string";
|
|
1862
|
+
};
|
|
1863
|
+
readonly default: {
|
|
1864
|
+
readonly type: "string";
|
|
1865
|
+
};
|
|
1866
|
+
};
|
|
1867
|
+
};
|
|
1840
1868
|
readonly levels: {
|
|
1841
1869
|
readonly type: "array";
|
|
1842
1870
|
readonly items: {
|
package/lib/config.js
CHANGED
|
@@ -279,6 +279,14 @@ const scorecardConfigSchema = {
|
|
|
279
279
|
required: ['levels'],
|
|
280
280
|
properties: {
|
|
281
281
|
failBuildIfBelowMinimum: { type: 'boolean', default: false },
|
|
282
|
+
teamMetadataProperty: {
|
|
283
|
+
type: 'object',
|
|
284
|
+
properties: {
|
|
285
|
+
property: { type: 'string' },
|
|
286
|
+
label: { type: 'string' },
|
|
287
|
+
default: { type: 'string' },
|
|
288
|
+
},
|
|
289
|
+
},
|
|
282
290
|
levels: {
|
|
283
291
|
type: 'array',
|
|
284
292
|
items: {
|
package/package.json
CHANGED
package/src/config.ts
CHANGED
|
@@ -319,6 +319,14 @@ const scorecardConfigSchema = {
|
|
|
319
319
|
required: ['levels'],
|
|
320
320
|
properties: {
|
|
321
321
|
failBuildIfBelowMinimum: { type: 'boolean', default: false },
|
|
322
|
+
teamMetadataProperty: {
|
|
323
|
+
type: 'object',
|
|
324
|
+
properties: {
|
|
325
|
+
property: { type: 'string' },
|
|
326
|
+
label: { type: 'string' },
|
|
327
|
+
default: { type: 'string' },
|
|
328
|
+
},
|
|
329
|
+
},
|
|
322
330
|
levels: {
|
|
323
331
|
type: 'array',
|
|
324
332
|
items: {
|