@forwardslashns/taskit-validation-messages 1.0.54 → 1.0.56
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.
|
@@ -540,6 +540,10 @@ export declare const VALIDATION_MESSAGES: {
|
|
|
540
540
|
readonly message: "User with username '{username}' already exists";
|
|
541
541
|
readonly params: readonly ["username"];
|
|
542
542
|
};
|
|
543
|
+
readonly EMAIL_ALREADY_EXISTS: {
|
|
544
|
+
readonly message: "User with email '{email}' already exists";
|
|
545
|
+
readonly params: readonly ["email"];
|
|
546
|
+
};
|
|
543
547
|
readonly ROLE_DOES_NOT_EXIST: {
|
|
544
548
|
readonly message: "Role with id '{roleId}' does not exist";
|
|
545
549
|
readonly params: readonly ["roleId"];
|
|
@@ -548,6 +552,9 @@ export declare const VALIDATION_MESSAGES: {
|
|
|
548
552
|
readonly message: "User with id '{userId}' does not exist";
|
|
549
553
|
readonly params: readonly ["userId"];
|
|
550
554
|
};
|
|
555
|
+
readonly USER_PASSWORDS_DO_NOT_MATCH: {
|
|
556
|
+
readonly message: "User passwords do not match";
|
|
557
|
+
};
|
|
551
558
|
};
|
|
552
559
|
readonly ROLE_AND_PERMISSION: {
|
|
553
560
|
readonly ROLE_ALREADY_EXISTS: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validation-messages.d.ts","sourceRoot":"","sources":["../../src/validation/validation-messages.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB
|
|
1
|
+
{"version":3,"file":"validation-messages.d.ts","sourceRoot":"","sources":["../../src/validation/validation-messages.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgnBtB,CAAC"}
|
|
@@ -546,6 +546,10 @@ exports.VALIDATION_MESSAGES = {
|
|
|
546
546
|
message: `User with username '{username}' already exists`,
|
|
547
547
|
params: ['username'],
|
|
548
548
|
},
|
|
549
|
+
EMAIL_ALREADY_EXISTS: {
|
|
550
|
+
message: `User with email '{email}' already exists`,
|
|
551
|
+
params: ['email'],
|
|
552
|
+
},
|
|
549
553
|
ROLE_DOES_NOT_EXIST: {
|
|
550
554
|
message: `Role with id '{roleId}' does not exist`,
|
|
551
555
|
params: ['roleId'],
|
|
@@ -554,6 +558,9 @@ exports.VALIDATION_MESSAGES = {
|
|
|
554
558
|
message: `User with id '{userId}' does not exist`,
|
|
555
559
|
params: ['userId'],
|
|
556
560
|
},
|
|
561
|
+
USER_PASSWORDS_DO_NOT_MATCH: {
|
|
562
|
+
message: `User passwords do not match`,
|
|
563
|
+
},
|
|
557
564
|
},
|
|
558
565
|
ROLE_AND_PERMISSION: {
|
|
559
566
|
ROLE_ALREADY_EXISTS: {
|
package/package.json
CHANGED
|
@@ -544,6 +544,10 @@ export const VALIDATION_MESSAGES = {
|
|
|
544
544
|
message: `User with username '{username}' already exists`,
|
|
545
545
|
params: ['username'],
|
|
546
546
|
},
|
|
547
|
+
EMAIL_ALREADY_EXISTS: {
|
|
548
|
+
message: `User with email '{email}' already exists`,
|
|
549
|
+
params: ['email'],
|
|
550
|
+
},
|
|
547
551
|
ROLE_DOES_NOT_EXIST: {
|
|
548
552
|
message: `Role with id '{roleId}' does not exist`,
|
|
549
553
|
params: ['roleId'],
|
|
@@ -552,6 +556,9 @@ export const VALIDATION_MESSAGES = {
|
|
|
552
556
|
message: `User with id '{userId}' does not exist`,
|
|
553
557
|
params: ['userId'],
|
|
554
558
|
},
|
|
559
|
+
USER_PASSWORDS_DO_NOT_MATCH: {
|
|
560
|
+
message: `User passwords do not match`,
|
|
561
|
+
},
|
|
555
562
|
},
|
|
556
563
|
ROLE_AND_PERMISSION: {
|
|
557
564
|
ROLE_ALREADY_EXISTS: {
|