@fiado/type-kit 1.0.26 → 1.0.28

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.
@@ -6,5 +6,5 @@ export declare class GroupAddDirectoryRequest {
6
6
  directoryIds: string[];
7
7
  relationType: RelationType;
8
8
  status: RelationStatus;
9
- action: typeof GroupAction;
9
+ action: GroupAction;
10
10
  }
@@ -18,7 +18,6 @@ class GroupAddDirectoryRequest {
18
18
  constructor() {
19
19
  this.relationType = RelationType_1.RelationType.MEMBER; // Default value MEMBER
20
20
  this.status = RelationStatus_1.RelationStatus.ACTIVE; // Default value ACTIVE
21
- this.action = GroupAction_1.GroupAction;
22
21
  }
23
22
  }
24
23
  exports.GroupAddDirectoryRequest = GroupAddDirectoryRequest;
@@ -45,6 +44,5 @@ __decorate([
45
44
  ], GroupAddDirectoryRequest.prototype, "status", void 0);
46
45
  __decorate([
47
46
  (0, class_validator_1.IsEnum)(GroupAction_1.GroupAction),
48
- (0, class_validator_1.IsNotEmpty)(),
49
- __metadata("design:type", Object)
47
+ __metadata("design:type", String)
50
48
  ], GroupAddDirectoryRequest.prototype, "action", void 0);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fiado/type-kit",
3
- "version": "1.0.26",
3
+ "version": "1.0.28",
4
4
  "description": "",
5
5
  "main": "bin/index.js",
6
6
  "types": "bin/index.d.ts",
@@ -22,7 +22,6 @@ export class GroupAddDirectoryRequest {
22
22
  status: RelationStatus = RelationStatus.ACTIVE; // Default value ACTIVE
23
23
 
24
24
  @IsEnum(GroupAction)
25
- @IsNotEmpty()
26
- action = GroupAction;
25
+ action: GroupAction;
27
26
 
28
27
  }