@forwardslashns/taskit-validation-messages 1.0.2 → 1.0.3

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.
@@ -210,6 +210,10 @@ export declare const VALIDATION_MESSAGES: {
210
210
  readonly message: "The entry already has {state} starting from {stateStartDate} to {stateEndDate}. Your current state overlaps with that time. Please adjust the dates so the state timeframes do not overlap.";
211
211
  readonly params: readonly ["state", "stateStartDate", "stateEndDate"];
212
212
  };
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"];
216
+ };
213
217
  };
214
218
  readonly FILING_CATEGORY: {
215
219
  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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0TtB,CAAC"}
1
+ {"version":3,"file":"validation-messages.d.ts","sourceRoot":"","sources":["../../src/validation/validation-messages.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8TtB,CAAC"}
@@ -216,7 +216,11 @@ exports.VALIDATION_MESSAGES = {
216
216
  DOMESTIC_STATE_DATES_OVERLAP: {
217
217
  message: `The entry already has {state} starting from {stateStartDate} to {stateEndDate}. Your current state overlaps with that time. Please adjust the dates so the state timeframes do not overlap.`,
218
218
  params: ['state', 'stateStartDate', 'stateEndDate'],
219
- }
219
+ },
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'],
223
+ },
220
224
  },
221
225
  FILING_CATEGORY: {
222
226
  INVALID_REQUEST: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forwardslashns/taskit-validation-messages",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "type": "commonjs",
@@ -213,7 +213,11 @@ export const VALIDATION_MESSAGES = {
213
213
  DOMESTIC_STATE_DATES_OVERLAP: {
214
214
  message: `The entry already has {state} starting from {stateStartDate} to {stateEndDate}. Your current state overlaps with that time. Please adjust the dates so the state timeframes do not overlap.`,
215
215
  params: ['state', 'stateStartDate', 'stateEndDate'],
216
- }
216
+ },
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'],
220
+ },
217
221
  },
218
222
  FILING_CATEGORY: {
219
223
  INVALID_REQUEST: {