@forwardslashns/taskit-validation-messages 1.0.60 → 1.0.61
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.
|
@@ -584,8 +584,8 @@ export declare const VALIDATION_MESSAGES: {
|
|
|
584
584
|
readonly params: readonly ["permissionId"];
|
|
585
585
|
};
|
|
586
586
|
readonly ROLE_HAS_ASSIGNED_USERS: {
|
|
587
|
-
readonly message: "Cannot delete role with
|
|
588
|
-
readonly params: readonly ["
|
|
587
|
+
readonly message: "Cannot delete role with name '{roleName}' because it has users assigned to it";
|
|
588
|
+
readonly params: readonly ["roleName"];
|
|
589
589
|
};
|
|
590
590
|
};
|
|
591
591
|
readonly DATA_FILTER: {
|
|
@@ -590,8 +590,8 @@ exports.VALIDATION_MESSAGES = {
|
|
|
590
590
|
params: ['permissionId'],
|
|
591
591
|
},
|
|
592
592
|
ROLE_HAS_ASSIGNED_USERS: {
|
|
593
|
-
message: `Cannot delete role with
|
|
594
|
-
params: ['
|
|
593
|
+
message: `Cannot delete role with name '{roleName}' because it has users assigned to it`,
|
|
594
|
+
params: ['roleName'],
|
|
595
595
|
},
|
|
596
596
|
},
|
|
597
597
|
//BACKEND ONLY VALIDATION FEATURES
|
package/package.json
CHANGED
|
@@ -589,8 +589,8 @@ export const VALIDATION_MESSAGES = {
|
|
|
589
589
|
params: ['permissionId'],
|
|
590
590
|
},
|
|
591
591
|
ROLE_HAS_ASSIGNED_USERS: {
|
|
592
|
-
message: `Cannot delete role with
|
|
593
|
-
params: ['
|
|
592
|
+
message: `Cannot delete role with name '{roleName}' because it has users assigned to it`,
|
|
593
|
+
params: ['roleName'],
|
|
594
594
|
},
|
|
595
595
|
},
|
|
596
596
|
//BACKEND ONLY VALIDATION FEATURES
|