@forwardslashns/taskit-validation-messages 1.0.33 → 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,7 +211,8 @@ 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
218
  readonly message: "The ending date for {entityType} must be after its starting date";
@@ -255,7 +256,8 @@ export declare const VALIDATION_MESSAGES: {
255
256
  readonly message: "At least one Parent/Sub status should exist";
256
257
  };
257
258
  readonly FILING_TYPES_STARTING_DATE_NOT_POPULATED: {
258
- 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"];
259
261
  };
260
262
  readonly NOT_ALIGNED_FILING_TYPES_STARTING_ENDING_DATE: {
261
263
  readonly message: "The ending date for {filingType} must be after its starting date";
@@ -303,7 +305,8 @@ export declare const VALIDATION_MESSAGES: {
303
305
  readonly message: "At least one domestic state should exist";
304
306
  };
305
307
  readonly STATES_STARTING_DATE_NOT_POPULATED: {
306
- readonly message: "States Starting Date cannot be Empty";
308
+ readonly message: "Starting date for {state} cannot be empty";
309
+ readonly params: readonly ["state"];
307
310
  };
308
311
  readonly NOT_ALIGNED_STATES_STARTING_ENDING_DATE: {
309
312
  readonly message: "The ending date for {state} must be after its starting date";
@@ -1 +1 @@
1
- {"version":3,"file":"validation-messages.d.ts","sourceRoot":"","sources":["../../src/validation/validation-messages.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAybtB,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,7 +215,8 @@ 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
222
  message: `The ending date for {entityType} must be after its starting date`,
@@ -260,7 +261,8 @@ exports.VALIDATION_MESSAGES = {
260
261
  message: `At least one Parent/Sub status should exist`,
261
262
  },
262
263
  FILING_TYPES_STARTING_DATE_NOT_POPULATED: {
263
- message: `Parent/Sub status Starting Date cannot be Empty`,
264
+ message: `Starting date for {filingType} cannot be empty`,
265
+ params: ['filingType'],
264
266
  },
265
267
  NOT_ALIGNED_FILING_TYPES_STARTING_ENDING_DATE: {
266
268
  message: `The ending date for {filingType} must be after its starting date`,
@@ -309,7 +311,8 @@ exports.VALIDATION_MESSAGES = {
309
311
  message: `At least one domestic state should exist`,
310
312
  },
311
313
  STATES_STARTING_DATE_NOT_POPULATED: {
312
- message: `States Starting Date cannot be Empty`,
314
+ message: `Starting date for {state} cannot be empty`,
315
+ params: ['state'],
313
316
  },
314
317
  NOT_ALIGNED_STATES_STARTING_ENDING_DATE: {
315
318
  message: `The ending date for {state} must be after its starting date`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forwardslashns/taskit-validation-messages",
3
- "version": "1.0.33",
3
+ "version": "1.0.34",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "type": "commonjs",
@@ -212,7 +212,8 @@ 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
219
  message: `The ending date for {entityType} must be after its starting date`,
@@ -257,7 +258,8 @@ export const VALIDATION_MESSAGES = {
257
258
  message: `At least one Parent/Sub status should exist`,
258
259
  },
259
260
  FILING_TYPES_STARTING_DATE_NOT_POPULATED: {
260
- message: `Parent/Sub status Starting Date cannot be Empty`,
261
+ message: `Starting date for {filingType} cannot be empty`,
262
+ params: ['filingType'],
261
263
  },
262
264
  NOT_ALIGNED_FILING_TYPES_STARTING_ENDING_DATE: {
263
265
  message: `The ending date for {filingType} must be after its starting date`,
@@ -306,7 +308,8 @@ export const VALIDATION_MESSAGES = {
306
308
  message: `At least one domestic state should exist`,
307
309
  },
308
310
  STATES_STARTING_DATE_NOT_POPULATED: {
309
- message: `States Starting Date cannot be Empty`,
311
+ message: `Starting date for {state} cannot be empty`,
312
+ params: ['state'],
310
313
  },
311
314
  NOT_ALIGNED_STATES_STARTING_ENDING_DATE: {
312
315
  message: `The ending date for {state} must be after its starting date`,