@forwardslashns/taskit-validation-messages 1.0.28 → 1.0.29

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.
@@ -243,6 +243,9 @@ export declare const VALIDATION_MESSAGES: {
243
243
  readonly ALL_NON_LAST_ENTITY_TYPES_REQUIRE_ENDING_DATE: {
244
244
  readonly message: "Only the last entity type can be open without an end date. Add an ending date to the existing entity type before adding a start date for a new entity type.";
245
245
  };
246
+ readonly CURRENT_ENTITY_TYPE_CANNOT_HAVE_ENDING_DATE: {
247
+ readonly message: "The current entity type cannot have an end date. Please remove the end date for this state.";
248
+ };
246
249
  readonly FILING_TYPES_IDS_DOES_NOT_EXIST: {
247
250
  readonly message: "Filing types with ids '{ids}' do not exist";
248
251
  readonly params: readonly ["ids"];
@@ -283,6 +286,9 @@ export declare const VALIDATION_MESSAGES: {
283
286
  readonly ALL_NON_LAST_FILING_TYPES_REQUIRE_ENDING_DATE: {
284
287
  readonly message: "Only the last filing type can be open without an end date. Add an ending date to the existing filing type before adding a start date for a new filing type.";
285
288
  };
289
+ readonly CURRENT_FILING_TYPE_CANNOT_HAVE_ENDING_DATE: {
290
+ readonly message: "The current filing type cannot have an end date. Please remove the end date for this state.";
291
+ };
286
292
  readonly STATES_IDS_DOES_NOT_EXIST: {
287
293
  readonly message: "States with ids '{ids}' do not exist";
288
294
  readonly params: readonly ["ids"];
@@ -323,6 +329,9 @@ export declare const VALIDATION_MESSAGES: {
323
329
  readonly ALL_NON_LAST_DOMESTIC_STATES_REQUIRE_ENDING_DATE: {
324
330
  readonly message: "Only the last domestic state can be open without an end date. Add an ending date to the existing state before adding a start date for a new state.";
325
331
  };
332
+ readonly CURRENT_DOMESTIC_STATE_CANNOT_HAVE_ENDING_DATE: {
333
+ readonly message: "The current domestic state cannot have an end date. Please remove the end date for this state.";
334
+ };
326
335
  };
327
336
  readonly FILING_CATEGORY: {
328
337
  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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyatB,CAAC"}
1
+ {"version":3,"file":"validation-messages.d.ts","sourceRoot":"","sources":["../../src/validation/validation-messages.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkbtB,CAAC"}
@@ -247,6 +247,9 @@ exports.VALIDATION_MESSAGES = {
247
247
  ALL_NON_LAST_ENTITY_TYPES_REQUIRE_ENDING_DATE: {
248
248
  message: `Only the last entity type can be open without an end date. Add an ending date to the existing entity type before adding a start date for a new entity type.`,
249
249
  },
250
+ CURRENT_ENTITY_TYPE_CANNOT_HAVE_ENDING_DATE: {
251
+ message: `The current entity type cannot have an end date. Please remove the end date for this state.`,
252
+ },
250
253
  //UPDATE-FILING-TYPES-VALIDATIONS
251
254
  FILING_TYPES_IDS_DOES_NOT_EXIST: {
252
255
  message: `Filing types with ids '{ids}' do not exist`,
@@ -288,6 +291,9 @@ exports.VALIDATION_MESSAGES = {
288
291
  ALL_NON_LAST_FILING_TYPES_REQUIRE_ENDING_DATE: {
289
292
  message: `Only the last filing type can be open without an end date. Add an ending date to the existing filing type before adding a start date for a new filing type.`,
290
293
  },
294
+ CURRENT_FILING_TYPE_CANNOT_HAVE_ENDING_DATE: {
295
+ message: `The current filing type cannot have an end date. Please remove the end date for this state.`,
296
+ },
291
297
  //UPDATE-STATES-VALIDATIONS
292
298
  STATES_IDS_DOES_NOT_EXIST: {
293
299
  message: `States with ids '{ids}' do not exist`,
@@ -329,6 +335,9 @@ exports.VALIDATION_MESSAGES = {
329
335
  ALL_NON_LAST_DOMESTIC_STATES_REQUIRE_ENDING_DATE: {
330
336
  message: `Only the last domestic state can be open without an end date. Add an ending date to the existing state before adding a start date for a new state.`,
331
337
  },
338
+ CURRENT_DOMESTIC_STATE_CANNOT_HAVE_ENDING_DATE: {
339
+ message: `The current domestic state cannot have an end date. Please remove the end date for this state.`,
340
+ },
332
341
  },
333
342
  FILING_CATEGORY: {
334
343
  INVALID_REQUEST: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forwardslashns/taskit-validation-messages",
3
- "version": "1.0.28",
3
+ "version": "1.0.29",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "type": "commonjs",
@@ -244,6 +244,9 @@ export const VALIDATION_MESSAGES = {
244
244
  ALL_NON_LAST_ENTITY_TYPES_REQUIRE_ENDING_DATE: {
245
245
  message: `Only the last entity type can be open without an end date. Add an ending date to the existing entity type before adding a start date for a new entity type.`,
246
246
  },
247
+ CURRENT_ENTITY_TYPE_CANNOT_HAVE_ENDING_DATE: {
248
+ message: `The current entity type cannot have an end date. Please remove the end date for this state.`,
249
+ },
247
250
  //UPDATE-FILING-TYPES-VALIDATIONS
248
251
  FILING_TYPES_IDS_DOES_NOT_EXIST: {
249
252
  message: `Filing types with ids '{ids}' do not exist`,
@@ -285,6 +288,9 @@ export const VALIDATION_MESSAGES = {
285
288
  ALL_NON_LAST_FILING_TYPES_REQUIRE_ENDING_DATE: {
286
289
  message: `Only the last filing type can be open without an end date. Add an ending date to the existing filing type before adding a start date for a new filing type.`,
287
290
  },
291
+ CURRENT_FILING_TYPE_CANNOT_HAVE_ENDING_DATE: {
292
+ message: `The current filing type cannot have an end date. Please remove the end date for this state.`,
293
+ },
288
294
  //UPDATE-STATES-VALIDATIONS
289
295
  STATES_IDS_DOES_NOT_EXIST: {
290
296
  message: `States with ids '{ids}' do not exist`,
@@ -326,6 +332,9 @@ export const VALIDATION_MESSAGES = {
326
332
  ALL_NON_LAST_DOMESTIC_STATES_REQUIRE_ENDING_DATE: {
327
333
  message: `Only the last domestic state can be open without an end date. Add an ending date to the existing state before adding a start date for a new state.`,
328
334
  },
335
+ CURRENT_DOMESTIC_STATE_CANNOT_HAVE_ENDING_DATE: {
336
+ message: `The current domestic state cannot have an end date. Please remove the end date for this state.`,
337
+ },
329
338
  },
330
339
  FILING_CATEGORY: {
331
340
  INVALID_REQUEST: {