@forwardslashns/taskit-validation-messages 1.10.102 → 1.10.103
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.
- package/dist/validation/features/notes.validation-messages.d.ts +22 -0
- package/dist/validation/features/notes.validation-messages.d.ts.map +1 -1
- package/dist/validation/features/notes.validation-messages.js +22 -0
- package/dist/validation/validation-messages.d.ts +22 -0
- package/dist/validation/validation-messages.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/validation/features/notes.validation-messages.ts +25 -0
|
@@ -42,6 +42,28 @@ export declare const NOTES: {
|
|
|
42
42
|
severity: "error";
|
|
43
43
|
message: string;
|
|
44
44
|
};
|
|
45
|
+
DELETE_ACTIVE_ALERT: {
|
|
46
|
+
severity: "error";
|
|
47
|
+
message: string;
|
|
48
|
+
params: string[];
|
|
49
|
+
};
|
|
50
|
+
ALERT_ASSIGNMENT_INVALID: {
|
|
51
|
+
severity: "error";
|
|
52
|
+
message: string;
|
|
53
|
+
params: string[];
|
|
54
|
+
affectedFields: string[];
|
|
55
|
+
};
|
|
56
|
+
ALERT_REPLACES_EXISTING: {
|
|
57
|
+
severity: "warning";
|
|
58
|
+
message: string;
|
|
59
|
+
params: string[];
|
|
60
|
+
affectedFields: string[];
|
|
61
|
+
};
|
|
62
|
+
ASSIGNMENT_ALERT_ACTIVE: {
|
|
63
|
+
severity: "error";
|
|
64
|
+
message: string;
|
|
65
|
+
params: string[];
|
|
66
|
+
};
|
|
45
67
|
TASK_DELETE_BLOCKED_BY_IMPORTANT_NOTE: {
|
|
46
68
|
severity: "error";
|
|
47
69
|
message: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notes.validation-messages.d.ts","sourceRoot":"","sources":["../../../src/validation/features/notes.validation-messages.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK
|
|
1
|
+
{"version":3,"file":"notes.validation-messages.d.ts","sourceRoot":"","sources":["../../../src/validation/features/notes.validation-messages.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2EhB,CAAC"}
|
|
@@ -46,6 +46,28 @@ exports.NOTES = (0, validation_message_types_1.defineValidationFeatureMessages)(
|
|
|
46
46
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
47
47
|
message: "This note is marked as important and can't be deleted. Please turn off 'Important' before deleting this note.",
|
|
48
48
|
},
|
|
49
|
+
DELETE_ACTIVE_ALERT: {
|
|
50
|
+
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
51
|
+
message: "This note is an active alert on the '{assignment}' assignment and can't be deleted. Please dismiss the alert before deleting this note.",
|
|
52
|
+
params: ['assignment'],
|
|
53
|
+
},
|
|
54
|
+
ALERT_ASSIGNMENT_INVALID: {
|
|
55
|
+
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
56
|
+
message: "The selected assignment can't have an alert. Choose a workflow assignment on this task that is not done.",
|
|
57
|
+
params: ['alertAssignmentId'],
|
|
58
|
+
affectedFields: ['alertAssignmentId'],
|
|
59
|
+
},
|
|
60
|
+
ALERT_REPLACES_EXISTING: {
|
|
61
|
+
severity: validation_message_types_1.VALIDATION_SEVERITY.WARNING,
|
|
62
|
+
message: 'Another note is already selected as the alert for {assignment}. Do you want to change this note to be the alert?',
|
|
63
|
+
params: ['assignment'],
|
|
64
|
+
affectedFields: ['alertAssignmentId'],
|
|
65
|
+
},
|
|
66
|
+
ASSIGNMENT_ALERT_ACTIVE: {
|
|
67
|
+
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
68
|
+
message: "The '{assignment}' assignment can't be marked done yet because it has an active alert. Please read and dismiss the alert first.",
|
|
69
|
+
params: ['assignment'],
|
|
70
|
+
},
|
|
49
71
|
TASK_DELETE_BLOCKED_BY_IMPORTANT_NOTE: {
|
|
50
72
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
51
73
|
message: "This task can't be deleted because it has an important note. Please turn off 'Important' on the note before deleting this task.",
|
|
@@ -2859,6 +2859,28 @@ export declare const VALIDATION_MESSAGES: {
|
|
|
2859
2859
|
severity: "error";
|
|
2860
2860
|
message: string;
|
|
2861
2861
|
};
|
|
2862
|
+
DELETE_ACTIVE_ALERT: {
|
|
2863
|
+
severity: "error";
|
|
2864
|
+
message: string;
|
|
2865
|
+
params: string[];
|
|
2866
|
+
};
|
|
2867
|
+
ALERT_ASSIGNMENT_INVALID: {
|
|
2868
|
+
severity: "error";
|
|
2869
|
+
message: string;
|
|
2870
|
+
params: string[];
|
|
2871
|
+
affectedFields: string[];
|
|
2872
|
+
};
|
|
2873
|
+
ALERT_REPLACES_EXISTING: {
|
|
2874
|
+
severity: "warning";
|
|
2875
|
+
message: string;
|
|
2876
|
+
params: string[];
|
|
2877
|
+
affectedFields: string[];
|
|
2878
|
+
};
|
|
2879
|
+
ASSIGNMENT_ALERT_ACTIVE: {
|
|
2880
|
+
severity: "error";
|
|
2881
|
+
message: string;
|
|
2882
|
+
params: string[];
|
|
2883
|
+
};
|
|
2862
2884
|
TASK_DELETE_BLOCKED_BY_IMPORTANT_NOTE: {
|
|
2863
2885
|
severity: "error";
|
|
2864
2886
|
message: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validation-messages.d.ts","sourceRoot":"","sources":["../../src/validation/validation-messages.ts"],"names":[],"mappings":"AAoCA,eAAO,MAAM,mBAAmB
|
|
1
|
+
{"version":3,"file":"validation-messages.d.ts","sourceRoot":"","sources":["../../src/validation/validation-messages.ts"],"names":[],"mappings":"AAoCA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoCtB,CAAC"}
|
package/package.json
CHANGED
|
@@ -45,6 +45,31 @@ export const NOTES = defineValidationFeatureMessages({
|
|
|
45
45
|
message:
|
|
46
46
|
"This note is marked as important and can't be deleted. Please turn off 'Important' before deleting this note.",
|
|
47
47
|
},
|
|
48
|
+
DELETE_ACTIVE_ALERT: {
|
|
49
|
+
severity: VALIDATION_SEVERITY.ERROR,
|
|
50
|
+
message:
|
|
51
|
+
"This note is an active alert on the '{assignment}' assignment and can't be deleted. Please dismiss the alert before deleting this note.",
|
|
52
|
+
params: ['assignment'],
|
|
53
|
+
},
|
|
54
|
+
ALERT_ASSIGNMENT_INVALID: {
|
|
55
|
+
severity: VALIDATION_SEVERITY.ERROR,
|
|
56
|
+
message: "The selected assignment can't have an alert. Choose a workflow assignment on this task that is not done.",
|
|
57
|
+
params: ['alertAssignmentId'],
|
|
58
|
+
affectedFields: ['alertAssignmentId'],
|
|
59
|
+
},
|
|
60
|
+
ALERT_REPLACES_EXISTING: {
|
|
61
|
+
severity: VALIDATION_SEVERITY.WARNING,
|
|
62
|
+
message:
|
|
63
|
+
'Another note is already selected as the alert for {assignment}. Do you want to change this note to be the alert?',
|
|
64
|
+
params: ['assignment'],
|
|
65
|
+
affectedFields: ['alertAssignmentId'],
|
|
66
|
+
},
|
|
67
|
+
ASSIGNMENT_ALERT_ACTIVE: {
|
|
68
|
+
severity: VALIDATION_SEVERITY.ERROR,
|
|
69
|
+
message:
|
|
70
|
+
"The '{assignment}' assignment can't be marked done yet because it has an active alert. Please read and dismiss the alert first.",
|
|
71
|
+
params: ['assignment'],
|
|
72
|
+
},
|
|
48
73
|
TASK_DELETE_BLOCKED_BY_IMPORTANT_NOTE: {
|
|
49
74
|
severity: VALIDATION_SEVERITY.ERROR,
|
|
50
75
|
message:
|