@forwardslashns/taskit-validation-messages 1.0.51 → 1.0.53
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.
|
@@ -533,6 +533,18 @@ export declare const VALIDATION_MESSAGES: {
|
|
|
533
533
|
readonly RESET_PASSWORD_LINK_NOT_LATEST: {
|
|
534
534
|
readonly message: "Reset password link is no longer valid. Please use the most recent one.";
|
|
535
535
|
};
|
|
536
|
+
readonly USERNAME_ALREADY_EXISTS: {
|
|
537
|
+
readonly message: "User with username '{username}' already exists";
|
|
538
|
+
readonly params: readonly ["username"];
|
|
539
|
+
};
|
|
540
|
+
readonly ROLE_DOES_NOT_EXIST: {
|
|
541
|
+
readonly message: "Role with id '{roleId}' does not exist";
|
|
542
|
+
readonly params: readonly ["roleId"];
|
|
543
|
+
};
|
|
544
|
+
readonly USER_DOES_NOT_EXIST: {
|
|
545
|
+
readonly message: "User with id '{userId}' does not exist";
|
|
546
|
+
readonly params: readonly ["userId"];
|
|
547
|
+
};
|
|
536
548
|
};
|
|
537
549
|
readonly ROLE_AND_PERMISSION: {
|
|
538
550
|
readonly ROLE_ALREADY_EXISTS: {
|
|
@@ -547,6 +559,14 @@ export declare const VALIDATION_MESSAGES: {
|
|
|
547
559
|
readonly message: "Permissions with ids '{ids}' do not exist";
|
|
548
560
|
readonly params: readonly ["ids"];
|
|
549
561
|
};
|
|
562
|
+
readonly ROLE_DOES_NOT_EXIST: {
|
|
563
|
+
readonly message: "Role with id '{roleId}' does not exist";
|
|
564
|
+
readonly params: readonly ["roleId"];
|
|
565
|
+
};
|
|
566
|
+
readonly PERMISSION_DOES_NOT_EXIST: {
|
|
567
|
+
readonly message: "Permission with id '{permissionId}' does not exist";
|
|
568
|
+
readonly params: readonly ["permissionId"];
|
|
569
|
+
};
|
|
550
570
|
};
|
|
551
571
|
readonly DATA_FILTER: {
|
|
552
572
|
readonly MISSING_PAGE_SIZE: {
|
|
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsmBtB,CAAC"}
|
|
@@ -539,6 +539,18 @@ exports.VALIDATION_MESSAGES = {
|
|
|
539
539
|
RESET_PASSWORD_LINK_NOT_LATEST: {
|
|
540
540
|
message: `Reset password link is no longer valid. Please use the most recent one.`,
|
|
541
541
|
},
|
|
542
|
+
USERNAME_ALREADY_EXISTS: {
|
|
543
|
+
message: `User with username '{username}' already exists`,
|
|
544
|
+
params: ['username'],
|
|
545
|
+
},
|
|
546
|
+
ROLE_DOES_NOT_EXIST: {
|
|
547
|
+
message: `Role with id '{roleId}' does not exist`,
|
|
548
|
+
params: ['roleId'],
|
|
549
|
+
},
|
|
550
|
+
USER_DOES_NOT_EXIST: {
|
|
551
|
+
message: `User with id '{userId}' does not exist`,
|
|
552
|
+
params: ['userId'],
|
|
553
|
+
},
|
|
542
554
|
},
|
|
543
555
|
ROLE_AND_PERMISSION: {
|
|
544
556
|
ROLE_ALREADY_EXISTS: {
|
|
@@ -553,6 +565,14 @@ exports.VALIDATION_MESSAGES = {
|
|
|
553
565
|
message: `Permissions with ids '{ids}' do not exist`,
|
|
554
566
|
params: ['ids'],
|
|
555
567
|
},
|
|
568
|
+
ROLE_DOES_NOT_EXIST: {
|
|
569
|
+
message: `Role with id '{roleId}' does not exist`,
|
|
570
|
+
params: ['roleId'],
|
|
571
|
+
},
|
|
572
|
+
PERMISSION_DOES_NOT_EXIST: {
|
|
573
|
+
message: `Permission with id '{permissionId}' does not exist`,
|
|
574
|
+
params: ['permissionId'],
|
|
575
|
+
},
|
|
556
576
|
},
|
|
557
577
|
//BACKEND ONLY VALIDATION FEATURES
|
|
558
578
|
DATA_FILTER: {
|
package/package.json
CHANGED
|
@@ -537,6 +537,18 @@ export const VALIDATION_MESSAGES = {
|
|
|
537
537
|
RESET_PASSWORD_LINK_NOT_LATEST: {
|
|
538
538
|
message: `Reset password link is no longer valid. Please use the most recent one.`,
|
|
539
539
|
},
|
|
540
|
+
USERNAME_ALREADY_EXISTS: {
|
|
541
|
+
message: `User with username '{username}' already exists`,
|
|
542
|
+
params: ['username'],
|
|
543
|
+
},
|
|
544
|
+
ROLE_DOES_NOT_EXIST: {
|
|
545
|
+
message: `Role with id '{roleId}' does not exist`,
|
|
546
|
+
params: ['roleId'],
|
|
547
|
+
},
|
|
548
|
+
USER_DOES_NOT_EXIST: {
|
|
549
|
+
message: `User with id '{userId}' does not exist`,
|
|
550
|
+
params: ['userId'],
|
|
551
|
+
},
|
|
540
552
|
},
|
|
541
553
|
ROLE_AND_PERMISSION: {
|
|
542
554
|
ROLE_ALREADY_EXISTS: {
|
|
@@ -551,6 +563,14 @@ export const VALIDATION_MESSAGES = {
|
|
|
551
563
|
message: `Permissions with ids '{ids}' do not exist`,
|
|
552
564
|
params: ['ids'],
|
|
553
565
|
},
|
|
566
|
+
ROLE_DOES_NOT_EXIST: {
|
|
567
|
+
message: `Role with id '{roleId}' does not exist`,
|
|
568
|
+
params: ['roleId'],
|
|
569
|
+
},
|
|
570
|
+
PERMISSION_DOES_NOT_EXIST: {
|
|
571
|
+
message: `Permission with id '{permissionId}' does not exist`,
|
|
572
|
+
params: ['permissionId'],
|
|
573
|
+
},
|
|
554
574
|
},
|
|
555
575
|
//BACKEND ONLY VALIDATION FEATURES
|
|
556
576
|
DATA_FILTER: {
|