@forwardslashns/taskit-validation-messages 1.0.20 → 1.0.21

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.
@@ -220,11 +220,11 @@ export declare const VALIDATION_MESSAGES: {
220
220
  readonly message: "One or more states have a start date which is after the client's close date of {clientCloseDate}. {domesticState} starting {domesticStateStartingDate}. Please update the state/s start date/s to be before the client's close date, or update the client's close date.";
221
221
  readonly params: readonly ["clientCloseDate", "domesticState", "domesticStateStartingDate"];
222
222
  };
223
- readonly STATE_DATE_GAP_DETECTED: {
223
+ readonly DOMESTIC_STATES_DATE_GAP_DETECTED: {
224
224
  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.";
225
225
  readonly params: readonly ["currentState", "currentStateEndDate", "nextState", "nextStateStartDate"];
226
226
  };
227
- readonly DOMESTIC_STATE_CONSECUTIVE_DUPLICATES_DETECTED: {
227
+ readonly STATES_CONSECUTIVE_DUPLICATES_DETECTED: {
228
228
  readonly message: "There are two entries for {state} with timeframes that immediately follow each other. {state} ending {firstPeriodEnd}, and {state} starting {secondPeriodStart}. Please update one entry to include the entire timeframe for {state}. ";
229
229
  readonly params: readonly ["state", "firstPeriodStart", "firstPeriodEnd", "secondPeriodStart"];
230
230
  };
@@ -231,11 +231,11 @@ exports.VALIDATION_MESSAGES = {
231
231
  message: `One or more states have a start date which is after the client's close date of {clientCloseDate}. {domesticState} starting {domesticStateStartingDate}. Please update the state/s start date/s to be before the client's close date, or update the client's close date.`,
232
232
  params: ['clientCloseDate', 'domesticState', 'domesticStateStartingDate'],
233
233
  },
234
- STATE_DATE_GAP_DETECTED: {
234
+ DOMESTIC_STATES_DATE_GAP_DETECTED: {
235
235
  message: `There is a gap in the timeframes between {currentState}, ending {currentStateEndDate}, and {nextState}, starting {nextStateStartDate}. Please adjust the dates to fill this gap.`,
236
236
  params: ['currentState', 'currentStateEndDate', 'nextState', 'nextStateStartDate'],
237
237
  },
238
- DOMESTIC_STATE_CONSECUTIVE_DUPLICATES_DETECTED: {
238
+ STATES_CONSECUTIVE_DUPLICATES_DETECTED: {
239
239
  message: `There are two entries for {state} with timeframes that immediately follow each other. {state} ending {firstPeriodEnd}, and {state} starting {secondPeriodStart}. Please update one entry to include the entire timeframe for {state}. `,
240
240
  params: ['state', 'firstPeriodStart', 'firstPeriodEnd', 'secondPeriodStart'],
241
241
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forwardslashns/taskit-validation-messages",
3
- "version": "1.0.20",
3
+ "version": "1.0.21",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "type": "commonjs",
@@ -228,11 +228,11 @@ export const VALIDATION_MESSAGES = {
228
228
  message: `One or more states have a start date which is after the client's close date of {clientCloseDate}. {domesticState} starting {domesticStateStartingDate}. Please update the state/s start date/s to be before the client's close date, or update the client's close date.`,
229
229
  params: ['clientCloseDate', 'domesticState', 'domesticStateStartingDate'],
230
230
  },
231
- STATE_DATE_GAP_DETECTED: {
231
+ DOMESTIC_STATES_DATE_GAP_DETECTED: {
232
232
  message: `There is a gap in the timeframes between {currentState}, ending {currentStateEndDate}, and {nextState}, starting {nextStateStartDate}. Please adjust the dates to fill this gap.`,
233
233
  params: ['currentState', 'currentStateEndDate', 'nextState', 'nextStateStartDate'],
234
234
  },
235
- DOMESTIC_STATE_CONSECUTIVE_DUPLICATES_DETECTED: {
235
+ STATES_CONSECUTIVE_DUPLICATES_DETECTED: {
236
236
  message: `There are two entries for {state} with timeframes that immediately follow each other. {state} ending {firstPeriodEnd}, and {state} starting {secondPeriodStart}. Please update one entry to include the entire timeframe for {state}. `,
237
237
  params: ['state', 'firstPeriodStart', 'firstPeriodEnd', 'secondPeriodStart'],
238
238
  },