@forwardslashns/taskit-validation-messages 1.0.3 → 1.0.5
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,12 @@ 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 {
|
|
215
|
-
readonly params: readonly ["
|
|
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
|
+
};
|
|
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}.";
|
|
219
|
+
readonly params: readonly ["dateEstablished", "earliestState", "earliestStateStarDate"];
|
|
216
220
|
};
|
|
217
221
|
};
|
|
218
222
|
readonly FILING_CATEGORY: {
|
|
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkUtB,CAAC"}
|
|
@@ -218,8 +218,12 @@ 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 {
|
|
222
|
-
params: ['
|
|
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
|
+
},
|
|
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}.`,
|
|
226
|
+
params: ['dateEstablished', 'earliestState', 'earliestStateStarDate'],
|
|
223
227
|
},
|
|
224
228
|
},
|
|
225
229
|
FILING_CATEGORY: {
|
package/package.json
CHANGED
|
@@ -215,8 +215,12 @@ 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 {
|
|
219
|
-
params: ['
|
|
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
|
+
},
|
|
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}.`,
|
|
223
|
+
params: ['dateEstablished', 'earliestState', 'earliestStateStarDate'],
|
|
220
224
|
},
|
|
221
225
|
},
|
|
222
226
|
FILING_CATEGORY: {
|