@forwardslashns/taskit-validation-messages 1.0.15 → 1.0.17
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.
|
@@ -147,7 +147,7 @@ export declare const VALIDATION_MESSAGES: {
|
|
|
147
147
|
readonly NOT_ALIGNED_FILING_TYPE_STARTING_ENDING_DATE: {
|
|
148
148
|
readonly message: "Filing type starting date needs to be before the ending date";
|
|
149
149
|
};
|
|
150
|
-
readonly
|
|
150
|
+
readonly NOT_ALIGNED_STATE_STARTING_ENDING_DATE: {
|
|
151
151
|
readonly message: "Domestic state starting date needs to be before the ending date";
|
|
152
152
|
};
|
|
153
153
|
readonly CLIENT_COULD_NOT_BE_LOCKED_WITHOUT_ACCOUNT_ID: {
|
|
@@ -210,11 +210,14 @@ export declare const VALIDATION_MESSAGES: {
|
|
|
210
210
|
readonly CLIENT_COULD_NOT_BE_DELETED_CONTACTS_EXIST: {
|
|
211
211
|
readonly message: "This client cannot be deleted because it has contacts associated";
|
|
212
212
|
};
|
|
213
|
-
readonly
|
|
213
|
+
readonly AT_LEAST_ONE_DOMESTIC_STATE_SHOULD_EXIST: {
|
|
214
|
+
readonly message: "At least one domestic state should exist";
|
|
215
|
+
};
|
|
216
|
+
readonly NOT_ALIGNED_CLOSE_DATE_DOMESTIC_STATE_STARTING_DATE: {
|
|
214
217
|
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.";
|
|
215
218
|
readonly params: readonly ["clientCloseDate", "domesticState", "domesticStateStartingDate"];
|
|
216
219
|
};
|
|
217
|
-
readonly
|
|
220
|
+
readonly STATE_DATE_GAP_DETECTED: {
|
|
218
221
|
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.";
|
|
219
222
|
readonly params: readonly ["currentState", "currentStateEndDate", "nextState", "nextStateStartDate"];
|
|
220
223
|
};
|
|
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6VtB,CAAC"}
|
|
@@ -158,7 +158,7 @@ exports.VALIDATION_MESSAGES = {
|
|
|
158
158
|
NOT_ALIGNED_FILING_TYPE_STARTING_ENDING_DATE: {
|
|
159
159
|
message: `Filing type starting date needs to be before the ending date`,
|
|
160
160
|
},
|
|
161
|
-
|
|
161
|
+
NOT_ALIGNED_STATE_STARTING_ENDING_DATE: {
|
|
162
162
|
message: `Domestic state starting date needs to be before the ending date`,
|
|
163
163
|
},
|
|
164
164
|
CLIENT_COULD_NOT_BE_LOCKED_WITHOUT_ACCOUNT_ID: {
|
|
@@ -221,11 +221,14 @@ exports.VALIDATION_MESSAGES = {
|
|
|
221
221
|
CLIENT_COULD_NOT_BE_DELETED_CONTACTS_EXIST: {
|
|
222
222
|
message: `This client cannot be deleted because it has contacts associated`,
|
|
223
223
|
},
|
|
224
|
-
|
|
224
|
+
AT_LEAST_ONE_DOMESTIC_STATE_SHOULD_EXIST: {
|
|
225
|
+
message: `At least one domestic state should exist`,
|
|
226
|
+
},
|
|
227
|
+
NOT_ALIGNED_CLOSE_DATE_DOMESTIC_STATE_STARTING_DATE: {
|
|
225
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.`,
|
|
226
229
|
params: ['clientCloseDate', 'domesticState', 'domesticStateStartingDate'],
|
|
227
230
|
},
|
|
228
|
-
|
|
231
|
+
STATE_DATE_GAP_DETECTED: {
|
|
229
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.`,
|
|
230
233
|
params: ['currentState', 'currentStateEndDate', 'nextState', 'nextStateStartDate'],
|
|
231
234
|
},
|
package/package.json
CHANGED
|
@@ -155,7 +155,7 @@ export const VALIDATION_MESSAGES = {
|
|
|
155
155
|
NOT_ALIGNED_FILING_TYPE_STARTING_ENDING_DATE: {
|
|
156
156
|
message: `Filing type starting date needs to be before the ending date`,
|
|
157
157
|
},
|
|
158
|
-
|
|
158
|
+
NOT_ALIGNED_STATE_STARTING_ENDING_DATE: {
|
|
159
159
|
message: `Domestic state starting date needs to be before the ending date`,
|
|
160
160
|
},
|
|
161
161
|
CLIENT_COULD_NOT_BE_LOCKED_WITHOUT_ACCOUNT_ID: {
|
|
@@ -218,11 +218,14 @@ export const VALIDATION_MESSAGES = {
|
|
|
218
218
|
CLIENT_COULD_NOT_BE_DELETED_CONTACTS_EXIST: {
|
|
219
219
|
message: `This client cannot be deleted because it has contacts associated`,
|
|
220
220
|
},
|
|
221
|
-
|
|
221
|
+
AT_LEAST_ONE_DOMESTIC_STATE_SHOULD_EXIST: {
|
|
222
|
+
message: `At least one domestic state should exist`,
|
|
223
|
+
},
|
|
224
|
+
NOT_ALIGNED_CLOSE_DATE_DOMESTIC_STATE_STARTING_DATE: {
|
|
222
225
|
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.`,
|
|
223
226
|
params: ['clientCloseDate', 'domesticState', 'domesticStateStartingDate'],
|
|
224
227
|
},
|
|
225
|
-
|
|
228
|
+
STATE_DATE_GAP_DETECTED: {
|
|
226
229
|
message: `There is a gap in the timeframes between {currentState}, ending {currentStateEndDate}, and {nextState}, starting {nextStateStartDate}. Please adjust the dates to fill this gap.`,
|
|
227
230
|
params: ['currentState', 'currentStateEndDate', 'nextState', 'nextStateStartDate'],
|
|
228
231
|
},
|