@forwardslashns/taskit-validation-messages 1.0.6 → 1.0.8

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.
@@ -215,9 +215,13 @@ export declare const VALIDATION_MESSAGES: {
215
215
  readonly params: readonly ["currentState", "currentStateEndDate", "nextState", "nextStateStartDate"];
216
216
  };
217
217
  readonly DOMESTIC_STATE_EARLIEST_AND_DATE_ESTABLISHED_GAP_DETECTED: {
218
- readonly message: "There is a gap between the client's date established ({dateEstablished}) and the start of its first state ({earliestState} starting {earliestStateStarDate}). There must be a state that begins on {dateEstablished}.";
218
+ readonly message: "There is a gap between the client's date established ({dateEstablished}) and the start of its first state ({earliestState} starting {earliestStateStartDate}). There must be a state that begins on {dateEstablished}.";
219
219
  readonly params: readonly ["dateEstablished", "earliestState", "earliestStateStartDate"];
220
220
  };
221
+ readonly DOMESTIC_STATE_CONSECUTIVE_DUPLICATES_DETECTED: {
222
+ 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}. ";
223
+ readonly params: readonly ["state", "firstPeriodStart", "firstPeriodEnd", "secondPeriodStart"];
224
+ };
221
225
  };
222
226
  readonly FILING_CATEGORY: {
223
227
  readonly INVALID_REQUEST: {
@@ -1 +1 @@
1
- {"version":3,"file":"validation-messages.d.ts","sourceRoot":"","sources":["../../src/validation/validation-messages.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkUtB,CAAC"}
1
+ {"version":3,"file":"validation-messages.d.ts","sourceRoot":"","sources":["../../src/validation/validation-messages.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsUtB,CAAC"}
@@ -222,9 +222,13 @@ exports.VALIDATION_MESSAGES = {
222
222
  params: ['currentState', 'currentStateEndDate', 'nextState', 'nextStateStartDate'],
223
223
  },
224
224
  DOMESTIC_STATE_EARLIEST_AND_DATE_ESTABLISHED_GAP_DETECTED: {
225
- message: `There is a gap between the client's date established ({dateEstablished}) and the start of its first state ({earliestState} starting {earliestStateStarDate}). There must be a state that begins on {dateEstablished}.`,
225
+ message: `There is a gap between the client's date established ({dateEstablished}) and the start of its first state ({earliestState} starting {earliestStateStartDate}). There must be a state that begins on {dateEstablished}.`,
226
226
  params: ['dateEstablished', 'earliestState', 'earliestStateStartDate'],
227
227
  },
228
+ DOMESTIC_STATE_CONSECUTIVE_DUPLICATES_DETECTED: {
229
+ 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}. `,
230
+ params: ['state', 'firstPeriodStart', 'firstPeriodEnd', 'secondPeriodStart'],
231
+ },
228
232
  },
229
233
  FILING_CATEGORY: {
230
234
  INVALID_REQUEST: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forwardslashns/taskit-validation-messages",
3
- "version": "1.0.6",
3
+ "version": "1.0.8",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "type": "commonjs",
@@ -219,9 +219,13 @@ export const VALIDATION_MESSAGES = {
219
219
  params: ['currentState', 'currentStateEndDate', 'nextState', 'nextStateStartDate'],
220
220
  },
221
221
  DOMESTIC_STATE_EARLIEST_AND_DATE_ESTABLISHED_GAP_DETECTED: {
222
- message: `There is a gap between the client's date established ({dateEstablished}) and the start of its first state ({earliestState} starting {earliestStateStarDate}). There must be a state that begins on {dateEstablished}.`,
222
+ message: `There is a gap between the client's date established ({dateEstablished}) and the start of its first state ({earliestState} starting {earliestStateStartDate}). There must be a state that begins on {dateEstablished}.`,
223
223
  params: ['dateEstablished', 'earliestState', 'earliestStateStartDate'],
224
224
  },
225
+ DOMESTIC_STATE_CONSECUTIVE_DUPLICATES_DETECTED: {
226
+ 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}. `,
227
+ params: ['state', 'firstPeriodStart', 'firstPeriodEnd', 'secondPeriodStart'],
228
+ },
225
229
  },
226
230
  FILING_CATEGORY: {
227
231
  INVALID_REQUEST: {