@forwardslashns/taskit-validation-messages 1.0.37 → 1.0.38

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,6 +382,9 @@ 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 NATION_PARENT_TYPE_NOT_ALLOWED: {
386
+ readonly message: "Nation cannot have associated parent.";
387
+ };
385
388
  readonly STATE_PARENT_TYPE_NOT_ALLOWED: {
386
389
  readonly message: "There must be a nation associated with the state '{stateName}'. Please select a nation to proceed.";
387
390
  readonly params: readonly ["stateName"];
@@ -1 +1 @@
1
- {"version":3,"file":"validation-messages.d.ts","sourceRoot":"","sources":["../../src/validation/validation-messages.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgctB,CAAC"}
1
+ {"version":3,"file":"validation-messages.d.ts","sourceRoot":"","sources":["../../src/validation/validation-messages.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmctB,CAAC"}
@@ -388,6 +388,9 @@ exports.VALIDATION_MESSAGES = {
388
388
  message: `Parent state with id '{id}' does not exist`,
389
389
  params: ['id'],
390
390
  },
391
+ NATION_PARENT_TYPE_NOT_ALLOWED: {
392
+ message: `Nation cannot have associated parent.`,
393
+ },
391
394
  STATE_PARENT_TYPE_NOT_ALLOWED: {
392
395
  message: `There must be a nation associated with the state '{stateName}'. Please select a nation to proceed.`,
393
396
  params: ['stateName'],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forwardslashns/taskit-validation-messages",
3
- "version": "1.0.37",
3
+ "version": "1.0.38",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "type": "commonjs",
@@ -385,6 +385,9 @@ export const VALIDATION_MESSAGES = {
385
385
  message: `Parent state with id '{id}' does not exist`,
386
386
  params: ['id'],
387
387
  },
388
+ NATION_PARENT_TYPE_NOT_ALLOWED: {
389
+ message: `Nation cannot have associated parent.`,
390
+ },
388
391
  STATE_PARENT_TYPE_NOT_ALLOWED: {
389
392
  message: `There must be a nation associated with the state '{stateName}'. Please select a nation to proceed.`,
390
393
  params: ['stateName'],