@fiado/type-kit 1.0.46 → 1.0.47

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.
@@ -20,4 +20,6 @@ K
20
20
  6
21
21
  .npmrc,1/2/12453d06e6e35287172e482940b954ba12dc25a2
22
22
  T
23
- $src/group/dtos/GroupCreateRequest.ts,7/e/7ecdb333781356fc0fe1cc9fa84ac8f76b996401
23
+ $src/group/dtos/GroupCreateRequest.ts,7/e/7ecdb333781356fc0fe1cc9fa84ac8f76b996401
24
+ T
25
+ $src/group/dtos/GroupUpdateRequest.ts,7/f/7f9d84f1e541f40d1bc582e467f11283b3acfe99
@@ -20,4 +20,6 @@ K
20
20
  6
21
21
  .npmrc,1/2/12453d06e6e35287172e482940b954ba12dc25a2
22
22
  T
23
- $src/group/dtos/GroupCreateRequest.ts,7/e/7ecdb333781356fc0fe1cc9fa84ac8f76b996401
23
+ $src/group/dtos/GroupCreateRequest.ts,7/e/7ecdb333781356fc0fe1cc9fa84ac8f76b996401
24
+ T
25
+ $src/group/dtos/GroupUpdateRequest.ts,7/f/7f9d84f1e541f40d1bc582e467f11283b3acfe99
@@ -5,4 +5,5 @@ export declare class GroupUpdateRequest {
5
5
  leader: string;
6
6
  status: GroupStatus;
7
7
  codeToRefer: string;
8
+ category: string;
8
9
  }
@@ -42,3 +42,8 @@ __decorate([
42
42
  (0, class_validator_1.Length)(3, 20),
43
43
  __metadata("design:type", String)
44
44
  ], GroupUpdateRequest.prototype, "codeToRefer", void 0);
45
+ __decorate([
46
+ (0, class_validator_1.IsOptional)(),
47
+ (0, class_validator_1.Length)(3, 20),
48
+ __metadata("design:type", String)
49
+ ], GroupUpdateRequest.prototype, "category", void 0);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fiado/type-kit",
3
- "version": "1.0.46",
3
+ "version": "1.0.47",
4
4
  "description": "",
5
5
  "main": "bin/index.js",
6
6
  "types": "bin/index.d.ts",
@@ -24,4 +24,8 @@ export class GroupUpdateRequest {
24
24
  @IsOptional()
25
25
  @Length(3, 20)
26
26
  codeToRefer: string;
27
+
28
+ @IsOptional()
29
+ @Length(3, 20)
30
+ category: string;
27
31
  }