@powerduck/schema-designer 0.1.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/README.md +217 -0
- package/dist/InlineSchemaEditor-BssSx3SI.d.ts +6 -0
- package/dist/InlineSchemaEditor-Bua-lDhE.d.cts +6 -0
- package/dist/chunk-2XUQB6BQ.js +1896 -0
- package/dist/chunk-4H3LXOL4.cjs +1900 -0
- package/dist/chunk-7LG4MVMD.cjs +2 -0
- package/dist/chunk-BXFABOMJ.js +1475 -0
- package/dist/chunk-FTALJIVZ.js +1 -0
- package/dist/chunk-GTZH37JS.cjs +1120 -0
- package/dist/chunk-GWHDTTQK.js +1437 -0
- package/dist/chunk-GXXD6ITE.cjs +1477 -0
- package/dist/chunk-HI5FBHCO.js +1057 -0
- package/dist/chunk-KX3LFFOV.js +88 -0
- package/dist/chunk-MADPN2PJ.js +185 -0
- package/dist/chunk-NOUORNCI.cjs +1452 -0
- package/dist/chunk-O6PTRJQ5.js +1195 -0
- package/dist/chunk-OBHJC3I2.cjs +2 -0
- package/dist/chunk-OOSNM45O.cjs +264 -0
- package/dist/chunk-P5B3HSPY.js +244 -0
- package/dist/chunk-PBE36BVA.js +1 -0
- package/dist/chunk-PVEYKCM6.js +1 -0
- package/dist/chunk-QZADGAP3.cjs +1218 -0
- package/dist/chunk-S7GNTGEE.js +1 -0
- package/dist/chunk-SMBDRWV2.cjs +2 -0
- package/dist/chunk-THYDOHOP.cjs +2 -0
- package/dist/chunk-WRHWOMZQ.cjs +190 -0
- package/dist/chunk-YNKP5JJA.cjs +32 -0
- package/dist/chunk-YWDKCX6N.cjs +91 -0
- package/dist/chunk-ZHNYNFGL.js +28 -0
- package/dist/compat/inline.cjs +137 -0
- package/dist/compat/inline.css +275 -0
- package/dist/compat/inline.d.cts +6 -0
- package/dist/compat/inline.d.ts +6 -0
- package/dist/compat/inline.js +4 -0
- package/dist/compat/parameters.cjs +90 -0
- package/dist/compat/parameters.css +997 -0
- package/dist/compat/parameters.d.cts +70 -0
- package/dist/compat/parameters.d.ts +70 -0
- package/dist/compat/parameters.js +9 -0
- package/dist/compat/tree.cjs +142 -0
- package/dist/compat/tree.css +1069 -0
- package/dist/compat/tree.d.cts +4 -0
- package/dist/compat/tree.d.ts +4 -0
- package/dist/compat/tree.js +5 -0
- package/dist/compat/variable-editor.cjs +82 -0
- package/dist/compat/variable-editor.d.cts +68 -0
- package/dist/compat/variable-editor.d.ts +68 -0
- package/dist/compat/variable-editor.js +1 -0
- package/dist/core/index.cjs +197 -0
- package/dist/core/index.d.cts +21 -0
- package/dist/core/index.d.ts +21 -0
- package/dist/core/index.js +4 -0
- package/dist/index.cjs +35 -0
- package/dist/index.css +1791 -0
- package/dist/index.d.cts +9 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.js +10 -0
- package/dist/parameterValue-2pL9n-3q.d.ts +8 -0
- package/dist/parameterValue-Cky9Lnd3.d.cts +8 -0
- package/dist/react/index.cjs +35 -0
- package/dist/react/index.css +1791 -0
- package/dist/react/index.d.cts +9 -0
- package/dist/react/index.d.ts +9 -0
- package/dist/react/index.js +10 -0
- package/dist/react/inlineSchemaEditor/index.cjs +97 -0
- package/dist/react/inlineSchemaEditor/index.css +275 -0
- package/dist/react/inlineSchemaEditor/index.d.cts +6 -0
- package/dist/react/inlineSchemaEditor/index.d.ts +6 -0
- package/dist/react/inlineSchemaEditor/index.js +4 -0
- package/dist/react/parametersTable/index.cjs +22 -0
- package/dist/react/parametersTable/index.css +997 -0
- package/dist/react/parametersTable/index.d.cts +7 -0
- package/dist/react/parametersTable/index.d.ts +7 -0
- package/dist/react/parametersTable/index.js +9 -0
- package/dist/react/parametersTable/libs/generateValue.cjs +558 -0
- package/dist/react/parametersTable/libs/generateValue.d.cts +17 -0
- package/dist/react/parametersTable/libs/generateValue.d.ts +17 -0
- package/dist/react/parametersTable/libs/generateValue.js +551 -0
- package/dist/react/schemaTreeEditor/index.cjs +18 -0
- package/dist/react/schemaTreeEditor/index.css +1069 -0
- package/dist/react/schemaTreeEditor/index.d.cts +7 -0
- package/dist/react/schemaTreeEditor/index.d.ts +7 -0
- package/dist/react/schemaTreeEditor/index.js +5 -0
- package/dist/react/variableTextEditor/index.cjs +11 -0
- package/dist/react/variableTextEditor/index.css +306 -0
- package/dist/react/variableTextEditor/index.d.cts +6 -0
- package/dist/react/variableTextEditor/index.d.ts +6 -0
- package/dist/react/variableTextEditor/index.js +2 -0
- package/dist/schema-CKAPsYeW.d.cts +41 -0
- package/dist/schema-o7OJRaJ8.d.ts +41 -0
- package/dist/styles.css +1791 -0
- package/dist/tree-D06Xa6_N.d.ts +95 -0
- package/dist/tree-Dq1Rk-CF.d.cts +95 -0
- package/dist/types-B27Dw9do.d.cts +163 -0
- package/dist/types-B27Dw9do.d.ts +163 -0
- package/dist/types-Bk9rzr6l.d.cts +48 -0
- package/dist/types-D2jEaM9Z.d.cts +145 -0
- package/dist/types-D2jEaM9Z.d.ts +145 -0
- package/dist/types-xAihO_KW.d.ts +48 -0
- package/dist/variableTextEditor.types-ClzvARvK.d.cts +49 -0
- package/dist/variableTextEditor.types-ClzvARvK.d.ts +49 -0
- package/package.json +130 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkYWDKCX6N_cjs = require('./chunk-YWDKCX6N.cjs');
|
|
4
|
+
|
|
5
|
+
// src/react/parametersTable/libs/parameterValue.ts
|
|
6
|
+
function isReference(value) {
|
|
7
|
+
return typeof value === "object" && value !== null && "$ref" in value && typeof value.$ref === "string";
|
|
8
|
+
}
|
|
9
|
+
function resolveObject(value, document) {
|
|
10
|
+
const seen = /* @__PURE__ */ new Set();
|
|
11
|
+
let result = value;
|
|
12
|
+
while (isReference(result)) {
|
|
13
|
+
if (!document || seen.has(result.$ref) || seen.size >= 64) return void 0;
|
|
14
|
+
seen.add(result.$ref);
|
|
15
|
+
const target = chunkYWDKCX6N_cjs.resolveLocalReference(result.$ref, document);
|
|
16
|
+
if (!target || typeof target !== "object" || Array.isArray(target))
|
|
17
|
+
return void 0;
|
|
18
|
+
const { $ref, ...siblings } = result;
|
|
19
|
+
result = { ...target, ...siblings };
|
|
20
|
+
}
|
|
21
|
+
return result && typeof result === "object" && !Array.isArray(result) ? result : void 0;
|
|
22
|
+
}
|
|
23
|
+
function resolveSchema(value, document) {
|
|
24
|
+
if (typeof value === "boolean") return value;
|
|
25
|
+
if (isReference(value) && document) {
|
|
26
|
+
const seen = /* @__PURE__ */ new Set();
|
|
27
|
+
let current = value;
|
|
28
|
+
while (isReference(current)) {
|
|
29
|
+
if (seen.has(current.$ref) || seen.size >= 64) return void 0;
|
|
30
|
+
seen.add(current.$ref);
|
|
31
|
+
const target = chunkYWDKCX6N_cjs.resolveLocalReference(current.$ref, document);
|
|
32
|
+
if (typeof target === "boolean") {
|
|
33
|
+
if (!target) return false;
|
|
34
|
+
const { $ref: $ref2, ...siblings2 } = current;
|
|
35
|
+
return Object.keys(siblings2).length ? siblings2 : true;
|
|
36
|
+
}
|
|
37
|
+
if (!target || typeof target !== "object" || Array.isArray(target))
|
|
38
|
+
return void 0;
|
|
39
|
+
const { $ref, ...siblings } = current;
|
|
40
|
+
current = { ...target, ...siblings };
|
|
41
|
+
}
|
|
42
|
+
return current;
|
|
43
|
+
}
|
|
44
|
+
return resolveObject(value, document);
|
|
45
|
+
}
|
|
46
|
+
function resolveExamplesMap(examples, document) {
|
|
47
|
+
if (!examples) {
|
|
48
|
+
return void 0;
|
|
49
|
+
}
|
|
50
|
+
const entries = Object.entries(examples);
|
|
51
|
+
for (const [name, rawExample] of entries) {
|
|
52
|
+
const example = resolveObject(rawExample, document);
|
|
53
|
+
if (!example) continue;
|
|
54
|
+
if (Object.prototype.hasOwnProperty.call(example, "value")) {
|
|
55
|
+
return {
|
|
56
|
+
value: example.value,
|
|
57
|
+
source: "examples",
|
|
58
|
+
exampleName: name
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
if (Object.prototype.hasOwnProperty.call(example, "dataValue")) {
|
|
62
|
+
return {
|
|
63
|
+
value: example.dataValue,
|
|
64
|
+
source: "examples",
|
|
65
|
+
exampleName: name
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
if (example.serializedValue !== void 0) {
|
|
69
|
+
return {
|
|
70
|
+
value: example.serializedValue,
|
|
71
|
+
source: "examples",
|
|
72
|
+
exampleName: name
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
if (example.externalValue) {
|
|
76
|
+
return {
|
|
77
|
+
value: void 0,
|
|
78
|
+
source: "external-example",
|
|
79
|
+
exampleName: name,
|
|
80
|
+
externalValue: example.externalValue
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
return void 0;
|
|
85
|
+
}
|
|
86
|
+
function resolveContent(parameter, document) {
|
|
87
|
+
if (!parameter.content) {
|
|
88
|
+
return {};
|
|
89
|
+
}
|
|
90
|
+
const entries = Object.entries(parameter.content);
|
|
91
|
+
if (entries.length === 0) {
|
|
92
|
+
return {};
|
|
93
|
+
}
|
|
94
|
+
const mediaType = resolveObject(entries[0][1], document);
|
|
95
|
+
if (!mediaType) {
|
|
96
|
+
return {};
|
|
97
|
+
}
|
|
98
|
+
const schema = resolveSchema(mediaType.schema, document);
|
|
99
|
+
if (mediaType.example !== void 0) {
|
|
100
|
+
return {
|
|
101
|
+
schema,
|
|
102
|
+
value: {
|
|
103
|
+
value: mediaType.example,
|
|
104
|
+
source: "example"
|
|
105
|
+
}
|
|
106
|
+
};
|
|
107
|
+
}
|
|
108
|
+
const examplesValue = resolveExamplesMap(mediaType.examples, document);
|
|
109
|
+
return {
|
|
110
|
+
schema,
|
|
111
|
+
value: examplesValue
|
|
112
|
+
};
|
|
113
|
+
}
|
|
114
|
+
function resolveParameterSchema(parameter, document) {
|
|
115
|
+
if (parameter.schema !== void 0)
|
|
116
|
+
return resolveSchema(parameter.schema, document);
|
|
117
|
+
return resolveContent(parameter, document).schema;
|
|
118
|
+
}
|
|
119
|
+
function resolveParameterValue(parameter, document) {
|
|
120
|
+
if (parameter.example !== void 0) {
|
|
121
|
+
return {
|
|
122
|
+
value: parameter.example,
|
|
123
|
+
source: "example"
|
|
124
|
+
};
|
|
125
|
+
}
|
|
126
|
+
const examplesValue = resolveExamplesMap(parameter.examples, document);
|
|
127
|
+
if (examplesValue) {
|
|
128
|
+
return examplesValue;
|
|
129
|
+
}
|
|
130
|
+
const content = resolveContent(parameter, document);
|
|
131
|
+
if (content.value) {
|
|
132
|
+
return content.value;
|
|
133
|
+
}
|
|
134
|
+
const schema = resolveParameterSchema(parameter, document);
|
|
135
|
+
if (schema && typeof schema === "object") {
|
|
136
|
+
if (schema.example !== void 0) {
|
|
137
|
+
return {
|
|
138
|
+
value: schema.example,
|
|
139
|
+
source: "schema-example"
|
|
140
|
+
};
|
|
141
|
+
}
|
|
142
|
+
if (Array.isArray(schema.examples) && schema.examples.length) {
|
|
143
|
+
return { value: schema.examples[0], source: "schema-example" };
|
|
144
|
+
}
|
|
145
|
+
if (schema.default !== void 0) {
|
|
146
|
+
return {
|
|
147
|
+
value: schema.default,
|
|
148
|
+
source: "schema-default"
|
|
149
|
+
};
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
return {
|
|
153
|
+
value: void 0,
|
|
154
|
+
source: "missing"
|
|
155
|
+
};
|
|
156
|
+
}
|
|
157
|
+
function resolveParameterType(parameter, document) {
|
|
158
|
+
const schema = resolveParameterSchema(parameter, document);
|
|
159
|
+
if (typeof schema === "boolean") return schema ? "any" : "never";
|
|
160
|
+
if (!schema) {
|
|
161
|
+
return "unknown";
|
|
162
|
+
}
|
|
163
|
+
if (Array.isArray(schema.type)) {
|
|
164
|
+
return schema.type.join(" | ");
|
|
165
|
+
}
|
|
166
|
+
if (schema.type) {
|
|
167
|
+
if (schema.format) {
|
|
168
|
+
return `${schema.type} (${schema.format})`;
|
|
169
|
+
}
|
|
170
|
+
return schema.type;
|
|
171
|
+
}
|
|
172
|
+
if (schema.oneOf) {
|
|
173
|
+
return "oneOf";
|
|
174
|
+
}
|
|
175
|
+
if (schema.anyOf) {
|
|
176
|
+
return "anyOf";
|
|
177
|
+
}
|
|
178
|
+
if (schema.allOf) {
|
|
179
|
+
return "allOf";
|
|
180
|
+
}
|
|
181
|
+
if (schema.$ref) {
|
|
182
|
+
return "reference";
|
|
183
|
+
}
|
|
184
|
+
return "unknown";
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
exports.isReference = isReference;
|
|
188
|
+
exports.resolveParameterSchema = resolveParameterSchema;
|
|
189
|
+
exports.resolveParameterType = resolveParameterType;
|
|
190
|
+
exports.resolveParameterValue = resolveParameterValue;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkWRHWOMZQ_cjs = require('./chunk-WRHWOMZQ.cjs');
|
|
4
|
+
|
|
5
|
+
// src/core/parameters.ts
|
|
6
|
+
function parameterKey(parameter) {
|
|
7
|
+
return JSON.stringify([parameter.in, parameter.name]);
|
|
8
|
+
}
|
|
9
|
+
function initializeParameterValues(parameters) {
|
|
10
|
+
return Object.fromEntries(
|
|
11
|
+
parameters.map((parameter) => [
|
|
12
|
+
parameterKey(parameter),
|
|
13
|
+
{
|
|
14
|
+
value: chunkWRHWOMZQ_cjs.resolveParameterValue(parameter).value,
|
|
15
|
+
enabled: true
|
|
16
|
+
}
|
|
17
|
+
])
|
|
18
|
+
);
|
|
19
|
+
}
|
|
20
|
+
function parameterValueText(value) {
|
|
21
|
+
if (value === void 0) return "";
|
|
22
|
+
if (typeof value === "string") return value;
|
|
23
|
+
try {
|
|
24
|
+
return JSON.stringify(value) ?? "";
|
|
25
|
+
} catch {
|
|
26
|
+
return "";
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
exports.initializeParameterValues = initializeParameterValues;
|
|
31
|
+
exports.parameterKey = parameterKey;
|
|
32
|
+
exports.parameterValueText = parameterValueText;
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
// src/core/references.ts
|
|
4
|
+
var maps = /* @__PURE__ */ new Set([
|
|
5
|
+
"properties",
|
|
6
|
+
"patternProperties",
|
|
7
|
+
"$defs",
|
|
8
|
+
"definitions",
|
|
9
|
+
"dependentSchemas"
|
|
10
|
+
]);
|
|
11
|
+
var arrays = /* @__PURE__ */ new Set(["allOf", "anyOf", "oneOf", "prefixItems"]);
|
|
12
|
+
var singles = /* @__PURE__ */ new Set([
|
|
13
|
+
"items",
|
|
14
|
+
"contains",
|
|
15
|
+
"not",
|
|
16
|
+
"if",
|
|
17
|
+
"then",
|
|
18
|
+
"else",
|
|
19
|
+
"additionalProperties",
|
|
20
|
+
"unevaluatedProperties",
|
|
21
|
+
"unevaluatedItems",
|
|
22
|
+
"propertyNames"
|
|
23
|
+
]);
|
|
24
|
+
function resolveLocalReference(reference, document) {
|
|
25
|
+
if (reference === "#") return document;
|
|
26
|
+
if (!reference.startsWith("#/")) return void 0;
|
|
27
|
+
let tokens;
|
|
28
|
+
try {
|
|
29
|
+
tokens = decodeURIComponent(reference.slice(2)).split("/").map((token) => token.replace(/~1/g, "/").replace(/~0/g, "~"));
|
|
30
|
+
} catch {
|
|
31
|
+
return void 0;
|
|
32
|
+
}
|
|
33
|
+
let value = document;
|
|
34
|
+
for (const token of tokens) {
|
|
35
|
+
if (value === null || typeof value !== "object" || !Object.hasOwn(value, token))
|
|
36
|
+
return void 0;
|
|
37
|
+
value = value[token];
|
|
38
|
+
}
|
|
39
|
+
return value;
|
|
40
|
+
}
|
|
41
|
+
function dereferenceLocalSchema(schema, document = schema, maxDepth = 64) {
|
|
42
|
+
const depthLimit = Number.isFinite(maxDepth) ? Math.max(0, Math.min(128, Math.floor(maxDepth))) : 64;
|
|
43
|
+
let visitedNodes = 0;
|
|
44
|
+
const visit = (value, depth, refs) => {
|
|
45
|
+
if (++visitedNodes > 2e4)
|
|
46
|
+
throw new RangeError("Schema reference node budget exceeded");
|
|
47
|
+
if (depth > depthLimit)
|
|
48
|
+
throw new RangeError("Schema reference depth exceeded");
|
|
49
|
+
if (Array.isArray(value))
|
|
50
|
+
return value.map((item) => visit(item, depth + 1, refs));
|
|
51
|
+
if (value === null || typeof value !== "object") return value;
|
|
52
|
+
const record = value;
|
|
53
|
+
if (typeof record.$ref === "string") {
|
|
54
|
+
if (refs.has(record.$ref))
|
|
55
|
+
throw new Error(
|
|
56
|
+
`Recursive reference cannot be generated: ${record.$ref}`
|
|
57
|
+
);
|
|
58
|
+
const target = resolveLocalReference(record.$ref, document);
|
|
59
|
+
if (target === void 0)
|
|
60
|
+
throw new Error(`Unresolved local reference: ${record.$ref}`);
|
|
61
|
+
const nextRefs = new Set(refs).add(record.$ref);
|
|
62
|
+
const resolved = visit(target, depth + 1, nextRefs);
|
|
63
|
+
const { $ref, ...siblings } = record;
|
|
64
|
+
if (!Object.keys(siblings).length) return resolved;
|
|
65
|
+
return { allOf: [resolved, visit(siblings, depth + 1, refs)] };
|
|
66
|
+
}
|
|
67
|
+
return Object.fromEntries(
|
|
68
|
+
Object.entries(record).map(([key, item]) => {
|
|
69
|
+
if (maps.has(key) && item && typeof item === "object" && !Array.isArray(item)) {
|
|
70
|
+
return [
|
|
71
|
+
key,
|
|
72
|
+
Object.fromEntries(
|
|
73
|
+
Object.entries(item).map(([name, child]) => [
|
|
74
|
+
name,
|
|
75
|
+
visit(child, depth + 1, refs)
|
|
76
|
+
])
|
|
77
|
+
)
|
|
78
|
+
];
|
|
79
|
+
}
|
|
80
|
+
return [
|
|
81
|
+
key,
|
|
82
|
+
arrays.has(key) || singles.has(key) ? visit(item, depth + 1, refs) : item
|
|
83
|
+
];
|
|
84
|
+
})
|
|
85
|
+
);
|
|
86
|
+
};
|
|
87
|
+
return visit(schema, 0, /* @__PURE__ */ new Set());
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
exports.dereferenceLocalSchema = dereferenceLocalSchema;
|
|
91
|
+
exports.resolveLocalReference = resolveLocalReference;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { resolveParameterValue } from './chunk-MADPN2PJ.js';
|
|
2
|
+
|
|
3
|
+
// src/core/parameters.ts
|
|
4
|
+
function parameterKey(parameter) {
|
|
5
|
+
return JSON.stringify([parameter.in, parameter.name]);
|
|
6
|
+
}
|
|
7
|
+
function initializeParameterValues(parameters) {
|
|
8
|
+
return Object.fromEntries(
|
|
9
|
+
parameters.map((parameter) => [
|
|
10
|
+
parameterKey(parameter),
|
|
11
|
+
{
|
|
12
|
+
value: resolveParameterValue(parameter).value,
|
|
13
|
+
enabled: true
|
|
14
|
+
}
|
|
15
|
+
])
|
|
16
|
+
);
|
|
17
|
+
}
|
|
18
|
+
function parameterValueText(value) {
|
|
19
|
+
if (value === void 0) return "";
|
|
20
|
+
if (typeof value === "string") return value;
|
|
21
|
+
try {
|
|
22
|
+
return JSON.stringify(value) ?? "";
|
|
23
|
+
} catch {
|
|
24
|
+
return "";
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export { initializeParameterValues, parameterKey, parameterValueText };
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
require('../chunk-SMBDRWV2.cjs');
|
|
4
|
+
var chunk4H3LXOL4_cjs = require('../chunk-4H3LXOL4.cjs');
|
|
5
|
+
var chunkGTZH37JS_cjs = require('../chunk-GTZH37JS.cjs');
|
|
6
|
+
require('../chunk-YWDKCX6N.cjs');
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
Object.defineProperty(exports, "InlineSchemaEditor", {
|
|
11
|
+
enumerable: true,
|
|
12
|
+
get: function () { return chunk4H3LXOL4_cjs.InlineSchemaEditor; }
|
|
13
|
+
});
|
|
14
|
+
Object.defineProperty(exports, "asOpenApiSchema", {
|
|
15
|
+
enumerable: true,
|
|
16
|
+
get: function () { return chunkGTZH37JS_cjs.asOpenApiSchema; }
|
|
17
|
+
});
|
|
18
|
+
Object.defineProperty(exports, "canParseSchemaValue", {
|
|
19
|
+
enumerable: true,
|
|
20
|
+
get: function () { return chunkGTZH37JS_cjs.canParseSchemaValue; }
|
|
21
|
+
});
|
|
22
|
+
Object.defineProperty(exports, "cloneSchema", {
|
|
23
|
+
enumerable: true,
|
|
24
|
+
get: function () { return chunkGTZH37JS_cjs.cloneSchema2; }
|
|
25
|
+
});
|
|
26
|
+
Object.defineProperty(exports, "compactSchema", {
|
|
27
|
+
enumerable: true,
|
|
28
|
+
get: function () { return chunkGTZH37JS_cjs.compactSchema; }
|
|
29
|
+
});
|
|
30
|
+
Object.defineProperty(exports, "createSchemaForType", {
|
|
31
|
+
enumerable: true,
|
|
32
|
+
get: function () { return chunkGTZH37JS_cjs.createSchemaForType; }
|
|
33
|
+
});
|
|
34
|
+
Object.defineProperty(exports, "diffSchemaLines", {
|
|
35
|
+
enumerable: true,
|
|
36
|
+
get: function () { return chunkGTZH37JS_cjs.diffSchemaLines; }
|
|
37
|
+
});
|
|
38
|
+
Object.defineProperty(exports, "getArrayItems", {
|
|
39
|
+
enumerable: true,
|
|
40
|
+
get: function () { return chunkGTZH37JS_cjs.getArrayItems; }
|
|
41
|
+
});
|
|
42
|
+
Object.defineProperty(exports, "getComposition", {
|
|
43
|
+
enumerable: true,
|
|
44
|
+
get: function () { return chunkGTZH37JS_cjs.getComposition; }
|
|
45
|
+
});
|
|
46
|
+
Object.defineProperty(exports, "getEnumValues", {
|
|
47
|
+
enumerable: true,
|
|
48
|
+
get: function () { return chunkGTZH37JS_cjs.getEnumValues; }
|
|
49
|
+
});
|
|
50
|
+
Object.defineProperty(exports, "getPrefixItems", {
|
|
51
|
+
enumerable: true,
|
|
52
|
+
get: function () { return chunkGTZH37JS_cjs.getPrefixItems; }
|
|
53
|
+
});
|
|
54
|
+
Object.defineProperty(exports, "getProperties", {
|
|
55
|
+
enumerable: true,
|
|
56
|
+
get: function () { return chunkGTZH37JS_cjs.getProperties; }
|
|
57
|
+
});
|
|
58
|
+
Object.defineProperty(exports, "getReferenceOptions", {
|
|
59
|
+
enumerable: true,
|
|
60
|
+
get: function () { return chunkGTZH37JS_cjs.getReferenceOptions; }
|
|
61
|
+
});
|
|
62
|
+
Object.defineProperty(exports, "getRequiredProperties", {
|
|
63
|
+
enumerable: true,
|
|
64
|
+
get: function () { return chunkGTZH37JS_cjs.getRequiredProperties; }
|
|
65
|
+
});
|
|
66
|
+
Object.defineProperty(exports, "getSchemaSummary", {
|
|
67
|
+
enumerable: true,
|
|
68
|
+
get: function () { return chunkGTZH37JS_cjs.getSchemaSummary; }
|
|
69
|
+
});
|
|
70
|
+
Object.defineProperty(exports, "getSchemaType", {
|
|
71
|
+
enumerable: true,
|
|
72
|
+
get: function () { return chunkGTZH37JS_cjs.getSchemaType; }
|
|
73
|
+
});
|
|
74
|
+
Object.defineProperty(exports, "isRecord", {
|
|
75
|
+
enumerable: true,
|
|
76
|
+
get: function () { return chunkGTZH37JS_cjs.isRecord; }
|
|
77
|
+
});
|
|
78
|
+
Object.defineProperty(exports, "isSchema", {
|
|
79
|
+
enumerable: true,
|
|
80
|
+
get: function () { return chunkGTZH37JS_cjs.isSchema; }
|
|
81
|
+
});
|
|
82
|
+
Object.defineProperty(exports, "mergeSchema", {
|
|
83
|
+
enumerable: true,
|
|
84
|
+
get: function () { return chunkGTZH37JS_cjs.mergeSchema; }
|
|
85
|
+
});
|
|
86
|
+
Object.defineProperty(exports, "normalizeFormatOptions", {
|
|
87
|
+
enumerable: true,
|
|
88
|
+
get: function () { return chunkGTZH37JS_cjs.normalizeFormatOptions; }
|
|
89
|
+
});
|
|
90
|
+
Object.defineProperty(exports, "normalizeSchemaType", {
|
|
91
|
+
enumerable: true,
|
|
92
|
+
get: function () { return chunkGTZH37JS_cjs.normalizeSchemaType; }
|
|
93
|
+
});
|
|
94
|
+
Object.defineProperty(exports, "parseOptionalNumber", {
|
|
95
|
+
enumerable: true,
|
|
96
|
+
get: function () { return chunkGTZH37JS_cjs.parseOptionalNumber; }
|
|
97
|
+
});
|
|
98
|
+
Object.defineProperty(exports, "parseSchemaValue", {
|
|
99
|
+
enumerable: true,
|
|
100
|
+
get: function () { return chunkGTZH37JS_cjs.parseSchemaValue; }
|
|
101
|
+
});
|
|
102
|
+
Object.defineProperty(exports, "removeProperty", {
|
|
103
|
+
enumerable: true,
|
|
104
|
+
get: function () { return chunkGTZH37JS_cjs.removeProperty; }
|
|
105
|
+
});
|
|
106
|
+
Object.defineProperty(exports, "renameProperty", {
|
|
107
|
+
enumerable: true,
|
|
108
|
+
get: function () { return chunkGTZH37JS_cjs.renameProperty; }
|
|
109
|
+
});
|
|
110
|
+
Object.defineProperty(exports, "setComposition", {
|
|
111
|
+
enumerable: true,
|
|
112
|
+
get: function () { return chunkGTZH37JS_cjs.setComposition; }
|
|
113
|
+
});
|
|
114
|
+
Object.defineProperty(exports, "setEnumValues", {
|
|
115
|
+
enumerable: true,
|
|
116
|
+
get: function () { return chunkGTZH37JS_cjs.setEnumValues; }
|
|
117
|
+
});
|
|
118
|
+
Object.defineProperty(exports, "setPropertyRequired", {
|
|
119
|
+
enumerable: true,
|
|
120
|
+
get: function () { return chunkGTZH37JS_cjs.setPropertyRequired; }
|
|
121
|
+
});
|
|
122
|
+
Object.defineProperty(exports, "stringifySchemaValue", {
|
|
123
|
+
enumerable: true,
|
|
124
|
+
get: function () { return chunkGTZH37JS_cjs.stringifySchemaValue; }
|
|
125
|
+
});
|
|
126
|
+
Object.defineProperty(exports, "toInputValue", {
|
|
127
|
+
enumerable: true,
|
|
128
|
+
get: function () { return chunkGTZH37JS_cjs.toInputValue; }
|
|
129
|
+
});
|
|
130
|
+
Object.defineProperty(exports, "toSchemaRecord", {
|
|
131
|
+
enumerable: true,
|
|
132
|
+
get: function () { return chunkGTZH37JS_cjs.toSchemaRecord; }
|
|
133
|
+
});
|
|
134
|
+
Object.defineProperty(exports, "updateProperty", {
|
|
135
|
+
enumerable: true,
|
|
136
|
+
get: function () { return chunkGTZH37JS_cjs.updateProperty; }
|
|
137
|
+
});
|