@redocly/config 0.38.0 → 0.40.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 +315 -0
- package/lib/default-theme-config-schema.js +5 -0
- package/lib/entities-catalog-entity-file-schema.d.ts +87 -0
- package/lib/entities-catalog-entity-file-schema.js +9 -0
- package/lib/ex-theme-config-schemas.d.ts +11 -0
- package/lib/ex-theme-config-schemas.js +9 -1
- package/lib/graphql-config-schema.d.ts +52 -0
- package/lib/graphql-config-schema.js +31 -0
- package/lib/product-override-schema.d.ts +104 -0
- package/lib/root-config-schema.d.ts +2293 -34
- package/lib/root-config-schema.js +5 -1
- package/lib/types/api-functions-types.d.ts +49 -1
- package/lib/types/catalog-entity-types.d.ts +2 -0
- package/lib/types/config-types.d.ts +2 -1
- package/lib/types/portal-shared-types.d.ts +2 -1
- package/lib/types/scorecards-types.d.ts +3 -0
- package/lib/types/scorecards-types.js +3 -0
- package/lib-esm/default-theme-config-schema.d.ts +315 -0
- package/lib-esm/default-theme-config-schema.js +6 -1
- package/lib-esm/entities-catalog-entity-file-schema.d.ts +87 -0
- package/lib-esm/entities-catalog-entity-file-schema.js +9 -0
- package/lib-esm/ex-theme-config-schemas.d.ts +11 -0
- package/lib-esm/ex-theme-config-schemas.js +8 -0
- package/lib-esm/graphql-config-schema.d.ts +52 -0
- package/lib-esm/graphql-config-schema.js +31 -0
- package/lib-esm/product-override-schema.d.ts +104 -0
- package/lib-esm/root-config-schema.d.ts +2293 -34
- package/lib-esm/root-config-schema.js +6 -2
- package/lib-esm/types/api-functions-types.d.ts +49 -1
- package/lib-esm/types/catalog-entity-types.d.ts +2 -0
- package/lib-esm/types/config-types.d.ts +2 -1
- package/lib-esm/types/portal-shared-types.d.ts +2 -1
- package/lib-esm/types/scorecards-types.d.ts +3 -0
- package/lib-esm/types/scorecards-types.js +2 -0
- package/package.json +1 -1
|
@@ -54,6 +54,36 @@ const menuGroupingConfig = {
|
|
|
54
54
|
required: ['requireExactGroups', 'groups', 'otherItemsGroupName'],
|
|
55
55
|
additionalProperties: false,
|
|
56
56
|
};
|
|
57
|
+
const graphqlContactConfigSchema = {
|
|
58
|
+
type: 'object',
|
|
59
|
+
properties: {
|
|
60
|
+
name: { type: 'string' },
|
|
61
|
+
url: { type: 'string', format: 'uri' },
|
|
62
|
+
email: { type: 'string', format: 'email' },
|
|
63
|
+
},
|
|
64
|
+
additionalProperties: false,
|
|
65
|
+
};
|
|
66
|
+
const graphqlLicenseConfigSchema = {
|
|
67
|
+
type: 'object',
|
|
68
|
+
properties: {
|
|
69
|
+
name: { type: 'string' },
|
|
70
|
+
url: { type: 'string', format: 'uri' },
|
|
71
|
+
identifier: { type: 'string' },
|
|
72
|
+
},
|
|
73
|
+
additionalProperties: false,
|
|
74
|
+
};
|
|
75
|
+
const graphqlInfoConfigSchema = {
|
|
76
|
+
type: 'object',
|
|
77
|
+
properties: {
|
|
78
|
+
title: { type: 'string' },
|
|
79
|
+
version: { type: 'string' },
|
|
80
|
+
description: { type: 'string' },
|
|
81
|
+
termsOfService: { type: 'string', format: 'uri' },
|
|
82
|
+
contact: graphqlContactConfigSchema,
|
|
83
|
+
license: graphqlLicenseConfigSchema,
|
|
84
|
+
},
|
|
85
|
+
additionalProperties: false,
|
|
86
|
+
};
|
|
57
87
|
exports.graphqlConfigSchema = {
|
|
58
88
|
type: 'object',
|
|
59
89
|
properties: {
|
|
@@ -120,6 +150,7 @@ exports.graphqlConfigSchema = {
|
|
|
120
150
|
showBuiltInDirectives: {
|
|
121
151
|
type: 'boolean',
|
|
122
152
|
},
|
|
153
|
+
info: graphqlInfoConfigSchema,
|
|
123
154
|
},
|
|
124
155
|
additionalProperties: false,
|
|
125
156
|
};
|
|
@@ -5192,6 +5192,58 @@ export declare const productConfigOverrideSchema: {
|
|
|
5192
5192
|
readonly showBuiltInDirectives: {
|
|
5193
5193
|
readonly type: "boolean";
|
|
5194
5194
|
};
|
|
5195
|
+
readonly info: {
|
|
5196
|
+
readonly type: "object";
|
|
5197
|
+
readonly properties: {
|
|
5198
|
+
readonly title: {
|
|
5199
|
+
readonly type: "string";
|
|
5200
|
+
};
|
|
5201
|
+
readonly version: {
|
|
5202
|
+
readonly type: "string";
|
|
5203
|
+
};
|
|
5204
|
+
readonly description: {
|
|
5205
|
+
readonly type: "string";
|
|
5206
|
+
};
|
|
5207
|
+
readonly termsOfService: {
|
|
5208
|
+
readonly type: "string";
|
|
5209
|
+
readonly format: "uri";
|
|
5210
|
+
};
|
|
5211
|
+
readonly contact: {
|
|
5212
|
+
readonly type: "object";
|
|
5213
|
+
readonly properties: {
|
|
5214
|
+
readonly name: {
|
|
5215
|
+
readonly type: "string";
|
|
5216
|
+
};
|
|
5217
|
+
readonly url: {
|
|
5218
|
+
readonly type: "string";
|
|
5219
|
+
readonly format: "uri";
|
|
5220
|
+
};
|
|
5221
|
+
readonly email: {
|
|
5222
|
+
readonly type: "string";
|
|
5223
|
+
readonly format: "email";
|
|
5224
|
+
};
|
|
5225
|
+
};
|
|
5226
|
+
readonly additionalProperties: false;
|
|
5227
|
+
};
|
|
5228
|
+
readonly license: {
|
|
5229
|
+
readonly type: "object";
|
|
5230
|
+
readonly properties: {
|
|
5231
|
+
readonly name: {
|
|
5232
|
+
readonly type: "string";
|
|
5233
|
+
};
|
|
5234
|
+
readonly url: {
|
|
5235
|
+
readonly type: "string";
|
|
5236
|
+
readonly format: "uri";
|
|
5237
|
+
};
|
|
5238
|
+
readonly identifier: {
|
|
5239
|
+
readonly type: "string";
|
|
5240
|
+
};
|
|
5241
|
+
};
|
|
5242
|
+
readonly additionalProperties: false;
|
|
5243
|
+
};
|
|
5244
|
+
};
|
|
5245
|
+
readonly additionalProperties: false;
|
|
5246
|
+
};
|
|
5195
5247
|
};
|
|
5196
5248
|
readonly additionalProperties: false;
|
|
5197
5249
|
};
|
|
@@ -7452,6 +7504,58 @@ export declare const productConfigOverrideSchema: {
|
|
|
7452
7504
|
readonly showBuiltInDirectives: {
|
|
7453
7505
|
readonly type: "boolean";
|
|
7454
7506
|
};
|
|
7507
|
+
readonly info: {
|
|
7508
|
+
readonly type: "object";
|
|
7509
|
+
readonly properties: {
|
|
7510
|
+
readonly title: {
|
|
7511
|
+
readonly type: "string";
|
|
7512
|
+
};
|
|
7513
|
+
readonly version: {
|
|
7514
|
+
readonly type: "string";
|
|
7515
|
+
};
|
|
7516
|
+
readonly description: {
|
|
7517
|
+
readonly type: "string";
|
|
7518
|
+
};
|
|
7519
|
+
readonly termsOfService: {
|
|
7520
|
+
readonly type: "string";
|
|
7521
|
+
readonly format: "uri";
|
|
7522
|
+
};
|
|
7523
|
+
readonly contact: {
|
|
7524
|
+
readonly type: "object";
|
|
7525
|
+
readonly properties: {
|
|
7526
|
+
readonly name: {
|
|
7527
|
+
readonly type: "string";
|
|
7528
|
+
};
|
|
7529
|
+
readonly url: {
|
|
7530
|
+
readonly type: "string";
|
|
7531
|
+
readonly format: "uri";
|
|
7532
|
+
};
|
|
7533
|
+
readonly email: {
|
|
7534
|
+
readonly type: "string";
|
|
7535
|
+
readonly format: "email";
|
|
7536
|
+
};
|
|
7537
|
+
};
|
|
7538
|
+
readonly additionalProperties: false;
|
|
7539
|
+
};
|
|
7540
|
+
readonly license: {
|
|
7541
|
+
readonly type: "object";
|
|
7542
|
+
readonly properties: {
|
|
7543
|
+
readonly name: {
|
|
7544
|
+
readonly type: "string";
|
|
7545
|
+
};
|
|
7546
|
+
readonly url: {
|
|
7547
|
+
readonly type: "string";
|
|
7548
|
+
readonly format: "uri";
|
|
7549
|
+
};
|
|
7550
|
+
readonly identifier: {
|
|
7551
|
+
readonly type: "string";
|
|
7552
|
+
};
|
|
7553
|
+
};
|
|
7554
|
+
readonly additionalProperties: false;
|
|
7555
|
+
};
|
|
7556
|
+
};
|
|
7557
|
+
readonly additionalProperties: false;
|
|
7558
|
+
};
|
|
7455
7559
|
};
|
|
7456
7560
|
readonly additionalProperties: false;
|
|
7457
7561
|
};
|