@forwardslashns/taskit-validation-messages 1.0.9 → 1.0.11

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.
@@ -110,9 +110,17 @@ export declare const VALIDATION_MESSAGES: {
110
110
  readonly params: readonly ["clientDateEstablished", "filingType", "filingTypeStartingDate"];
111
111
  };
112
112
  readonly NOT_ALIGNED_DATE_ESTABLISHED_DOMESTIC_STATE_STARTING_DATE: {
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
+ readonly params: readonly ["clientDateEstablished", "domesticState", "domesticStateStartingDate"];
115
+ };
116
+ readonly NOT_ALIGNED_DATE_ESTABLISHED_DOMESTIC_STATES_STARTING_DATE: {
113
117
  readonly message: "Adjust the start date to be on or after the client's date established, {domesticStateStartingDate}.";
114
118
  readonly params: readonly ["domesticStateStartingDate"];
115
119
  };
120
+ readonly NOT_ALIGNED_CLOSE_DATE_DOMESTIC_STATES_STARTING_DATE: {
121
+ readonly message: "Adjust the start date to be before the client's close date, {clientCloseDate}.";
122
+ readonly params: readonly ["clientCloseDate"];
123
+ };
116
124
  readonly NOT_ALIGNED_DATE_ESTABLISHED_CLOSE_DATE: {
117
125
  readonly message: "Adjust the close date to be after the date established.";
118
126
  };
@@ -1 +1 @@
1
- {"version":3,"file":"validation-messages.d.ts","sourceRoot":"","sources":["../../src/validation/validation-messages.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoUtB,CAAC"}
1
+ {"version":3,"file":"validation-messages.d.ts","sourceRoot":"","sources":["../../src/validation/validation-messages.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkVtB,CAAC"}
@@ -113,11 +113,25 @@ exports.VALIDATION_MESSAGES = {
113
113
  params: ['clientDateEstablished', 'filingType', 'filingTypeStartingDate'],
114
114
  },
115
115
  NOT_ALIGNED_DATE_ESTABLISHED_DOMESTIC_STATE_STARTING_DATE: {
116
+ 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.`,
117
+ params: [
118
+ 'clientDateEstablished',
119
+ 'domesticState',
120
+ 'domesticStateStartingDate',
121
+ ],
122
+ },
123
+ NOT_ALIGNED_DATE_ESTABLISHED_DOMESTIC_STATES_STARTING_DATE: {
116
124
  message: `Adjust the start date to be on or after the client's date established, {domesticStateStartingDate}.`,
117
125
  params: [
118
126
  'domesticStateStartingDate',
119
127
  ],
120
128
  },
129
+ NOT_ALIGNED_CLOSE_DATE_DOMESTIC_STATES_STARTING_DATE: {
130
+ message: `Adjust the start date to be before the client's close date, {clientCloseDate}.`,
131
+ params: [
132
+ 'clientCloseDate',
133
+ ],
134
+ },
121
135
  NOT_ALIGNED_DATE_ESTABLISHED_CLOSE_DATE: {
122
136
  message: `Adjust the close date to be after the date established.`,
123
137
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forwardslashns/taskit-validation-messages",
3
- "version": "1.0.9",
3
+ "version": "1.0.11",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "type": "commonjs",
@@ -110,11 +110,25 @@ export const VALIDATION_MESSAGES = {
110
110
  params: ['clientDateEstablished', 'filingType', 'filingTypeStartingDate'],
111
111
  },
112
112
  NOT_ALIGNED_DATE_ESTABLISHED_DOMESTIC_STATE_STARTING_DATE: {
113
+ 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
+ params: [
115
+ 'clientDateEstablished',
116
+ 'domesticState',
117
+ 'domesticStateStartingDate',
118
+ ],
119
+ },
120
+ NOT_ALIGNED_DATE_ESTABLISHED_DOMESTIC_STATES_STARTING_DATE: {
113
121
  message: `Adjust the start date to be on or after the client's date established, {domesticStateStartingDate}.`,
114
122
  params: [
115
123
  'domesticStateStartingDate',
116
124
  ],
117
125
  },
126
+ NOT_ALIGNED_CLOSE_DATE_DOMESTIC_STATES_STARTING_DATE: {
127
+ message: `Adjust the start date to be before the client's close date, {clientCloseDate}.`,
128
+ params: [
129
+ 'clientCloseDate',
130
+ ],
131
+ },
118
132
  NOT_ALIGNED_DATE_ESTABLISHED_CLOSE_DATE: {
119
133
  message: `Adjust the close date to be after the date established.`,
120
134
  },