resurgence-data 1.1.37 → 1.1.38
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.
@@ -63,6 +63,7 @@ __decorate([
|
|
63
63
|
__decorate([
|
64
64
|
(0, class_validator_1.IsString)({ message: "Looks like your password isn't valid. Please provide one." }),
|
65
65
|
(0, swagger_1.ApiProperty)({ description: "Users password" }),
|
66
|
+
(0, class_validator_1.IsOptional)(),
|
66
67
|
__metadata("design:type", String)
|
67
68
|
], AcceptInviteInviteDTO.prototype, "password", void 0);
|
68
69
|
class RevokeInviteDTO {
|
package/package.json
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { IsEmail, IsIn, IsString, IsUUID } from "class-validator";
|
1
|
+
import { IsEmail, IsIn, IsOptional, IsString, IsUUID } from "class-validator";
|
2
2
|
import { accountTypes } from "../types/account.type";
|
3
3
|
import { ApiProperty } from "@nestjs/swagger";
|
4
4
|
|
@@ -40,7 +40,8 @@ export class AcceptInviteInviteDTO {
|
|
40
40
|
|
41
41
|
@IsString({ message: "Looks like your password isn't valid. Please provide one." })
|
42
42
|
@ApiProperty({ description: "Users password" })
|
43
|
-
|
43
|
+
@IsOptional()
|
44
|
+
password?: string;
|
44
45
|
}
|
45
46
|
|
46
47
|
export class RevokeInviteDTO {
|