@forwardslashns/taskit-validation-messages 1.0.1 → 1.0.2
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.
|
@@ -206,6 +206,10 @@ export declare const VALIDATION_MESSAGES: {
|
|
|
206
206
|
readonly CLIENT_COULD_NOT_BE_DELETED_CONTACTS_EXIST: {
|
|
207
207
|
readonly message: "This client cannot be deleted because it has contacts associated";
|
|
208
208
|
};
|
|
209
|
+
readonly DOMESTIC_STATE_DATES_OVERLAP: {
|
|
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
|
+
readonly params: readonly ["state", "stateStartDate", "stateEndDate"];
|
|
212
|
+
};
|
|
209
213
|
};
|
|
210
214
|
readonly FILING_CATEGORY: {
|
|
211
215
|
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
|
|
1
|
+
{"version":3,"file":"validation-messages.d.ts","sourceRoot":"","sources":["../../src/validation/validation-messages.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0TtB,CAAC"}
|
|
@@ -213,6 +213,10 @@ exports.VALIDATION_MESSAGES = {
|
|
|
213
213
|
CLIENT_COULD_NOT_BE_DELETED_CONTACTS_EXIST: {
|
|
214
214
|
message: `This client cannot be deleted because it has contacts associated`,
|
|
215
215
|
},
|
|
216
|
+
DOMESTIC_STATE_DATES_OVERLAP: {
|
|
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
|
+
params: ['state', 'stateStartDate', 'stateEndDate'],
|
|
219
|
+
}
|
|
216
220
|
},
|
|
217
221
|
FILING_CATEGORY: {
|
|
218
222
|
INVALID_REQUEST: {
|
package/package.json
CHANGED
|
@@ -210,6 +210,10 @@ export const VALIDATION_MESSAGES = {
|
|
|
210
210
|
CLIENT_COULD_NOT_BE_DELETED_CONTACTS_EXIST: {
|
|
211
211
|
message: `This client cannot be deleted because it has contacts associated`,
|
|
212
212
|
},
|
|
213
|
+
DOMESTIC_STATE_DATES_OVERLAP: {
|
|
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
|
+
params: ['state', 'stateStartDate', 'stateEndDate'],
|
|
216
|
+
}
|
|
213
217
|
},
|
|
214
218
|
FILING_CATEGORY: {
|
|
215
219
|
INVALID_REQUEST: {
|