@forwardslashns/taskit-validation-messages 1.0.3 → 1.0.4

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,8 +211,8 @@ export declare const VALIDATION_MESSAGES: {
211
211
  readonly params: readonly ["state", "stateStartDate", "stateEndDate"];
212
212
  };
213
213
  readonly DOMESTIC_STATE_DATE_GAP_DETECTED: {
214
- readonly message: "There is a gap in the timeframes between {state}, ending {stateEndDate}, and {state}, starting {stateStartDate}. Please adjust the dates to fill this gap.";
215
- readonly params: readonly ["state", "stateStartDate", "stateEndDate"];
214
+ readonly message: "There is a gap in the timeframes between {currentState}, ending {currentStateEndDate}, and {nextState}, starting {nextStateStartDate}. Please adjust the dates to fill this gap.";
215
+ readonly params: readonly ["currentState", "currentStateEndDate", "nextState", "nextStateStartDate"];
216
216
  };
217
217
  };
218
218
  readonly FILING_CATEGORY: {
@@ -218,8 +218,8 @@ exports.VALIDATION_MESSAGES = {
218
218
  params: ['state', 'stateStartDate', 'stateEndDate'],
219
219
  },
220
220
  DOMESTIC_STATE_DATE_GAP_DETECTED: {
221
- message: `There is a gap in the timeframes between {state}, ending {stateEndDate}, and {state}, starting {stateStartDate}. Please adjust the dates to fill this gap.`,
222
- params: ['state', 'stateStartDate', 'stateEndDate'],
221
+ message: `There is a gap in the timeframes between {currentState}, ending {currentStateEndDate}, and {nextState}, starting {nextStateStartDate}. Please adjust the dates to fill this gap.`,
222
+ params: ['currentState', 'currentStateEndDate', 'nextState', 'nextStateStartDate'],
223
223
  },
224
224
  },
225
225
  FILING_CATEGORY: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forwardslashns/taskit-validation-messages",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "type": "commonjs",
@@ -215,8 +215,8 @@ export const VALIDATION_MESSAGES = {
215
215
  params: ['state', 'stateStartDate', 'stateEndDate'],
216
216
  },
217
217
  DOMESTIC_STATE_DATE_GAP_DETECTED: {
218
- message: `There is a gap in the timeframes between {state}, ending {stateEndDate}, and {state}, starting {stateStartDate}. Please adjust the dates to fill this gap.`,
219
- params: ['state', 'stateStartDate', 'stateEndDate'],
218
+ message: `There is a gap in the timeframes between {currentState}, ending {currentStateEndDate}, and {nextState}, starting {nextStateStartDate}. Please adjust the dates to fill this gap.`,
219
+ params: ['currentState', 'currentStateEndDate', 'nextState', 'nextStateStartDate'],
220
220
  },
221
221
  },
222
222
  FILING_CATEGORY: {