@techtulp/choremanji-types 1.4.4 → 1.4.5
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.
- package/dist/error.type.d.ts +3 -1
- package/dist/error.type.js +2 -0
- package/package.json +1 -1
package/dist/error.type.d.ts
CHANGED
|
@@ -28,5 +28,7 @@ export declare enum ErrorType {
|
|
|
28
28
|
AssigneeNotFound = "Assignee not found",
|
|
29
29
|
RewardNotFound = "Reward not found",
|
|
30
30
|
InsufficientPoints = "Insufficient points",
|
|
31
|
-
EmailSendFailed = "Failed to send email"
|
|
31
|
+
EmailSendFailed = "Failed to send email",
|
|
32
|
+
InvalidPassword = "Current password is incorrect",
|
|
33
|
+
CurrentPasswordRequired = "Current password is required to set a new password"
|
|
32
34
|
}
|
package/dist/error.type.js
CHANGED
|
@@ -33,4 +33,6 @@ var ErrorType;
|
|
|
33
33
|
ErrorType["RewardNotFound"] = "Reward not found";
|
|
34
34
|
ErrorType["InsufficientPoints"] = "Insufficient points";
|
|
35
35
|
ErrorType["EmailSendFailed"] = "Failed to send email";
|
|
36
|
+
ErrorType["InvalidPassword"] = "Current password is incorrect";
|
|
37
|
+
ErrorType["CurrentPasswordRequired"] = "Current password is required to set a new password";
|
|
36
38
|
})(ErrorType || (exports.ErrorType = ErrorType = {}));
|