@forwardslashns/taskit-validation-messages 1.0.16 → 1.0.18
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.
|
@@ -113,11 +113,11 @@ export declare const VALIDATION_MESSAGES: {
|
|
|
113
113
|
readonly message: "The state, {domesticState}, starts on {domesticStateStartingDate}, which is earlier than the client's date established, {clientDateEstablished}. Please adjust the start date of the state or the client's date established.";
|
|
114
114
|
readonly params: readonly ["clientDateEstablished", "domesticState", "domesticStateStartingDate"];
|
|
115
115
|
};
|
|
116
|
-
readonly
|
|
116
|
+
readonly NOT_ALIGNED_DATE_ESTABLISHED__STATES_STARTING_DATE: {
|
|
117
117
|
readonly message: "Adjust the start date to be on or after the client's date established, {clientStartDate}.";
|
|
118
118
|
readonly params: readonly ["clientStartDate"];
|
|
119
119
|
};
|
|
120
|
-
readonly
|
|
120
|
+
readonly NOT_ALIGNED_CLOSE_DATE_STATES_STARTING_DATE: {
|
|
121
121
|
readonly message: "Adjust the start date to be before the client's close date, {clientCloseDate}.";
|
|
122
122
|
readonly params: readonly ["clientCloseDate"];
|
|
123
123
|
};
|
|
@@ -210,6 +210,9 @@ 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 AT_LEAST_ONE_DOMESTIC_STATE_SHOULD_EXIST: {
|
|
214
|
+
readonly message: "At least one domestic state should exist";
|
|
215
|
+
};
|
|
213
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"];
|
|
@@ -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"}
|
|
@@ -120,13 +120,13 @@ exports.VALIDATION_MESSAGES = {
|
|
|
120
120
|
'domesticStateStartingDate',
|
|
121
121
|
],
|
|
122
122
|
},
|
|
123
|
-
|
|
123
|
+
NOT_ALIGNED_DATE_ESTABLISHED__STATES_STARTING_DATE: {
|
|
124
124
|
message: `Adjust the start date to be on or after the client's date established, {clientStartDate}.`,
|
|
125
125
|
params: [
|
|
126
126
|
'clientStartDate',
|
|
127
127
|
],
|
|
128
128
|
},
|
|
129
|
-
|
|
129
|
+
NOT_ALIGNED_CLOSE_DATE_STATES_STARTING_DATE: {
|
|
130
130
|
message: `Adjust the start date to be before the client's close date, {clientCloseDate}.`,
|
|
131
131
|
params: [
|
|
132
132
|
'clientCloseDate',
|
|
@@ -221,6 +221,9 @@ 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
|
+
AT_LEAST_ONE_DOMESTIC_STATE_SHOULD_EXIST: {
|
|
225
|
+
message: `At least one domestic state should exist`,
|
|
226
|
+
},
|
|
224
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'],
|
package/package.json
CHANGED
|
@@ -117,13 +117,13 @@ export const VALIDATION_MESSAGES = {
|
|
|
117
117
|
'domesticStateStartingDate',
|
|
118
118
|
],
|
|
119
119
|
},
|
|
120
|
-
|
|
120
|
+
NOT_ALIGNED_DATE_ESTABLISHED__STATES_STARTING_DATE: {
|
|
121
121
|
message: `Adjust the start date to be on or after the client's date established, {clientStartDate}.`,
|
|
122
122
|
params: [
|
|
123
123
|
'clientStartDate',
|
|
124
124
|
],
|
|
125
125
|
},
|
|
126
|
-
|
|
126
|
+
NOT_ALIGNED_CLOSE_DATE_STATES_STARTING_DATE: {
|
|
127
127
|
message: `Adjust the start date to be before the client's close date, {clientCloseDate}.`,
|
|
128
128
|
params: [
|
|
129
129
|
'clientCloseDate',
|
|
@@ -218,6 +218,9 @@ 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
|
+
AT_LEAST_ONE_DOMESTIC_STATE_SHOULD_EXIST: {
|
|
222
|
+
message: `At least one domestic state should exist`,
|
|
223
|
+
},
|
|
221
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'],
|