@redocly/config 0.35.0 → 0.36.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/common.d.ts +16 -148
- package/lib/common.js +61 -17
- package/lib/constants.d.ts +1 -1
- package/lib/constants.js +2 -0
- package/lib/default-theme-config-schema.d.ts +61 -0
- package/lib/default-theme-config-schema.js +1 -0
- package/lib/entities-catalog-config-schema.d.ts +4 -0
- package/lib/entities-catalog-config-schema.js +1 -0
- package/lib/entities-catalog-entity-file-schema.d.ts +27 -9
- package/lib/entities-catalog-entity-file-schema.js +6 -1
- package/lib/ex-theme-config-schemas.d.ts +60 -0
- package/lib/ex-theme-config-schemas.js +44 -1
- package/lib/index.d.ts +1 -0
- package/lib/index.js +1 -0
- package/lib/product-override-schema.d.ts +18 -0
- package/lib/reunite-config-schema.d.ts +12 -0
- package/lib/reunite-config-schema.js +9 -0
- package/lib/root-config-schema.d.ts +2850 -2522
- package/lib/root-config-schema.js +1 -1
- package/lib/types/catalog-entity-types.d.ts +1 -0
- package/lib/types/portal-shared-types.d.ts +1 -1
- package/lib-esm/common.d.ts +16 -148
- package/lib-esm/common.js +60 -16
- package/lib-esm/constants.d.ts +1 -1
- package/lib-esm/constants.js +2 -0
- package/lib-esm/default-theme-config-schema.d.ts +61 -0
- package/lib-esm/default-theme-config-schema.js +2 -1
- package/lib-esm/entities-catalog-config-schema.d.ts +4 -0
- package/lib-esm/entities-catalog-config-schema.js +1 -0
- package/lib-esm/entities-catalog-entity-file-schema.d.ts +27 -9
- package/lib-esm/entities-catalog-entity-file-schema.js +6 -1
- package/lib-esm/ex-theme-config-schemas.d.ts +60 -0
- package/lib-esm/ex-theme-config-schemas.js +43 -0
- package/lib-esm/index.d.ts +1 -0
- package/lib-esm/index.js +1 -0
- package/lib-esm/product-override-schema.d.ts +18 -0
- package/lib-esm/reunite-config-schema.d.ts +12 -0
- package/lib-esm/reunite-config-schema.js +9 -0
- package/lib-esm/root-config-schema.d.ts +2850 -2522
- package/lib-esm/root-config-schema.js +2 -2
- package/lib-esm/types/catalog-entity-types.d.ts +1 -0
- package/lib-esm/types/portal-shared-types.d.ts +1 -1
- package/package.json +2 -2
package/lib/common.d.ts
CHANGED
|
@@ -8,153 +8,21 @@ export declare const rulesSchema: {
|
|
|
8
8
|
}];
|
|
9
9
|
};
|
|
10
10
|
};
|
|
11
|
-
export declare const
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
}];
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
readonly oas2Rules: {
|
|
23
|
-
readonly type: "object";
|
|
24
|
-
readonly additionalProperties: {
|
|
25
|
-
readonly oneOf: readonly [{
|
|
26
|
-
readonly type: "string";
|
|
27
|
-
}, {
|
|
28
|
-
readonly type: "object";
|
|
29
|
-
}];
|
|
30
|
-
};
|
|
31
|
-
};
|
|
32
|
-
readonly oas3_0Rules: {
|
|
33
|
-
readonly type: "object";
|
|
34
|
-
readonly additionalProperties: {
|
|
35
|
-
readonly oneOf: readonly [{
|
|
36
|
-
readonly type: "string";
|
|
37
|
-
}, {
|
|
38
|
-
readonly type: "object";
|
|
39
|
-
}];
|
|
40
|
-
};
|
|
41
|
-
};
|
|
42
|
-
readonly oas3_1Rules: {
|
|
43
|
-
readonly type: "object";
|
|
44
|
-
readonly additionalProperties: {
|
|
45
|
-
readonly oneOf: readonly [{
|
|
46
|
-
readonly type: "string";
|
|
47
|
-
}, {
|
|
48
|
-
readonly type: "object";
|
|
49
|
-
}];
|
|
50
|
-
};
|
|
51
|
-
};
|
|
52
|
-
readonly async2Rules: {
|
|
53
|
-
readonly type: "object";
|
|
54
|
-
readonly additionalProperties: {
|
|
55
|
-
readonly oneOf: readonly [{
|
|
56
|
-
readonly type: "string";
|
|
57
|
-
}, {
|
|
58
|
-
readonly type: "object";
|
|
59
|
-
}];
|
|
60
|
-
};
|
|
61
|
-
};
|
|
62
|
-
readonly async3Rules: {
|
|
63
|
-
readonly type: "object";
|
|
64
|
-
readonly additionalProperties: {
|
|
65
|
-
readonly oneOf: readonly [{
|
|
66
|
-
readonly type: "string";
|
|
67
|
-
}, {
|
|
68
|
-
readonly type: "object";
|
|
69
|
-
}];
|
|
70
|
-
};
|
|
71
|
-
};
|
|
72
|
-
readonly arazzo1Rules: {
|
|
73
|
-
readonly type: "object";
|
|
74
|
-
readonly additionalProperties: {
|
|
75
|
-
readonly oneOf: readonly [{
|
|
76
|
-
readonly type: "string";
|
|
77
|
-
}, {
|
|
78
|
-
readonly type: "object";
|
|
79
|
-
}];
|
|
80
|
-
};
|
|
81
|
-
};
|
|
82
|
-
readonly overlay1Rules: {
|
|
83
|
-
readonly type: "object";
|
|
84
|
-
readonly additionalProperties: {
|
|
85
|
-
readonly oneOf: readonly [{
|
|
86
|
-
readonly type: "string";
|
|
87
|
-
}, {
|
|
88
|
-
readonly type: "object";
|
|
89
|
-
}];
|
|
90
|
-
};
|
|
91
|
-
};
|
|
92
|
-
};
|
|
93
|
-
export declare const preprocessorSchemas: {
|
|
94
|
-
readonly preprocessors: {
|
|
95
|
-
readonly type: "object";
|
|
96
|
-
readonly additionalProperties: true;
|
|
97
|
-
};
|
|
98
|
-
readonly oas2Preprocessors: {
|
|
99
|
-
readonly type: "object";
|
|
100
|
-
readonly additionalProperties: true;
|
|
101
|
-
};
|
|
102
|
-
readonly oas3_0Preprocessors: {
|
|
103
|
-
readonly type: "object";
|
|
104
|
-
readonly additionalProperties: true;
|
|
105
|
-
};
|
|
106
|
-
readonly oas3_1Preprocessors: {
|
|
107
|
-
readonly type: "object";
|
|
108
|
-
readonly additionalProperties: true;
|
|
109
|
-
};
|
|
110
|
-
readonly async2Preprocessors: {
|
|
111
|
-
readonly type: "object";
|
|
112
|
-
readonly additionalProperties: true;
|
|
113
|
-
};
|
|
114
|
-
readonly async3Preprocessors: {
|
|
115
|
-
readonly type: "object";
|
|
116
|
-
readonly additionalProperties: true;
|
|
117
|
-
};
|
|
118
|
-
readonly arazzo1Preprocessors: {
|
|
119
|
-
readonly type: "object";
|
|
120
|
-
readonly additionalProperties: true;
|
|
121
|
-
};
|
|
122
|
-
readonly overlay1Preprocessors: {
|
|
123
|
-
readonly type: "object";
|
|
124
|
-
readonly additionalProperties: true;
|
|
125
|
-
};
|
|
11
|
+
export declare const ruleTypes: readonly ["rules", "oas2Rules", "oas3_0Rules", "oas3_1Rules", "oas3_2Rules", "async2Rules", "async3Rules", "arazzo1Rules", "overlay1Rules"];
|
|
12
|
+
export type RuleTypes = (typeof ruleTypes)[number];
|
|
13
|
+
export declare const ruleSchemas: Record<RuleTypes, typeof rulesSchema>;
|
|
14
|
+
export declare const preprocessorTypes: readonly ["preprocessors", "oas2Preprocessors", "oas3_0Preprocessors", "oas3_1Preprocessors", "oas3_2Preprocessors", "async2Preprocessors", "async3Preprocessors", "arazzo1Preprocessors", "overlay1Preprocessors"];
|
|
15
|
+
export type PreprocessorTypes = (typeof preprocessorTypes)[number];
|
|
16
|
+
declare const preprocessorSchema: {
|
|
17
|
+
readonly type: "object";
|
|
18
|
+
readonly additionalProperties: true;
|
|
126
19
|
};
|
|
127
|
-
export declare const
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
};
|
|
132
|
-
readonly oas2Decorators: {
|
|
133
|
-
readonly type: "object";
|
|
134
|
-
readonly additionalProperties: true;
|
|
135
|
-
};
|
|
136
|
-
readonly oas3_0Decorators: {
|
|
137
|
-
readonly type: "object";
|
|
138
|
-
readonly additionalProperties: true;
|
|
139
|
-
};
|
|
140
|
-
readonly oas3_1Decorators: {
|
|
141
|
-
readonly type: "object";
|
|
142
|
-
readonly additionalProperties: true;
|
|
143
|
-
};
|
|
144
|
-
readonly async2Decorators: {
|
|
145
|
-
readonly type: "object";
|
|
146
|
-
readonly additionalProperties: true;
|
|
147
|
-
};
|
|
148
|
-
readonly async3Decorators: {
|
|
149
|
-
readonly type: "object";
|
|
150
|
-
readonly additionalProperties: true;
|
|
151
|
-
};
|
|
152
|
-
readonly arazzo1Decorators: {
|
|
153
|
-
readonly type: "object";
|
|
154
|
-
readonly additionalProperties: true;
|
|
155
|
-
};
|
|
156
|
-
readonly overlay1Decorators: {
|
|
157
|
-
readonly type: "object";
|
|
158
|
-
readonly additionalProperties: true;
|
|
159
|
-
};
|
|
20
|
+
export declare const preprocessorSchemas: Record<PreprocessorTypes, typeof preprocessorSchema>;
|
|
21
|
+
export declare const decoratorsSchema: {
|
|
22
|
+
readonly type: "object";
|
|
23
|
+
readonly additionalProperties: true;
|
|
160
24
|
};
|
|
25
|
+
export declare const decoratorTypes: readonly ["decorators", "oas2Decorators", "oas3_0Decorators", "oas3_1Decorators", "oas3_2Decorators", "async2Decorators", "async3Decorators", "arazzo1Decorators", "overlay1Decorators"];
|
|
26
|
+
export type DecoratorTypes = (typeof decoratorTypes)[number];
|
|
27
|
+
export declare const decoratorsSchemas: Record<DecoratorTypes, typeof decoratorsSchema>;
|
|
28
|
+
export {};
|
package/lib/common.js
CHANGED
|
@@ -1,40 +1,84 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.decoratorsSchemas = exports.preprocessorSchemas = exports.ruleSchemas = exports.rulesSchema = void 0;
|
|
3
|
+
exports.decoratorsSchemas = exports.decoratorTypes = exports.decoratorsSchema = exports.preprocessorSchemas = exports.preprocessorTypes = exports.ruleSchemas = exports.ruleTypes = exports.rulesSchema = void 0;
|
|
4
4
|
exports.rulesSchema = {
|
|
5
5
|
type: 'object',
|
|
6
6
|
additionalProperties: {
|
|
7
7
|
oneOf: [{ type: 'string' }, { type: 'object' }],
|
|
8
8
|
},
|
|
9
9
|
};
|
|
10
|
+
exports.ruleTypes = [
|
|
11
|
+
'rules',
|
|
12
|
+
'oas2Rules',
|
|
13
|
+
'oas3_0Rules',
|
|
14
|
+
'oas3_1Rules',
|
|
15
|
+
'oas3_2Rules',
|
|
16
|
+
'async2Rules',
|
|
17
|
+
'async3Rules',
|
|
18
|
+
'arazzo1Rules',
|
|
19
|
+
'overlay1Rules',
|
|
20
|
+
];
|
|
10
21
|
exports.ruleSchemas = {
|
|
11
22
|
rules: exports.rulesSchema,
|
|
12
23
|
oas2Rules: exports.rulesSchema,
|
|
13
24
|
oas3_0Rules: exports.rulesSchema,
|
|
14
25
|
oas3_1Rules: exports.rulesSchema,
|
|
26
|
+
oas3_2Rules: exports.rulesSchema,
|
|
15
27
|
async2Rules: exports.rulesSchema,
|
|
16
28
|
async3Rules: exports.rulesSchema,
|
|
17
29
|
arazzo1Rules: exports.rulesSchema,
|
|
18
30
|
overlay1Rules: exports.rulesSchema,
|
|
19
31
|
};
|
|
32
|
+
exports.preprocessorTypes = [
|
|
33
|
+
'preprocessors',
|
|
34
|
+
'oas2Preprocessors',
|
|
35
|
+
'oas3_0Preprocessors',
|
|
36
|
+
'oas3_1Preprocessors',
|
|
37
|
+
'oas3_2Preprocessors',
|
|
38
|
+
'async2Preprocessors',
|
|
39
|
+
'async3Preprocessors',
|
|
40
|
+
'arazzo1Preprocessors',
|
|
41
|
+
'overlay1Preprocessors',
|
|
42
|
+
];
|
|
43
|
+
const preprocessorSchema = {
|
|
44
|
+
type: 'object',
|
|
45
|
+
additionalProperties: true,
|
|
46
|
+
};
|
|
20
47
|
exports.preprocessorSchemas = {
|
|
21
|
-
preprocessors:
|
|
22
|
-
oas2Preprocessors:
|
|
23
|
-
oas3_0Preprocessors:
|
|
24
|
-
oas3_1Preprocessors:
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
48
|
+
preprocessors: preprocessorSchema,
|
|
49
|
+
oas2Preprocessors: preprocessorSchema,
|
|
50
|
+
oas3_0Preprocessors: preprocessorSchema,
|
|
51
|
+
oas3_1Preprocessors: preprocessorSchema,
|
|
52
|
+
oas3_2Preprocessors: preprocessorSchema,
|
|
53
|
+
async2Preprocessors: preprocessorSchema,
|
|
54
|
+
async3Preprocessors: preprocessorSchema,
|
|
55
|
+
arazzo1Preprocessors: preprocessorSchema,
|
|
56
|
+
overlay1Preprocessors: preprocessorSchema,
|
|
57
|
+
};
|
|
58
|
+
exports.decoratorsSchema = {
|
|
59
|
+
type: 'object',
|
|
60
|
+
additionalProperties: true,
|
|
29
61
|
};
|
|
62
|
+
exports.decoratorTypes = [
|
|
63
|
+
'decorators',
|
|
64
|
+
'oas2Decorators',
|
|
65
|
+
'oas3_0Decorators',
|
|
66
|
+
'oas3_1Decorators',
|
|
67
|
+
'oas3_2Decorators',
|
|
68
|
+
'async2Decorators',
|
|
69
|
+
'async3Decorators',
|
|
70
|
+
'arazzo1Decorators',
|
|
71
|
+
'overlay1Decorators',
|
|
72
|
+
];
|
|
30
73
|
exports.decoratorsSchemas = {
|
|
31
|
-
decorators:
|
|
32
|
-
oas2Decorators:
|
|
33
|
-
oas3_0Decorators:
|
|
34
|
-
oas3_1Decorators:
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
74
|
+
decorators: exports.decoratorsSchema,
|
|
75
|
+
oas2Decorators: exports.decoratorsSchema,
|
|
76
|
+
oas3_0Decorators: exports.decoratorsSchema,
|
|
77
|
+
oas3_1Decorators: exports.decoratorsSchema,
|
|
78
|
+
oas3_2Decorators: exports.decoratorsSchema,
|
|
79
|
+
async2Decorators: exports.decoratorsSchema,
|
|
80
|
+
async3Decorators: exports.decoratorsSchema,
|
|
81
|
+
arazzo1Decorators: exports.decoratorsSchema,
|
|
82
|
+
overlay1Decorators: exports.decoratorsSchema,
|
|
39
83
|
};
|
|
40
84
|
//# sourceMappingURL=common.js.map
|
package/lib/constants.d.ts
CHANGED
|
@@ -13,4 +13,4 @@ export declare enum LayoutVariant {
|
|
|
13
13
|
STACKED = "stacked",
|
|
14
14
|
THREE_PANEL = "three-panel"
|
|
15
15
|
}
|
|
16
|
-
export declare const ENTITY_RELATION_TYPES: readonly ["partOf", "hasParts", "creates", "createdBy", "owns", "ownedBy", "implements", "implementedBy", "dependsOn", "dependencyOf", "uses", "usedBy", "produces", "consumes", "linksTo", "supersedes", "supersededBy", "compatibleWith", "extends", "extendedBy", "relatesTo", "hasMember", "memberOf", "triggers", "triggeredBy"];
|
|
16
|
+
export declare const ENTITY_RELATION_TYPES: readonly ["partOf", "hasParts", "creates", "createdBy", "owns", "ownedBy", "implements", "implementedBy", "dependsOn", "dependencyOf", "uses", "usedBy", "produces", "consumes", "linksTo", "supersedes", "supersededBy", "compatibleWith", "extends", "extendedBy", "relatesTo", "hasMember", "memberOf", "triggers", "triggeredBy", "returns", "returnedBy"];
|
package/lib/constants.js
CHANGED
|
@@ -942,6 +942,45 @@ export declare const themeConfigSchema: {
|
|
|
942
942
|
};
|
|
943
943
|
readonly additionalProperties: false;
|
|
944
944
|
};
|
|
945
|
+
readonly aiAssistant: {
|
|
946
|
+
readonly type: "object";
|
|
947
|
+
readonly properties: {
|
|
948
|
+
readonly hide: {
|
|
949
|
+
readonly type: "boolean";
|
|
950
|
+
};
|
|
951
|
+
readonly suggestions: {
|
|
952
|
+
readonly default: readonly [];
|
|
953
|
+
readonly type: "array";
|
|
954
|
+
readonly items: {
|
|
955
|
+
readonly type: "string";
|
|
956
|
+
};
|
|
957
|
+
};
|
|
958
|
+
readonly prompt: {
|
|
959
|
+
readonly type: "string";
|
|
960
|
+
};
|
|
961
|
+
readonly trigger: {
|
|
962
|
+
readonly type: "object";
|
|
963
|
+
readonly properties: {
|
|
964
|
+
readonly hide: {
|
|
965
|
+
readonly type: "boolean";
|
|
966
|
+
readonly default: false;
|
|
967
|
+
};
|
|
968
|
+
readonly inputType: {
|
|
969
|
+
readonly type: "string";
|
|
970
|
+
readonly enum: readonly ["button", "icon"];
|
|
971
|
+
readonly default: "button";
|
|
972
|
+
};
|
|
973
|
+
readonly inputIcon: {
|
|
974
|
+
readonly type: "string";
|
|
975
|
+
readonly enum: readonly ["chat", "sparkles", "redocly"];
|
|
976
|
+
readonly default: "redocly";
|
|
977
|
+
};
|
|
978
|
+
};
|
|
979
|
+
readonly additionalProperties: false;
|
|
980
|
+
};
|
|
981
|
+
};
|
|
982
|
+
readonly additionalProperties: false;
|
|
983
|
+
};
|
|
945
984
|
readonly colorMode: {
|
|
946
985
|
readonly type: "object";
|
|
947
986
|
readonly properties: {
|
|
@@ -3995,6 +4034,10 @@ export declare const themeConfigSchema: {
|
|
|
3995
4034
|
readonly entitiesCatalog: {
|
|
3996
4035
|
readonly type: "object";
|
|
3997
4036
|
readonly properties: {
|
|
4037
|
+
readonly show: {
|
|
4038
|
+
readonly type: "boolean";
|
|
4039
|
+
readonly default: false;
|
|
4040
|
+
};
|
|
3998
4041
|
readonly entityTypes: {
|
|
3999
4042
|
readonly type: "object";
|
|
4000
4043
|
readonly additionalProperties: {
|
|
@@ -5249,6 +5292,10 @@ export declare const themeConfigSchema: {
|
|
|
5249
5292
|
readonly type: "object";
|
|
5250
5293
|
readonly additionalProperties: true;
|
|
5251
5294
|
};
|
|
5295
|
+
readonly oas3_2Decorators: {
|
|
5296
|
+
readonly type: "object";
|
|
5297
|
+
readonly additionalProperties: true;
|
|
5298
|
+
};
|
|
5252
5299
|
readonly async2Decorators: {
|
|
5253
5300
|
readonly type: "object";
|
|
5254
5301
|
readonly additionalProperties: true;
|
|
@@ -5281,6 +5328,10 @@ export declare const themeConfigSchema: {
|
|
|
5281
5328
|
readonly type: "object";
|
|
5282
5329
|
readonly additionalProperties: true;
|
|
5283
5330
|
};
|
|
5331
|
+
readonly oas3_2Preprocessors: {
|
|
5332
|
+
readonly type: "object";
|
|
5333
|
+
readonly additionalProperties: true;
|
|
5334
|
+
};
|
|
5284
5335
|
readonly async2Preprocessors: {
|
|
5285
5336
|
readonly type: "object";
|
|
5286
5337
|
readonly additionalProperties: true;
|
|
@@ -5337,6 +5388,16 @@ export declare const themeConfigSchema: {
|
|
|
5337
5388
|
}];
|
|
5338
5389
|
};
|
|
5339
5390
|
};
|
|
5391
|
+
readonly oas3_2Rules: {
|
|
5392
|
+
readonly type: "object";
|
|
5393
|
+
readonly additionalProperties: {
|
|
5394
|
+
readonly oneOf: readonly [{
|
|
5395
|
+
readonly type: "string";
|
|
5396
|
+
}, {
|
|
5397
|
+
readonly type: "object";
|
|
5398
|
+
}];
|
|
5399
|
+
};
|
|
5400
|
+
};
|
|
5340
5401
|
readonly async2Rules: {
|
|
5341
5402
|
readonly type: "object";
|
|
5342
5403
|
readonly additionalProperties: {
|
|
@@ -24,6 +24,7 @@ exports.themeConfigSchema = {
|
|
|
24
24
|
links: ex_theme_config_schemas_1.linksConfigSchema,
|
|
25
25
|
feedback: feedback_config_schema_1.feedbackConfigSchema,
|
|
26
26
|
search: ex_theme_config_schemas_1.searchConfigSchema,
|
|
27
|
+
aiAssistant: ex_theme_config_schemas_1.aiAssistantSchema,
|
|
27
28
|
colorMode: ex_theme_config_schemas_1.colorModeConfigSchema,
|
|
28
29
|
navigation: ex_theme_config_schemas_1.navigationConfigSchema,
|
|
29
30
|
codeSnippet: ex_theme_config_schemas_1.codeSnippetConfigSchema,
|
|
@@ -478,6 +478,10 @@ export declare const entityCatalogEntityTypesSchema: {
|
|
|
478
478
|
export declare const entitiesCatalogConfigSchema: {
|
|
479
479
|
readonly type: "object";
|
|
480
480
|
readonly properties: {
|
|
481
|
+
readonly show: {
|
|
482
|
+
readonly type: "boolean";
|
|
483
|
+
readonly default: false;
|
|
484
|
+
};
|
|
481
485
|
readonly entityTypes: {
|
|
482
486
|
readonly type: "object";
|
|
483
487
|
readonly additionalProperties: {
|
|
@@ -164,6 +164,7 @@ exports.entityCatalogEntityTypesSchema = {
|
|
|
164
164
|
exports.entitiesCatalogConfigSchema = {
|
|
165
165
|
type: 'object',
|
|
166
166
|
properties: {
|
|
167
|
+
show: { type: 'boolean', default: false },
|
|
167
168
|
entityTypes: exports.entityCatalogEntityTypesSchema,
|
|
168
169
|
catalogs: {
|
|
169
170
|
type: 'object',
|
|
@@ -67,8 +67,17 @@ export declare const dataSchemaMetadataSchema: {
|
|
|
67
67
|
readonly type: "string";
|
|
68
68
|
readonly description: "Inline schema of the data structure";
|
|
69
69
|
};
|
|
70
|
+
readonly sdl: {
|
|
71
|
+
readonly type: "string";
|
|
72
|
+
readonly description: "SDL of the data structure";
|
|
73
|
+
};
|
|
70
74
|
};
|
|
71
|
-
readonly
|
|
75
|
+
readonly anyOf: readonly [{
|
|
76
|
+
readonly required: readonly ["schema"];
|
|
77
|
+
}, {
|
|
78
|
+
readonly required: readonly ["sdl"];
|
|
79
|
+
}];
|
|
80
|
+
readonly required: readonly ["specType"];
|
|
72
81
|
readonly additionalProperties: true;
|
|
73
82
|
};
|
|
74
83
|
export declare const defaultMetadataSchema: {
|
|
@@ -160,7 +169,7 @@ export declare const entityRelationFileSchema: {
|
|
|
160
169
|
readonly properties: {
|
|
161
170
|
readonly type: {
|
|
162
171
|
readonly type: "string";
|
|
163
|
-
readonly enum: readonly ["partOf", "hasParts", "creates", "createdBy", "owns", "ownedBy", "implements", "implementedBy", "dependsOn", "dependencyOf", "uses", "usedBy", "produces", "consumes", "linksTo", "supersedes", "supersededBy", "compatibleWith", "extends", "extendedBy", "relatesTo", "hasMember", "memberOf", "triggers", "triggeredBy"];
|
|
172
|
+
readonly enum: readonly ["partOf", "hasParts", "creates", "createdBy", "owns", "ownedBy", "implements", "implementedBy", "dependsOn", "dependencyOf", "uses", "usedBy", "produces", "consumes", "linksTo", "supersedes", "supersededBy", "compatibleWith", "extends", "extendedBy", "relatesTo", "hasMember", "memberOf", "triggers", "triggeredBy", "returns", "returnedBy"];
|
|
164
173
|
};
|
|
165
174
|
readonly key: {
|
|
166
175
|
readonly type: "string";
|
|
@@ -269,7 +278,7 @@ export declare const entityBaseProperties: {
|
|
|
269
278
|
readonly properties: {
|
|
270
279
|
readonly type: {
|
|
271
280
|
readonly type: "string";
|
|
272
|
-
readonly enum: readonly ["partOf", "hasParts", "creates", "createdBy", "owns", "ownedBy", "implements", "implementedBy", "dependsOn", "dependencyOf", "uses", "usedBy", "produces", "consumes", "linksTo", "supersedes", "supersededBy", "compatibleWith", "extends", "extendedBy", "relatesTo", "hasMember", "memberOf", "triggers", "triggeredBy"];
|
|
281
|
+
readonly enum: readonly ["partOf", "hasParts", "creates", "createdBy", "owns", "ownedBy", "implements", "implementedBy", "dependsOn", "dependencyOf", "uses", "usedBy", "produces", "consumes", "linksTo", "supersedes", "supersededBy", "compatibleWith", "extends", "extendedBy", "relatesTo", "hasMember", "memberOf", "triggers", "triggeredBy", "returns", "returnedBy"];
|
|
273
282
|
};
|
|
274
283
|
readonly key: {
|
|
275
284
|
readonly type: "string";
|
|
@@ -402,7 +411,7 @@ export declare const entityFileSchema: {
|
|
|
402
411
|
readonly properties: {
|
|
403
412
|
readonly type: {
|
|
404
413
|
readonly type: "string";
|
|
405
|
-
readonly enum: readonly ["partOf", "hasParts", "creates", "createdBy", "owns", "ownedBy", "implements", "implementedBy", "dependsOn", "dependencyOf", "uses", "usedBy", "produces", "consumes", "linksTo", "supersedes", "supersededBy", "compatibleWith", "extends", "extendedBy", "relatesTo", "hasMember", "memberOf", "triggers", "triggeredBy"];
|
|
414
|
+
readonly enum: readonly ["partOf", "hasParts", "creates", "createdBy", "owns", "ownedBy", "implements", "implementedBy", "dependsOn", "dependencyOf", "uses", "usedBy", "produces", "consumes", "linksTo", "supersedes", "supersededBy", "compatibleWith", "extends", "extendedBy", "relatesTo", "hasMember", "memberOf", "triggers", "triggeredBy", "returns", "returnedBy"];
|
|
406
415
|
};
|
|
407
416
|
readonly key: {
|
|
408
417
|
readonly type: "string";
|
|
@@ -551,7 +560,7 @@ export declare const entityFileSchema: {
|
|
|
551
560
|
readonly properties: {
|
|
552
561
|
readonly type: {
|
|
553
562
|
readonly type: "string";
|
|
554
|
-
readonly enum: readonly ["partOf", "hasParts", "creates", "createdBy", "owns", "ownedBy", "implements", "implementedBy", "dependsOn", "dependencyOf", "uses", "usedBy", "produces", "consumes", "linksTo", "supersedes", "supersededBy", "compatibleWith", "extends", "extendedBy", "relatesTo", "hasMember", "memberOf", "triggers", "triggeredBy"];
|
|
563
|
+
readonly enum: readonly ["partOf", "hasParts", "creates", "createdBy", "owns", "ownedBy", "implements", "implementedBy", "dependsOn", "dependencyOf", "uses", "usedBy", "produces", "consumes", "linksTo", "supersedes", "supersededBy", "compatibleWith", "extends", "extendedBy", "relatesTo", "hasMember", "memberOf", "triggers", "triggeredBy", "returns", "returnedBy"];
|
|
555
564
|
};
|
|
556
565
|
readonly key: {
|
|
557
566
|
readonly type: "string";
|
|
@@ -585,8 +594,17 @@ export declare const entityFileSchema: {
|
|
|
585
594
|
readonly type: "string";
|
|
586
595
|
readonly description: "Inline schema of the data structure";
|
|
587
596
|
};
|
|
597
|
+
readonly sdl: {
|
|
598
|
+
readonly type: "string";
|
|
599
|
+
readonly description: "SDL of the data structure";
|
|
600
|
+
};
|
|
588
601
|
};
|
|
589
|
-
readonly
|
|
602
|
+
readonly anyOf: readonly [{
|
|
603
|
+
readonly required: readonly ["schema"];
|
|
604
|
+
}, {
|
|
605
|
+
readonly required: readonly ["sdl"];
|
|
606
|
+
}];
|
|
607
|
+
readonly required: readonly ["specType"];
|
|
590
608
|
readonly additionalProperties: true;
|
|
591
609
|
};
|
|
592
610
|
readonly key: {
|
|
@@ -686,7 +704,7 @@ export declare const entityFileSchema: {
|
|
|
686
704
|
readonly properties: {
|
|
687
705
|
readonly type: {
|
|
688
706
|
readonly type: "string";
|
|
689
|
-
readonly enum: readonly ["partOf", "hasParts", "creates", "createdBy", "owns", "ownedBy", "implements", "implementedBy", "dependsOn", "dependencyOf", "uses", "usedBy", "produces", "consumes", "linksTo", "supersedes", "supersededBy", "compatibleWith", "extends", "extendedBy", "relatesTo", "hasMember", "memberOf", "triggers", "triggeredBy"];
|
|
707
|
+
readonly enum: readonly ["partOf", "hasParts", "creates", "createdBy", "owns", "ownedBy", "implements", "implementedBy", "dependsOn", "dependencyOf", "uses", "usedBy", "produces", "consumes", "linksTo", "supersedes", "supersededBy", "compatibleWith", "extends", "extendedBy", "relatesTo", "hasMember", "memberOf", "triggers", "triggeredBy", "returns", "returnedBy"];
|
|
690
708
|
};
|
|
691
709
|
readonly key: {
|
|
692
710
|
readonly type: "string";
|
|
@@ -821,7 +839,7 @@ export declare const entityFileSchema: {
|
|
|
821
839
|
readonly properties: {
|
|
822
840
|
readonly type: {
|
|
823
841
|
readonly type: "string";
|
|
824
|
-
readonly enum: readonly ["partOf", "hasParts", "creates", "createdBy", "owns", "ownedBy", "implements", "implementedBy", "dependsOn", "dependencyOf", "uses", "usedBy", "produces", "consumes", "linksTo", "supersedes", "supersededBy", "compatibleWith", "extends", "extendedBy", "relatesTo", "hasMember", "memberOf", "triggers", "triggeredBy"];
|
|
842
|
+
readonly enum: readonly ["partOf", "hasParts", "creates", "createdBy", "owns", "ownedBy", "implements", "implementedBy", "dependsOn", "dependencyOf", "uses", "usedBy", "produces", "consumes", "linksTo", "supersedes", "supersededBy", "compatibleWith", "extends", "extendedBy", "relatesTo", "hasMember", "memberOf", "triggers", "triggeredBy", "returns", "returnedBy"];
|
|
825
843
|
};
|
|
826
844
|
readonly key: {
|
|
827
845
|
readonly type: "string";
|
|
@@ -944,7 +962,7 @@ export declare const entityFileSchema: {
|
|
|
944
962
|
readonly properties: {
|
|
945
963
|
readonly type: {
|
|
946
964
|
readonly type: "string";
|
|
947
|
-
readonly enum: readonly ["partOf", "hasParts", "creates", "createdBy", "owns", "ownedBy", "implements", "implementedBy", "dependsOn", "dependencyOf", "uses", "usedBy", "produces", "consumes", "linksTo", "supersedes", "supersededBy", "compatibleWith", "extends", "extendedBy", "relatesTo", "hasMember", "memberOf", "triggers", "triggeredBy"];
|
|
965
|
+
readonly enum: readonly ["partOf", "hasParts", "creates", "createdBy", "owns", "ownedBy", "implements", "implementedBy", "dependsOn", "dependencyOf", "uses", "usedBy", "produces", "consumes", "linksTo", "supersedes", "supersededBy", "compatibleWith", "extends", "extendedBy", "relatesTo", "hasMember", "memberOf", "triggers", "triggeredBy", "returns", "returnedBy"];
|
|
948
966
|
};
|
|
949
967
|
readonly key: {
|
|
950
968
|
readonly type: "string";
|
|
@@ -71,8 +71,13 @@ exports.dataSchemaMetadataSchema = {
|
|
|
71
71
|
type: 'string',
|
|
72
72
|
description: 'Inline schema of the data structure',
|
|
73
73
|
},
|
|
74
|
+
sdl: {
|
|
75
|
+
type: 'string',
|
|
76
|
+
description: 'SDL of the data structure',
|
|
77
|
+
},
|
|
74
78
|
},
|
|
75
|
-
required: ['
|
|
79
|
+
anyOf: [{ required: ['schema'] }, { required: ['sdl'] }],
|
|
80
|
+
required: ['specType'],
|
|
76
81
|
additionalProperties: true,
|
|
77
82
|
};
|
|
78
83
|
exports.defaultMetadataSchema = {
|
|
@@ -199,6 +199,9 @@ export declare const productConfigSchema: {
|
|
|
199
199
|
readonly additionalProperties: false;
|
|
200
200
|
readonly required: readonly ["name", "folder"];
|
|
201
201
|
};
|
|
202
|
+
/**
|
|
203
|
+
* @deprecated Use `aiAssistant` configuration instead of `search.ai`
|
|
204
|
+
*/
|
|
202
205
|
export declare const aiSearchConfigSchema: {
|
|
203
206
|
readonly type: "object";
|
|
204
207
|
readonly properties: {
|
|
@@ -964,6 +967,45 @@ export declare const searchConfigSchema: {
|
|
|
964
967
|
};
|
|
965
968
|
readonly additionalProperties: false;
|
|
966
969
|
};
|
|
970
|
+
export declare const aiAssistantSchema: {
|
|
971
|
+
readonly type: "object";
|
|
972
|
+
readonly properties: {
|
|
973
|
+
readonly hide: {
|
|
974
|
+
readonly type: "boolean";
|
|
975
|
+
};
|
|
976
|
+
readonly suggestions: {
|
|
977
|
+
readonly default: readonly [];
|
|
978
|
+
readonly type: "array";
|
|
979
|
+
readonly items: {
|
|
980
|
+
readonly type: "string";
|
|
981
|
+
};
|
|
982
|
+
};
|
|
983
|
+
readonly prompt: {
|
|
984
|
+
readonly type: "string";
|
|
985
|
+
};
|
|
986
|
+
readonly trigger: {
|
|
987
|
+
readonly type: "object";
|
|
988
|
+
readonly properties: {
|
|
989
|
+
readonly hide: {
|
|
990
|
+
readonly type: "boolean";
|
|
991
|
+
readonly default: false;
|
|
992
|
+
};
|
|
993
|
+
readonly inputType: {
|
|
994
|
+
readonly type: "string";
|
|
995
|
+
readonly enum: readonly ["button", "icon"];
|
|
996
|
+
readonly default: "button";
|
|
997
|
+
};
|
|
998
|
+
readonly inputIcon: {
|
|
999
|
+
readonly type: "string";
|
|
1000
|
+
readonly enum: readonly ["chat", "sparkles", "redocly"];
|
|
1001
|
+
readonly default: "redocly";
|
|
1002
|
+
};
|
|
1003
|
+
};
|
|
1004
|
+
readonly additionalProperties: false;
|
|
1005
|
+
};
|
|
1006
|
+
};
|
|
1007
|
+
readonly additionalProperties: false;
|
|
1008
|
+
};
|
|
967
1009
|
export declare const colorModeConfigSchema: {
|
|
968
1010
|
readonly type: "object";
|
|
969
1011
|
readonly properties: {
|
|
@@ -4161,6 +4203,10 @@ export declare const scorecardConfigSchema: {
|
|
|
4161
4203
|
readonly type: "object";
|
|
4162
4204
|
readonly additionalProperties: true;
|
|
4163
4205
|
};
|
|
4206
|
+
readonly oas3_2Decorators: {
|
|
4207
|
+
readonly type: "object";
|
|
4208
|
+
readonly additionalProperties: true;
|
|
4209
|
+
};
|
|
4164
4210
|
readonly async2Decorators: {
|
|
4165
4211
|
readonly type: "object";
|
|
4166
4212
|
readonly additionalProperties: true;
|
|
@@ -4193,6 +4239,10 @@ export declare const scorecardConfigSchema: {
|
|
|
4193
4239
|
readonly type: "object";
|
|
4194
4240
|
readonly additionalProperties: true;
|
|
4195
4241
|
};
|
|
4242
|
+
readonly oas3_2Preprocessors: {
|
|
4243
|
+
readonly type: "object";
|
|
4244
|
+
readonly additionalProperties: true;
|
|
4245
|
+
};
|
|
4196
4246
|
readonly async2Preprocessors: {
|
|
4197
4247
|
readonly type: "object";
|
|
4198
4248
|
readonly additionalProperties: true;
|
|
@@ -4249,6 +4299,16 @@ export declare const scorecardConfigSchema: {
|
|
|
4249
4299
|
}];
|
|
4250
4300
|
};
|
|
4251
4301
|
};
|
|
4302
|
+
readonly oas3_2Rules: {
|
|
4303
|
+
readonly type: "object";
|
|
4304
|
+
readonly additionalProperties: {
|
|
4305
|
+
readonly oneOf: readonly [{
|
|
4306
|
+
readonly type: "string";
|
|
4307
|
+
}, {
|
|
4308
|
+
readonly type: "object";
|
|
4309
|
+
}];
|
|
4310
|
+
};
|
|
4311
|
+
};
|
|
4252
4312
|
readonly async2Rules: {
|
|
4253
4313
|
readonly type: "object";
|
|
4254
4314
|
readonly additionalProperties: {
|