@forwardslashns/taskit-validation-messages 1.0.37 → 1.0.39
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.
|
@@ -35,6 +35,24 @@ export declare const VALIDATION_MESSAGES: {
|
|
|
35
35
|
readonly message: "This option is currently in use and cannot be deleted.";
|
|
36
36
|
};
|
|
37
37
|
};
|
|
38
|
+
readonly ADDRESS: {
|
|
39
|
+
readonly STATES_NOT_FOUND: {
|
|
40
|
+
readonly message: "States with ids {ids} do not exist";
|
|
41
|
+
readonly params: readonly ["ids"];
|
|
42
|
+
};
|
|
43
|
+
readonly INVALID_STATE_TYPE: {
|
|
44
|
+
readonly message: "States with ids {ids} are not of type 'State'";
|
|
45
|
+
readonly params: readonly ["ids"];
|
|
46
|
+
};
|
|
47
|
+
readonly CITIES_NOT_FOUND: {
|
|
48
|
+
readonly message: "Cities with ids {ids} do not exist";
|
|
49
|
+
readonly params: readonly ["ids"];
|
|
50
|
+
};
|
|
51
|
+
readonly INVALID_CITY_TYPE: {
|
|
52
|
+
readonly message: "Cities with ids {ids} are not of type 'City'";
|
|
53
|
+
readonly params: readonly ["ids"];
|
|
54
|
+
};
|
|
55
|
+
};
|
|
38
56
|
readonly BUSINESS_ACTIVITY: {
|
|
39
57
|
readonly INVALID_REQUEST: {
|
|
40
58
|
readonly message: "Missing business activity id in request";
|
|
@@ -382,6 +400,9 @@ export declare const VALIDATION_MESSAGES: {
|
|
|
382
400
|
readonly message: "Parent state with id '{id}' does not exist";
|
|
383
401
|
readonly params: readonly ["id"];
|
|
384
402
|
};
|
|
403
|
+
readonly NATION_PARENT_TYPE_NOT_ALLOWED: {
|
|
404
|
+
readonly message: "Nation cannot have associated parent.";
|
|
405
|
+
};
|
|
385
406
|
readonly STATE_PARENT_TYPE_NOT_ALLOWED: {
|
|
386
407
|
readonly message: "There must be a nation associated with the state '{stateName}'. Please select a nation to proceed.";
|
|
387
408
|
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
|
|
1
|
+
{"version":3,"file":"validation-messages.d.ts","sourceRoot":"","sources":["../../src/validation/validation-messages.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqdtB,CAAC"}
|
|
@@ -38,6 +38,24 @@ exports.VALIDATION_MESSAGES = {
|
|
|
38
38
|
message: `This option is currently in use and cannot be deleted.`,
|
|
39
39
|
},
|
|
40
40
|
},
|
|
41
|
+
ADDRESS: {
|
|
42
|
+
STATES_NOT_FOUND: {
|
|
43
|
+
message: 'States with ids {ids} do not exist',
|
|
44
|
+
params: ['ids'],
|
|
45
|
+
},
|
|
46
|
+
INVALID_STATE_TYPE: {
|
|
47
|
+
message: `States with ids {ids} are not of type 'State'`,
|
|
48
|
+
params: ['ids'],
|
|
49
|
+
},
|
|
50
|
+
CITIES_NOT_FOUND: {
|
|
51
|
+
message: `Cities with ids {ids} do not exist`,
|
|
52
|
+
params: ['ids'],
|
|
53
|
+
},
|
|
54
|
+
INVALID_CITY_TYPE: {
|
|
55
|
+
message: `Cities with ids {ids} are not of type 'City'`,
|
|
56
|
+
params: ['ids'],
|
|
57
|
+
},
|
|
58
|
+
},
|
|
41
59
|
BUSINESS_ACTIVITY: {
|
|
42
60
|
INVALID_REQUEST: {
|
|
43
61
|
message: 'Missing business activity id in request',
|
|
@@ -388,6 +406,9 @@ exports.VALIDATION_MESSAGES = {
|
|
|
388
406
|
message: `Parent state with id '{id}' does not exist`,
|
|
389
407
|
params: ['id'],
|
|
390
408
|
},
|
|
409
|
+
NATION_PARENT_TYPE_NOT_ALLOWED: {
|
|
410
|
+
message: `Nation cannot have associated parent.`,
|
|
411
|
+
},
|
|
391
412
|
STATE_PARENT_TYPE_NOT_ALLOWED: {
|
|
392
413
|
message: `There must be a nation associated with the state '{stateName}'. Please select a nation to proceed.`,
|
|
393
414
|
params: ['stateName'],
|
package/package.json
CHANGED
|
@@ -35,6 +35,24 @@ export const VALIDATION_MESSAGES = {
|
|
|
35
35
|
message: `This option is currently in use and cannot be deleted.`,
|
|
36
36
|
},
|
|
37
37
|
},
|
|
38
|
+
ADDRESS: {
|
|
39
|
+
STATES_NOT_FOUND: {
|
|
40
|
+
message: 'States with ids {ids} do not exist',
|
|
41
|
+
params: ['ids'],
|
|
42
|
+
},
|
|
43
|
+
INVALID_STATE_TYPE: {
|
|
44
|
+
message: `States with ids {ids} are not of type 'State'`,
|
|
45
|
+
params: ['ids'],
|
|
46
|
+
},
|
|
47
|
+
CITIES_NOT_FOUND: {
|
|
48
|
+
message: `Cities with ids {ids} do not exist`,
|
|
49
|
+
params: ['ids'],
|
|
50
|
+
},
|
|
51
|
+
INVALID_CITY_TYPE: {
|
|
52
|
+
message: `Cities with ids {ids} are not of type 'City'`,
|
|
53
|
+
params: ['ids'],
|
|
54
|
+
},
|
|
55
|
+
},
|
|
38
56
|
BUSINESS_ACTIVITY: {
|
|
39
57
|
INVALID_REQUEST: {
|
|
40
58
|
message: 'Missing business activity id in request',
|
|
@@ -385,6 +403,9 @@ export const VALIDATION_MESSAGES = {
|
|
|
385
403
|
message: `Parent state with id '{id}' does not exist`,
|
|
386
404
|
params: ['id'],
|
|
387
405
|
},
|
|
406
|
+
NATION_PARENT_TYPE_NOT_ALLOWED: {
|
|
407
|
+
message: `Nation cannot have associated parent.`,
|
|
408
|
+
},
|
|
388
409
|
STATE_PARENT_TYPE_NOT_ALLOWED: {
|
|
389
410
|
message: `There must be a nation associated with the state '{stateName}'. Please select a nation to proceed.`,
|
|
390
411
|
params: ['stateName'],
|