@forwardslashns/taskit-validation-messages 1.0.60 → 1.0.62
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.
|
@@ -195,6 +195,9 @@ export declare const VALIDATION_MESSAGES: {
|
|
|
195
195
|
readonly FILING_TYPE_PARENT_REQUIRED: {
|
|
196
196
|
readonly message: "Parent needs to be specified for filing type 'Files under parent'";
|
|
197
197
|
};
|
|
198
|
+
readonly CURRENT_FILING_TYPE_PARENT_REQUIRED: {
|
|
199
|
+
readonly message: "Parent needs to be specified for current filing type 'Files under parent'";
|
|
200
|
+
};
|
|
198
201
|
readonly STATE_ID_DOES_NOT_EXIST: {
|
|
199
202
|
readonly message: "State with id '{id}' does not exist";
|
|
200
203
|
readonly params: readonly ["id"];
|
|
@@ -584,8 +587,8 @@ export declare const VALIDATION_MESSAGES: {
|
|
|
584
587
|
readonly params: readonly ["permissionId"];
|
|
585
588
|
};
|
|
586
589
|
readonly ROLE_HAS_ASSIGNED_USERS: {
|
|
587
|
-
readonly message: "Cannot delete role with
|
|
588
|
-
readonly params: readonly ["
|
|
590
|
+
readonly message: "Cannot delete role with name '{roleName}' because it has users assigned to it";
|
|
591
|
+
readonly params: readonly ["roleName"];
|
|
589
592
|
};
|
|
590
593
|
};
|
|
591
594
|
readonly DATA_FILTER: {
|
|
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8nBtB,CAAC"}
|
|
@@ -198,6 +198,9 @@ exports.VALIDATION_MESSAGES = {
|
|
|
198
198
|
FILING_TYPE_PARENT_REQUIRED: {
|
|
199
199
|
message: `Parent needs to be specified for filing type 'Files under parent'`,
|
|
200
200
|
},
|
|
201
|
+
CURRENT_FILING_TYPE_PARENT_REQUIRED: {
|
|
202
|
+
message: `Parent needs to be specified for current filing type 'Files under parent'`,
|
|
203
|
+
},
|
|
201
204
|
STATE_ID_DOES_NOT_EXIST: {
|
|
202
205
|
message: `State with id '{id}' does not exist`,
|
|
203
206
|
params: ['id'],
|
|
@@ -590,8 +593,8 @@ exports.VALIDATION_MESSAGES = {
|
|
|
590
593
|
params: ['permissionId'],
|
|
591
594
|
},
|
|
592
595
|
ROLE_HAS_ASSIGNED_USERS: {
|
|
593
|
-
message: `Cannot delete role with
|
|
594
|
-
params: ['
|
|
596
|
+
message: `Cannot delete role with name '{roleName}' because it has users assigned to it`,
|
|
597
|
+
params: ['roleName'],
|
|
595
598
|
},
|
|
596
599
|
},
|
|
597
600
|
//BACKEND ONLY VALIDATION FEATURES
|
package/package.json
CHANGED
|
@@ -197,6 +197,9 @@ export const VALIDATION_MESSAGES = {
|
|
|
197
197
|
FILING_TYPE_PARENT_REQUIRED: {
|
|
198
198
|
message: `Parent needs to be specified for filing type 'Files under parent'`,
|
|
199
199
|
},
|
|
200
|
+
CURRENT_FILING_TYPE_PARENT_REQUIRED: {
|
|
201
|
+
message: `Parent needs to be specified for current filing type 'Files under parent'`,
|
|
202
|
+
},
|
|
200
203
|
STATE_ID_DOES_NOT_EXIST: {
|
|
201
204
|
message: `State with id '{id}' does not exist`,
|
|
202
205
|
params: ['id'],
|
|
@@ -589,8 +592,8 @@ export const VALIDATION_MESSAGES = {
|
|
|
589
592
|
params: ['permissionId'],
|
|
590
593
|
},
|
|
591
594
|
ROLE_HAS_ASSIGNED_USERS: {
|
|
592
|
-
message: `Cannot delete role with
|
|
593
|
-
params: ['
|
|
595
|
+
message: `Cannot delete role with name '{roleName}' because it has users assigned to it`,
|
|
596
|
+
params: ['roleName'],
|
|
594
597
|
},
|
|
595
598
|
},
|
|
596
599
|
//BACKEND ONLY VALIDATION FEATURES
|