@forwardslashns/taskit-validation-messages 1.10.58 → 1.10.60
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/tasks.validation-messages.d.ts +10 -0
- package/dist/validation/features/tasks.validation-messages.d.ts.map +1 -1
- package/dist/validation/features/tasks.validation-messages.js +10 -0
- package/dist/validation/validation-messages.d.ts +10 -0
- package/dist/validation/validation-messages.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/validation/features/tasks.validation-messages.ts +10 -0
|
@@ -108,5 +108,15 @@ export declare const TASKS: {
|
|
|
108
108
|
message: string;
|
|
109
109
|
affectedFields: string[];
|
|
110
110
|
};
|
|
111
|
+
ASSIGNMENT_NAME_DUPLICATE: {
|
|
112
|
+
severity: "error";
|
|
113
|
+
message: string;
|
|
114
|
+
affectedFields: string[];
|
|
115
|
+
};
|
|
116
|
+
INVALID_ASSIGNMENT_STATUS: {
|
|
117
|
+
severity: "error";
|
|
118
|
+
message: string;
|
|
119
|
+
affectedFields: string[];
|
|
120
|
+
};
|
|
111
121
|
};
|
|
112
122
|
//# sourceMappingURL=tasks.validation-messages.d.ts.map
|
|
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8HhB,CAAC"}
|
|
@@ -112,4 +112,14 @@ exports.TASKS = (0, validation_message_types_1.defineValidationFeatureMessages)(
|
|
|
112
112
|
message: 'Assignment name is required.',
|
|
113
113
|
affectedFields: ['name'],
|
|
114
114
|
},
|
|
115
|
+
ASSIGNMENT_NAME_DUPLICATE: {
|
|
116
|
+
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
117
|
+
message: 'Assignment names must be unique within a task.',
|
|
118
|
+
affectedFields: ['name'],
|
|
119
|
+
},
|
|
120
|
+
INVALID_ASSIGNMENT_STATUS: {
|
|
121
|
+
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
122
|
+
message: 'The selected assignment status is not valid.',
|
|
123
|
+
affectedFields: ['statusId'],
|
|
124
|
+
},
|
|
115
125
|
});
|
|
@@ -2478,6 +2478,16 @@ export declare const VALIDATION_MESSAGES: {
|
|
|
2478
2478
|
message: string;
|
|
2479
2479
|
affectedFields: string[];
|
|
2480
2480
|
};
|
|
2481
|
+
ASSIGNMENT_NAME_DUPLICATE: {
|
|
2482
|
+
severity: "error";
|
|
2483
|
+
message: string;
|
|
2484
|
+
affectedFields: string[];
|
|
2485
|
+
};
|
|
2486
|
+
INVALID_ASSIGNMENT_STATUS: {
|
|
2487
|
+
severity: "error";
|
|
2488
|
+
message: string;
|
|
2489
|
+
affectedFields: string[];
|
|
2490
|
+
};
|
|
2481
2491
|
};
|
|
2482
2492
|
};
|
|
2483
2493
|
//# sourceMappingURL=validation-messages.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validation-messages.d.ts","sourceRoot":"","sources":["../../src/validation/validation-messages.ts"],"names":[],"mappings":"AA+BA,eAAO,MAAM,mBAAmB
|
|
1
|
+
{"version":3,"file":"validation-messages.d.ts","sourceRoot":"","sources":["../../src/validation/validation-messages.ts"],"names":[],"mappings":"AA+BA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+BtB,CAAC"}
|
package/package.json
CHANGED
|
@@ -116,4 +116,14 @@ export const TASKS = defineValidationFeatureMessages({
|
|
|
116
116
|
message: 'Assignment name is required.',
|
|
117
117
|
affectedFields: ['name'],
|
|
118
118
|
},
|
|
119
|
+
ASSIGNMENT_NAME_DUPLICATE: {
|
|
120
|
+
severity: VALIDATION_SEVERITY.ERROR,
|
|
121
|
+
message: 'Assignment names must be unique within a task.',
|
|
122
|
+
affectedFields: ['name'],
|
|
123
|
+
},
|
|
124
|
+
INVALID_ASSIGNMENT_STATUS: {
|
|
125
|
+
severity: VALIDATION_SEVERITY.ERROR,
|
|
126
|
+
message: 'The selected assignment status is not valid.',
|
|
127
|
+
affectedFields: ['statusId'],
|
|
128
|
+
},
|
|
119
129
|
});
|