@forwardslashns/taskit-validation-messages 1.10.53 → 1.10.54
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-current-entity-statuses.validation-messages.d.ts +5 -0
- package/dist/validation/features/client-current-entity-statuses.validation-messages.d.ts.map +1 -1
- package/dist/validation/features/client-current-entity-statuses.validation-messages.js +5 -0
- package/dist/validation/features/tasks.validation-messages.d.ts +5 -0
- package/dist/validation/features/tasks.validation-messages.d.ts.map +1 -1
- package/dist/validation/features/tasks.validation-messages.js +5 -0
- package/dist/validation/validation-messages.d.ts +10 -0
- package/dist/validation/validation-messages.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/validation/features/client-current-entity-statuses.validation-messages.ts +5 -0
- package/src/validation/features/tasks.validation-messages.ts +6 -0
|
@@ -181,6 +181,11 @@ export declare const CLIENT_CURRENT_ENTITY_STATUS: {
|
|
|
181
181
|
message: string;
|
|
182
182
|
affectedFields: never[];
|
|
183
183
|
};
|
|
184
|
+
CLIENT_COULD_NOT_BE_DELETED_TASKS_EXIST: {
|
|
185
|
+
severity: "error";
|
|
186
|
+
message: string;
|
|
187
|
+
affectedFields: never[];
|
|
188
|
+
};
|
|
184
189
|
INITIAL_FILING_DATE_BEFORE_DATE_ESTABLISHED: {
|
|
185
190
|
severity: "error";
|
|
186
191
|
message: string;
|
package/dist/validation/features/client-current-entity-statuses.validation-messages.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client-current-entity-statuses.validation-messages.d.ts","sourceRoot":"","sources":["../../../src/validation/features/client-current-entity-statuses.validation-messages.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,4BAA4B
|
|
1
|
+
{"version":3,"file":"client-current-entity-statuses.validation-messages.d.ts","sourceRoot":"","sources":["../../../src/validation/features/client-current-entity-statuses.validation-messages.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyNvC,CAAC"}
|
|
@@ -185,6 +185,11 @@ exports.CLIENT_CURRENT_ENTITY_STATUS = (0, validation_message_types_1.defineVali
|
|
|
185
185
|
message: `This client cannot be deleted because it has contacts associated`,
|
|
186
186
|
affectedFields: [],
|
|
187
187
|
},
|
|
188
|
+
CLIENT_COULD_NOT_BE_DELETED_TASKS_EXIST: {
|
|
189
|
+
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
190
|
+
message: `This client cannot be deleted because it has active tasks associated. Delete or close the tasks first.`,
|
|
191
|
+
affectedFields: [],
|
|
192
|
+
},
|
|
188
193
|
INITIAL_FILING_DATE_BEFORE_DATE_ESTABLISHED: {
|
|
189
194
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
190
195
|
message: `Initial filing date cannot be before date established {dateEstablished}. Please adjust the dates to continue.`,
|
|
@@ -68,5 +68,10 @@ export declare const TASKS: {
|
|
|
68
68
|
message: string;
|
|
69
69
|
affectedFields: string[];
|
|
70
70
|
};
|
|
71
|
+
CLIENT_TEMPLATE_ENDING_DATE_CONFLICTS_WITH_TASKS: {
|
|
72
|
+
severity: "error";
|
|
73
|
+
message: string;
|
|
74
|
+
affectedFields: string[];
|
|
75
|
+
};
|
|
71
76
|
};
|
|
72
77
|
//# sourceMappingURL=tasks.validation-messages.d.ts.map
|
|
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+EhB,CAAC"}
|
|
@@ -72,4 +72,9 @@ exports.TASKS = (0, validation_message_types_1.defineValidationFeatureMessages)(
|
|
|
72
72
|
message: 'The provided client does not match the client of the referenced client template.',
|
|
73
73
|
affectedFields: ['clientId', 'clientTemplateId'],
|
|
74
74
|
},
|
|
75
|
+
CLIENT_TEMPLATE_ENDING_DATE_CONFLICTS_WITH_TASKS: {
|
|
76
|
+
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
77
|
+
message: 'Client template ending date cannot be set before existing task periods. One or more tasks have periods ending after the selected date.',
|
|
78
|
+
affectedFields: ['endingDate'],
|
|
79
|
+
},
|
|
75
80
|
});
|
|
@@ -465,6 +465,11 @@ export declare const VALIDATION_MESSAGES: {
|
|
|
465
465
|
message: string;
|
|
466
466
|
affectedFields: never[];
|
|
467
467
|
};
|
|
468
|
+
CLIENT_COULD_NOT_BE_DELETED_TASKS_EXIST: {
|
|
469
|
+
severity: "error";
|
|
470
|
+
message: string;
|
|
471
|
+
affectedFields: never[];
|
|
472
|
+
};
|
|
468
473
|
INITIAL_FILING_DATE_BEFORE_DATE_ESTABLISHED: {
|
|
469
474
|
severity: "error";
|
|
470
475
|
message: string;
|
|
@@ -2408,6 +2413,11 @@ export declare const VALIDATION_MESSAGES: {
|
|
|
2408
2413
|
message: string;
|
|
2409
2414
|
affectedFields: string[];
|
|
2410
2415
|
};
|
|
2416
|
+
CLIENT_TEMPLATE_ENDING_DATE_CONFLICTS_WITH_TASKS: {
|
|
2417
|
+
severity: "error";
|
|
2418
|
+
message: string;
|
|
2419
|
+
affectedFields: string[];
|
|
2420
|
+
};
|
|
2411
2421
|
};
|
|
2412
2422
|
};
|
|
2413
2423
|
//# sourceMappingURL=validation-messages.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validation-messages.d.ts","sourceRoot":"","sources":["../../src/validation/validation-messages.ts"],"names":[],"mappings":"AA+BA,eAAO,MAAM,mBAAmB
|
|
1
|
+
{"version":3,"file":"validation-messages.d.ts","sourceRoot":"","sources":["../../src/validation/validation-messages.ts"],"names":[],"mappings":"AA+BA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+BtB,CAAC"}
|
package/package.json
CHANGED
|
@@ -183,6 +183,11 @@ export const CLIENT_CURRENT_ENTITY_STATUS = defineValidationFeatureMessages({
|
|
|
183
183
|
message: `This client cannot be deleted because it has contacts associated`,
|
|
184
184
|
affectedFields: [],
|
|
185
185
|
},
|
|
186
|
+
CLIENT_COULD_NOT_BE_DELETED_TASKS_EXIST: {
|
|
187
|
+
severity: VALIDATION_SEVERITY.ERROR,
|
|
188
|
+
message: `This client cannot be deleted because it has active tasks associated. Delete or close the tasks first.`,
|
|
189
|
+
affectedFields: [],
|
|
190
|
+
},
|
|
186
191
|
INITIAL_FILING_DATE_BEFORE_DATE_ESTABLISHED: {
|
|
187
192
|
severity: VALIDATION_SEVERITY.ERROR,
|
|
188
193
|
message: `Initial filing date cannot be before date established {dateEstablished}. Please adjust the dates to continue.`,
|
|
@@ -73,4 +73,10 @@ export const TASKS = defineValidationFeatureMessages({
|
|
|
73
73
|
message: 'The provided client does not match the client of the referenced client template.',
|
|
74
74
|
affectedFields: ['clientId', 'clientTemplateId'],
|
|
75
75
|
},
|
|
76
|
+
CLIENT_TEMPLATE_ENDING_DATE_CONFLICTS_WITH_TASKS: {
|
|
77
|
+
severity: VALIDATION_SEVERITY.ERROR,
|
|
78
|
+
message:
|
|
79
|
+
'Client template ending date cannot be set before existing task periods. One or more tasks have periods ending after the selected date.',
|
|
80
|
+
affectedFields: ['endingDate'],
|
|
81
|
+
},
|
|
76
82
|
});
|