@forwardslashns/taskit-validation-messages 1.0.23 → 1.0.24
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.
|
@@ -236,13 +236,9 @@ export declare const VALIDATION_MESSAGES: {
|
|
|
236
236
|
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}.";
|
|
237
237
|
readonly params: readonly ["dateEstablished", "earliestState", "earliestStateStartDate"];
|
|
238
238
|
};
|
|
239
|
-
readonly
|
|
240
|
-
readonly message: "There cannot be two
|
|
241
|
-
readonly params: readonly ["state", "stateStartDate", "stateEndDate"];
|
|
242
|
-
};
|
|
243
|
-
readonly FOREIGN_STATES_DATES_OVERLAP: {
|
|
244
|
-
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.";
|
|
245
|
-
readonly params: readonly ["state", "stateStartDate", "stateEndDate"];
|
|
239
|
+
readonly STATES_DATES_OVERLAP: {
|
|
240
|
+
readonly message: "There cannot be two {residence} 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 domestic state/s to avoid an overlap.";
|
|
241
|
+
readonly params: readonly ["state", "stateStartDate", "stateEndDate", "residence"];
|
|
246
242
|
};
|
|
247
243
|
readonly ALL_NON_LAST_DOMESTIC_STATES_REQUIRE_ENDING_DATE: {
|
|
248
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.";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validation-messages.d.ts","sourceRoot":"","sources":["../../src/validation/validation-messages.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB
|
|
1
|
+
{"version":3,"file":"validation-messages.d.ts","sourceRoot":"","sources":["../../src/validation/validation-messages.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+VtB,CAAC"}
|
|
@@ -247,13 +247,9 @@ exports.VALIDATION_MESSAGES = {
|
|
|
247
247
|
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}.`,
|
|
248
248
|
params: ['dateEstablished', 'earliestState', 'earliestStateStartDate'],
|
|
249
249
|
},
|
|
250
|
-
|
|
251
|
-
message: `There cannot be two
|
|
252
|
-
params: ['state', 'stateStartDate', 'stateEndDate'],
|
|
253
|
-
},
|
|
254
|
-
FOREIGN_STATES_DATES_OVERLAP: {
|
|
255
|
-
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.`,
|
|
256
|
-
params: ['state', 'stateStartDate', 'stateEndDate'],
|
|
250
|
+
STATES_DATES_OVERLAP: {
|
|
251
|
+
message: `There cannot be two {residence} 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 domestic state/s to avoid an overlap.`,
|
|
252
|
+
params: ['state', 'stateStartDate', 'stateEndDate', 'residence'],
|
|
257
253
|
},
|
|
258
254
|
ALL_NON_LAST_DOMESTIC_STATES_REQUIRE_ENDING_DATE: {
|
|
259
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.`,
|
package/package.json
CHANGED
|
@@ -244,13 +244,9 @@ export const VALIDATION_MESSAGES = {
|
|
|
244
244
|
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}.`,
|
|
245
245
|
params: ['dateEstablished', 'earliestState', 'earliestStateStartDate'],
|
|
246
246
|
},
|
|
247
|
-
|
|
248
|
-
message: `There cannot be two
|
|
249
|
-
params: ['state', 'stateStartDate', 'stateEndDate'],
|
|
250
|
-
},
|
|
251
|
-
FOREIGN_STATES_DATES_OVERLAP: {
|
|
252
|
-
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.`,
|
|
253
|
-
params: ['state', 'stateStartDate', 'stateEndDate'],
|
|
247
|
+
STATES_DATES_OVERLAP: {
|
|
248
|
+
message: `There cannot be two {residence} 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 domestic state/s to avoid an overlap.`,
|
|
249
|
+
params: ['state', 'stateStartDate', 'stateEndDate', 'residence'],
|
|
254
250
|
},
|
|
255
251
|
ALL_NON_LAST_DOMESTIC_STATES_REQUIRE_ENDING_DATE: {
|
|
256
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.`,
|