@forwardslashns/taskit-validation-messages 1.0.32 → 1.0.33

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.
@@ -214,7 +214,8 @@ export declare const VALIDATION_MESSAGES: {
214
214
  readonly message: "Entity Type Starting Date cannot be Empty";
215
215
  };
216
216
  readonly NOT_ALIGNED_ENTITY_TYPES_STARTING_ENDING_DATE: {
217
- readonly message: "Entity type starting date needs to be before the ending date";
217
+ readonly message: "The ending date for {entityType} must be after its starting date";
218
+ readonly params: readonly ["entityType"];
218
219
  };
219
220
  readonly NOT_ALIGNED_DATE_ESTABLISHED_ENTITY_TYPES_STARTING_DATE: {
220
221
  readonly message: "Adjust the start date to be on or after the client's date established, {clientStartDate}.";
@@ -257,7 +258,8 @@ export declare const VALIDATION_MESSAGES: {
257
258
  readonly message: "Parent/Sub status Starting Date cannot be Empty";
258
259
  };
259
260
  readonly NOT_ALIGNED_FILING_TYPES_STARTING_ENDING_DATE: {
260
- readonly message: "Parent/Sub status starting date needs to be before the ending date";
261
+ readonly message: "The ending date for {filingType} must be after its starting date";
262
+ readonly params: readonly ["filingType"];
261
263
  };
262
264
  readonly NOT_ALIGNED_DATE_ESTABLISHED_FILING_TYPES_STARTING_DATE: {
263
265
  readonly message: "Adjust the start date to be on or after the client's date established, {clientStartDate}.";
@@ -304,7 +306,8 @@ export declare const VALIDATION_MESSAGES: {
304
306
  readonly message: "States Starting Date cannot be Empty";
305
307
  };
306
308
  readonly NOT_ALIGNED_STATES_STARTING_ENDING_DATE: {
307
- readonly message: "State starting date needs to be before the ending date";
309
+ readonly message: "The ending date for {state} must be after its starting date";
310
+ readonly params: readonly ["state"];
308
311
  };
309
312
  readonly NOT_ALIGNED_DATE_ESTABLISHED_STATES_STARTING_DATE: {
310
313
  readonly message: "Adjust the start date to be on or after the client's date established, {clientStartDate}.";
@@ -1 +1 @@
1
- {"version":3,"file":"validation-messages.d.ts","sourceRoot":"","sources":["../../src/validation/validation-messages.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsbtB,CAAC"}
1
+ {"version":3,"file":"validation-messages.d.ts","sourceRoot":"","sources":["../../src/validation/validation-messages.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAybtB,CAAC"}
@@ -218,7 +218,8 @@ exports.VALIDATION_MESSAGES = {
218
218
  message: `Entity Type Starting Date cannot be Empty`,
219
219
  },
220
220
  NOT_ALIGNED_ENTITY_TYPES_STARTING_ENDING_DATE: {
221
- message: `Entity type starting date needs to be before the ending date`,
221
+ message: `The ending date for {entityType} must be after its starting date`,
222
+ params: ['entityType'],
222
223
  },
223
224
  NOT_ALIGNED_DATE_ESTABLISHED_ENTITY_TYPES_STARTING_DATE: {
224
225
  message: `Adjust the start date to be on or after the client's date established, {clientStartDate}.`,
@@ -262,7 +263,8 @@ exports.VALIDATION_MESSAGES = {
262
263
  message: `Parent/Sub status Starting Date cannot be Empty`,
263
264
  },
264
265
  NOT_ALIGNED_FILING_TYPES_STARTING_ENDING_DATE: {
265
- message: `Parent/Sub status starting date needs to be before the ending date`,
266
+ message: `The ending date for {filingType} must be after its starting date`,
267
+ params: ['filingType'],
266
268
  },
267
269
  NOT_ALIGNED_DATE_ESTABLISHED_FILING_TYPES_STARTING_DATE: {
268
270
  message: `Adjust the start date to be on or after the client's date established, {clientStartDate}.`,
@@ -310,7 +312,8 @@ exports.VALIDATION_MESSAGES = {
310
312
  message: `States Starting Date cannot be Empty`,
311
313
  },
312
314
  NOT_ALIGNED_STATES_STARTING_ENDING_DATE: {
313
- message: `State starting date needs to be before the ending date`,
315
+ message: `The ending date for {state} must be after its starting date`,
316
+ params: ['state'],
314
317
  },
315
318
  NOT_ALIGNED_DATE_ESTABLISHED_STATES_STARTING_DATE: {
316
319
  message: `Adjust the start date to be on or after the client's date established, {clientStartDate}.`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forwardslashns/taskit-validation-messages",
3
- "version": "1.0.32",
3
+ "version": "1.0.33",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "type": "commonjs",
@@ -215,7 +215,8 @@ export const VALIDATION_MESSAGES = {
215
215
  message: `Entity Type Starting Date cannot be Empty`,
216
216
  },
217
217
  NOT_ALIGNED_ENTITY_TYPES_STARTING_ENDING_DATE: {
218
- message: `Entity type starting date needs to be before the ending date`,
218
+ message: `The ending date for {entityType} must be after its starting date`,
219
+ params: ['entityType'],
219
220
  },
220
221
  NOT_ALIGNED_DATE_ESTABLISHED_ENTITY_TYPES_STARTING_DATE: {
221
222
  message: `Adjust the start date to be on or after the client's date established, {clientStartDate}.`,
@@ -259,7 +260,8 @@ export const VALIDATION_MESSAGES = {
259
260
  message: `Parent/Sub status Starting Date cannot be Empty`,
260
261
  },
261
262
  NOT_ALIGNED_FILING_TYPES_STARTING_ENDING_DATE: {
262
- message: `Parent/Sub status starting date needs to be before the ending date`,
263
+ message: `The ending date for {filingType} must be after its starting date`,
264
+ params: ['filingType'],
263
265
  },
264
266
  NOT_ALIGNED_DATE_ESTABLISHED_FILING_TYPES_STARTING_DATE: {
265
267
  message: `Adjust the start date to be on or after the client's date established, {clientStartDate}.`,
@@ -307,7 +309,8 @@ export const VALIDATION_MESSAGES = {
307
309
  message: `States Starting Date cannot be Empty`,
308
310
  },
309
311
  NOT_ALIGNED_STATES_STARTING_ENDING_DATE: {
310
- message: `State starting date needs to be before the ending date`,
312
+ message: `The ending date for {state} must be after its starting date`,
313
+ params: ['state'],
311
314
  },
312
315
  NOT_ALIGNED_DATE_ESTABLISHED_STATES_STARTING_DATE: {
313
316
  message: `Adjust the start date to be on or after the client's date established, {clientStartDate}.`,