@forwardslashns/taskit-validation-messages 1.0.17 → 1.0.19

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 NOT_ALIGNED_DATE_ESTABLISHED_DOMESTIC_STATES_STARTING_DATE: {
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 NOT_ALIGNED_CLOSE_DATE_DOMESTIC_STATES_STARTING_DATE: {
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
  };
@@ -213,6 +213,9 @@ export declare const VALIDATION_MESSAGES: {
213
213
  readonly AT_LEAST_ONE_DOMESTIC_STATE_SHOULD_EXIST: {
214
214
  readonly message: "At least one domestic state should exist";
215
215
  };
216
+ readonly STATES_STARTING_DATE_NOT_POPULATED: {
217
+ readonly message: "States Starting Date cannot be Empty";
218
+ };
216
219
  readonly NOT_ALIGNED_CLOSE_DATE_DOMESTIC_STATE_STARTING_DATE: {
217
220
  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.";
218
221
  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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6VtB,CAAC"}
1
+ {"version":3,"file":"validation-messages.d.ts","sourceRoot":"","sources":["../../src/validation/validation-messages.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgWtB,CAAC"}
@@ -120,13 +120,13 @@ exports.VALIDATION_MESSAGES = {
120
120
  'domesticStateStartingDate',
121
121
  ],
122
122
  },
123
- NOT_ALIGNED_DATE_ESTABLISHED_DOMESTIC_STATES_STARTING_DATE: {
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
- NOT_ALIGNED_CLOSE_DATE_DOMESTIC_STATES_STARTING_DATE: {
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',
@@ -224,6 +224,9 @@ exports.VALIDATION_MESSAGES = {
224
224
  AT_LEAST_ONE_DOMESTIC_STATE_SHOULD_EXIST: {
225
225
  message: `At least one domestic state should exist`,
226
226
  },
227
+ STATES_STARTING_DATE_NOT_POPULATED: {
228
+ message: `States Starting Date cannot be Empty`,
229
+ },
227
230
  NOT_ALIGNED_CLOSE_DATE_DOMESTIC_STATE_STARTING_DATE: {
228
231
  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.`,
229
232
  params: ['clientCloseDate', 'domesticState', 'domesticStateStartingDate'],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forwardslashns/taskit-validation-messages",
3
- "version": "1.0.17",
3
+ "version": "1.0.19",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "type": "commonjs",
@@ -117,13 +117,13 @@ export const VALIDATION_MESSAGES = {
117
117
  'domesticStateStartingDate',
118
118
  ],
119
119
  },
120
- NOT_ALIGNED_DATE_ESTABLISHED_DOMESTIC_STATES_STARTING_DATE: {
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
- NOT_ALIGNED_CLOSE_DATE_DOMESTIC_STATES_STARTING_DATE: {
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',
@@ -221,6 +221,9 @@ export const VALIDATION_MESSAGES = {
221
221
  AT_LEAST_ONE_DOMESTIC_STATE_SHOULD_EXIST: {
222
222
  message: `At least one domestic state should exist`,
223
223
  },
224
+ STATES_STARTING_DATE_NOT_POPULATED: {
225
+ message: `States Starting Date cannot be Empty`,
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'],