@forwardslashns/taskit-validation-messages 1.0.21 → 1.0.22

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,9 +240,8 @@ 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_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"];
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.";
246
245
  };
247
246
  };
248
247
  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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiWtB,CAAC"}
1
+ {"version":3,"file":"validation-messages.d.ts","sourceRoot":"","sources":["../../src/validation/validation-messages.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+VtB,CAAC"}
@@ -251,9 +251,8 @@ 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_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'],
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.`,
257
256
  },
258
257
  },
259
258
  FILING_CATEGORY: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forwardslashns/taskit-validation-messages",
3
- "version": "1.0.21",
3
+ "version": "1.0.22",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "type": "commonjs",
@@ -248,11 +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_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'],
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.`,
254
253
  },
255
-
256
254
  },
257
255
  FILING_CATEGORY: {
258
256
  INVALID_REQUEST: {