@fiado/type-kit 2.0.30 → 2.0.32
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.
|
@@ -93,7 +93,7 @@ __decorate([
|
|
|
93
93
|
__decorate([
|
|
94
94
|
(0, class_validator_1.IsOptional)(),
|
|
95
95
|
(0, class_validator_1.IsString)(),
|
|
96
|
-
(0, class_validator_1.Length)(1,
|
|
96
|
+
(0, class_validator_1.Length)(1, 500),
|
|
97
97
|
__metadata("design:type", String)
|
|
98
98
|
], AddressBase.prototype, "additionalInformation", void 0);
|
|
99
99
|
__decorate([
|
|
@@ -103,7 +103,6 @@ __decorate([
|
|
|
103
103
|
__decorate([
|
|
104
104
|
(0, class_validator_1.IsOptional)(),
|
|
105
105
|
(0, class_validator_1.IsString)(),
|
|
106
|
-
(0, class_validator_1.Length)(1, 10),
|
|
107
106
|
__metadata("design:type", String)
|
|
108
107
|
], AddressBase.prototype, "internalNumber", void 0);
|
|
109
108
|
__decorate([
|
|
@@ -123,7 +122,7 @@ __decorate([
|
|
|
123
122
|
__decorate([
|
|
124
123
|
(0, class_validator_1.IsOptional)(),
|
|
125
124
|
(0, class_validator_1.IsString)(),
|
|
126
|
-
(0, class_validator_1.Length)(
|
|
125
|
+
(0, class_validator_1.Length)(1, 100),
|
|
127
126
|
__metadata("design:type", String)
|
|
128
127
|
], AddressBase.prototype, "municipality", void 0);
|
|
129
128
|
__decorate([
|
|
@@ -134,18 +133,18 @@ __decorate([
|
|
|
134
133
|
__decorate([
|
|
135
134
|
(0, class_validator_1.IsOptional)(),
|
|
136
135
|
(0, class_validator_1.IsString)(),
|
|
137
|
-
(0, class_validator_1.Length)(
|
|
136
|
+
(0, class_validator_1.Length)(1, 200),
|
|
138
137
|
__metadata("design:type", String)
|
|
139
138
|
], AddressBase.prototype, "neighborhood", void 0);
|
|
140
139
|
__decorate([
|
|
141
140
|
(0, class_validator_1.IsOptional)(),
|
|
142
141
|
(0, class_validator_1.IsString)(),
|
|
143
|
-
(0, class_validator_1.Length)(
|
|
142
|
+
(0, class_validator_1.Length)(1, 200),
|
|
144
143
|
__metadata("design:type", String)
|
|
145
144
|
], AddressBase.prototype, "subRegion", void 0);
|
|
146
145
|
__decorate([
|
|
147
146
|
(0, class_validator_1.IsString)(),
|
|
148
|
-
(0, class_validator_1.Length)(
|
|
147
|
+
(0, class_validator_1.Length)(1, 200),
|
|
149
148
|
__metadata("design:type", String)
|
|
150
149
|
], AddressBase.prototype, "region", void 0);
|
|
151
150
|
__decorate([
|
package/package.json
CHANGED
|
@@ -77,7 +77,7 @@ export class AddressBase {
|
|
|
77
77
|
|
|
78
78
|
@IsOptional()
|
|
79
79
|
@IsString()
|
|
80
|
-
@Length(1,
|
|
80
|
+
@Length(1, 500)
|
|
81
81
|
additionalInformation?: string;
|
|
82
82
|
|
|
83
83
|
@IsBoolean()
|
|
@@ -85,7 +85,6 @@ export class AddressBase {
|
|
|
85
85
|
|
|
86
86
|
@IsOptional()
|
|
87
87
|
@IsString()
|
|
88
|
-
@Length(1, 10)
|
|
89
88
|
internalNumber?: string;
|
|
90
89
|
|
|
91
90
|
@IsEnum(CountryId)
|
|
@@ -101,7 +100,7 @@ export class AddressBase {
|
|
|
101
100
|
|
|
102
101
|
@IsOptional()
|
|
103
102
|
@IsString()
|
|
104
|
-
@Length(
|
|
103
|
+
@Length(1, 100)
|
|
105
104
|
municipality?: string;
|
|
106
105
|
|
|
107
106
|
@IsOptional()
|
|
@@ -110,16 +109,16 @@ export class AddressBase {
|
|
|
110
109
|
|
|
111
110
|
@IsOptional()
|
|
112
111
|
@IsString()
|
|
113
|
-
@Length(
|
|
112
|
+
@Length(1, 200)
|
|
114
113
|
neighborhood?: string;
|
|
115
114
|
|
|
116
115
|
@IsOptional()
|
|
117
116
|
@IsString()
|
|
118
|
-
@Length(
|
|
117
|
+
@Length(1, 200)
|
|
119
118
|
subRegion?: string;
|
|
120
119
|
|
|
121
120
|
@IsString()
|
|
122
|
-
@Length(
|
|
121
|
+
@Length(1, 200)
|
|
123
122
|
region?: string;
|
|
124
123
|
|
|
125
124
|
@IsString()
|