ajsc 4.0.0 → 5.0.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/dist/TypescriptBaseConverter.d.ts +14 -1
- package/dist/TypescriptBaseConverter.js +28 -3
- package/dist/TypescriptBaseConverter.js.map +1 -1
- package/dist/TypescriptConverter.additionalProperties.test.js +110 -0
- package/dist/TypescriptConverter.additionalProperties.test.js.map +1 -0
- package/dist/TypescriptConverter.arrays.test.js +130 -0
- package/dist/TypescriptConverter.arrays.test.js.map +1 -0
- package/dist/TypescriptConverter.composites.test.d.ts +1 -0
- package/dist/TypescriptConverter.composites.test.js +13 -0
- package/dist/TypescriptConverter.composites.test.js.map +1 -0
- package/dist/TypescriptConverter.d.ts +56 -9
- package/dist/TypescriptConverter.js +105 -7
- package/dist/TypescriptConverter.js.map +1 -1
- package/dist/TypescriptConverter.objects.test.d.ts +1 -0
- package/dist/TypescriptConverter.objects.test.js +258 -0
- package/dist/TypescriptConverter.objects.test.js.map +1 -0
- package/dist/TypescriptConverter.options.test.d.ts +1 -0
- package/dist/TypescriptConverter.options.test.js +430 -0
- package/dist/TypescriptConverter.options.test.js.map +1 -0
- package/dist/TypescriptConverter.primitives.test.d.ts +1 -0
- package/dist/TypescriptConverter.primitives.test.js +26 -0
- package/dist/TypescriptConverter.primitives.test.js.map +1 -0
- package/dist/index.d.ts +0 -1
- package/dist/index.js +0 -1
- package/dist/index.js.map +1 -1
- package/package.json +5 -3
- package/dist/TypescriptConverter.test.js +0 -325
- package/dist/TypescriptConverter.test.js.map +0 -1
- package/dist/TypescriptProcedureConverter.d.ts +0 -19
- package/dist/TypescriptProcedureConverter.js +0 -54
- package/dist/TypescriptProcedureConverter.js.map +0 -1
- package/dist/TypescriptProcedureConverter.test.js +0 -997
- package/dist/TypescriptProcedureConverter.test.js.map +0 -1
- /package/dist/{TypescriptConverter.test.d.ts → TypescriptConverter.additionalProperties.test.d.ts} +0 -0
- /package/dist/{TypescriptProcedureConverter.test.d.ts → TypescriptConverter.arrays.test.d.ts} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,258 @@
|
|
|
1
|
+
import { describe, it, expect } from "vitest";
|
|
2
|
+
import { TypescriptConverter } from "./TypescriptConverter.js";
|
|
3
|
+
describe("TypescriptConverter - objects (inlineTypes)", () => {
|
|
4
|
+
it("should convert objects", () => {
|
|
5
|
+
expect(new TypescriptConverter({
|
|
6
|
+
type: "object",
|
|
7
|
+
properties: {
|
|
8
|
+
title: { type: "string" },
|
|
9
|
+
year: { type: "number" },
|
|
10
|
+
},
|
|
11
|
+
required: ["title"],
|
|
12
|
+
}).code).toMatch(`{ title: string; year?: number; }`);
|
|
13
|
+
});
|
|
14
|
+
it("should convert a simple JSON schema to Typescript", () => {
|
|
15
|
+
expect(new TypescriptConverter({
|
|
16
|
+
type: "object",
|
|
17
|
+
properties: {
|
|
18
|
+
name: { type: "string" },
|
|
19
|
+
age: { type: "number" },
|
|
20
|
+
contacts: {
|
|
21
|
+
type: "array",
|
|
22
|
+
items: {
|
|
23
|
+
type: "object",
|
|
24
|
+
properties: {
|
|
25
|
+
email: { type: "string" },
|
|
26
|
+
},
|
|
27
|
+
required: ["email"],
|
|
28
|
+
},
|
|
29
|
+
},
|
|
30
|
+
profile: {
|
|
31
|
+
type: "object",
|
|
32
|
+
properties: {
|
|
33
|
+
email: { type: "string" },
|
|
34
|
+
},
|
|
35
|
+
required: ["email"],
|
|
36
|
+
},
|
|
37
|
+
},
|
|
38
|
+
required: ["name", "age"],
|
|
39
|
+
}, {
|
|
40
|
+
inlineTypes: true,
|
|
41
|
+
}).code.replace(/\s/g, "")).toMatch(`{
|
|
42
|
+
name: string;
|
|
43
|
+
age: number;
|
|
44
|
+
contacts?: Array<{ email: string; }>;
|
|
45
|
+
profile?: { email: string; };
|
|
46
|
+
}`.replace(/\s/g, ""));
|
|
47
|
+
});
|
|
48
|
+
it("should convert a named JSON schema top-level object to Typescript", () => {
|
|
49
|
+
expect(new TypescriptConverter({
|
|
50
|
+
$schema: "http://json-schema.org/draft-07/schema#",
|
|
51
|
+
title: "Person",
|
|
52
|
+
type: "object",
|
|
53
|
+
properties: {
|
|
54
|
+
name: { type: "string" },
|
|
55
|
+
age: { type: "number" },
|
|
56
|
+
contacts: {
|
|
57
|
+
type: "array",
|
|
58
|
+
items: {
|
|
59
|
+
type: "object",
|
|
60
|
+
properties: {
|
|
61
|
+
email: { type: "string" },
|
|
62
|
+
},
|
|
63
|
+
required: ["email"],
|
|
64
|
+
},
|
|
65
|
+
},
|
|
66
|
+
profile: {
|
|
67
|
+
type: "object",
|
|
68
|
+
properties: {
|
|
69
|
+
email: { type: "string" },
|
|
70
|
+
},
|
|
71
|
+
required: ["email"],
|
|
72
|
+
},
|
|
73
|
+
},
|
|
74
|
+
required: ["name", "age"],
|
|
75
|
+
}, {
|
|
76
|
+
inlineTypes: true,
|
|
77
|
+
}).code.replace(/\s/g, "")).toEqual(`{ name: string; age: number; contacts?: Array<{ email: string; }>; profile?: { email: string; }; }`.replace(/\s/g, ""));
|
|
78
|
+
});
|
|
79
|
+
it("should convert JSON schema with top-level re-used objects in Typescript", async () => {
|
|
80
|
+
expect(new TypescriptConverter({
|
|
81
|
+
$schema: "http://json-schema.org/draft-07/schema#",
|
|
82
|
+
title: "Person",
|
|
83
|
+
type: "object",
|
|
84
|
+
properties: {
|
|
85
|
+
contacts: {
|
|
86
|
+
type: "array",
|
|
87
|
+
items: {
|
|
88
|
+
type: "object",
|
|
89
|
+
properties: {
|
|
90
|
+
email: { type: "string" },
|
|
91
|
+
},
|
|
92
|
+
required: ["email"],
|
|
93
|
+
},
|
|
94
|
+
},
|
|
95
|
+
profile: {
|
|
96
|
+
type: "object",
|
|
97
|
+
properties: {
|
|
98
|
+
email: { type: "string" },
|
|
99
|
+
},
|
|
100
|
+
required: ["email"],
|
|
101
|
+
},
|
|
102
|
+
contact: {
|
|
103
|
+
type: "object",
|
|
104
|
+
properties: {
|
|
105
|
+
email: { type: "string" },
|
|
106
|
+
},
|
|
107
|
+
required: ["email"],
|
|
108
|
+
},
|
|
109
|
+
email: {
|
|
110
|
+
type: "object",
|
|
111
|
+
properties: {
|
|
112
|
+
email: { type: "string" },
|
|
113
|
+
},
|
|
114
|
+
required: ["email"],
|
|
115
|
+
},
|
|
116
|
+
},
|
|
117
|
+
required: ["name", "age"],
|
|
118
|
+
}, {
|
|
119
|
+
inlineTypes: true,
|
|
120
|
+
}).code.replace(/\s/g, "")).toEqual(`{contacts?:Array<{email:string;}>;profile?:{email:string;};contact?:{email:string;};email?:{email:string;};}`.replace(/\s/g, ""));
|
|
121
|
+
});
|
|
122
|
+
it("should render never type for boolean schema false", () => {
|
|
123
|
+
expect(new TypescriptConverter({
|
|
124
|
+
type: "object",
|
|
125
|
+
properties: {
|
|
126
|
+
forbidden: false,
|
|
127
|
+
},
|
|
128
|
+
}, { inlineTypes: true }).code.replace(/\s/g, "")).toEqual("{ forbidden?: never; }".replace(/\s/g, ""));
|
|
129
|
+
});
|
|
130
|
+
});
|
|
131
|
+
describe("TypescriptConverter - objects (full type defs)", () => {
|
|
132
|
+
it("should convert a simple JSON schema to Typescript", () => {
|
|
133
|
+
expect(new TypescriptConverter({
|
|
134
|
+
type: "object",
|
|
135
|
+
properties: {
|
|
136
|
+
name: { type: "string" },
|
|
137
|
+
age: { type: "number" },
|
|
138
|
+
contacts: {
|
|
139
|
+
type: "array",
|
|
140
|
+
items: {
|
|
141
|
+
type: "object",
|
|
142
|
+
properties: {
|
|
143
|
+
email: { type: "string" },
|
|
144
|
+
},
|
|
145
|
+
required: ["email"],
|
|
146
|
+
},
|
|
147
|
+
},
|
|
148
|
+
profile: {
|
|
149
|
+
type: "object",
|
|
150
|
+
properties: {
|
|
151
|
+
email: { type: "string" },
|
|
152
|
+
},
|
|
153
|
+
required: ["email"],
|
|
154
|
+
},
|
|
155
|
+
},
|
|
156
|
+
required: ["name", "age"],
|
|
157
|
+
}, {}).code.replace(/\s/g, "")).toMatch(`
|
|
158
|
+
export type Contact = { email: string; };
|
|
159
|
+
|
|
160
|
+
export type Profile = { email: string; };
|
|
161
|
+
|
|
162
|
+
export type Root = { name: string; age: number; contacts?: Array<Contact>; profile?: Profile; };
|
|
163
|
+
`.replace(/\s/g, ""));
|
|
164
|
+
});
|
|
165
|
+
it("should convert a named JSON schema top-level object to Typescript", () => {
|
|
166
|
+
expect(new TypescriptConverter({
|
|
167
|
+
$schema: "http://json-schema.org/draft-07/schema#",
|
|
168
|
+
title: "Person",
|
|
169
|
+
type: "object",
|
|
170
|
+
properties: {
|
|
171
|
+
name: { type: "string" },
|
|
172
|
+
age: { type: "number" },
|
|
173
|
+
contacts: {
|
|
174
|
+
type: "array",
|
|
175
|
+
items: {
|
|
176
|
+
type: "object",
|
|
177
|
+
properties: {
|
|
178
|
+
email: { type: "string" },
|
|
179
|
+
},
|
|
180
|
+
required: ["email"],
|
|
181
|
+
},
|
|
182
|
+
},
|
|
183
|
+
profile: {
|
|
184
|
+
type: "object",
|
|
185
|
+
properties: {
|
|
186
|
+
email: { type: "string" },
|
|
187
|
+
},
|
|
188
|
+
required: ["email"],
|
|
189
|
+
},
|
|
190
|
+
},
|
|
191
|
+
required: ["name", "age"],
|
|
192
|
+
}, {}).code.replace(/\s/g, "")).toEqual(`
|
|
193
|
+
export type Contact = { email: string; };
|
|
194
|
+
|
|
195
|
+
export type Profile = { email: string; };
|
|
196
|
+
|
|
197
|
+
export type Person = { name: string; age: number; contacts?: Array<Contact>; profile?: Profile; };
|
|
198
|
+
`.replace(/\s/g, ""));
|
|
199
|
+
});
|
|
200
|
+
it("should convert JSON schema with top-level re-used objects in Typescript", async () => {
|
|
201
|
+
expect(new TypescriptConverter({
|
|
202
|
+
$schema: "http://json-schema.org/draft-07/schema#",
|
|
203
|
+
title: "Person",
|
|
204
|
+
type: "object",
|
|
205
|
+
properties: {
|
|
206
|
+
contacts: {
|
|
207
|
+
type: "array",
|
|
208
|
+
items: {
|
|
209
|
+
type: "object",
|
|
210
|
+
properties: {
|
|
211
|
+
email: { type: "string" },
|
|
212
|
+
},
|
|
213
|
+
required: ["email"],
|
|
214
|
+
},
|
|
215
|
+
},
|
|
216
|
+
profile: {
|
|
217
|
+
type: "object",
|
|
218
|
+
properties: {
|
|
219
|
+
email: { type: "string" },
|
|
220
|
+
},
|
|
221
|
+
required: ["email"],
|
|
222
|
+
},
|
|
223
|
+
contact: {
|
|
224
|
+
type: "object",
|
|
225
|
+
properties: {
|
|
226
|
+
email: { type: "string" },
|
|
227
|
+
},
|
|
228
|
+
required: ["email"],
|
|
229
|
+
},
|
|
230
|
+
email: {
|
|
231
|
+
type: "object",
|
|
232
|
+
properties: {
|
|
233
|
+
email: { type: "string" },
|
|
234
|
+
},
|
|
235
|
+
required: ["email"],
|
|
236
|
+
},
|
|
237
|
+
},
|
|
238
|
+
required: ["name", "age"],
|
|
239
|
+
}, {}).code.replace(/\s/g, "")).toEqual(`
|
|
240
|
+
export type Contact = { email: string; };
|
|
241
|
+
|
|
242
|
+
export type Profile = { email: string; };
|
|
243
|
+
|
|
244
|
+
export type Email = { email: string; };
|
|
245
|
+
|
|
246
|
+
export type Person = { contacts?: Array<Contact>; profile?: Profile; contact?: Contact; email?: Email; };
|
|
247
|
+
`.replace(/\s/g, ""));
|
|
248
|
+
});
|
|
249
|
+
it("should render never type for boolean schema false", () => {
|
|
250
|
+
expect(new TypescriptConverter({
|
|
251
|
+
type: "object",
|
|
252
|
+
properties: {
|
|
253
|
+
forbidden: false,
|
|
254
|
+
},
|
|
255
|
+
}, {}).code.replace(/\s/g, "")).toEqual("export type Root = { forbidden?: never; };".replace(/\s/g, ""));
|
|
256
|
+
});
|
|
257
|
+
});
|
|
258
|
+
//# sourceMappingURL=TypescriptConverter.objects.test.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TypescriptConverter.objects.test.js","sourceRoot":"","sources":["../src/TypescriptConverter.objects.test.ts"],"names":[],"mappings":"AAAA,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