@forwardslashns/taskit-validation-messages 1.0.19 → 1.0.20

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.
@@ -240,8 +240,9 @@ export declare const VALIDATION_MESSAGES: {
240
240
  readonly message: "There cannot be two foreign states in the same timeframe. The state of {state} has a timeframe starting {stateStartDate} and ending {stateEndDate}. Please adjust the dates on the new or existing foreign state/s to avoid an overlap.";
241
241
  readonly params: readonly ["state", "stateStartDate", "stateEndDate"];
242
242
  };
243
- readonly ALL_NON_LAST_DOMESTIC_STATES_REQUIRE_ENDING_DATE: {
244
- readonly message: "Only the last domestic state can be open without an end date. Add an ending date to the existing state before adding a start date for a new state.";
243
+ readonly ALL_NON_LAST_STATES_REQUIRE_ENDING_DATE: {
244
+ readonly message: "Only the last {residence} state can be open without an end date. Add an ending date to the existing state before adding a start date for a new state.";
245
+ readonly params: readonly ["residence"];
245
246
  };
246
247
  };
247
248
  readonly FILING_CATEGORY: {
@@ -1 +1 @@
1
- {"version":3,"file":"validation-messages.d.ts","sourceRoot":"","sources":["../../src/validation/validation-messages.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgWtB,CAAC"}
1
+ {"version":3,"file":"validation-messages.d.ts","sourceRoot":"","sources":["../../src/validation/validation-messages.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiWtB,CAAC"}
@@ -251,8 +251,9 @@ exports.VALIDATION_MESSAGES = {
251
251
  message: `There cannot be two foreign states in the same timeframe. The state of {state} has a timeframe starting {stateStartDate} and ending {stateEndDate}. Please adjust the dates on the new or existing foreign state/s to avoid an overlap.`,
252
252
  params: ['state', 'stateStartDate', 'stateEndDate'],
253
253
  },
254
- ALL_NON_LAST_DOMESTIC_STATES_REQUIRE_ENDING_DATE: {
255
- message: `Only the last domestic state can be open without an end date. Add an ending date to the existing state before adding a start date for a new state.`,
254
+ ALL_NON_LAST_STATES_REQUIRE_ENDING_DATE: {
255
+ message: `Only the last {residence} state can be open without an end date. Add an ending date to the existing state before adding a start date for a new state.`,
256
+ params: ['residence'],
256
257
  },
257
258
  },
258
259
  FILING_CATEGORY: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forwardslashns/taskit-validation-messages",
3
- "version": "1.0.19",
3
+ "version": "1.0.20",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "type": "commonjs",
@@ -248,8 +248,9 @@ export const VALIDATION_MESSAGES = {
248
248
  message: `There cannot be two foreign states in the same timeframe. The state of {state} has a timeframe starting {stateStartDate} and ending {stateEndDate}. Please adjust the dates on the new or existing foreign state/s to avoid an overlap.`,
249
249
  params: ['state', 'stateStartDate', 'stateEndDate'],
250
250
  },
251
- ALL_NON_LAST_DOMESTIC_STATES_REQUIRE_ENDING_DATE: {
252
- message: `Only the last domestic state can be open without an end date. Add an ending date to the existing state before adding a start date for a new state.`,
251
+ ALL_NON_LAST_STATES_REQUIRE_ENDING_DATE: {
252
+ message: `Only the last {residence} state can be open without an end date. Add an ending date to the existing state before adding a start date for a new state.`,
253
+ params: ['residence'],
253
254
  },
254
255
 
255
256
  },