unischema 1.0.1 → 1.2.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 +780 -228
- package/dist/adapters/backend/index.d.mts +2 -1
- package/dist/adapters/backend/index.d.ts +2 -1
- package/dist/adapters/backend/index.js +17 -441
- package/dist/adapters/backend/index.mjs +9 -433
- package/dist/adapters/frontend/index.d.mts +2 -1
- package/dist/adapters/frontend/index.d.ts +2 -1
- package/dist/adapters/frontend/index.js +10 -421
- package/dist/adapters/frontend/index.mjs +8 -419
- package/dist/chunk-5A4ITJVD.mjs +124 -0
- package/dist/chunk-66RFUBVU.js +131 -0
- package/dist/chunk-75YSYC4K.mjs +85 -0
- package/dist/chunk-76BBWQDH.js +90 -0
- package/dist/chunk-7XES4A3M.mjs +237 -0
- package/dist/chunk-BVRXGZLS.js +17 -0
- package/dist/chunk-COMVAVFU.mjs +335 -0
- package/dist/chunk-DT2TQZU7.js +796 -0
- package/dist/chunk-FPCCH55A.js +103 -0
- package/dist/chunk-IUXRLMET.js +206 -0
- package/dist/chunk-JEW6U6CB.js +353 -0
- package/dist/chunk-KZCV5IW4.mjs +97 -0
- package/dist/chunk-KZZ7NVU3.mjs +41 -0
- package/dist/chunk-MFEBMQAU.mjs +779 -0
- package/dist/chunk-OIYG5D2I.js +50 -0
- package/dist/chunk-RW6HDA5H.mjs +194 -0
- package/dist/chunk-TTK77YBI.mjs +15 -0
- package/dist/chunk-TXT36BCE.js +248 -0
- package/dist/index-C17xs-fU.d.mts +140 -0
- package/dist/index-C17xs-fU.d.ts +140 -0
- package/dist/index.d.mts +26 -7
- package/dist/index.d.ts +26 -7
- package/dist/index.js +769 -499
- package/dist/index.mjs +695 -487
- package/dist/{schema-D9DGC9E_.d.ts → schema-DYE8Wz8X.d.mts} +264 -79
- package/dist/{schema-D9DGC9E_.d.mts → schema-Dtp-joeT.d.ts} +264 -79
- package/dist/validators/array.d.mts +15 -0
- package/dist/validators/array.d.ts +15 -0
- package/dist/validators/array.js +31 -0
- package/dist/validators/array.mjs +2 -0
- package/dist/validators/common.d.mts +13 -0
- package/dist/validators/common.d.ts +13 -0
- package/dist/validators/common.js +27 -0
- package/dist/validators/common.mjs +2 -0
- package/dist/validators/date.d.mts +23 -0
- package/dist/validators/date.d.ts +23 -0
- package/dist/validators/date.js +47 -0
- package/dist/validators/date.mjs +2 -0
- package/dist/validators/index.d.mts +46 -0
- package/dist/validators/index.d.ts +46 -0
- package/dist/validators/index.js +256 -0
- package/dist/validators/index.mjs +7 -0
- package/dist/validators/number.d.mts +25 -0
- package/dist/validators/number.d.ts +25 -0
- package/dist/validators/number.js +51 -0
- package/dist/validators/number.mjs +2 -0
- package/dist/validators/object.d.mts +11 -0
- package/dist/validators/object.d.ts +11 -0
- package/dist/validators/object.js +23 -0
- package/dist/validators/object.mjs +2 -0
- package/dist/validators/string.d.mts +37 -0
- package/dist/validators/string.d.ts +37 -0
- package/dist/validators/string.js +75 -0
- package/dist/validators/string.mjs +2 -0
- package/package.json +82 -5
- package/dist/adapters/backend/index.js.map +0 -1
- package/dist/adapters/backend/index.mjs.map +0 -1
- package/dist/adapters/frontend/index.js.map +0 -1
- package/dist/adapters/frontend/index.mjs.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/index.mjs.map +0 -1
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
export { alphaValidator, alphanumericValidator, base64Validator, containsValidator, emailValidator, endsWithValidator, hexValidator, ipAddressValidator, ipv6Validator, jsonValidator, lengthValidator, lowercaseValidator, numericValidator, slugValidator, startsWithValidator, uppercaseValidator, urlValidator } from './string.js';
|
|
2
|
+
export { divisibleByValidator, evenValidator, finiteValidator, latitudeValidator, longitudeValidator, multipleOfValidator, betweenValidator as numberBetweenValidator, oddValidator, percentageValidator, portValidator, safeValidator } from './number.js';
|
|
3
|
+
export { ageValidator, betweenValidator as dateBetweenValidator, thisMonthValidator, thisWeekValidator, thisYearValidator, todayValidator, tomorrowValidator, weekdayValidator, weekendValidator, yesterdayValidator } from './date.js';
|
|
4
|
+
export { compactValidator, emptyValidator, excludesValidator, includesValidator, notEmptyValidator, sortedValidator } from './array.js';
|
|
5
|
+
export { keysValidator, omitValidator, pickValidator, strictValidator } from './object.js';
|
|
6
|
+
export { dependsOnValidator, greaterThanValidator, lessThanValidator, notMatchesValidator, whenValidator } from './common.js';
|
|
7
|
+
import { V as ValidatorContext, a as ValidationError } from '../index-C17xs-fU.js';
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Shared utilities for validators
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Create a validation error
|
|
15
|
+
*/
|
|
16
|
+
declare function createError(context: ValidatorContext, code: string, message: string, soft?: boolean, received?: unknown, expected?: unknown): ValidationError;
|
|
17
|
+
/**
|
|
18
|
+
* Check if value is empty (null, undefined, or empty string)
|
|
19
|
+
*/
|
|
20
|
+
declare function isEmpty(value: unknown): boolean;
|
|
21
|
+
/**
|
|
22
|
+
* Check if value is a valid string
|
|
23
|
+
*/
|
|
24
|
+
declare function isString(value: unknown): value is string;
|
|
25
|
+
/**
|
|
26
|
+
* Check if value is a valid number
|
|
27
|
+
*/
|
|
28
|
+
declare function isNumber(value: unknown): value is number;
|
|
29
|
+
/**
|
|
30
|
+
* Check if value is a valid date
|
|
31
|
+
*/
|
|
32
|
+
declare function isDate(value: unknown): value is Date;
|
|
33
|
+
/**
|
|
34
|
+
* Parse a date from various formats
|
|
35
|
+
*/
|
|
36
|
+
declare function parseDate(value: unknown): Date | null;
|
|
37
|
+
/**
|
|
38
|
+
* Check if value is an array
|
|
39
|
+
*/
|
|
40
|
+
declare function isArray(value: unknown): value is unknown[];
|
|
41
|
+
/**
|
|
42
|
+
* Check if value is a plain object
|
|
43
|
+
*/
|
|
44
|
+
declare function isObject(value: unknown): value is Record<string, unknown>;
|
|
45
|
+
|
|
46
|
+
export { createError, isArray, isDate, isEmpty, isNumber, isObject, isString, parseDate };
|
|
@@ -0,0 +1,256 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunk76BBWQDH_js = require('../chunk-76BBWQDH.js');
|
|
4
|
+
var chunkFPCCH55A_js = require('../chunk-FPCCH55A.js');
|
|
5
|
+
var chunkJEW6U6CB_js = require('../chunk-JEW6U6CB.js');
|
|
6
|
+
var chunkIUXRLMET_js = require('../chunk-IUXRLMET.js');
|
|
7
|
+
var chunkTXT36BCE_js = require('../chunk-TXT36BCE.js');
|
|
8
|
+
var chunk66RFUBVU_js = require('../chunk-66RFUBVU.js');
|
|
9
|
+
var chunkOIYG5D2I_js = require('../chunk-OIYG5D2I.js');
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
Object.defineProperty(exports, "keysValidator", {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
get: function () { return chunk76BBWQDH_js.keysValidator; }
|
|
16
|
+
});
|
|
17
|
+
Object.defineProperty(exports, "omitValidator", {
|
|
18
|
+
enumerable: true,
|
|
19
|
+
get: function () { return chunk76BBWQDH_js.omitValidator; }
|
|
20
|
+
});
|
|
21
|
+
Object.defineProperty(exports, "pickValidator", {
|
|
22
|
+
enumerable: true,
|
|
23
|
+
get: function () { return chunk76BBWQDH_js.pickValidator; }
|
|
24
|
+
});
|
|
25
|
+
Object.defineProperty(exports, "strictValidator", {
|
|
26
|
+
enumerable: true,
|
|
27
|
+
get: function () { return chunk76BBWQDH_js.strictValidator; }
|
|
28
|
+
});
|
|
29
|
+
Object.defineProperty(exports, "dependsOnValidator", {
|
|
30
|
+
enumerable: true,
|
|
31
|
+
get: function () { return chunkFPCCH55A_js.dependsOnValidator; }
|
|
32
|
+
});
|
|
33
|
+
Object.defineProperty(exports, "greaterThanValidator", {
|
|
34
|
+
enumerable: true,
|
|
35
|
+
get: function () { return chunkFPCCH55A_js.greaterThanValidator; }
|
|
36
|
+
});
|
|
37
|
+
Object.defineProperty(exports, "lessThanValidator", {
|
|
38
|
+
enumerable: true,
|
|
39
|
+
get: function () { return chunkFPCCH55A_js.lessThanValidator; }
|
|
40
|
+
});
|
|
41
|
+
Object.defineProperty(exports, "notMatchesValidator", {
|
|
42
|
+
enumerable: true,
|
|
43
|
+
get: function () { return chunkFPCCH55A_js.notMatchesValidator; }
|
|
44
|
+
});
|
|
45
|
+
Object.defineProperty(exports, "whenValidator", {
|
|
46
|
+
enumerable: true,
|
|
47
|
+
get: function () { return chunkFPCCH55A_js.whenValidator; }
|
|
48
|
+
});
|
|
49
|
+
Object.defineProperty(exports, "alphaValidator", {
|
|
50
|
+
enumerable: true,
|
|
51
|
+
get: function () { return chunkJEW6U6CB_js.alphaValidator; }
|
|
52
|
+
});
|
|
53
|
+
Object.defineProperty(exports, "alphanumericValidator", {
|
|
54
|
+
enumerable: true,
|
|
55
|
+
get: function () { return chunkJEW6U6CB_js.alphanumericValidator; }
|
|
56
|
+
});
|
|
57
|
+
Object.defineProperty(exports, "base64Validator", {
|
|
58
|
+
enumerable: true,
|
|
59
|
+
get: function () { return chunkJEW6U6CB_js.base64Validator; }
|
|
60
|
+
});
|
|
61
|
+
Object.defineProperty(exports, "containsValidator", {
|
|
62
|
+
enumerable: true,
|
|
63
|
+
get: function () { return chunkJEW6U6CB_js.containsValidator; }
|
|
64
|
+
});
|
|
65
|
+
Object.defineProperty(exports, "emailValidator", {
|
|
66
|
+
enumerable: true,
|
|
67
|
+
get: function () { return chunkJEW6U6CB_js.emailValidator; }
|
|
68
|
+
});
|
|
69
|
+
Object.defineProperty(exports, "endsWithValidator", {
|
|
70
|
+
enumerable: true,
|
|
71
|
+
get: function () { return chunkJEW6U6CB_js.endsWithValidator; }
|
|
72
|
+
});
|
|
73
|
+
Object.defineProperty(exports, "hexValidator", {
|
|
74
|
+
enumerable: true,
|
|
75
|
+
get: function () { return chunkJEW6U6CB_js.hexValidator; }
|
|
76
|
+
});
|
|
77
|
+
Object.defineProperty(exports, "ipAddressValidator", {
|
|
78
|
+
enumerable: true,
|
|
79
|
+
get: function () { return chunkJEW6U6CB_js.ipAddressValidator; }
|
|
80
|
+
});
|
|
81
|
+
Object.defineProperty(exports, "ipv6Validator", {
|
|
82
|
+
enumerable: true,
|
|
83
|
+
get: function () { return chunkJEW6U6CB_js.ipv6Validator; }
|
|
84
|
+
});
|
|
85
|
+
Object.defineProperty(exports, "jsonValidator", {
|
|
86
|
+
enumerable: true,
|
|
87
|
+
get: function () { return chunkJEW6U6CB_js.jsonValidator; }
|
|
88
|
+
});
|
|
89
|
+
Object.defineProperty(exports, "lengthValidator", {
|
|
90
|
+
enumerable: true,
|
|
91
|
+
get: function () { return chunkJEW6U6CB_js.lengthValidator; }
|
|
92
|
+
});
|
|
93
|
+
Object.defineProperty(exports, "lowercaseValidator", {
|
|
94
|
+
enumerable: true,
|
|
95
|
+
get: function () { return chunkJEW6U6CB_js.lowercaseValidator; }
|
|
96
|
+
});
|
|
97
|
+
Object.defineProperty(exports, "numericValidator", {
|
|
98
|
+
enumerable: true,
|
|
99
|
+
get: function () { return chunkJEW6U6CB_js.numericValidator; }
|
|
100
|
+
});
|
|
101
|
+
Object.defineProperty(exports, "slugValidator", {
|
|
102
|
+
enumerable: true,
|
|
103
|
+
get: function () { return chunkJEW6U6CB_js.slugValidator; }
|
|
104
|
+
});
|
|
105
|
+
Object.defineProperty(exports, "startsWithValidator", {
|
|
106
|
+
enumerable: true,
|
|
107
|
+
get: function () { return chunkJEW6U6CB_js.startsWithValidator; }
|
|
108
|
+
});
|
|
109
|
+
Object.defineProperty(exports, "uppercaseValidator", {
|
|
110
|
+
enumerable: true,
|
|
111
|
+
get: function () { return chunkJEW6U6CB_js.uppercaseValidator; }
|
|
112
|
+
});
|
|
113
|
+
Object.defineProperty(exports, "urlValidator", {
|
|
114
|
+
enumerable: true,
|
|
115
|
+
get: function () { return chunkJEW6U6CB_js.urlValidator; }
|
|
116
|
+
});
|
|
117
|
+
Object.defineProperty(exports, "divisibleByValidator", {
|
|
118
|
+
enumerable: true,
|
|
119
|
+
get: function () { return chunkIUXRLMET_js.divisibleByValidator; }
|
|
120
|
+
});
|
|
121
|
+
Object.defineProperty(exports, "evenValidator", {
|
|
122
|
+
enumerable: true,
|
|
123
|
+
get: function () { return chunkIUXRLMET_js.evenValidator; }
|
|
124
|
+
});
|
|
125
|
+
Object.defineProperty(exports, "finiteValidator", {
|
|
126
|
+
enumerable: true,
|
|
127
|
+
get: function () { return chunkIUXRLMET_js.finiteValidator; }
|
|
128
|
+
});
|
|
129
|
+
Object.defineProperty(exports, "latitudeValidator", {
|
|
130
|
+
enumerable: true,
|
|
131
|
+
get: function () { return chunkIUXRLMET_js.latitudeValidator; }
|
|
132
|
+
});
|
|
133
|
+
Object.defineProperty(exports, "longitudeValidator", {
|
|
134
|
+
enumerable: true,
|
|
135
|
+
get: function () { return chunkIUXRLMET_js.longitudeValidator; }
|
|
136
|
+
});
|
|
137
|
+
Object.defineProperty(exports, "multipleOfValidator", {
|
|
138
|
+
enumerable: true,
|
|
139
|
+
get: function () { return chunkIUXRLMET_js.multipleOfValidator; }
|
|
140
|
+
});
|
|
141
|
+
Object.defineProperty(exports, "numberBetweenValidator", {
|
|
142
|
+
enumerable: true,
|
|
143
|
+
get: function () { return chunkIUXRLMET_js.betweenValidator; }
|
|
144
|
+
});
|
|
145
|
+
Object.defineProperty(exports, "oddValidator", {
|
|
146
|
+
enumerable: true,
|
|
147
|
+
get: function () { return chunkIUXRLMET_js.oddValidator; }
|
|
148
|
+
});
|
|
149
|
+
Object.defineProperty(exports, "percentageValidator", {
|
|
150
|
+
enumerable: true,
|
|
151
|
+
get: function () { return chunkIUXRLMET_js.percentageValidator; }
|
|
152
|
+
});
|
|
153
|
+
Object.defineProperty(exports, "portValidator", {
|
|
154
|
+
enumerable: true,
|
|
155
|
+
get: function () { return chunkIUXRLMET_js.portValidator; }
|
|
156
|
+
});
|
|
157
|
+
Object.defineProperty(exports, "safeValidator", {
|
|
158
|
+
enumerable: true,
|
|
159
|
+
get: function () { return chunkIUXRLMET_js.safeValidator; }
|
|
160
|
+
});
|
|
161
|
+
Object.defineProperty(exports, "ageValidator", {
|
|
162
|
+
enumerable: true,
|
|
163
|
+
get: function () { return chunkTXT36BCE_js.ageValidator; }
|
|
164
|
+
});
|
|
165
|
+
Object.defineProperty(exports, "dateBetweenValidator", {
|
|
166
|
+
enumerable: true,
|
|
167
|
+
get: function () { return chunkTXT36BCE_js.betweenValidator; }
|
|
168
|
+
});
|
|
169
|
+
Object.defineProperty(exports, "thisMonthValidator", {
|
|
170
|
+
enumerable: true,
|
|
171
|
+
get: function () { return chunkTXT36BCE_js.thisMonthValidator; }
|
|
172
|
+
});
|
|
173
|
+
Object.defineProperty(exports, "thisWeekValidator", {
|
|
174
|
+
enumerable: true,
|
|
175
|
+
get: function () { return chunkTXT36BCE_js.thisWeekValidator; }
|
|
176
|
+
});
|
|
177
|
+
Object.defineProperty(exports, "thisYearValidator", {
|
|
178
|
+
enumerable: true,
|
|
179
|
+
get: function () { return chunkTXT36BCE_js.thisYearValidator; }
|
|
180
|
+
});
|
|
181
|
+
Object.defineProperty(exports, "todayValidator", {
|
|
182
|
+
enumerable: true,
|
|
183
|
+
get: function () { return chunkTXT36BCE_js.todayValidator; }
|
|
184
|
+
});
|
|
185
|
+
Object.defineProperty(exports, "tomorrowValidator", {
|
|
186
|
+
enumerable: true,
|
|
187
|
+
get: function () { return chunkTXT36BCE_js.tomorrowValidator; }
|
|
188
|
+
});
|
|
189
|
+
Object.defineProperty(exports, "weekdayValidator", {
|
|
190
|
+
enumerable: true,
|
|
191
|
+
get: function () { return chunkTXT36BCE_js.weekdayValidator; }
|
|
192
|
+
});
|
|
193
|
+
Object.defineProperty(exports, "weekendValidator", {
|
|
194
|
+
enumerable: true,
|
|
195
|
+
get: function () { return chunkTXT36BCE_js.weekendValidator; }
|
|
196
|
+
});
|
|
197
|
+
Object.defineProperty(exports, "yesterdayValidator", {
|
|
198
|
+
enumerable: true,
|
|
199
|
+
get: function () { return chunkTXT36BCE_js.yesterdayValidator; }
|
|
200
|
+
});
|
|
201
|
+
Object.defineProperty(exports, "compactValidator", {
|
|
202
|
+
enumerable: true,
|
|
203
|
+
get: function () { return chunk66RFUBVU_js.compactValidator; }
|
|
204
|
+
});
|
|
205
|
+
Object.defineProperty(exports, "emptyValidator", {
|
|
206
|
+
enumerable: true,
|
|
207
|
+
get: function () { return chunk66RFUBVU_js.emptyValidator; }
|
|
208
|
+
});
|
|
209
|
+
Object.defineProperty(exports, "excludesValidator", {
|
|
210
|
+
enumerable: true,
|
|
211
|
+
get: function () { return chunk66RFUBVU_js.excludesValidator; }
|
|
212
|
+
});
|
|
213
|
+
Object.defineProperty(exports, "includesValidator", {
|
|
214
|
+
enumerable: true,
|
|
215
|
+
get: function () { return chunk66RFUBVU_js.includesValidator; }
|
|
216
|
+
});
|
|
217
|
+
Object.defineProperty(exports, "notEmptyValidator", {
|
|
218
|
+
enumerable: true,
|
|
219
|
+
get: function () { return chunk66RFUBVU_js.notEmptyValidator; }
|
|
220
|
+
});
|
|
221
|
+
Object.defineProperty(exports, "sortedValidator", {
|
|
222
|
+
enumerable: true,
|
|
223
|
+
get: function () { return chunk66RFUBVU_js.sortedValidator; }
|
|
224
|
+
});
|
|
225
|
+
Object.defineProperty(exports, "createError", {
|
|
226
|
+
enumerable: true,
|
|
227
|
+
get: function () { return chunkOIYG5D2I_js.createError; }
|
|
228
|
+
});
|
|
229
|
+
Object.defineProperty(exports, "isArray", {
|
|
230
|
+
enumerable: true,
|
|
231
|
+
get: function () { return chunkOIYG5D2I_js.isArray; }
|
|
232
|
+
});
|
|
233
|
+
Object.defineProperty(exports, "isDate", {
|
|
234
|
+
enumerable: true,
|
|
235
|
+
get: function () { return chunkOIYG5D2I_js.isDate; }
|
|
236
|
+
});
|
|
237
|
+
Object.defineProperty(exports, "isEmpty", {
|
|
238
|
+
enumerable: true,
|
|
239
|
+
get: function () { return chunkOIYG5D2I_js.isEmpty; }
|
|
240
|
+
});
|
|
241
|
+
Object.defineProperty(exports, "isNumber", {
|
|
242
|
+
enumerable: true,
|
|
243
|
+
get: function () { return chunkOIYG5D2I_js.isNumber; }
|
|
244
|
+
});
|
|
245
|
+
Object.defineProperty(exports, "isObject", {
|
|
246
|
+
enumerable: true,
|
|
247
|
+
get: function () { return chunkOIYG5D2I_js.isObject; }
|
|
248
|
+
});
|
|
249
|
+
Object.defineProperty(exports, "isString", {
|
|
250
|
+
enumerable: true,
|
|
251
|
+
get: function () { return chunkOIYG5D2I_js.isString; }
|
|
252
|
+
});
|
|
253
|
+
Object.defineProperty(exports, "parseDate", {
|
|
254
|
+
enumerable: true,
|
|
255
|
+
get: function () { return chunkOIYG5D2I_js.parseDate; }
|
|
256
|
+
});
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export { keysValidator, omitValidator, pickValidator, strictValidator } from '../chunk-75YSYC4K.mjs';
|
|
2
|
+
export { dependsOnValidator, greaterThanValidator, lessThanValidator, notMatchesValidator, whenValidator } from '../chunk-KZCV5IW4.mjs';
|
|
3
|
+
export { alphaValidator, alphanumericValidator, base64Validator, containsValidator, emailValidator, endsWithValidator, hexValidator, ipAddressValidator, ipv6Validator, jsonValidator, lengthValidator, lowercaseValidator, numericValidator, slugValidator, startsWithValidator, uppercaseValidator, urlValidator } from '../chunk-COMVAVFU.mjs';
|
|
4
|
+
export { divisibleByValidator, evenValidator, finiteValidator, latitudeValidator, longitudeValidator, multipleOfValidator, betweenValidator as numberBetweenValidator, oddValidator, percentageValidator, portValidator, safeValidator } from '../chunk-RW6HDA5H.mjs';
|
|
5
|
+
export { ageValidator, betweenValidator as dateBetweenValidator, thisMonthValidator, thisWeekValidator, thisYearValidator, todayValidator, tomorrowValidator, weekdayValidator, weekendValidator, yesterdayValidator } from '../chunk-7XES4A3M.mjs';
|
|
6
|
+
export { compactValidator, emptyValidator, excludesValidator, includesValidator, notEmptyValidator, sortedValidator } from '../chunk-5A4ITJVD.mjs';
|
|
7
|
+
export { createError, isArray, isDate, isEmpty, isNumber, isObject, isString, parseDate } from '../chunk-KZZ7NVU3.mjs';
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { f as ValidatorFn } from '../index-C17xs-fU.mjs';
|
|
2
|
+
|
|
3
|
+
declare const portValidator: ValidatorFn;
|
|
4
|
+
|
|
5
|
+
declare const latitudeValidator: ValidatorFn;
|
|
6
|
+
|
|
7
|
+
declare const longitudeValidator: ValidatorFn;
|
|
8
|
+
|
|
9
|
+
declare const percentageValidator: ValidatorFn;
|
|
10
|
+
|
|
11
|
+
declare const betweenValidator: ValidatorFn;
|
|
12
|
+
|
|
13
|
+
declare const divisibleByValidator: ValidatorFn;
|
|
14
|
+
|
|
15
|
+
declare const multipleOfValidator: ValidatorFn;
|
|
16
|
+
|
|
17
|
+
declare const evenValidator: ValidatorFn;
|
|
18
|
+
|
|
19
|
+
declare const oddValidator: ValidatorFn;
|
|
20
|
+
|
|
21
|
+
declare const safeValidator: ValidatorFn;
|
|
22
|
+
|
|
23
|
+
declare const finiteValidator: ValidatorFn;
|
|
24
|
+
|
|
25
|
+
export { betweenValidator, divisibleByValidator, evenValidator, finiteValidator, latitudeValidator, longitudeValidator, multipleOfValidator, oddValidator, percentageValidator, portValidator, safeValidator };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { f as ValidatorFn } from '../index-C17xs-fU.js';
|
|
2
|
+
|
|
3
|
+
declare const portValidator: ValidatorFn;
|
|
4
|
+
|
|
5
|
+
declare const latitudeValidator: ValidatorFn;
|
|
6
|
+
|
|
7
|
+
declare const longitudeValidator: ValidatorFn;
|
|
8
|
+
|
|
9
|
+
declare const percentageValidator: ValidatorFn;
|
|
10
|
+
|
|
11
|
+
declare const betweenValidator: ValidatorFn;
|
|
12
|
+
|
|
13
|
+
declare const divisibleByValidator: ValidatorFn;
|
|
14
|
+
|
|
15
|
+
declare const multipleOfValidator: ValidatorFn;
|
|
16
|
+
|
|
17
|
+
declare const evenValidator: ValidatorFn;
|
|
18
|
+
|
|
19
|
+
declare const oddValidator: ValidatorFn;
|
|
20
|
+
|
|
21
|
+
declare const safeValidator: ValidatorFn;
|
|
22
|
+
|
|
23
|
+
declare const finiteValidator: ValidatorFn;
|
|
24
|
+
|
|
25
|
+
export { betweenValidator, divisibleByValidator, evenValidator, finiteValidator, latitudeValidator, longitudeValidator, multipleOfValidator, oddValidator, percentageValidator, portValidator, safeValidator };
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkIUXRLMET_js = require('../chunk-IUXRLMET.js');
|
|
4
|
+
require('../chunk-OIYG5D2I.js');
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
Object.defineProperty(exports, "betweenValidator", {
|
|
9
|
+
enumerable: true,
|
|
10
|
+
get: function () { return chunkIUXRLMET_js.betweenValidator; }
|
|
11
|
+
});
|
|
12
|
+
Object.defineProperty(exports, "divisibleByValidator", {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function () { return chunkIUXRLMET_js.divisibleByValidator; }
|
|
15
|
+
});
|
|
16
|
+
Object.defineProperty(exports, "evenValidator", {
|
|
17
|
+
enumerable: true,
|
|
18
|
+
get: function () { return chunkIUXRLMET_js.evenValidator; }
|
|
19
|
+
});
|
|
20
|
+
Object.defineProperty(exports, "finiteValidator", {
|
|
21
|
+
enumerable: true,
|
|
22
|
+
get: function () { return chunkIUXRLMET_js.finiteValidator; }
|
|
23
|
+
});
|
|
24
|
+
Object.defineProperty(exports, "latitudeValidator", {
|
|
25
|
+
enumerable: true,
|
|
26
|
+
get: function () { return chunkIUXRLMET_js.latitudeValidator; }
|
|
27
|
+
});
|
|
28
|
+
Object.defineProperty(exports, "longitudeValidator", {
|
|
29
|
+
enumerable: true,
|
|
30
|
+
get: function () { return chunkIUXRLMET_js.longitudeValidator; }
|
|
31
|
+
});
|
|
32
|
+
Object.defineProperty(exports, "multipleOfValidator", {
|
|
33
|
+
enumerable: true,
|
|
34
|
+
get: function () { return chunkIUXRLMET_js.multipleOfValidator; }
|
|
35
|
+
});
|
|
36
|
+
Object.defineProperty(exports, "oddValidator", {
|
|
37
|
+
enumerable: true,
|
|
38
|
+
get: function () { return chunkIUXRLMET_js.oddValidator; }
|
|
39
|
+
});
|
|
40
|
+
Object.defineProperty(exports, "percentageValidator", {
|
|
41
|
+
enumerable: true,
|
|
42
|
+
get: function () { return chunkIUXRLMET_js.percentageValidator; }
|
|
43
|
+
});
|
|
44
|
+
Object.defineProperty(exports, "portValidator", {
|
|
45
|
+
enumerable: true,
|
|
46
|
+
get: function () { return chunkIUXRLMET_js.portValidator; }
|
|
47
|
+
});
|
|
48
|
+
Object.defineProperty(exports, "safeValidator", {
|
|
49
|
+
enumerable: true,
|
|
50
|
+
get: function () { return chunkIUXRLMET_js.safeValidator; }
|
|
51
|
+
});
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { f as ValidatorFn } from '../index-C17xs-fU.mjs';
|
|
2
|
+
|
|
3
|
+
declare const keysValidator: ValidatorFn;
|
|
4
|
+
|
|
5
|
+
declare const pickValidator: ValidatorFn;
|
|
6
|
+
|
|
7
|
+
declare const omitValidator: ValidatorFn;
|
|
8
|
+
|
|
9
|
+
declare const strictValidator: ValidatorFn;
|
|
10
|
+
|
|
11
|
+
export { keysValidator, omitValidator, pickValidator, strictValidator };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { f as ValidatorFn } from '../index-C17xs-fU.js';
|
|
2
|
+
|
|
3
|
+
declare const keysValidator: ValidatorFn;
|
|
4
|
+
|
|
5
|
+
declare const pickValidator: ValidatorFn;
|
|
6
|
+
|
|
7
|
+
declare const omitValidator: ValidatorFn;
|
|
8
|
+
|
|
9
|
+
declare const strictValidator: ValidatorFn;
|
|
10
|
+
|
|
11
|
+
export { keysValidator, omitValidator, pickValidator, strictValidator };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunk76BBWQDH_js = require('../chunk-76BBWQDH.js');
|
|
4
|
+
require('../chunk-OIYG5D2I.js');
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
Object.defineProperty(exports, "keysValidator", {
|
|
9
|
+
enumerable: true,
|
|
10
|
+
get: function () { return chunk76BBWQDH_js.keysValidator; }
|
|
11
|
+
});
|
|
12
|
+
Object.defineProperty(exports, "omitValidator", {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function () { return chunk76BBWQDH_js.omitValidator; }
|
|
15
|
+
});
|
|
16
|
+
Object.defineProperty(exports, "pickValidator", {
|
|
17
|
+
enumerable: true,
|
|
18
|
+
get: function () { return chunk76BBWQDH_js.pickValidator; }
|
|
19
|
+
});
|
|
20
|
+
Object.defineProperty(exports, "strictValidator", {
|
|
21
|
+
enumerable: true,
|
|
22
|
+
get: function () { return chunk76BBWQDH_js.strictValidator; }
|
|
23
|
+
});
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { f as ValidatorFn } from '../index-C17xs-fU.mjs';
|
|
2
|
+
|
|
3
|
+
declare const emailValidator: ValidatorFn;
|
|
4
|
+
|
|
5
|
+
declare const urlValidator: ValidatorFn;
|
|
6
|
+
|
|
7
|
+
declare const ipAddressValidator: ValidatorFn;
|
|
8
|
+
|
|
9
|
+
declare const ipv6Validator: ValidatorFn;
|
|
10
|
+
|
|
11
|
+
declare const alphaValidator: ValidatorFn;
|
|
12
|
+
|
|
13
|
+
declare const alphanumericValidator: ValidatorFn;
|
|
14
|
+
|
|
15
|
+
declare const numericValidator: ValidatorFn;
|
|
16
|
+
|
|
17
|
+
declare const lowercaseValidator: ValidatorFn;
|
|
18
|
+
|
|
19
|
+
declare const uppercaseValidator: ValidatorFn;
|
|
20
|
+
|
|
21
|
+
declare const slugValidator: ValidatorFn;
|
|
22
|
+
|
|
23
|
+
declare const hexValidator: ValidatorFn;
|
|
24
|
+
|
|
25
|
+
declare const base64Validator: ValidatorFn;
|
|
26
|
+
|
|
27
|
+
declare const jsonValidator: ValidatorFn;
|
|
28
|
+
|
|
29
|
+
declare const lengthValidator: ValidatorFn;
|
|
30
|
+
|
|
31
|
+
declare const containsValidator: ValidatorFn;
|
|
32
|
+
|
|
33
|
+
declare const startsWithValidator: ValidatorFn;
|
|
34
|
+
|
|
35
|
+
declare const endsWithValidator: ValidatorFn;
|
|
36
|
+
|
|
37
|
+
export { alphaValidator, alphanumericValidator, base64Validator, containsValidator, emailValidator, endsWithValidator, hexValidator, ipAddressValidator, ipv6Validator, jsonValidator, lengthValidator, lowercaseValidator, numericValidator, slugValidator, startsWithValidator, uppercaseValidator, urlValidator };
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { f as ValidatorFn } from '../index-C17xs-fU.js';
|
|
2
|
+
|
|
3
|
+
declare const emailValidator: ValidatorFn;
|
|
4
|
+
|
|
5
|
+
declare const urlValidator: ValidatorFn;
|
|
6
|
+
|
|
7
|
+
declare const ipAddressValidator: ValidatorFn;
|
|
8
|
+
|
|
9
|
+
declare const ipv6Validator: ValidatorFn;
|
|
10
|
+
|
|
11
|
+
declare const alphaValidator: ValidatorFn;
|
|
12
|
+
|
|
13
|
+
declare const alphanumericValidator: ValidatorFn;
|
|
14
|
+
|
|
15
|
+
declare const numericValidator: ValidatorFn;
|
|
16
|
+
|
|
17
|
+
declare const lowercaseValidator: ValidatorFn;
|
|
18
|
+
|
|
19
|
+
declare const uppercaseValidator: ValidatorFn;
|
|
20
|
+
|
|
21
|
+
declare const slugValidator: ValidatorFn;
|
|
22
|
+
|
|
23
|
+
declare const hexValidator: ValidatorFn;
|
|
24
|
+
|
|
25
|
+
declare const base64Validator: ValidatorFn;
|
|
26
|
+
|
|
27
|
+
declare const jsonValidator: ValidatorFn;
|
|
28
|
+
|
|
29
|
+
declare const lengthValidator: ValidatorFn;
|
|
30
|
+
|
|
31
|
+
declare const containsValidator: ValidatorFn;
|
|
32
|
+
|
|
33
|
+
declare const startsWithValidator: ValidatorFn;
|
|
34
|
+
|
|
35
|
+
declare const endsWithValidator: ValidatorFn;
|
|
36
|
+
|
|
37
|
+
export { alphaValidator, alphanumericValidator, base64Validator, containsValidator, emailValidator, endsWithValidator, hexValidator, ipAddressValidator, ipv6Validator, jsonValidator, lengthValidator, lowercaseValidator, numericValidator, slugValidator, startsWithValidator, uppercaseValidator, urlValidator };
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkJEW6U6CB_js = require('../chunk-JEW6U6CB.js');
|
|
4
|
+
require('../chunk-OIYG5D2I.js');
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
Object.defineProperty(exports, "alphaValidator", {
|
|
9
|
+
enumerable: true,
|
|
10
|
+
get: function () { return chunkJEW6U6CB_js.alphaValidator; }
|
|
11
|
+
});
|
|
12
|
+
Object.defineProperty(exports, "alphanumericValidator", {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function () { return chunkJEW6U6CB_js.alphanumericValidator; }
|
|
15
|
+
});
|
|
16
|
+
Object.defineProperty(exports, "base64Validator", {
|
|
17
|
+
enumerable: true,
|
|
18
|
+
get: function () { return chunkJEW6U6CB_js.base64Validator; }
|
|
19
|
+
});
|
|
20
|
+
Object.defineProperty(exports, "containsValidator", {
|
|
21
|
+
enumerable: true,
|
|
22
|
+
get: function () { return chunkJEW6U6CB_js.containsValidator; }
|
|
23
|
+
});
|
|
24
|
+
Object.defineProperty(exports, "emailValidator", {
|
|
25
|
+
enumerable: true,
|
|
26
|
+
get: function () { return chunkJEW6U6CB_js.emailValidator; }
|
|
27
|
+
});
|
|
28
|
+
Object.defineProperty(exports, "endsWithValidator", {
|
|
29
|
+
enumerable: true,
|
|
30
|
+
get: function () { return chunkJEW6U6CB_js.endsWithValidator; }
|
|
31
|
+
});
|
|
32
|
+
Object.defineProperty(exports, "hexValidator", {
|
|
33
|
+
enumerable: true,
|
|
34
|
+
get: function () { return chunkJEW6U6CB_js.hexValidator; }
|
|
35
|
+
});
|
|
36
|
+
Object.defineProperty(exports, "ipAddressValidator", {
|
|
37
|
+
enumerable: true,
|
|
38
|
+
get: function () { return chunkJEW6U6CB_js.ipAddressValidator; }
|
|
39
|
+
});
|
|
40
|
+
Object.defineProperty(exports, "ipv6Validator", {
|
|
41
|
+
enumerable: true,
|
|
42
|
+
get: function () { return chunkJEW6U6CB_js.ipv6Validator; }
|
|
43
|
+
});
|
|
44
|
+
Object.defineProperty(exports, "jsonValidator", {
|
|
45
|
+
enumerable: true,
|
|
46
|
+
get: function () { return chunkJEW6U6CB_js.jsonValidator; }
|
|
47
|
+
});
|
|
48
|
+
Object.defineProperty(exports, "lengthValidator", {
|
|
49
|
+
enumerable: true,
|
|
50
|
+
get: function () { return chunkJEW6U6CB_js.lengthValidator; }
|
|
51
|
+
});
|
|
52
|
+
Object.defineProperty(exports, "lowercaseValidator", {
|
|
53
|
+
enumerable: true,
|
|
54
|
+
get: function () { return chunkJEW6U6CB_js.lowercaseValidator; }
|
|
55
|
+
});
|
|
56
|
+
Object.defineProperty(exports, "numericValidator", {
|
|
57
|
+
enumerable: true,
|
|
58
|
+
get: function () { return chunkJEW6U6CB_js.numericValidator; }
|
|
59
|
+
});
|
|
60
|
+
Object.defineProperty(exports, "slugValidator", {
|
|
61
|
+
enumerable: true,
|
|
62
|
+
get: function () { return chunkJEW6U6CB_js.slugValidator; }
|
|
63
|
+
});
|
|
64
|
+
Object.defineProperty(exports, "startsWithValidator", {
|
|
65
|
+
enumerable: true,
|
|
66
|
+
get: function () { return chunkJEW6U6CB_js.startsWithValidator; }
|
|
67
|
+
});
|
|
68
|
+
Object.defineProperty(exports, "uppercaseValidator", {
|
|
69
|
+
enumerable: true,
|
|
70
|
+
get: function () { return chunkJEW6U6CB_js.uppercaseValidator; }
|
|
71
|
+
});
|
|
72
|
+
Object.defineProperty(exports, "urlValidator", {
|
|
73
|
+
enumerable: true,
|
|
74
|
+
get: function () { return chunkJEW6U6CB_js.urlValidator; }
|
|
75
|
+
});
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export { alphaValidator, alphanumericValidator, base64Validator, containsValidator, emailValidator, endsWithValidator, hexValidator, ipAddressValidator, ipv6Validator, jsonValidator, lengthValidator, lowercaseValidator, numericValidator, slugValidator, startsWithValidator, uppercaseValidator, urlValidator } from '../chunk-COMVAVFU.mjs';
|
|
2
|
+
import '../chunk-KZZ7NVU3.mjs';
|