-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathdecorators.ts
69 lines (67 loc) · 1.96 KB
/
decorators.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
import { alpha } from "./decorators/alpha.ts";
import { alphanum } from "./decorators/alphanum.ts";
import { ascii } from "./decorators/ascii.ts";
import { base64 } from "./decorators/base64.ts";
import { between } from "./decorators/between.ts";
import { ceil } from "./decorators/ceil.ts";
import { creditcard } from "./decorators/creditcard.ts";
import { dateformat } from "./decorators/dateformat.ts";
import { email } from "./decorators/email.ts";
import { emptyToNull } from "./decorators/empty_to_null.ts";
import { floor } from "./decorators/floor.ts";
import { hexcolor } from "./decorators/hexcolor.ts";
import { ip } from "./decorators/ip.ts";
import { json } from "./decorators/json.ts";
import { lengthBetween } from "./decorators/length_between.ts";
import { lengthMax } from "./decorators/length_max.ts";
import { lengthMin } from "./decorators/length_min.ts";
import { length } from "./decorators/length.ts";
import { lowercase } from "./decorators/lowercase.ts";
import { macaddress } from "./decorators/macaddress.ts";
import { min } from "./decorators/min.ts";
import { max } from "./decorators/max.ts";
import { port } from "./decorators/port.ts";
import { re } from "./decorators/re.ts";
import { round } from "./decorators/round.ts";
import { stringify } from "./decorators/stringify.ts";
import { toLower } from "./decorators/to_lower.ts";
import { toUpper } from "./decorators/to_upper.ts";
import { trim } from "./decorators/trim.ts";
import { uppercase } from "./decorators/uppercase.ts";
import { url } from "./decorators/url.ts";
import { uuid } from "./decorators/uuid.ts";
export const d = {
alpha,
alphanum,
ascii,
base64,
between,
ceil,
creditcard,
dateformat,
email,
emptyToNull,
floor,
hexcolor,
ip,
json,
lengthBetween,
lengthMax,
lengthMin,
length,
lowercase,
macaddress,
min,
max,
port,
re,
round,
stringify,
toLower,
toUpper,
trim,
uppercase,
url,
uuid,
};
export type PredefinedDecorators = typeof d;