@fluojs/validation 1.0.5 → 2.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/README.ko.md +47 -1
- package/README.md +48 -1
- package/dist/decorators.d.ts +71 -69
- package/dist/decorators.d.ts.map +1 -1
- package/dist/decorators.js +73 -133
- package/dist/internal/decorator-factories.d.ts +12 -0
- package/dist/internal/decorator-factories.d.ts.map +1 -0
- package/dist/internal/decorator-factories.js +32 -0
- package/dist/internal/decorator-metadata.d.ts +7 -0
- package/dist/internal/decorator-metadata.d.ts.map +1 -0
- package/dist/internal/decorator-metadata.js +38 -0
- package/dist/internal/dto-materialization.d.ts +45 -0
- package/dist/internal/dto-materialization.d.ts.map +1 -0
- package/dist/internal/dto-materialization.js +204 -0
- package/dist/internal/dto-metadata-cache.d.ts +17 -0
- package/dist/internal/dto-metadata-cache.d.ts.map +1 -0
- package/dist/internal/dto-metadata-cache.js +49 -0
- package/dist/internal/enum-values.d.ts +2 -0
- package/dist/internal/enum-values.d.ts.map +1 -0
- package/dist/internal/enum-values.js +16 -0
- package/dist/internal/object-utils.d.ts +30 -0
- package/dist/internal/object-utils.d.ts.map +1 -0
- package/dist/internal/object-utils.js +53 -0
- package/dist/internal/rule-handlers.d.ts +19 -0
- package/dist/internal/rule-handlers.d.ts.map +1 -0
- package/dist/internal/rule-handlers.js +209 -0
- package/dist/internal/validation-issues.d.ts +13 -0
- package/dist/internal/validation-issues.d.ts.map +1 -0
- package/dist/internal/validation-issues.js +44 -0
- package/dist/internal/validator-js-adapter.d.ts +5 -0
- package/dist/internal/validator-js-adapter.d.ts.map +1 -0
- package/dist/internal/validator-js-adapter.js +88 -0
- package/dist/mapped-types.d.ts +1 -1
- package/dist/mapped-types.d.ts.map +1 -1
- package/dist/mapped-types.js +1 -1
- package/dist/standard-schema.d.ts +1 -1
- package/dist/standard-schema.d.ts.map +1 -1
- package/dist/types.d.ts +18 -3
- package/dist/types.d.ts.map +1 -1
- package/dist/validation.d.ts +2 -2
- package/dist/validation.d.ts.map +1 -1
- package/dist/validation.js +24 -509
- package/package.json +4 -4
package/dist/decorators.d.ts
CHANGED
|
@@ -1,20 +1,19 @@
|
|
|
1
1
|
import type { Constructor } from '@fluojs/core';
|
|
2
|
-
import type { CustomClassValidator, CustomFieldValidator, CustomValidationDecoratorOptions, ValidationDecoratorOptions } from '@fluojs/core/
|
|
2
|
+
import type { CustomClassValidator, CustomFieldValidator, CustomValidationDecoratorOptions, ValidationDecoratorOptions } from '@fluojs/core/request-pipeline';
|
|
3
|
+
import { type ClassDecoratorFn, type FieldDecoratorFn } from './internal/decorator-metadata.js';
|
|
3
4
|
import { type StandardSchemaV1Like } from './standard-schema.js';
|
|
4
|
-
type ClassDecoratorFn = (value: Function, context: ClassDecoratorContext) => void;
|
|
5
|
-
type FieldDecoratorFn = <This, Value>(value: undefined, context: ClassFieldDecoratorContext<This, Value>) => void;
|
|
6
5
|
type ValidateClassInput = CustomClassValidator | StandardSchemaV1Like;
|
|
7
6
|
/**
|
|
8
7
|
* Validates that the decorated field is a string value.
|
|
9
8
|
*
|
|
10
|
-
* @param options Optional validation behavior (`message`, `
|
|
9
|
+
* @param options Optional validation behavior (`message`, `code`, `each`).
|
|
11
10
|
* @returns A field decorator that registers a string validation rule.
|
|
12
11
|
*/
|
|
13
12
|
export declare function IsString(options?: ValidationDecoratorOptions): FieldDecoratorFn;
|
|
14
13
|
/**
|
|
15
14
|
* Validates that the decorated field is a number value.
|
|
16
15
|
*
|
|
17
|
-
* @param options Optional validation behavior (`message`, `
|
|
16
|
+
* @param options Optional validation behavior (`message`, `code`, `each`, `allowNaN`).
|
|
18
17
|
* @returns A field decorator that registers a number validation rule.
|
|
19
18
|
*/
|
|
20
19
|
export declare function IsNumber(options?: ValidationDecoratorOptions & {
|
|
@@ -23,7 +22,7 @@ export declare function IsNumber(options?: ValidationDecoratorOptions & {
|
|
|
23
22
|
/**
|
|
24
23
|
* Validates that the decorated field is a boolean value.
|
|
25
24
|
*
|
|
26
|
-
* @param options Optional validation behavior (`message`, `
|
|
25
|
+
* @param options Optional validation behavior (`message`, `code`, `each`).
|
|
27
26
|
* @returns A field decorator that registers a boolean validation rule.
|
|
28
27
|
*/
|
|
29
28
|
export declare function IsBoolean(options?: ValidationDecoratorOptions): FieldDecoratorFn;
|
|
@@ -31,21 +30,21 @@ export declare function IsBoolean(options?: ValidationDecoratorOptions): FieldDe
|
|
|
31
30
|
* Applies subsequent validators only when the condition returns `true`.
|
|
32
31
|
*
|
|
33
32
|
* @param validateIf Predicate that decides whether subsequent validators should run.
|
|
34
|
-
* @param options Optional validation behavior (`message`, `
|
|
33
|
+
* @param options Optional validation behavior (`message`, `code`, `each`).
|
|
35
34
|
* @returns A field decorator that adds conditional validation execution.
|
|
36
35
|
*/
|
|
37
36
|
export declare const ValidateIf: (validateIf: (dto: unknown, value: unknown) => boolean | Promise<boolean>, options?: ValidationDecoratorOptions) => FieldDecoratorFn;
|
|
38
37
|
/**
|
|
39
38
|
* Validates that the decorated field is neither `null` nor `undefined`.
|
|
40
39
|
*
|
|
41
|
-
* @param options Optional validation behavior (`message`, `
|
|
40
|
+
* @param options Optional validation behavior (`message`, `code`, `each`).
|
|
42
41
|
* @returns A field decorator that registers a required-value rule.
|
|
43
42
|
*/
|
|
44
43
|
export declare const IsDefined: (options?: ValidationDecoratorOptions) => FieldDecoratorFn;
|
|
45
44
|
/**
|
|
46
45
|
* Skips subsequent validators when the decorated field is `null` or `undefined`.
|
|
47
46
|
*
|
|
48
|
-
* @param options Optional validation behavior (`message`, `
|
|
47
|
+
* @param options Optional validation behavior (`message`, `code`, `each`).
|
|
49
48
|
* @returns A field decorator that registers optional-value semantics.
|
|
50
49
|
*/
|
|
51
50
|
export declare const IsOptional: (options?: ValidationDecoratorOptions) => FieldDecoratorFn;
|
|
@@ -53,7 +52,7 @@ export declare const IsOptional: (options?: ValidationDecoratorOptions) => Field
|
|
|
53
52
|
* Validates that the decorated field strictly equals the expected value.
|
|
54
53
|
*
|
|
55
54
|
* @param value Expected value to compare against the field value.
|
|
56
|
-
* @param options Optional validation behavior (`message`, `
|
|
55
|
+
* @param options Optional validation behavior (`message`, `code`, `each`).
|
|
57
56
|
* @returns A field decorator that registers an equality rule.
|
|
58
57
|
*/
|
|
59
58
|
export declare const Equals: (value: unknown, options?: ValidationDecoratorOptions) => FieldDecoratorFn;
|
|
@@ -61,21 +60,21 @@ export declare const Equals: (value: unknown, options?: ValidationDecoratorOptio
|
|
|
61
60
|
* Validates that the decorated field does not strictly equal the forbidden value.
|
|
62
61
|
*
|
|
63
62
|
* @param value Forbidden value to compare against the field value.
|
|
64
|
-
* @param options Optional validation behavior (`message`, `
|
|
63
|
+
* @param options Optional validation behavior (`message`, `code`, `each`).
|
|
65
64
|
* @returns A field decorator that registers an inequality rule.
|
|
66
65
|
*/
|
|
67
66
|
export declare const NotEquals: (value: unknown, options?: ValidationDecoratorOptions) => FieldDecoratorFn;
|
|
68
67
|
/**
|
|
69
68
|
* Validates that the decorated field is empty.
|
|
70
69
|
*
|
|
71
|
-
* @param options Optional validation behavior (`message`, `
|
|
70
|
+
* @param options Optional validation behavior (`message`, `code`, `each`).
|
|
72
71
|
* @returns A field decorator that registers an empty-value rule.
|
|
73
72
|
*/
|
|
74
73
|
export declare const IsEmpty: (options?: ValidationDecoratorOptions) => FieldDecoratorFn;
|
|
75
74
|
/**
|
|
76
75
|
* Validates that the decorated field is not empty.
|
|
77
76
|
*
|
|
78
|
-
* @param options Optional validation behavior (`message`, `
|
|
77
|
+
* @param options Optional validation behavior (`message`, `code`, `each`).
|
|
79
78
|
* @returns A field decorator that registers a non-empty-value rule.
|
|
80
79
|
*/
|
|
81
80
|
export declare const IsNotEmpty: (options?: ValidationDecoratorOptions) => FieldDecoratorFn;
|
|
@@ -83,7 +82,7 @@ export declare const IsNotEmpty: (options?: ValidationDecoratorOptions) => Field
|
|
|
83
82
|
* Validates that the decorated field is included in the accepted values.
|
|
84
83
|
*
|
|
85
84
|
* @param values Accepted values for the field.
|
|
86
|
-
* @param options Optional validation behavior (`message`, `
|
|
85
|
+
* @param options Optional validation behavior (`message`, `code`, `each`).
|
|
87
86
|
* @returns A field decorator that registers an inclusion rule.
|
|
88
87
|
*/
|
|
89
88
|
export declare const IsIn: (values: readonly unknown[], options?: ValidationDecoratorOptions) => FieldDecoratorFn;
|
|
@@ -91,49 +90,50 @@ export declare const IsIn: (values: readonly unknown[], options?: ValidationDeco
|
|
|
91
90
|
* Validates that the decorated field is not included in the rejected values.
|
|
92
91
|
*
|
|
93
92
|
* @param values Rejected values for the field.
|
|
94
|
-
* @param options Optional validation behavior (`message`, `
|
|
93
|
+
* @param options Optional validation behavior (`message`, `code`, `each`).
|
|
95
94
|
* @returns A field decorator that registers an exclusion rule.
|
|
96
95
|
*/
|
|
97
96
|
export declare const IsNotIn: (values: readonly unknown[], options?: ValidationDecoratorOptions) => FieldDecoratorFn;
|
|
98
97
|
/**
|
|
99
98
|
* Validates that the decorated field is a `Date` value.
|
|
100
99
|
*
|
|
101
|
-
* @param options Optional validation behavior (`message`, `
|
|
100
|
+
* @param options Optional validation behavior (`message`, `code`, `each`).
|
|
102
101
|
* @returns A field decorator that registers a date validation rule.
|
|
103
102
|
*/
|
|
104
103
|
export declare const IsDate: (options?: ValidationDecoratorOptions) => FieldDecoratorFn;
|
|
105
104
|
/**
|
|
106
105
|
* Validates that the decorated field is an array.
|
|
107
106
|
*
|
|
108
|
-
* @param options Optional validation behavior (`message`, `
|
|
107
|
+
* @param options Optional validation behavior (`message`, `code`, `each`).
|
|
109
108
|
* @returns A field decorator that registers an array validation rule.
|
|
110
109
|
*/
|
|
111
110
|
export declare const IsArray: (options?: ValidationDecoratorOptions) => FieldDecoratorFn;
|
|
112
111
|
/**
|
|
113
|
-
* Validates that the decorated field is
|
|
112
|
+
* Validates that the decorated field is a plain object value, including a null-prototype record.
|
|
113
|
+
* Class instances, `Date`, `Map`, and `Set` values are rejected.
|
|
114
114
|
*
|
|
115
|
-
* @param options Optional validation behavior (`message`, `
|
|
115
|
+
* @param options Optional validation behavior (`message`, `code`, `each`).
|
|
116
116
|
* @returns A field decorator that registers an object validation rule.
|
|
117
117
|
*/
|
|
118
118
|
export declare const IsObject: (options?: ValidationDecoratorOptions) => FieldDecoratorFn;
|
|
119
119
|
/**
|
|
120
120
|
* Validates that the decorated field is an integer.
|
|
121
121
|
*
|
|
122
|
-
* @param options Optional validation behavior (`message`, `
|
|
122
|
+
* @param options Optional validation behavior (`message`, `code`, `each`).
|
|
123
123
|
* @returns A field decorator that registers an integer validation rule.
|
|
124
124
|
*/
|
|
125
125
|
export declare const IsInt: (options?: ValidationDecoratorOptions) => FieldDecoratorFn;
|
|
126
126
|
/**
|
|
127
127
|
* Validates that the decorated field is a positive number.
|
|
128
128
|
*
|
|
129
|
-
* @param options Optional validation behavior (`message`, `
|
|
129
|
+
* @param options Optional validation behavior (`message`, `code`, `each`).
|
|
130
130
|
* @returns A field decorator that registers a positive-number rule.
|
|
131
131
|
*/
|
|
132
132
|
export declare const IsPositive: (options?: ValidationDecoratorOptions) => FieldDecoratorFn;
|
|
133
133
|
/**
|
|
134
134
|
* Validates that the decorated field is a negative number.
|
|
135
135
|
*
|
|
136
|
-
* @param options Optional validation behavior (`message`, `
|
|
136
|
+
* @param options Optional validation behavior (`message`, `code`, `each`).
|
|
137
137
|
* @returns A field decorator that registers a negative-number rule.
|
|
138
138
|
*/
|
|
139
139
|
export declare const IsNegative: (options?: ValidationDecoratorOptions) => FieldDecoratorFn;
|
|
@@ -141,7 +141,7 @@ export declare const IsNegative: (options?: ValidationDecoratorOptions) => Field
|
|
|
141
141
|
* Validates that the field value is included in the given enum-like set.
|
|
142
142
|
*
|
|
143
143
|
* @param values Enum object or literal value list that defines the accepted set.
|
|
144
|
-
* @param options Optional validation behavior (`message`, `
|
|
144
|
+
* @param options Optional validation behavior (`message`, `code`, `each`).
|
|
145
145
|
* @returns A field decorator that registers an enum-membership rule.
|
|
146
146
|
*/
|
|
147
147
|
export declare function IsEnum(values: Record<string, unknown> | readonly unknown[], options?: ValidationDecoratorOptions): FieldDecoratorFn;
|
|
@@ -149,7 +149,7 @@ export declare function IsEnum(values: Record<string, unknown> | readonly unknow
|
|
|
149
149
|
* Validates that the decorated field is divisible by the given divisor.
|
|
150
150
|
*
|
|
151
151
|
* @param value Divisor used for the numeric divisibility check.
|
|
152
|
-
* @param options Optional validation behavior (`message`, `
|
|
152
|
+
* @param options Optional validation behavior (`message`, `code`, `each`).
|
|
153
153
|
* @returns A field decorator that registers a divisibility rule.
|
|
154
154
|
*/
|
|
155
155
|
export declare const IsDivisibleBy: (value: number, options?: ValidationDecoratorOptions) => FieldDecoratorFn;
|
|
@@ -157,7 +157,7 @@ export declare const IsDivisibleBy: (value: number, options?: ValidationDecorato
|
|
|
157
157
|
* Validates that the decorated field is greater than or equal to the minimum.
|
|
158
158
|
*
|
|
159
159
|
* @param value Inclusive minimum allowed numeric value.
|
|
160
|
-
* @param options Optional validation behavior (`message`, `
|
|
160
|
+
* @param options Optional validation behavior (`message`, `code`, `each`).
|
|
161
161
|
* @returns A field decorator that registers a minimum-value rule.
|
|
162
162
|
*/
|
|
163
163
|
export declare const Min: (value: number, options?: ValidationDecoratorOptions) => FieldDecoratorFn;
|
|
@@ -165,7 +165,7 @@ export declare const Min: (value: number, options?: ValidationDecoratorOptions)
|
|
|
165
165
|
* Validates that the decorated field is less than or equal to the maximum.
|
|
166
166
|
*
|
|
167
167
|
* @param value Inclusive maximum allowed numeric value.
|
|
168
|
-
* @param options Optional validation behavior (`message`, `
|
|
168
|
+
* @param options Optional validation behavior (`message`, `code`, `each`).
|
|
169
169
|
* @returns A field decorator that registers a maximum-value rule.
|
|
170
170
|
*/
|
|
171
171
|
export declare const Max: (value: number, options?: ValidationDecoratorOptions) => FieldDecoratorFn;
|
|
@@ -173,7 +173,7 @@ export declare const Max: (value: number, options?: ValidationDecoratorOptions)
|
|
|
173
173
|
* Validates that the decorated field is on or after the minimum date.
|
|
174
174
|
*
|
|
175
175
|
* @param value Inclusive minimum allowed date.
|
|
176
|
-
* @param options Optional validation behavior (`message`, `
|
|
176
|
+
* @param options Optional validation behavior (`message`, `code`, `each`).
|
|
177
177
|
* @returns A field decorator that registers a minimum-date rule.
|
|
178
178
|
*/
|
|
179
179
|
export declare const MinDate: (value: Date, options?: ValidationDecoratorOptions) => FieldDecoratorFn;
|
|
@@ -181,7 +181,7 @@ export declare const MinDate: (value: Date, options?: ValidationDecoratorOptions
|
|
|
181
181
|
* Validates that the decorated field is on or before the maximum date.
|
|
182
182
|
*
|
|
183
183
|
* @param value Inclusive maximum allowed date.
|
|
184
|
-
* @param options Optional validation behavior (`message`, `
|
|
184
|
+
* @param options Optional validation behavior (`message`, `code`, `each`).
|
|
185
185
|
* @returns A field decorator that registers a maximum-date rule.
|
|
186
186
|
*/
|
|
187
187
|
export declare const MaxDate: (value: Date, options?: ValidationDecoratorOptions) => FieldDecoratorFn;
|
|
@@ -189,7 +189,7 @@ export declare const MaxDate: (value: Date, options?: ValidationDecoratorOptions
|
|
|
189
189
|
* Validates that the decorated field contains the required substring.
|
|
190
190
|
*
|
|
191
191
|
* @param value Required substring.
|
|
192
|
-
* @param options Optional validation behavior (`message`, `
|
|
192
|
+
* @param options Optional validation behavior (`message`, `code`, `each`).
|
|
193
193
|
* @returns A field decorator that registers a substring-presence rule.
|
|
194
194
|
*/
|
|
195
195
|
export declare const Contains: (value: string, options?: ValidationDecoratorOptions) => FieldDecoratorFn;
|
|
@@ -197,7 +197,7 @@ export declare const Contains: (value: string, options?: ValidationDecoratorOpti
|
|
|
197
197
|
* Validates that the decorated field does not contain the forbidden substring.
|
|
198
198
|
*
|
|
199
199
|
* @param value Forbidden substring.
|
|
200
|
-
* @param options Optional validation behavior (`message`, `
|
|
200
|
+
* @param options Optional validation behavior (`message`, `code`, `each`).
|
|
201
201
|
* @returns A field decorator that registers a substring-exclusion rule.
|
|
202
202
|
*/
|
|
203
203
|
export declare const NotContains: (value: string, options?: ValidationDecoratorOptions) => FieldDecoratorFn;
|
|
@@ -206,15 +206,16 @@ export declare const NotContains: (value: string, options?: ValidationDecoratorO
|
|
|
206
206
|
*
|
|
207
207
|
* @param min Minimum inclusive length.
|
|
208
208
|
* @param max Optional maximum inclusive length.
|
|
209
|
-
* @param options Optional validation behavior (`message`, `
|
|
209
|
+
* @param options Optional validation behavior (`message`, `code`, `each`).
|
|
210
210
|
* @returns A field decorator that registers a bounded-length rule.
|
|
211
211
|
*/
|
|
212
212
|
export declare function Length(min: number, max?: number, options?: ValidationDecoratorOptions): FieldDecoratorFn;
|
|
213
213
|
/**
|
|
214
214
|
* Validates a nested DTO instance using the provided constructor.
|
|
215
|
+
* Arrays, Sets, and Maps are traversed automatically without requiring `each`.
|
|
215
216
|
*
|
|
216
217
|
* @param dto DTO constructor (or lazy constructor factory) used for nested validation/materialization.
|
|
217
|
-
* @param options Optional validation behavior (`message`, `
|
|
218
|
+
* @param options Optional validation behavior (`message`, `code`, `each`); collection traversal is automatic.
|
|
218
219
|
* @returns A field decorator that registers recursive nested DTO validation.
|
|
219
220
|
*/
|
|
220
221
|
export declare function ValidateNested(dto: Constructor | (() => Constructor), options?: ValidationDecoratorOptions): FieldDecoratorFn;
|
|
@@ -222,7 +223,7 @@ export declare function ValidateNested(dto: Constructor | (() => Constructor), o
|
|
|
222
223
|
* Validates that the decorated field has at least the given length.
|
|
223
224
|
*
|
|
224
225
|
* @param value Inclusive minimum string length.
|
|
225
|
-
* @param options Optional validation behavior (`message`, `
|
|
226
|
+
* @param options Optional validation behavior (`message`, `code`, `each`).
|
|
226
227
|
* @returns A field decorator that registers a minimum-length rule.
|
|
227
228
|
*/
|
|
228
229
|
export declare const MinLength: (value: number, options?: ValidationDecoratorOptions) => FieldDecoratorFn;
|
|
@@ -230,7 +231,7 @@ export declare const MinLength: (value: number, options?: ValidationDecoratorOpt
|
|
|
230
231
|
* Validates that the decorated field has at most the given length.
|
|
231
232
|
*
|
|
232
233
|
* @param value Inclusive maximum string length.
|
|
233
|
-
* @param options Optional validation behavior (`message`, `
|
|
234
|
+
* @param options Optional validation behavior (`message`, `code`, `each`).
|
|
234
235
|
* @returns A field decorator that registers a maximum-length rule.
|
|
235
236
|
*/
|
|
236
237
|
export declare const MaxLength: (value: number, options?: ValidationDecoratorOptions) => FieldDecoratorFn;
|
|
@@ -246,196 +247,196 @@ export declare function Matches(pattern: RegExp | string, modifiersOrOptions?: s
|
|
|
246
247
|
/**
|
|
247
248
|
* Validates that the decorated field contains only alphabetic characters.
|
|
248
249
|
*
|
|
249
|
-
* @param options Optional validation behavior (`message`, `
|
|
250
|
+
* @param options Optional validation behavior (`message`, `code`, `each`).
|
|
250
251
|
* @returns A field decorator that registers an alphabetic string rule.
|
|
251
252
|
*/
|
|
252
253
|
export declare const IsAlpha: (options?: ValidationDecoratorOptions) => FieldDecoratorFn;
|
|
253
254
|
/**
|
|
254
255
|
* Validates that the decorated field contains only alphanumeric characters.
|
|
255
256
|
*
|
|
256
|
-
* @param options Optional validation behavior (`message`, `
|
|
257
|
+
* @param options Optional validation behavior (`message`, `code`, `each`).
|
|
257
258
|
* @returns A field decorator that registers an alphanumeric string rule.
|
|
258
259
|
*/
|
|
259
260
|
export declare const IsAlphanumeric: (options?: ValidationDecoratorOptions) => FieldDecoratorFn;
|
|
260
261
|
/**
|
|
261
262
|
* Validates that the decorated field contains only ASCII characters.
|
|
262
263
|
*
|
|
263
|
-
* @param options Optional validation behavior (`message`, `
|
|
264
|
+
* @param options Optional validation behavior (`message`, `code`, `each`).
|
|
264
265
|
* @returns A field decorator that registers an ASCII string rule.
|
|
265
266
|
*/
|
|
266
267
|
export declare const IsAscii: (options?: ValidationDecoratorOptions) => FieldDecoratorFn;
|
|
267
268
|
/**
|
|
268
269
|
* Validates that the decorated field is a Base64 string.
|
|
269
270
|
*
|
|
270
|
-
* @param options Optional validation behavior (`message`, `
|
|
271
|
+
* @param options Optional validation behavior (`message`, `code`, `each`).
|
|
271
272
|
* @returns A field decorator that registers a Base64 string rule.
|
|
272
273
|
*/
|
|
273
274
|
export declare const IsBase64: (options?: ValidationDecoratorOptions) => FieldDecoratorFn;
|
|
274
275
|
/**
|
|
275
276
|
* Validates that the decorated field is a boolean-like string.
|
|
276
277
|
*
|
|
277
|
-
* @param options Optional validation behavior (`message`, `
|
|
278
|
+
* @param options Optional validation behavior (`message`, `code`, `each`).
|
|
278
279
|
* @returns A field decorator that registers a boolean-string rule.
|
|
279
280
|
*/
|
|
280
281
|
export declare const IsBooleanString: (options?: ValidationDecoratorOptions) => FieldDecoratorFn;
|
|
281
282
|
/**
|
|
282
283
|
* Validates that the decorated field is a data URI string.
|
|
283
284
|
*
|
|
284
|
-
* @param options Optional validation behavior (`message`, `
|
|
285
|
+
* @param options Optional validation behavior (`message`, `code`, `each`).
|
|
285
286
|
* @returns A field decorator that registers a data URI rule.
|
|
286
287
|
*/
|
|
287
288
|
export declare const IsDataURI: (options?: ValidationDecoratorOptions) => FieldDecoratorFn;
|
|
288
289
|
/**
|
|
289
290
|
* Validates that the decorated field is a date string.
|
|
290
291
|
*
|
|
291
|
-
* @param options Optional validation behavior (`message`, `
|
|
292
|
+
* @param options Optional validation behavior (`message`, `code`, `each`).
|
|
292
293
|
* @returns A field decorator that registers a date-string rule.
|
|
293
294
|
*/
|
|
294
295
|
export declare const IsDateString: (options?: ValidationDecoratorOptions) => FieldDecoratorFn;
|
|
295
296
|
/**
|
|
296
297
|
* Validates that the decorated field is a decimal string.
|
|
297
298
|
*
|
|
298
|
-
* @param options Optional validation behavior (`message`, `
|
|
299
|
+
* @param options Optional validation behavior (`message`, `code`, `each`).
|
|
299
300
|
* @returns A field decorator that registers a decimal-string rule.
|
|
300
301
|
*/
|
|
301
302
|
export declare const IsDecimal: (options?: ValidationDecoratorOptions) => FieldDecoratorFn;
|
|
302
303
|
/**
|
|
303
304
|
* Validates that the decorated field is an email address.
|
|
304
305
|
*
|
|
305
|
-
* @param options Optional validation behavior (`message`, `
|
|
306
|
+
* @param options Optional validation behavior (`message`, `code`, `each`).
|
|
306
307
|
* @returns A field decorator that registers an email-address rule.
|
|
307
308
|
*/
|
|
308
309
|
export declare const IsEmail: (options?: ValidationDecoratorOptions) => FieldDecoratorFn;
|
|
309
310
|
/**
|
|
310
311
|
* Validates that the decorated field is a fully qualified domain name.
|
|
311
312
|
*
|
|
312
|
-
* @param options Optional validation behavior (`message`, `
|
|
313
|
+
* @param options Optional validation behavior (`message`, `code`, `each`).
|
|
313
314
|
* @returns A field decorator that registers an FQDN rule.
|
|
314
315
|
*/
|
|
315
316
|
export declare const IsFQDN: (options?: ValidationDecoratorOptions) => FieldDecoratorFn;
|
|
316
317
|
/**
|
|
317
318
|
* Validates that the decorated field is a hexadecimal color string.
|
|
318
319
|
*
|
|
319
|
-
* @param options Optional validation behavior (`message`, `
|
|
320
|
+
* @param options Optional validation behavior (`message`, `code`, `each`).
|
|
320
321
|
* @returns A field decorator that registers a hex-color rule.
|
|
321
322
|
*/
|
|
322
323
|
export declare const IsHexColor: (options?: ValidationDecoratorOptions) => FieldDecoratorFn;
|
|
323
324
|
/**
|
|
324
325
|
* Validates that the decorated field is a hexadecimal string.
|
|
325
326
|
*
|
|
326
|
-
* @param options Optional validation behavior (`message`, `
|
|
327
|
+
* @param options Optional validation behavior (`message`, `code`, `each`).
|
|
327
328
|
* @returns A field decorator that registers a hexadecimal string rule.
|
|
328
329
|
*/
|
|
329
330
|
export declare const IsHexadecimal: (options?: ValidationDecoratorOptions) => FieldDecoratorFn;
|
|
330
331
|
/**
|
|
331
332
|
* Validates that the decorated field is a JSON string.
|
|
332
333
|
*
|
|
333
|
-
* @param options Optional validation behavior (`message`, `
|
|
334
|
+
* @param options Optional validation behavior (`message`, `code`, `each`).
|
|
334
335
|
* @returns A field decorator that registers a JSON-string rule.
|
|
335
336
|
*/
|
|
336
337
|
export declare const IsJSON: (options?: ValidationDecoratorOptions) => FieldDecoratorFn;
|
|
337
338
|
/**
|
|
338
339
|
* Validates that the decorated field is a JSON Web Token string.
|
|
339
340
|
*
|
|
340
|
-
* @param options Optional validation behavior (`message`, `
|
|
341
|
+
* @param options Optional validation behavior (`message`, `code`, `each`).
|
|
341
342
|
* @returns A field decorator that registers a JWT-string rule.
|
|
342
343
|
*/
|
|
343
344
|
export declare const IsJWT: (options?: ValidationDecoratorOptions) => FieldDecoratorFn;
|
|
344
345
|
/**
|
|
345
346
|
* Validates that the decorated field is a locale identifier.
|
|
346
347
|
*
|
|
347
|
-
* @param options Optional validation behavior (`message`, `
|
|
348
|
+
* @param options Optional validation behavior (`message`, `code`, `each`).
|
|
348
349
|
* @returns A field decorator that registers a locale-string rule.
|
|
349
350
|
*/
|
|
350
351
|
export declare const IsLocale: (options?: ValidationDecoratorOptions) => FieldDecoratorFn;
|
|
351
352
|
/**
|
|
352
353
|
* Validates that the decorated field is lowercase.
|
|
353
354
|
*
|
|
354
|
-
* @param options Optional validation behavior (`message`, `
|
|
355
|
+
* @param options Optional validation behavior (`message`, `code`, `each`).
|
|
355
356
|
* @returns A field decorator that registers a lowercase-string rule.
|
|
356
357
|
*/
|
|
357
358
|
export declare const IsLowercase: (options?: ValidationDecoratorOptions) => FieldDecoratorFn;
|
|
358
359
|
/**
|
|
359
360
|
* Validates that the decorated field is a magnet URI string.
|
|
360
361
|
*
|
|
361
|
-
* @param options Optional validation behavior (`message`, `
|
|
362
|
+
* @param options Optional validation behavior (`message`, `code`, `each`).
|
|
362
363
|
* @returns A field decorator that registers a magnet URI rule.
|
|
363
364
|
*/
|
|
364
365
|
export declare const IsMagnetURI: (options?: ValidationDecoratorOptions) => FieldDecoratorFn;
|
|
365
366
|
/**
|
|
366
367
|
* Validates that the decorated field is a MIME type string.
|
|
367
368
|
*
|
|
368
|
-
* @param options Optional validation behavior (`message`, `
|
|
369
|
+
* @param options Optional validation behavior (`message`, `code`, `each`).
|
|
369
370
|
* @returns A field decorator that registers a MIME type rule.
|
|
370
371
|
*/
|
|
371
372
|
export declare const IsMimeType: (options?: ValidationDecoratorOptions) => FieldDecoratorFn;
|
|
372
373
|
/**
|
|
373
374
|
* Validates that the decorated field is a MongoDB object ID string.
|
|
374
375
|
*
|
|
375
|
-
* @param options Optional validation behavior (`message`, `
|
|
376
|
+
* @param options Optional validation behavior (`message`, `code`, `each`).
|
|
376
377
|
* @returns A field decorator that registers a MongoDB object ID rule.
|
|
377
378
|
*/
|
|
378
379
|
export declare const IsMongoId: (options?: ValidationDecoratorOptions) => FieldDecoratorFn;
|
|
379
380
|
/**
|
|
380
381
|
* Validates that the decorated field is a numeric string.
|
|
381
382
|
*
|
|
382
|
-
* @param options Optional validation behavior (`message`, `
|
|
383
|
+
* @param options Optional validation behavior (`message`, `code`, `each`).
|
|
383
384
|
* @returns A field decorator that registers a numeric-string rule.
|
|
384
385
|
*/
|
|
385
386
|
export declare const IsNumberString: (options?: ValidationDecoratorOptions) => FieldDecoratorFn;
|
|
386
387
|
/**
|
|
387
388
|
* Validates that the decorated field is a network port string.
|
|
388
389
|
*
|
|
389
|
-
* @param options Optional validation behavior (`message`, `
|
|
390
|
+
* @param options Optional validation behavior (`message`, `code`, `each`).
|
|
390
391
|
* @returns A field decorator that registers a port-string rule.
|
|
391
392
|
*/
|
|
392
393
|
export declare const IsPort: (options?: ValidationDecoratorOptions) => FieldDecoratorFn;
|
|
393
394
|
/**
|
|
394
395
|
* Validates that the decorated field is an RFC 3339 date-time string.
|
|
395
396
|
*
|
|
396
|
-
* @param options Optional validation behavior (`message`, `
|
|
397
|
+
* @param options Optional validation behavior (`message`, `code`, `each`).
|
|
397
398
|
* @returns A field decorator that registers an RFC 3339 string rule.
|
|
398
399
|
*/
|
|
399
400
|
export declare const IsRFC3339: (options?: ValidationDecoratorOptions) => FieldDecoratorFn;
|
|
400
401
|
/**
|
|
401
402
|
* Validates that the decorated field is a semantic version string.
|
|
402
403
|
*
|
|
403
|
-
* @param options Optional validation behavior (`message`, `
|
|
404
|
+
* @param options Optional validation behavior (`message`, `code`, `each`).
|
|
404
405
|
* @returns A field decorator that registers a semantic-version rule.
|
|
405
406
|
*/
|
|
406
407
|
export declare const IsSemVer: (options?: ValidationDecoratorOptions) => FieldDecoratorFn;
|
|
407
408
|
/**
|
|
408
409
|
* Validates that the decorated field is uppercase.
|
|
409
410
|
*
|
|
410
|
-
* @param options Optional validation behavior (`message`, `
|
|
411
|
+
* @param options Optional validation behavior (`message`, `code`, `each`).
|
|
411
412
|
* @returns A field decorator that registers an uppercase-string rule.
|
|
412
413
|
*/
|
|
413
414
|
export declare const IsUppercase: (options?: ValidationDecoratorOptions) => FieldDecoratorFn;
|
|
414
415
|
/**
|
|
415
416
|
* Validates that the decorated field is an ISO 8601 date-time string.
|
|
416
417
|
*
|
|
417
|
-
* @param options Optional validation behavior (`message`, `
|
|
418
|
+
* @param options Optional validation behavior (`message`, `code`, `each`).
|
|
418
419
|
* @returns A field decorator that registers an ISO 8601 string rule.
|
|
419
420
|
*/
|
|
420
421
|
export declare const IsISO8601: (options?: ValidationDecoratorOptions) => FieldDecoratorFn;
|
|
421
422
|
/**
|
|
422
423
|
* Validates that the decorated field is a latitude value.
|
|
423
424
|
*
|
|
424
|
-
* @param options Optional validation behavior (`message`, `
|
|
425
|
+
* @param options Optional validation behavior (`message`, `code`, `each`).
|
|
425
426
|
* @returns A field decorator that registers a latitude rule.
|
|
426
427
|
*/
|
|
427
428
|
export declare const IsLatitude: (options?: ValidationDecoratorOptions) => FieldDecoratorFn;
|
|
428
429
|
/**
|
|
429
430
|
* Validates that the decorated field is a longitude value.
|
|
430
431
|
*
|
|
431
|
-
* @param options Optional validation behavior (`message`, `
|
|
432
|
+
* @param options Optional validation behavior (`message`, `code`, `each`).
|
|
432
433
|
* @returns A field decorator that registers a longitude rule.
|
|
433
434
|
*/
|
|
434
435
|
export declare const IsLongitude: (options?: ValidationDecoratorOptions) => FieldDecoratorFn;
|
|
435
436
|
/**
|
|
436
437
|
* Validates that the decorated field is a latitude/longitude coordinate string.
|
|
437
438
|
*
|
|
438
|
-
* @param options Optional validation behavior (`message`, `
|
|
439
|
+
* @param options Optional validation behavior (`message`, `code`, `each`).
|
|
439
440
|
* @returns A field decorator that registers a latitude/longitude rule.
|
|
440
441
|
*/
|
|
441
442
|
export declare const IsLatLong: (options?: ValidationDecoratorOptions) => FieldDecoratorFn;
|
|
@@ -447,7 +448,7 @@ export declare const IsLatLong: (options?: ValidationDecoratorOptions) => FieldD
|
|
|
447
448
|
* version only.
|
|
448
449
|
*
|
|
449
450
|
* @param version Optional IP version filter (`'4'`, `'6'`, or `'4_or_6'`).
|
|
450
|
-
* @param options Optional validation behavior (`message`, `
|
|
451
|
+
* @param options Optional validation behavior (`message`, `code`, `each`).
|
|
451
452
|
* @returns A field decorator that registers an IP-address rule.
|
|
452
453
|
*/
|
|
453
454
|
export declare function IsIP(version?: '4' | '6' | '4_or_6', options?: ValidationDecoratorOptions): FieldDecoratorFn;
|
|
@@ -516,7 +517,7 @@ export declare function IsCurrency(options?: ValidationDecoratorOptions): FieldD
|
|
|
516
517
|
* Validates that the decorated array contains all required values.
|
|
517
518
|
*
|
|
518
519
|
* @param values Required values that must be present in the array.
|
|
519
|
-
* @param options Optional validation behavior (`message`, `
|
|
520
|
+
* @param options Optional validation behavior (`message`, `code`, `each`).
|
|
520
521
|
* @returns A field decorator that registers an array-contains rule.
|
|
521
522
|
*/
|
|
522
523
|
export declare const ArrayContains: (values: readonly unknown[], options?: ValidationDecoratorOptions) => FieldDecoratorFn;
|
|
@@ -524,14 +525,14 @@ export declare const ArrayContains: (values: readonly unknown[], options?: Valid
|
|
|
524
525
|
* Validates that the decorated array excludes all forbidden values.
|
|
525
526
|
*
|
|
526
527
|
* @param values Forbidden values that must not be present in the array.
|
|
527
|
-
* @param options Optional validation behavior (`message`, `
|
|
528
|
+
* @param options Optional validation behavior (`message`, `code`, `each`).
|
|
528
529
|
* @returns A field decorator that registers an array-exclusion rule.
|
|
529
530
|
*/
|
|
530
531
|
export declare const ArrayNotContains: (values: readonly unknown[], options?: ValidationDecoratorOptions) => FieldDecoratorFn;
|
|
531
532
|
/**
|
|
532
533
|
* Validates that the decorated array is not empty.
|
|
533
534
|
*
|
|
534
|
-
* @param options Optional validation behavior (`message`, `
|
|
535
|
+
* @param options Optional validation behavior (`message`, `code`, `each`).
|
|
535
536
|
* @returns A field decorator that registers a non-empty-array rule.
|
|
536
537
|
*/
|
|
537
538
|
export declare const ArrayNotEmpty: (options?: ValidationDecoratorOptions) => FieldDecoratorFn;
|
|
@@ -539,7 +540,7 @@ export declare const ArrayNotEmpty: (options?: ValidationDecoratorOptions) => Fi
|
|
|
539
540
|
* Validates that the decorated array has at least the given size.
|
|
540
541
|
*
|
|
541
542
|
* @param value Inclusive minimum array length.
|
|
542
|
-
* @param options Optional validation behavior (`message`, `
|
|
543
|
+
* @param options Optional validation behavior (`message`, `code`, `each`).
|
|
543
544
|
* @returns A field decorator that registers a minimum-array-size rule.
|
|
544
545
|
*/
|
|
545
546
|
export declare const ArrayMinSize: (value: number, options?: ValidationDecoratorOptions) => FieldDecoratorFn;
|
|
@@ -547,7 +548,7 @@ export declare const ArrayMinSize: (value: number, options?: ValidationDecorator
|
|
|
547
548
|
* Validates that the decorated array has at most the given size.
|
|
548
549
|
*
|
|
549
550
|
* @param value Inclusive maximum array length.
|
|
550
|
-
* @param options Optional validation behavior (`message`, `
|
|
551
|
+
* @param options Optional validation behavior (`message`, `code`, `each`).
|
|
551
552
|
* @returns A field decorator that registers a maximum-array-size rule.
|
|
552
553
|
*/
|
|
553
554
|
export declare const ArrayMaxSize: (value: number, options?: ValidationDecoratorOptions) => FieldDecoratorFn;
|
|
@@ -562,7 +563,8 @@ export declare function ArrayUnique(selectorOrOptions?: ((value: unknown) => unk
|
|
|
562
563
|
/**
|
|
563
564
|
* Registers a custom field-level validation function.
|
|
564
565
|
*
|
|
565
|
-
* @param validate Custom validator callback invoked with `(
|
|
566
|
+
* @param validate Custom validator callback invoked with `(value, context)`, where `context.dto`
|
|
567
|
+
* is the containing DTO and `context.propertyKey` is the decorated field key.
|
|
566
568
|
* @param options Optional custom-validator metadata (`message`, `code`, `source`, `each`).
|
|
567
569
|
* @returns A field decorator that registers a custom validation rule.
|
|
568
570
|
*/
|
package/dist/decorators.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"decorators.d.ts","sourceRoot":"","sources":["../src/decorators.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"decorators.d.ts","sourceRoot":"","sources":["../src/decorators.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAChD,OAAO,KAAK,EACV,oBAAoB,EACpB,oBAAoB,EACpB,gCAAgC,EAEhC,0BAA0B,EAC3B,MAAM,+BAA+B,CAAC;AAGvC,OAAO,EAAqC,KAAK,gBAAgB,EAAE,KAAK,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AAEnI,OAAO,EAAgE,KAAK,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAE/H,KAAK,kBAAkB,GAAG,oBAAoB,GAAG,oBAAoB,CAAC;AAUtE;;;;;GAKG;AACH,wBAAgB,QAAQ,CAAC,OAAO,CAAC,EAAE,0BAA0B,GAAG,gBAAgB,CAE/E;AAED;;;;;GAKG;AACH,wBAAgB,QAAQ,CAAC,OAAO,CAAC,EAAE,0BAA0B,GAAG;IAAE,QAAQ,CAAC,EAAE,OAAO,CAAA;CAAE,GAAG,gBAAgB,CAExG;AAED;;;;;GAKG;AACH,wBAAgB,SAAS,CAAC,OAAO,CAAC,EAAE,0BAA0B,GAAG,gBAAgB,CAEhF;AAED;;;;;;GAMG;AACH,eAAO,MAAM,UAAU,GACrB,YAAY,CAAC,GAAG,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,KAAK,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,EACxE,UAAU,0BAA0B,qBACgD,CAAC;AAEvF;;;;;GAKG;AACH,eAAO,MAAM,SAAS,4DAAgF,CAAC;AACvG;;;;;GAKG;AACH,eAAO,M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