@forwardslashns/taskit-validation-messages 1.0.32 → 1.0.34

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.
@@ -211,10 +211,12 @@ export declare const VALIDATION_MESSAGES: {
211
211
  readonly message: "At least one entity type should exist";
212
212
  };
213
213
  readonly ENTITY_TYPES_STARTING_DATE_NOT_POPULATED: {
214
- readonly message: "Entity Type Starting Date cannot be Empty";
214
+ readonly message: "Starting date for {entityType} cannot be empty";
215
+ readonly params: readonly ["entityType"];
215
216
  };
216
217
  readonly NOT_ALIGNED_ENTITY_TYPES_STARTING_ENDING_DATE: {
217
- readonly message: "Entity type starting date needs to be before the ending date";
218
+ readonly message: "The ending date for {entityType} must be after its starting date";
219
+ readonly params: readonly ["entityType"];
218
220
  };
219
221
  readonly NOT_ALIGNED_DATE_ESTABLISHED_ENTITY_TYPES_STARTING_DATE: {
220
222
  readonly message: "Adjust the start date to be on or after the client's date established, {clientStartDate}.";
@@ -254,10 +256,12 @@ export declare const VALIDATION_MESSAGES: {
254
256
  readonly message: "At least one Parent/Sub status should exist";
255
257
  };
256
258
  readonly FILING_TYPES_STARTING_DATE_NOT_POPULATED: {
257
- readonly message: "Parent/Sub status Starting Date cannot be Empty";
259
+ readonly message: "Starting date for {filingType} cannot be empty";
260
+ readonly params: readonly ["filingType"];
258
261
  };
259
262
  readonly NOT_ALIGNED_FILING_TYPES_STARTING_ENDING_DATE: {
260
- readonly message: "Parent/Sub status starting date needs to be before the ending date";
263
+ readonly message: "The ending date for {filingType} must be after its starting date";
264
+ readonly params: readonly ["filingType"];
261
265
  };
262
266
  readonly NOT_ALIGNED_DATE_ESTABLISHED_FILING_TYPES_STARTING_DATE: {
263
267
  readonly message: "Adjust the start date to be on or after the client's date established, {clientStartDate}.";
@@ -301,10 +305,12 @@ export declare const VALIDATION_MESSAGES: {
301
305
  readonly message: "At least one domestic state should exist";
302
306
  };
303
307
  readonly STATES_STARTING_DATE_NOT_POPULATED: {
304
- readonly message: "States Starting Date cannot be Empty";
308
+ readonly message: "Starting date for {state} cannot be empty";
309
+ readonly params: readonly ["state"];
305
310
  };
306
311
  readonly NOT_ALIGNED_STATES_STARTING_ENDING_DATE: {
307
- readonly message: "State starting date needs to be before the ending date";
312
+ readonly message: "The ending date for {state} must be after its starting date";
313
+ readonly params: readonly ["state"];
308
314
  };
309
315
  readonly NOT_ALIGNED_DATE_ESTABLISHED_STATES_STARTING_DATE: {
310
316
  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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4btB,CAAC"}
@@ -215,10 +215,12 @@ exports.VALIDATION_MESSAGES = {
215
215
  message: `At least one entity type should exist`,
216
216
  },
217
217
  ENTITY_TYPES_STARTING_DATE_NOT_POPULATED: {
218
- message: `Entity Type Starting Date cannot be Empty`,
218
+ message: `Starting date for {entityType} cannot be empty`,
219
+ params: ['entityType'],
219
220
  },
220
221
  NOT_ALIGNED_ENTITY_TYPES_STARTING_ENDING_DATE: {
221
- message: `Entity type starting date needs to be before the ending date`,
222
+ message: `The ending date for {entityType} must be after its starting date`,
223
+ params: ['entityType'],
222
224
  },
223
225
  NOT_ALIGNED_DATE_ESTABLISHED_ENTITY_TYPES_STARTING_DATE: {
224
226
  message: `Adjust the start date to be on or after the client's date established, {clientStartDate}.`,
@@ -259,10 +261,12 @@ exports.VALIDATION_MESSAGES = {
259
261
  message: `At least one Parent/Sub status should exist`,
260
262
  },
261
263
  FILING_TYPES_STARTING_DATE_NOT_POPULATED: {
262
- message: `Parent/Sub status Starting Date cannot be Empty`,
264
+ message: `Starting date for {filingType} cannot be empty`,
265
+ params: ['filingType'],
263
266
  },
264
267
  NOT_ALIGNED_FILING_TYPES_STARTING_ENDING_DATE: {
265
- message: `Parent/Sub status starting date needs to be before the ending date`,
268
+ message: `The ending date for {filingType} must be after its starting date`,
269
+ params: ['filingType'],
266
270
  },
267
271
  NOT_ALIGNED_DATE_ESTABLISHED_FILING_TYPES_STARTING_DATE: {
268
272
  message: `Adjust the start date to be on or after the client's date established, {clientStartDate}.`,
@@ -307,10 +311,12 @@ exports.VALIDATION_MESSAGES = {
307
311
  message: `At least one domestic state should exist`,
308
312
  },
309
313
  STATES_STARTING_DATE_NOT_POPULATED: {
310
- message: `States Starting Date cannot be Empty`,
314
+ message: `Starting date for {state} cannot be empty`,
315
+ params: ['state'],
311
316
  },
312
317
  NOT_ALIGNED_STATES_STARTING_ENDING_DATE: {
313
- message: `State starting date needs to be before the ending date`,
318
+ message: `The ending date for {state} must be after its starting date`,
319
+ params: ['state'],
314
320
  },
315
321
  NOT_ALIGNED_DATE_ESTABLISHED_STATES_STARTING_DATE: {
316
322
  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.34",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "type": "commonjs",
@@ -212,10 +212,12 @@ export const VALIDATION_MESSAGES = {
212
212
  message: `At least one entity type should exist`,
213
213
  },
214
214
  ENTITY_TYPES_STARTING_DATE_NOT_POPULATED: {
215
- message: `Entity Type Starting Date cannot be Empty`,
215
+ message: `Starting date for {entityType} cannot be empty`,
216
+ params: ['entityType'],
216
217
  },
217
218
  NOT_ALIGNED_ENTITY_TYPES_STARTING_ENDING_DATE: {
218
- message: `Entity type starting date needs to be before the ending date`,
219
+ message: `The ending date for {entityType} must be after its starting date`,
220
+ params: ['entityType'],
219
221
  },
220
222
  NOT_ALIGNED_DATE_ESTABLISHED_ENTITY_TYPES_STARTING_DATE: {
221
223
  message: `Adjust the start date to be on or after the client's date established, {clientStartDate}.`,
@@ -256,10 +258,12 @@ export const VALIDATION_MESSAGES = {
256
258
  message: `At least one Parent/Sub status should exist`,
257
259
  },
258
260
  FILING_TYPES_STARTING_DATE_NOT_POPULATED: {
259
- message: `Parent/Sub status Starting Date cannot be Empty`,
261
+ message: `Starting date for {filingType} cannot be empty`,
262
+ params: ['filingType'],
260
263
  },
261
264
  NOT_ALIGNED_FILING_TYPES_STARTING_ENDING_DATE: {
262
- message: `Parent/Sub status starting date needs to be before the ending date`,
265
+ message: `The ending date for {filingType} must be after its starting date`,
266
+ params: ['filingType'],
263
267
  },
264
268
  NOT_ALIGNED_DATE_ESTABLISHED_FILING_TYPES_STARTING_DATE: {
265
269
  message: `Adjust the start date to be on or after the client's date established, {clientStartDate}.`,
@@ -304,10 +308,12 @@ export const VALIDATION_MESSAGES = {
304
308
  message: `At least one domestic state should exist`,
305
309
  },
306
310
  STATES_STARTING_DATE_NOT_POPULATED: {
307
- message: `States Starting Date cannot be Empty`,
311
+ message: `Starting date for {state} cannot be empty`,
312
+ params: ['state'],
308
313
  },
309
314
  NOT_ALIGNED_STATES_STARTING_ENDING_DATE: {
310
- 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'],
311
317
  },
312
318
  NOT_ALIGNED_DATE_ESTABLISHED_STATES_STARTING_DATE: {
313
319
  message: `Adjust the start date to be on or after the client's date established, {clientStartDate}.`,