@forwardslashns/taskit-validation-messages 1.0.38 → 1.0.40
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,28 @@ 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
|
+
readonly ZIP_CODES_NOT_FOUND: {
|
|
56
|
+
readonly message: "Zip codes with ids {ids} do not exist";
|
|
57
|
+
readonly params: readonly ["ids"];
|
|
58
|
+
};
|
|
59
|
+
};
|
|
38
60
|
readonly BUSINESS_ACTIVITY: {
|
|
39
61
|
readonly INVALID_REQUEST: {
|
|
40
62
|
readonly message: "Missing business activity id in request";
|
|
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAydtB,CAAC"}
|
|
@@ -38,6 +38,28 @@ 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
|
+
ZIP_CODES_NOT_FOUND: {
|
|
59
|
+
message: `Zip codes with ids {ids} do not exist`,
|
|
60
|
+
params: ['ids'],
|
|
61
|
+
},
|
|
62
|
+
},
|
|
41
63
|
BUSINESS_ACTIVITY: {
|
|
42
64
|
INVALID_REQUEST: {
|
|
43
65
|
message: 'Missing business activity id in request',
|
package/package.json
CHANGED
|
@@ -35,6 +35,28 @@ 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
|
+
ZIP_CODES_NOT_FOUND: {
|
|
56
|
+
message: `Zip codes with ids {ids} do not exist`,
|
|
57
|
+
params: ['ids'],
|
|
58
|
+
},
|
|
59
|
+
},
|
|
38
60
|
BUSINESS_ACTIVITY: {
|
|
39
61
|
INVALID_REQUEST: {
|
|
40
62
|
message: 'Missing business activity id in request',
|