@fiado/type-kit 1.4.26 → 1.4.27
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.
|
@@ -17,40 +17,48 @@ exports.ProductDetail = ProductDetail;
|
|
|
17
17
|
__decorate([
|
|
18
18
|
(0, class_validator_1.IsOptional)(),
|
|
19
19
|
(0, class_validator_1.IsString)(),
|
|
20
|
+
(0, class_validator_1.IsEmpty)(),
|
|
20
21
|
__metadata("design:type", String)
|
|
21
22
|
], ProductDetail.prototype, "sourceName", void 0);
|
|
22
23
|
__decorate([
|
|
23
24
|
(0, class_validator_1.IsOptional)(),
|
|
24
25
|
(0, class_validator_1.IsString)(),
|
|
26
|
+
(0, class_validator_1.IsEmpty)(),
|
|
25
27
|
__metadata("design:type", String)
|
|
26
28
|
], ProductDetail.prototype, "sourceNumber", void 0);
|
|
27
29
|
__decorate([
|
|
28
30
|
(0, class_validator_1.IsOptional)(),
|
|
29
31
|
(0, class_validator_1.IsString)(),
|
|
32
|
+
(0, class_validator_1.IsEmpty)(),
|
|
30
33
|
__metadata("design:type", String)
|
|
31
34
|
], ProductDetail.prototype, "sourceBankName", void 0);
|
|
32
35
|
__decorate([
|
|
33
36
|
(0, class_validator_1.IsOptional)(),
|
|
34
37
|
(0, class_validator_1.IsString)(),
|
|
38
|
+
(0, class_validator_1.IsEmpty)(),
|
|
35
39
|
__metadata("design:type", String)
|
|
36
40
|
], ProductDetail.prototype, "targetName", void 0);
|
|
37
41
|
__decorate([
|
|
38
42
|
(0, class_validator_1.IsOptional)(),
|
|
39
43
|
(0, class_validator_1.IsString)(),
|
|
44
|
+
(0, class_validator_1.IsEmpty)(),
|
|
40
45
|
__metadata("design:type", String)
|
|
41
46
|
], ProductDetail.prototype, "targetNumber", void 0);
|
|
42
47
|
__decorate([
|
|
43
48
|
(0, class_validator_1.IsOptional)(),
|
|
44
49
|
(0, class_validator_1.IsString)(),
|
|
50
|
+
(0, class_validator_1.IsEmpty)(),
|
|
45
51
|
__metadata("design:type", String)
|
|
46
52
|
], ProductDetail.prototype, "targetBankName", void 0);
|
|
47
53
|
__decorate([
|
|
48
54
|
(0, class_validator_1.IsOptional)(),
|
|
49
55
|
(0, class_validator_1.IsString)(),
|
|
56
|
+
(0, class_validator_1.IsEmpty)(),
|
|
50
57
|
__metadata("design:type", String)
|
|
51
58
|
], ProductDetail.prototype, "trackingNumber", void 0);
|
|
52
59
|
__decorate([
|
|
53
60
|
(0, class_validator_1.IsOptional)(),
|
|
54
61
|
(0, class_validator_1.IsString)(),
|
|
62
|
+
(0, class_validator_1.IsEmpty)(),
|
|
55
63
|
__metadata("design:type", String)
|
|
56
64
|
], ProductDetail.prototype, "description", void 0);
|
package/package.json
CHANGED
|
@@ -1,36 +1,44 @@
|
|
|
1
|
-
import {IsOptional, IsString} from "class-validator";
|
|
1
|
+
import {IsEmpty, IsOptional, IsString} from "class-validator";
|
|
2
2
|
|
|
3
3
|
export class ProductDetail {
|
|
4
4
|
//
|
|
5
5
|
@IsOptional()
|
|
6
6
|
@IsString()
|
|
7
|
+
@IsEmpty()
|
|
7
8
|
sourceName: string;
|
|
8
9
|
|
|
9
10
|
@IsOptional()
|
|
10
11
|
@IsString()
|
|
12
|
+
@IsEmpty()
|
|
11
13
|
sourceNumber: string;
|
|
12
14
|
|
|
13
15
|
@IsOptional()
|
|
14
16
|
@IsString()
|
|
17
|
+
@IsEmpty()
|
|
15
18
|
sourceBankName: string;
|
|
16
19
|
|
|
17
20
|
@IsOptional()
|
|
18
21
|
@IsString()
|
|
22
|
+
@IsEmpty()
|
|
19
23
|
targetName: string;
|
|
20
24
|
|
|
21
25
|
@IsOptional()
|
|
22
26
|
@IsString()
|
|
27
|
+
@IsEmpty()
|
|
23
28
|
targetNumber: string;
|
|
24
29
|
|
|
25
30
|
@IsOptional()
|
|
26
31
|
@IsString()
|
|
32
|
+
@IsEmpty()
|
|
27
33
|
targetBankName: string;
|
|
28
34
|
|
|
29
35
|
@IsOptional()
|
|
30
36
|
@IsString()
|
|
37
|
+
@IsEmpty()
|
|
31
38
|
trackingNumber: string;
|
|
32
39
|
|
|
33
40
|
@IsOptional()
|
|
34
41
|
@IsString()
|
|
42
|
+
@IsEmpty()
|
|
35
43
|
description: string;
|
|
36
44
|
}
|