@forklaunch/validator 0.3.13 → 0.4.1

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.
Files changed (74) hide show
  1. package/lib/index.d.mts +17 -0
  2. package/lib/index.d.ts +17 -2
  3. package/lib/index.js +44 -1
  4. package/lib/index.mjs +17 -0
  5. package/lib/schema.types-Do9dhcdB.d.mts +476 -0
  6. package/lib/schema.types-Do9dhcdB.d.ts +476 -0
  7. package/lib/src/typebox/index.d.mts +213 -0
  8. package/lib/src/typebox/index.d.ts +213 -3
  9. package/lib/src/typebox/index.js +435 -1
  10. package/lib/src/typebox/index.mjs +393 -0
  11. package/lib/src/zod/index.d.mts +106 -0
  12. package/lib/src/zod/index.d.ts +106 -3
  13. package/lib/src/zod/index.js +289 -1
  14. package/lib/src/zod/index.mjs +242 -0
  15. package/lib/tests/utils/mockSchemaValidator.d.mts +69 -0
  16. package/lib/tests/utils/mockSchemaValidator.d.ts +29 -25
  17. package/lib/tests/utils/mockSchemaValidator.js +143 -79
  18. package/lib/tests/utils/mockSchemaValidator.mjs +99 -0
  19. package/package.json +48 -35
  20. package/lib/index.d.ts.map +0 -1
  21. package/lib/src/shared/types/schema.types.d.ts +0 -255
  22. package/lib/src/shared/types/schema.types.d.ts.map +0 -1
  23. package/lib/src/shared/types/schema.types.js +0 -1
  24. package/lib/src/typebox/index.d.ts.map +0 -1
  25. package/lib/src/typebox/staticSchemaValidator.d.ts +0 -99
  26. package/lib/src/typebox/staticSchemaValidator.d.ts.map +0 -1
  27. package/lib/src/typebox/staticSchemaValidator.js +0 -99
  28. package/lib/src/typebox/typeboxSchemaValidator.d.ts +0 -122
  29. package/lib/src/typebox/typeboxSchemaValidator.d.ts.map +0 -1
  30. package/lib/src/typebox/typeboxSchemaValidator.js +0 -362
  31. package/lib/src/typebox/types/schema.types.d.ts +0 -59
  32. package/lib/src/typebox/types/schema.types.d.ts.map +0 -1
  33. package/lib/src/typebox/types/schema.types.js +0 -1
  34. package/lib/src/zod/index.d.ts.map +0 -1
  35. package/lib/src/zod/staticSchemaValidator.d.ts +0 -99
  36. package/lib/src/zod/staticSchemaValidator.d.ts.map +0 -1
  37. package/lib/src/zod/staticSchemaValidator.js +0 -99
  38. package/lib/src/zod/types/schema.types.d.ts +0 -71
  39. package/lib/src/zod/types/schema.types.d.ts.map +0 -1
  40. package/lib/src/zod/types/schema.types.js +0 -1
  41. package/lib/src/zod/zodSchemaValidator.d.ts +0 -110
  42. package/lib/src/zod/zodSchemaValidator.d.ts.map +0 -1
  43. package/lib/src/zod/zodSchemaValidator.js +0 -192
  44. package/lib/tests/typebox/advancedParse.test.d.ts +0 -2
  45. package/lib/tests/typebox/advancedParse.test.d.ts.map +0 -1
  46. package/lib/tests/typebox/advancedParse.test.js +0 -514
  47. package/lib/tests/typebox/largeSchema.test.d.ts +0 -2
  48. package/lib/tests/typebox/largeSchema.test.d.ts.map +0 -1
  49. package/lib/tests/typebox/largeSchema.test.js +0 -150
  50. package/lib/tests/typebox/schemaValidator.test.d.ts +0 -2
  51. package/lib/tests/typebox/schemaValidator.test.d.ts.map +0 -1
  52. package/lib/tests/typebox/schemaValidator.test.js +0 -253
  53. package/lib/tests/typebox/typeEquality.test.d.ts +0 -2
  54. package/lib/tests/typebox/typeEquality.test.d.ts.map +0 -1
  55. package/lib/tests/typebox/typeEquality.test.js +0 -100
  56. package/lib/tests/utils/compare.d.ts +0 -2
  57. package/lib/tests/utils/compare.d.ts.map +0 -1
  58. package/lib/tests/utils/compare.js +0 -8
  59. package/lib/tests/utils/mockSchemaValidator.d.ts.map +0 -1
  60. package/lib/tests/zod/advancedParse.test.d.ts +0 -2
  61. package/lib/tests/zod/advancedParse.test.d.ts.map +0 -1
  62. package/lib/tests/zod/advancedParse.test.js +0 -514
  63. package/lib/tests/zod/largeSchema.test.d.ts +0 -2
  64. package/lib/tests/zod/largeSchema.test.d.ts.map +0 -1
  65. package/lib/tests/zod/largeSchema.test.js +0 -150
  66. package/lib/tests/zod/schemaValidator.test.d.ts +0 -2
  67. package/lib/tests/zod/schemaValidator.test.d.ts.map +0 -1
  68. package/lib/tests/zod/schemaValidator.test.js +0 -205
  69. package/lib/tests/zod/typeEquality.test.d.ts +0 -2
  70. package/lib/tests/zod/typeEquality.test.d.ts.map +0 -1
  71. package/lib/tests/zod/typeEquality.test.js +0 -100
  72. package/lib/vitest.config.d.ts +0 -3
  73. package/lib/vitest.config.d.ts.map +0 -1
  74. package/lib/vitest.config.js +0 -7
@@ -1,253 +0,0 @@
1
- import { Type } from '@sinclair/typebox';
2
- import { array, enum_, isSchema, number, openapi, optional, parse, schemify, string, union, validate } from '../../src/typebox/staticSchemaValidator';
3
- import { compare } from '../utils/compare';
4
- describe('typebox schema validator tests', () => {
5
- let schema;
6
- let schemified;
7
- let expectedSchema;
8
- beforeAll(() => {
9
- schema = {
10
- hello: {
11
- world: string
12
- },
13
- foo: {
14
- bar: number
15
- }
16
- };
17
- schemified = schemify(schema);
18
- expectedSchema = Type.Object({
19
- hello: Type.Object({
20
- world: Type.String()
21
- }),
22
- foo: Type.Object({
23
- bar: Type.Transform(Type.Union([
24
- Type.Number(),
25
- Type.String({ pattern: '^[0-9]+$' }),
26
- Type.Boolean(),
27
- Type.Null(),
28
- Type.Date(),
29
- Type.BigInt()
30
- ], {
31
- errorType: 'number-like',
32
- openapiType: Type.Number()
33
- }))
34
- .Decode((value) => {
35
- if (typeof value === 'string') {
36
- const num = Number(value);
37
- if (isNaN(num)) {
38
- throw new Error('Invalid number');
39
- }
40
- else {
41
- return num;
42
- }
43
- }
44
- return value;
45
- })
46
- .Encode(Number)
47
- })
48
- });
49
- });
50
- test('schemify', async () => {
51
- compare(schemified, expectedSchema);
52
- compare(schemified, schemify({
53
- hello: {
54
- world: string
55
- },
56
- foo: {
57
- bar: number
58
- }
59
- }));
60
- compare(schemified, schemify({
61
- hello: schemify({
62
- world: string
63
- }),
64
- foo: {
65
- bar: number
66
- }
67
- }));
68
- compare(schemified, schemify({
69
- hello: {
70
- world: string
71
- },
72
- foo: schemify({
73
- bar: number
74
- })
75
- }));
76
- compare(schemified, schemify({
77
- hello: schemify({
78
- world: string
79
- }),
80
- foo: schemify({
81
- bar: number
82
- })
83
- }));
84
- });
85
- test('optional', async () => {
86
- const unboxSchemified = optional(schema);
87
- const boxSchemified = optional(schemified);
88
- const schemifiedExpected = Type.Optional(expectedSchema);
89
- compare(unboxSchemified, schemifiedExpected);
90
- compare(boxSchemified, schemifiedExpected);
91
- });
92
- test('array', async () => {
93
- const unboxSchemified = array(schema);
94
- const boxSchemified = array(schemified);
95
- const schemifiedExpected = Type.Array(expectedSchema, {
96
- errorType: 'array of object'
97
- });
98
- compare(unboxSchemified, schemifiedExpected);
99
- compare(boxSchemified, schemifiedExpected);
100
- });
101
- test('union', async () => {
102
- const unboxSchemified = union([
103
- schema,
104
- {
105
- test: string
106
- }
107
- ]);
108
- const unboxSchemified2 = union([
109
- schema,
110
- schemify({
111
- test: string
112
- })
113
- ]);
114
- const boxSchemified = union([
115
- schemified,
116
- schemify({
117
- test: string
118
- })
119
- ]);
120
- const boxSchemified2 = union([
121
- schemified,
122
- {
123
- test: string
124
- }
125
- ]);
126
- const schemifiedExpected = Type.Union([
127
- expectedSchema,
128
- Type.Object({
129
- test: Type.String()
130
- })
131
- ], {
132
- errorType: 'any of object, object',
133
- errorSuffix: true
134
- });
135
- compare(unboxSchemified, schemifiedExpected);
136
- compare(unboxSchemified2, schemifiedExpected);
137
- compare(boxSchemified, schemifiedExpected);
138
- compare(boxSchemified2, schemifiedExpected);
139
- });
140
- test('literal', async () => {
141
- const schemified = schemify({
142
- hello: 'world'
143
- });
144
- compare(schemified, Type.Object({
145
- hello: Type.Literal('world')
146
- }));
147
- });
148
- test('enum', async () => {
149
- let TestSingleEnum;
150
- (function (TestSingleEnum) {
151
- TestSingleEnum["WORLD"] = "world";
152
- })(TestSingleEnum || (TestSingleEnum = {}));
153
- const schemified = enum_(TestSingleEnum);
154
- compare(schemified, Type.Literal('world', {
155
- errorType: 'any of world',
156
- errorSuffix: true
157
- }));
158
- let TestMultipleEnum;
159
- (function (TestMultipleEnum) {
160
- TestMultipleEnum["WORLD"] = "world";
161
- TestMultipleEnum["HELLO"] = "hello";
162
- })(TestMultipleEnum || (TestMultipleEnum = {}));
163
- const schemifiedMultiple = enum_(TestMultipleEnum);
164
- compare(schemifiedMultiple, Type.Union([Type.Literal('world'), Type.Literal('hello')], {
165
- errorType: 'any of world, hello',
166
- errorSuffix: true
167
- }));
168
- });
169
- test('isSchema', () => {
170
- expect(isSchema(Type.String())).toBe(true);
171
- expect(isSchema(Type.Number())).toBe(true);
172
- expect(isSchema(Type.Object({
173
- foo: Type.String()
174
- }))).toBe(true);
175
- expect(isSchema(Type.Array(Type.String()))).toBe(true);
176
- expect(isSchema('not a schema')).toBe(false);
177
- expect(isSchema(42)).toBe(false);
178
- expect(isSchema({})).toBe(false);
179
- expect(isSchema(null)).toBe(false);
180
- expect(isSchema(undefined)).toBe(false);
181
- });
182
- test('validate', async () => {
183
- validate(schemified, {
184
- hello: {
185
- world: 'world'
186
- },
187
- foo: {
188
- bar: 42
189
- }
190
- });
191
- expect(validate(schemified, {
192
- hello: {
193
- world: 55
194
- },
195
- foo: {
196
- bar: 42
197
- }
198
- })).toBe(false);
199
- });
200
- test('parse', () => {
201
- const validParse = parse(schemified, {
202
- hello: {
203
- world: 'world'
204
- },
205
- foo: {
206
- bar: 42
207
- }
208
- });
209
- expect(validParse.ok).toBe(true);
210
- if (validParse.ok) {
211
- compare(validParse.value, {
212
- hello: {
213
- world: 'world'
214
- },
215
- foo: {
216
- bar: 42
217
- }
218
- });
219
- }
220
- const failedParse = parse(schemified, {
221
- hello: {
222
- world: 55
223
- },
224
- foo: {}
225
- });
226
- expect(failedParse.ok).toBe(false);
227
- if (!failedParse.ok) {
228
- expect(failedParse.error)
229
- .toBe(`Validation failed with the following errors:
230
- 1. Path: hello > world
231
- Message: Expected string
232
-
233
- 2. Path: foo > bar
234
- Message: Expected required property
235
-
236
- 3. Path: foo > bar
237
- Message: Expected number-like value`);
238
- }
239
- });
240
- test('openapi', async () => {
241
- const mutation = schemify(schema);
242
- compare(openapi(schema), Type.Object({
243
- hello: Type.Object({
244
- world: Type.String()
245
- }),
246
- foo: Type.Object({
247
- bar: Type.Number()
248
- })
249
- }));
250
- // ensure that no mutation has occurred to schema
251
- compare(schemify(schema), mutation);
252
- });
253
- });
@@ -1,2 +0,0 @@
1
- export declare function assert<T extends never>(): void;
2
- //# sourceMappingURL=typeEquality.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"typeEquality.test.d.ts","sourceRoot":"","sources":["../../../tests/typebox/typeEquality.test.ts"],"names":[],"mappings":"AAgHA,wBAAgB,MAAM,CAAC,CAAC,SAAS,KAAK,UAAM"}
@@ -1,100 +0,0 @@
1
- import { array, bigint, boolean, date, never, nullish, number, optional, schemify, string, symbol, union } from '../../src/typebox/staticSchemaValidator';
2
- const one = array({
3
- name: {
4
- j: union([string, number, date, boolean, bigint, nullish, symbol, never]),
5
- t: optional(union([
6
- array({
7
- y: array(number)
8
- }),
9
- string
10
- ])),
11
- m: {
12
- a: optional(string),
13
- b: number,
14
- c: {
15
- d: string,
16
- e: number
17
- }
18
- }
19
- },
20
- 200: {
21
- j: string
22
- },
23
- m: {
24
- a: true
25
- }
26
- });
27
- const two = array({
28
- name: {
29
- j: union([string, number, date, boolean, bigint, nullish, symbol, never]),
30
- t: optional(union([
31
- array({
32
- y: array(number)
33
- }),
34
- string
35
- ])),
36
- m: schemify({
37
- a: optional(string),
38
- b: number,
39
- c: {
40
- d: string,
41
- e: number
42
- }
43
- })
44
- },
45
- 200: {
46
- j: string
47
- },
48
- m: {
49
- a: true
50
- }
51
- });
52
- const three = schemify(array(schemify({
53
- name: schemify({
54
- j: union([
55
- string,
56
- number,
57
- date,
58
- boolean,
59
- bigint,
60
- nullish,
61
- symbol,
62
- never
63
- ]),
64
- t: optional(union([
65
- array({
66
- y: array(number)
67
- }),
68
- string
69
- ])),
70
- m: schemify({
71
- a: optional(string),
72
- b: number,
73
- c: {
74
- d: string,
75
- e: number
76
- }
77
- })
78
- }),
79
- 200: schemify({
80
- j: string
81
- }),
82
- m: schemify({
83
- a: true
84
- })
85
- })));
86
- export function assert() { }
87
- assert();
88
- assert();
89
- assert();
90
- assert();
91
- const shortOne = {
92
- s: string,
93
- non: number
94
- };
95
- const shortTwo = schemify({
96
- s: string,
97
- non: number
98
- });
99
- assert();
100
- assert();
@@ -1,2 +0,0 @@
1
- export declare const compare: (received: unknown, expected: unknown) => void;
2
- //# sourceMappingURL=compare.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"compare.d.ts","sourceRoot":"","sources":["../../../tests/utils/compare.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,aAAc,OAAO,YAAY,OAAO,SAO3D,CAAC"}
@@ -1,8 +0,0 @@
1
- export const compare = (received, expected) => {
2
- switch (typeof received) {
3
- case 'bigint':
4
- return expect(expected).toEqual(received);
5
- default:
6
- return expect(JSON.stringify(expected)).toEqual(JSON.stringify(received));
7
- }
8
- };
@@ -1 +0,0 @@
1
- {"version":3,"file":"mockSchemaValidator.d.ts","sourceRoot":"","sources":["../../../tests/utils/mockSchemaValidator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAC9C,OAAO,EACL,aAAa,EACb,WAAW,EACZ,MAAM,qCAAqC,CAAC;AAE7C,OAAO,QAAQ,qCAAqC,CAAC;IACnD,UAAU,aAAa,CAAC,CAAC;QACvB,IAAI,EAAE,CAAC,CAAC;KACT;IAED,UAAU,eAAe,CAAC,CAAC;QACzB,IAAI,EAAE,CAAC,CAAC;KACT;CACF;AAED,KAAK,cAAc,CAAC,CAAC,SAAS,SAAS,MAAM,EAAE,IAAI,CAAC,SAAS,SAAS;IACpE,MAAM,CAAC,SAAS,MAAM;IACtB,GA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/zod/advancedParse.test.ts"],"names":[],"mappings":""}