@forwardslashns/taskit-validation-messages 1.10.77 → 1.10.78
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.
- package/dist/validation/features/task-types.validation-messages.d.ts +9 -0
- package/dist/validation/features/task-types.validation-messages.d.ts.map +1 -0
- package/dist/validation/features/task-types.validation-messages.js +12 -0
- package/dist/validation/features/tasks.validation-messages.d.ts +5 -0
- package/dist/validation/features/tasks.validation-messages.d.ts.map +1 -1
- package/dist/validation/features/tasks.validation-messages.js +5 -0
- package/dist/validation/validation-messages.d.ts +13 -0
- package/dist/validation/validation-messages.d.ts.map +1 -1
- package/dist/validation/validation-messages.js +2 -0
- package/package.json +1 -1
- package/src/validation/features/task-types.validation-messages.ts +10 -0
- package/src/validation/features/tasks.validation-messages.ts +5 -0
- package/src/validation/validation-messages.ts +2 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"task-types.validation-messages.d.ts","sourceRoot":"","sources":["../../../src/validation/features/task-types.validation-messages.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU;;;;;;;CAOrB,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TASK_TYPES = void 0;
|
|
4
|
+
const validation_message_types_1 = require("../validation-message.types");
|
|
5
|
+
exports.TASK_TYPES = (0, validation_message_types_1.defineValidationFeatureMessages)({
|
|
6
|
+
ID_DOES_NOT_EXIST: {
|
|
7
|
+
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
8
|
+
message: `Task type does not exist.`,
|
|
9
|
+
params: ['id'],
|
|
10
|
+
affectedFields: ['taskType'],
|
|
11
|
+
},
|
|
12
|
+
});
|
|
@@ -143,6 +143,11 @@ export declare const TASKS: {
|
|
|
143
143
|
params: string[];
|
|
144
144
|
affectedFields: string[];
|
|
145
145
|
};
|
|
146
|
+
TASK_TYPE_REQUIRED: {
|
|
147
|
+
severity: "error";
|
|
148
|
+
message: string;
|
|
149
|
+
affectedFields: string[];
|
|
150
|
+
};
|
|
146
151
|
ASSIGNED_TO_REQUIRED: {
|
|
147
152
|
severity: "error";
|
|
148
153
|
message: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tasks.validation-messages.d.ts","sourceRoot":"","sources":["../../../src/validation/features/tasks.validation-messages.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK
|
|
1
|
+
{"version":3,"file":"tasks.validation-messages.d.ts","sourceRoot":"","sources":["../../../src/validation/features/tasks.validation-messages.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsMhB,CAAC"}
|
|
@@ -147,6 +147,11 @@ exports.TASKS = (0, validation_message_types_1.defineValidationFeatureMessages)(
|
|
|
147
147
|
params: ['filingId'],
|
|
148
148
|
affectedFields: ['filingId'],
|
|
149
149
|
},
|
|
150
|
+
TASK_TYPE_REQUIRED: {
|
|
151
|
+
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
152
|
+
message: 'Task type is required.',
|
|
153
|
+
affectedFields: ['taskTypeId'],
|
|
154
|
+
},
|
|
150
155
|
ASSIGNED_TO_REQUIRED: {
|
|
151
156
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
152
157
|
message: 'Assigned to is required.',
|
|
@@ -77,6 +77,14 @@ export declare const VALIDATION_MESSAGES: {
|
|
|
77
77
|
affectedFields: never[];
|
|
78
78
|
};
|
|
79
79
|
};
|
|
80
|
+
readonly TASK_TYPES: {
|
|
81
|
+
ID_DOES_NOT_EXIST: {
|
|
82
|
+
severity: "error";
|
|
83
|
+
message: string;
|
|
84
|
+
params: string[];
|
|
85
|
+
affectedFields: string[];
|
|
86
|
+
};
|
|
87
|
+
};
|
|
80
88
|
readonly DETAIL_TYPES: {
|
|
81
89
|
INVALID_REQUEST: {
|
|
82
90
|
severity: "error";
|
|
@@ -2567,6 +2575,11 @@ export declare const VALIDATION_MESSAGES: {
|
|
|
2567
2575
|
params: string[];
|
|
2568
2576
|
affectedFields: string[];
|
|
2569
2577
|
};
|
|
2578
|
+
TASK_TYPE_REQUIRED: {
|
|
2579
|
+
severity: "error";
|
|
2580
|
+
message: string;
|
|
2581
|
+
affectedFields: string[];
|
|
2582
|
+
};
|
|
2570
2583
|
ASSIGNED_TO_REQUIRED: {
|
|
2571
2584
|
severity: "error";
|
|
2572
2585
|
message: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validation-messages.d.ts","sourceRoot":"","sources":["../../src/validation/validation-messages.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"validation-messages.d.ts","sourceRoot":"","sources":["../../src/validation/validation-messages.ts"],"names":[],"mappings":"AAkCA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkCtB,CAAC"}
|
|
@@ -4,6 +4,7 @@ exports.VALIDATION_MESSAGES = void 0;
|
|
|
4
4
|
const account_categories_validation_messages_1 = require("./features/account-categories.validation-messages");
|
|
5
5
|
const account_ids_validation_messages_1 = require("./features/account-ids.validation-messages");
|
|
6
6
|
const task_related_validation_messages_1 = require("./features/task-related.validation-messages");
|
|
7
|
+
const task_types_validation_messages_1 = require("./features/task-types.validation-messages");
|
|
7
8
|
const detail_types_validation_messages_1 = require("./features/detail-types.validation-messages");
|
|
8
9
|
const client_records_addresses_validation_messages_1 = require("./features/client-records-addresses.validation-messages");
|
|
9
10
|
const business_activities_validation_messages_1 = require("./features/business-activities.validation-messages");
|
|
@@ -37,6 +38,7 @@ exports.VALIDATION_MESSAGES = {
|
|
|
37
38
|
ACCOUNT_CATEGORIES: account_categories_validation_messages_1.ACCOUNT_CATEGORIES,
|
|
38
39
|
ACCOUNT_IDS: account_ids_validation_messages_1.ACCOUNT_IDS,
|
|
39
40
|
TASK_RELATED: task_related_validation_messages_1.TASK_RELATED,
|
|
41
|
+
TASK_TYPES: task_types_validation_messages_1.TASK_TYPES,
|
|
40
42
|
DETAIL_TYPES: detail_types_validation_messages_1.DETAIL_TYPES,
|
|
41
43
|
CLIENT_RECORDS_ADDRESSES: client_records_addresses_validation_messages_1.CLIENT_RECORDS_ADDRESSES,
|
|
42
44
|
BUSINESS_ACTIVITIES: business_activities_validation_messages_1.BUSINESS_ACTIVITIES,
|
package/package.json
CHANGED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { defineValidationFeatureMessages, VALIDATION_SEVERITY } from '../validation-message.types';
|
|
2
|
+
|
|
3
|
+
export const TASK_TYPES = defineValidationFeatureMessages({
|
|
4
|
+
ID_DOES_NOT_EXIST: {
|
|
5
|
+
severity: VALIDATION_SEVERITY.ERROR,
|
|
6
|
+
message: `Task type does not exist.`,
|
|
7
|
+
params: ['id'],
|
|
8
|
+
affectedFields: ['taskType'],
|
|
9
|
+
},
|
|
10
|
+
});
|
|
@@ -156,6 +156,11 @@ export const TASKS = defineValidationFeatureMessages({
|
|
|
156
156
|
params: ['filingId'],
|
|
157
157
|
affectedFields: ['filingId'],
|
|
158
158
|
},
|
|
159
|
+
TASK_TYPE_REQUIRED: {
|
|
160
|
+
severity: VALIDATION_SEVERITY.ERROR,
|
|
161
|
+
message: 'Task type is required.',
|
|
162
|
+
affectedFields: ['taskTypeId'],
|
|
163
|
+
},
|
|
159
164
|
ASSIGNED_TO_REQUIRED: {
|
|
160
165
|
severity: VALIDATION_SEVERITY.ERROR,
|
|
161
166
|
message: 'Assigned to is required.',
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ACCOUNT_CATEGORIES } from './features/account-categories.validation-messages';
|
|
2
2
|
import { ACCOUNT_IDS } from './features/account-ids.validation-messages';
|
|
3
3
|
import { TASK_RELATED } from './features/task-related.validation-messages';
|
|
4
|
+
import { TASK_TYPES } from './features/task-types.validation-messages';
|
|
4
5
|
import { DETAIL_TYPES } from './features/detail-types.validation-messages';
|
|
5
6
|
import { CLIENT_RECORDS_ADDRESSES } from './features/client-records-addresses.validation-messages';
|
|
6
7
|
import { BUSINESS_ACTIVITIES } from './features/business-activities.validation-messages';
|
|
@@ -35,6 +36,7 @@ export const VALIDATION_MESSAGES = {
|
|
|
35
36
|
ACCOUNT_CATEGORIES,
|
|
36
37
|
ACCOUNT_IDS,
|
|
37
38
|
TASK_RELATED,
|
|
39
|
+
TASK_TYPES,
|
|
38
40
|
DETAIL_TYPES,
|
|
39
41
|
CLIENT_RECORDS_ADDRESSES,
|
|
40
42
|
BUSINESS_ACTIVITIES,
|