@forwardslashns/taskit-validation-messages 1.0.50 → 1.0.52
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,28 @@ 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
|
+
};
|
|
545
|
+
readonly ROLE_AND_PERMISSION: {
|
|
546
|
+
readonly ROLE_ALREADY_EXISTS: {
|
|
547
|
+
readonly message: "Role with name '{name}' already exists";
|
|
548
|
+
readonly params: readonly ["name"];
|
|
549
|
+
};
|
|
550
|
+
readonly PERMISSION_ALREADY_EXISTS: {
|
|
551
|
+
readonly message: "Permission with name '{name}' already exists";
|
|
552
|
+
readonly params: readonly ["name"];
|
|
553
|
+
};
|
|
554
|
+
readonly PERMISSIONS_DO_NOT_EXIST: {
|
|
555
|
+
readonly message: "Permissions with ids '{ids}' do not exist";
|
|
556
|
+
readonly params: readonly ["ids"];
|
|
557
|
+
};
|
|
536
558
|
};
|
|
537
559
|
readonly DATA_FILTER: {
|
|
538
560
|
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0lBtB,CAAC"}
|
|
@@ -539,6 +539,28 @@ 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
|
+
},
|
|
551
|
+
ROLE_AND_PERMISSION: {
|
|
552
|
+
ROLE_ALREADY_EXISTS: {
|
|
553
|
+
message: `Role with name '{name}' already exists`,
|
|
554
|
+
params: ['name'],
|
|
555
|
+
},
|
|
556
|
+
PERMISSION_ALREADY_EXISTS: {
|
|
557
|
+
message: `Permission with name '{name}' already exists`,
|
|
558
|
+
params: ['name'],
|
|
559
|
+
},
|
|
560
|
+
PERMISSIONS_DO_NOT_EXIST: {
|
|
561
|
+
message: `Permissions with ids '{ids}' do not exist`,
|
|
562
|
+
params: ['ids'],
|
|
563
|
+
},
|
|
542
564
|
},
|
|
543
565
|
//BACKEND ONLY VALIDATION FEATURES
|
|
544
566
|
DATA_FILTER: {
|
package/package.json
CHANGED
|
@@ -537,6 +537,28 @@ 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
|
+
},
|
|
549
|
+
ROLE_AND_PERMISSION: {
|
|
550
|
+
ROLE_ALREADY_EXISTS: {
|
|
551
|
+
message: `Role with name '{name}' already exists`,
|
|
552
|
+
params: ['name'],
|
|
553
|
+
},
|
|
554
|
+
PERMISSION_ALREADY_EXISTS: {
|
|
555
|
+
message: `Permission with name '{name}' already exists`,
|
|
556
|
+
params: ['name'],
|
|
557
|
+
},
|
|
558
|
+
PERMISSIONS_DO_NOT_EXIST: {
|
|
559
|
+
message: `Permissions with ids '{ids}' do not exist`,
|
|
560
|
+
params: ['ids'],
|
|
561
|
+
},
|
|
540
562
|
},
|
|
541
563
|
//BACKEND ONLY VALIDATION FEATURES
|
|
542
564
|
DATA_FILTER: {
|