typia 4.1.4 → 4.1.5-dev.20230711

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.
@@ -1,105 +1,105 @@
1
- export type IMetadataTag =
2
- // NUMBER
3
- | IMetadataTag.IType
4
- | IMetadataTag.IMinimum
5
- | IMetadataTag.IMaximum
6
- | IMetadataTag.IExclusiveMinimum
7
- | IMetadataTag.IExclusiveMaximum
8
- | IMetadataTag.IMultipleOf
9
- | IMetadataTag.IStep
10
- // STRING
11
- | IMetadataTag.IFormat
12
- | IMetadataTag.IPattern
13
- | IMetadataTag.ILength
14
- | IMetadataTag.IMinLength
15
- | IMetadataTag.IMaxLength
16
- // ARRAY
17
- | IMetadataTag.IItems
18
- | IMetadataTag.IMinItems
19
- | IMetadataTag.IMaxItems;
20
-
21
- export namespace IMetadataTag {
22
- /* -----------------------------------------------------------
23
- NUMBER
24
- ----------------------------------------------------------- */
25
- export interface IType {
26
- kind: "type";
27
- value: "int" | "uint";
28
- }
29
-
30
- export interface IMinimum {
31
- kind: "minimum";
32
- value: number;
33
- }
34
-
35
- export interface IMaximum {
36
- kind: "maximum";
37
- value: number;
38
- }
39
-
40
- export interface IExclusiveMinimum {
41
- kind: "exclusiveMinimum";
42
- value: number;
43
- }
44
-
45
- export interface IExclusiveMaximum {
46
- kind: "exclusiveMaximum";
47
- value: number;
48
- }
49
-
50
- export interface IMultipleOf {
51
- kind: "multipleOf";
52
- value: number;
53
- }
54
-
55
- export interface IStep {
56
- kind: "step";
57
- value: number;
58
- }
59
-
60
- /* -----------------------------------------------------------
61
- STRING
62
- ----------------------------------------------------------- */
63
- export interface IFormat {
64
- kind: "format";
65
- value: "uuid" | "email" | "url" | "ipv4" | "ipv6" | "date" | "datetime";
66
- }
67
-
68
- export interface IPattern {
69
- kind: "pattern";
70
- value: string;
71
- }
72
-
73
- export interface ILength {
74
- kind: "length";
75
- value: number;
76
- }
77
-
78
- export interface IMinLength {
79
- kind: "minLength";
80
- value: number;
81
- }
82
-
83
- export interface IMaxLength {
84
- kind: "maxLength";
85
- value: number;
86
- }
87
-
88
- /* -----------------------------------------------------------
89
- ARRAY
90
- ----------------------------------------------------------- */
91
- export interface IItems {
92
- kind: "items";
93
- value: number;
94
- }
95
-
96
- export interface IMinItems {
97
- kind: "minItems";
98
- value: number;
99
- }
100
-
101
- export interface IMaxItems {
102
- kind: "maxItems";
103
- value: number;
104
- }
105
- }
1
+ export type IMetadataTag =
2
+ // NUMBER
3
+ | IMetadataTag.IType
4
+ | IMetadataTag.IMinimum
5
+ | IMetadataTag.IMaximum
6
+ | IMetadataTag.IExclusiveMinimum
7
+ | IMetadataTag.IExclusiveMaximum
8
+ | IMetadataTag.IMultipleOf
9
+ | IMetadataTag.IStep
10
+ // STRING
11
+ | IMetadataTag.IFormat
12
+ | IMetadataTag.IPattern
13
+ | IMetadataTag.ILength
14
+ | IMetadataTag.IMinLength
15
+ | IMetadataTag.IMaxLength
16
+ // ARRAY
17
+ | IMetadataTag.IItems
18
+ | IMetadataTag.IMinItems
19
+ | IMetadataTag.IMaxItems;
20
+
21
+ export namespace IMetadataTag {
22
+ /* -----------------------------------------------------------
23
+ NUMBER
24
+ ----------------------------------------------------------- */
25
+ export interface IType {
26
+ kind: "type";
27
+ value: "int" | "uint";
28
+ }
29
+
30
+ export interface IMinimum {
31
+ kind: "minimum";
32
+ value: number;
33
+ }
34
+
35
+ export interface IMaximum {
36
+ kind: "maximum";
37
+ value: number;
38
+ }
39
+
40
+ export interface IExclusiveMinimum {
41
+ kind: "exclusiveMinimum";
42
+ value: number;
43
+ }
44
+
45
+ export interface IExclusiveMaximum {
46
+ kind: "exclusiveMaximum";
47
+ value: number;
48
+ }
49
+
50
+ export interface IMultipleOf {
51
+ kind: "multipleOf";
52
+ value: number;
53
+ }
54
+
55
+ export interface IStep {
56
+ kind: "step";
57
+ value: number;
58
+ }
59
+
60
+ /* -----------------------------------------------------------
61
+ STRING
62
+ ----------------------------------------------------------- */
63
+ export interface IFormat {
64
+ kind: "format";
65
+ value: "uuid" | "email" | "url" | "ipv4" | "ipv6" | "date" | "datetime";
66
+ }
67
+
68
+ export interface IPattern {
69
+ kind: "pattern";
70
+ value: string;
71
+ }
72
+
73
+ export interface ILength {
74
+ kind: "length";
75
+ value: number;
76
+ }
77
+
78
+ export interface IMinLength {
79
+ kind: "minLength";
80
+ value: number;
81
+ }
82
+
83
+ export interface IMaxLength {
84
+ kind: "maxLength";
85
+ value: number;
86
+ }
87
+
88
+ /* -----------------------------------------------------------
89
+ ARRAY
90
+ ----------------------------------------------------------- */
91
+ export interface IItems {
92
+ kind: "items";
93
+ value: number;
94
+ }
95
+
96
+ export interface IMinItems {
97
+ kind: "minItems";
98
+ value: number;
99
+ }
100
+
101
+ export interface IMaxItems {
102
+ kind: "maxItems";
103
+ value: number;
104
+ }
105
+ }