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