@forwardslashns/taskit-validation-messages 1.0.36 → 1.0.37

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.
@@ -382,9 +382,13 @@ export declare const VALIDATION_MESSAGES: {
382
382
  readonly message: "Parent state with id '{id}' does not exist";
383
383
  readonly params: readonly ["id"];
384
384
  };
385
- readonly PARENT_STATE_TYPE_NOT_ALLOWED: {
386
- readonly message: "Parent state '{parentName}' has type '{parentType}' which is not allowed parent type for state '{stateName}' with type '{stateType}'";
387
- readonly params: readonly ["parentName", "parentType", "stateName", "stateType"];
385
+ readonly STATE_PARENT_TYPE_NOT_ALLOWED: {
386
+ readonly message: "There must be a nation associated with the state '{stateName}'. Please select a nation to proceed.";
387
+ readonly params: readonly ["stateName"];
388
+ };
389
+ readonly CITY_PARENT_TYPE_NOT_ALLOWED: {
390
+ readonly message: "There must be a state associated with the city '{cityName}'. Please select a state to proceed.";
391
+ readonly params: readonly ["cityName"];
388
392
  };
389
393
  readonly OPTION_IN_USE: {
390
394
  readonly message: "This option is currently in use and cannot be deleted.";
@@ -1 +1 @@
1
- {"version":3,"file":"validation-messages.d.ts","sourceRoot":"","sources":["../../src/validation/validation-messages.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4btB,CAAC"}
1
+ {"version":3,"file":"validation-messages.d.ts","sourceRoot":"","sources":["../../src/validation/validation-messages.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgctB,CAAC"}
@@ -388,9 +388,13 @@ exports.VALIDATION_MESSAGES = {
388
388
  message: `Parent state with id '{id}' does not exist`,
389
389
  params: ['id'],
390
390
  },
391
- PARENT_STATE_TYPE_NOT_ALLOWED: {
392
- message: `Parent state '{parentName}' has type '{parentType}' which is not allowed parent type for state '{stateName}' with type '{stateType}'`,
393
- params: ['parentName', 'parentType', 'stateName', 'stateType'],
391
+ STATE_PARENT_TYPE_NOT_ALLOWED: {
392
+ message: `There must be a nation associated with the state '{stateName}'. Please select a nation to proceed.`,
393
+ params: ['stateName'],
394
+ },
395
+ CITY_PARENT_TYPE_NOT_ALLOWED: {
396
+ message: `There must be a state associated with the city '{cityName}'. Please select a state to proceed.`,
397
+ params: ['cityName'],
394
398
  },
395
399
  OPTION_IN_USE: {
396
400
  message: `This option is currently in use and cannot be deleted.`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forwardslashns/taskit-validation-messages",
3
- "version": "1.0.36",
3
+ "version": "1.0.37",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "type": "commonjs",
@@ -385,9 +385,13 @@ export const VALIDATION_MESSAGES = {
385
385
  message: `Parent state with id '{id}' does not exist`,
386
386
  params: ['id'],
387
387
  },
388
- PARENT_STATE_TYPE_NOT_ALLOWED: {
389
- message: `Parent state '{parentName}' has type '{parentType}' which is not allowed parent type for state '{stateName}' with type '{stateType}'`,
390
- params: ['parentName', 'parentType', 'stateName', 'stateType'],
388
+ STATE_PARENT_TYPE_NOT_ALLOWED: {
389
+ message: `There must be a nation associated with the state '{stateName}'. Please select a nation to proceed.`,
390
+ params: ['stateName'],
391
+ },
392
+ CITY_PARENT_TYPE_NOT_ALLOWED: {
393
+ message: `There must be a state associated with the city '{cityName}'. Please select a state to proceed.`,
394
+ params: ['cityName'],
391
395
  },
392
396
  OPTION_IN_USE: {
393
397
  message: `This option is currently in use and cannot be deleted.`,