@forwardslashns/taskit-validation-messages 1.10.90 → 1.10.92
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/client-templates.validation-messages.js +1 -1
- package/dist/validation/features/tasks.validation-messages.d.ts +17 -0
- package/dist/validation/features/tasks.validation-messages.d.ts.map +1 -1
- package/dist/validation/features/tasks.validation-messages.js +17 -0
- package/dist/validation/validation-messages.d.ts +17 -0
- package/dist/validation/validation-messages.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/validation/features/client-templates.validation-messages.ts +1 -1
- package/src/validation/features/tasks.validation-messages.ts +18 -0
|
@@ -106,7 +106,7 @@ exports.CLIENT_TEMPLATES = (0, validation_message_types_1.defineValidationFeatur
|
|
|
106
106
|
},
|
|
107
107
|
DELETE_BLOCKED_BY_GENERATED_TASKS: {
|
|
108
108
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
109
|
-
message: '
|
|
109
|
+
message: 'This client template cannot be deleted because there are associated tasks already',
|
|
110
110
|
affectedFields: ['clientTemplateId'],
|
|
111
111
|
},
|
|
112
112
|
OVERRIDE_RECURRENCE_NOT_ALLOWED: {
|
|
@@ -200,6 +200,23 @@ export declare const TASKS: {
|
|
|
200
200
|
message: string;
|
|
201
201
|
affectedFields: never[];
|
|
202
202
|
};
|
|
203
|
+
CANNOT_REIMPORT_FILINGS_TASK_CLOSED: {
|
|
204
|
+
severity: "error";
|
|
205
|
+
message: string;
|
|
206
|
+
affectedFields: never[];
|
|
207
|
+
};
|
|
208
|
+
TASK_FILING_STATE_ALREADY_ON_TASK: {
|
|
209
|
+
severity: "error";
|
|
210
|
+
message: string;
|
|
211
|
+
params: string[];
|
|
212
|
+
affectedFields: string[];
|
|
213
|
+
};
|
|
214
|
+
TASK_FILING_STATE_NOT_ELIGIBLE: {
|
|
215
|
+
severity: "error";
|
|
216
|
+
message: string;
|
|
217
|
+
params: string[];
|
|
218
|
+
affectedFields: string[];
|
|
219
|
+
};
|
|
203
220
|
CANNOT_MODIFY_FINAL_ASSIGNMENT: {
|
|
204
221
|
severity: "error";
|
|
205
222
|
message: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tasks.validation-messages.d.ts","sourceRoot":"","sources":["../../../src/validation/features/tasks.validation-messages.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK
|
|
1
|
+
{"version":3,"file":"tasks.validation-messages.d.ts","sourceRoot":"","sources":["../../../src/validation/features/tasks.validation-messages.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgRhB,CAAC"}
|
|
@@ -204,6 +204,23 @@ exports.TASKS = (0, validation_message_types_1.defineValidationFeatureMessages)(
|
|
|
204
204
|
message: 'Assignments cannot be re-imported once this task has been closed.',
|
|
205
205
|
affectedFields: [],
|
|
206
206
|
},
|
|
207
|
+
CANNOT_REIMPORT_FILINGS_TASK_CLOSED: {
|
|
208
|
+
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
209
|
+
message: 'State sub-filings cannot be re-imported once this task has been closed.',
|
|
210
|
+
affectedFields: [],
|
|
211
|
+
},
|
|
212
|
+
TASK_FILING_STATE_ALREADY_ON_TASK: {
|
|
213
|
+
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
214
|
+
message: 'State sub-filing {clientTemplateStateId} is already on this task.',
|
|
215
|
+
params: ['clientTemplateStateId'],
|
|
216
|
+
affectedFields: ['filings'],
|
|
217
|
+
},
|
|
218
|
+
TASK_FILING_STATE_NOT_ELIGIBLE: {
|
|
219
|
+
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
220
|
+
message: "State sub-filing {clientTemplateStateId} cannot be added to this task. It must belong to this task's client template and be active during the filing period.",
|
|
221
|
+
params: ['clientTemplateStateId'],
|
|
222
|
+
affectedFields: ['filings'],
|
|
223
|
+
},
|
|
207
224
|
CANNOT_MODIFY_FINAL_ASSIGNMENT: {
|
|
208
225
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
209
226
|
message: 'Assignment "{assignmentName}" is final and cannot be modified.',
|
|
@@ -2653,6 +2653,23 @@ export declare const VALIDATION_MESSAGES: {
|
|
|
2653
2653
|
message: string;
|
|
2654
2654
|
affectedFields: never[];
|
|
2655
2655
|
};
|
|
2656
|
+
CANNOT_REIMPORT_FILINGS_TASK_CLOSED: {
|
|
2657
|
+
severity: "error";
|
|
2658
|
+
message: string;
|
|
2659
|
+
affectedFields: never[];
|
|
2660
|
+
};
|
|
2661
|
+
TASK_FILING_STATE_ALREADY_ON_TASK: {
|
|
2662
|
+
severity: "error";
|
|
2663
|
+
message: string;
|
|
2664
|
+
params: string[];
|
|
2665
|
+
affectedFields: string[];
|
|
2666
|
+
};
|
|
2667
|
+
TASK_FILING_STATE_NOT_ELIGIBLE: {
|
|
2668
|
+
severity: "error";
|
|
2669
|
+
message: string;
|
|
2670
|
+
params: string[];
|
|
2671
|
+
affectedFields: string[];
|
|
2672
|
+
};
|
|
2656
2673
|
CANNOT_MODIFY_FINAL_ASSIGNMENT: {
|
|
2657
2674
|
severity: "error";
|
|
2658
2675
|
message: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validation-messages.d.ts","sourceRoot":"","sources":["../../src/validation/validation-messages.ts"],"names":[],"mappings":"AAkCA,eAAO,MAAM,mBAAmB
|
|
1
|
+
{"version":3,"file":"validation-messages.d.ts","sourceRoot":"","sources":["../../src/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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkCtB,CAAC"}
|
package/package.json
CHANGED
|
@@ -105,7 +105,7 @@ export const CLIENT_TEMPLATES = defineValidationFeatureMessages({
|
|
|
105
105
|
},
|
|
106
106
|
DELETE_BLOCKED_BY_GENERATED_TASKS: {
|
|
107
107
|
severity: VALIDATION_SEVERITY.ERROR,
|
|
108
|
-
message: '
|
|
108
|
+
message: 'This client template cannot be deleted because there are associated tasks already',
|
|
109
109
|
affectedFields: ['clientTemplateId'],
|
|
110
110
|
},
|
|
111
111
|
OVERRIDE_RECURRENCE_NOT_ALLOWED: {
|
|
@@ -213,6 +213,24 @@ export const TASKS = defineValidationFeatureMessages({
|
|
|
213
213
|
message: 'Assignments cannot be re-imported once this task has been closed.',
|
|
214
214
|
affectedFields: [],
|
|
215
215
|
},
|
|
216
|
+
CANNOT_REIMPORT_FILINGS_TASK_CLOSED: {
|
|
217
|
+
severity: VALIDATION_SEVERITY.ERROR,
|
|
218
|
+
message: 'State sub-filings cannot be re-imported once this task has been closed.',
|
|
219
|
+
affectedFields: [],
|
|
220
|
+
},
|
|
221
|
+
TASK_FILING_STATE_ALREADY_ON_TASK: {
|
|
222
|
+
severity: VALIDATION_SEVERITY.ERROR,
|
|
223
|
+
message: 'State sub-filing {clientTemplateStateId} is already on this task.',
|
|
224
|
+
params: ['clientTemplateStateId'],
|
|
225
|
+
affectedFields: ['filings'],
|
|
226
|
+
},
|
|
227
|
+
TASK_FILING_STATE_NOT_ELIGIBLE: {
|
|
228
|
+
severity: VALIDATION_SEVERITY.ERROR,
|
|
229
|
+
message:
|
|
230
|
+
"State sub-filing {clientTemplateStateId} cannot be added to this task. It must belong to this task's client template and be active during the filing period.",
|
|
231
|
+
params: ['clientTemplateStateId'],
|
|
232
|
+
affectedFields: ['filings'],
|
|
233
|
+
},
|
|
216
234
|
CANNOT_MODIFY_FINAL_ASSIGNMENT: {
|
|
217
235
|
severity: VALIDATION_SEVERITY.ERROR,
|
|
218
236
|
message: 'Assignment "{assignmentName}" is final and cannot be modified.',
|