@forwardslashns/taskit-validation-messages 1.10.104 → 1.10.106
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/client-template-assignments.validation-messages.d.ts +5 -0
- package/dist/validation/features/client-template-assignments.validation-messages.d.ts.map +1 -1
- package/dist/validation/features/client-template-assignments.validation-messages.js +7 -2
- package/dist/validation/features/client-templates.validation-messages.d.ts +6 -0
- package/dist/validation/features/client-templates.validation-messages.d.ts.map +1 -1
- package/dist/validation/features/client-templates.validation-messages.js +6 -0
- package/dist/validation/validation-messages.d.ts +11 -0
- package/dist/validation/validation-messages.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/validation/features/client-template-assignments.validation-messages.ts +7 -2
- package/src/validation/features/client-templates.validation-messages.ts +7 -0
|
@@ -40,6 +40,11 @@ export declare const CLIENT_TEMPLATE_ASSIGNMENTS: {
|
|
|
40
40
|
message: string;
|
|
41
41
|
affectedFields: string[];
|
|
42
42
|
};
|
|
43
|
+
DELETE_BLOCKED_NOT_DELETABLE_TODO: {
|
|
44
|
+
severity: "error";
|
|
45
|
+
message: string;
|
|
46
|
+
affectedFields: string[];
|
|
47
|
+
};
|
|
43
48
|
ASSIGNMENT_NOT_FOUND: {
|
|
44
49
|
severity: "error";
|
|
45
50
|
message: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client-template-assignments.validation-messages.d.ts","sourceRoot":"","sources":["../../../src/validation/features/client-template-assignments.validation-messages.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,2BAA2B
|
|
1
|
+
{"version":3,"file":"client-template-assignments.validation-messages.d.ts","sourceRoot":"","sources":["../../../src/validation/features/client-template-assignments.validation-messages.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkFtC,CAAC"}
|
|
@@ -36,12 +36,17 @@ exports.CLIENT_TEMPLATE_ASSIGNMENTS = (0, validation_message_types_1.defineValid
|
|
|
36
36
|
},
|
|
37
37
|
DELETE_BLOCKED_BY_GENERATED_TASKS: {
|
|
38
38
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
39
|
-
message: 'This assignment
|
|
39
|
+
message: 'This assignment has tasks generated from it and cannot be deleted.',
|
|
40
40
|
affectedFields: ['assignments'],
|
|
41
41
|
},
|
|
42
42
|
DELETE_BLOCKED_NOT_DELETABLE: {
|
|
43
43
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
44
|
-
message: 'This assignment is marked as
|
|
44
|
+
message: 'This assignment cannot be removed because it is not marked as deletable.',
|
|
45
|
+
affectedFields: ['assignments'],
|
|
46
|
+
},
|
|
47
|
+
DELETE_BLOCKED_NOT_DELETABLE_TODO: {
|
|
48
|
+
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
49
|
+
message: 'This to-do cannot be removed because it is not marked as deletable.',
|
|
45
50
|
affectedFields: ['assignments'],
|
|
46
51
|
},
|
|
47
52
|
ASSIGNMENT_NOT_FOUND: {
|
|
@@ -105,6 +105,12 @@ export declare const CLIENT_TEMPLATES: {
|
|
|
105
105
|
message: string;
|
|
106
106
|
affectedFields: string[];
|
|
107
107
|
};
|
|
108
|
+
DELETE_WITH_DEPENDENT_CLIENT_TEMPLATES: {
|
|
109
|
+
severity: "warning";
|
|
110
|
+
message: string;
|
|
111
|
+
params: string[];
|
|
112
|
+
affectedFields: string[];
|
|
113
|
+
};
|
|
108
114
|
OVERRIDE_RECURRENCE_NOT_ALLOWED: {
|
|
109
115
|
severity: "error";
|
|
110
116
|
message: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client-templates.validation-messages.d.ts","sourceRoot":"","sources":["../../../src/validation/features/client-templates.validation-messages.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,gBAAgB
|
|
1
|
+
{"version":3,"file":"client-templates.validation-messages.d.ts","sourceRoot":"","sources":["../../../src/validation/features/client-templates.validation-messages.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkT3B,CAAC"}
|
|
@@ -109,6 +109,12 @@ exports.CLIENT_TEMPLATES = (0, validation_message_types_1.defineValidationFeatur
|
|
|
109
109
|
message: 'This client template cannot be deleted because there are associated tasks already',
|
|
110
110
|
affectedFields: ['clientTemplateId'],
|
|
111
111
|
},
|
|
112
|
+
DELETE_WITH_DEPENDENT_CLIENT_TEMPLATES: {
|
|
113
|
+
severity: validation_message_types_1.VALIDATION_SEVERITY.WARNING,
|
|
114
|
+
message: 'Are you sure you want to delete this client template? The following client templates will be deleted as well: {clientTemplateNames}',
|
|
115
|
+
params: ['clientTemplateNames'],
|
|
116
|
+
affectedFields: ['clientTemplateId'],
|
|
117
|
+
},
|
|
112
118
|
OVERRIDE_RECURRENCE_NOT_ALLOWED: {
|
|
113
119
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
114
120
|
message: 'This template does not allow overriding recurrence dates.',
|
|
@@ -2256,6 +2256,12 @@ export declare const VALIDATION_MESSAGES: {
|
|
|
2256
2256
|
message: string;
|
|
2257
2257
|
affectedFields: string[];
|
|
2258
2258
|
};
|
|
2259
|
+
DELETE_WITH_DEPENDENT_CLIENT_TEMPLATES: {
|
|
2260
|
+
severity: "warning";
|
|
2261
|
+
message: string;
|
|
2262
|
+
params: string[];
|
|
2263
|
+
affectedFields: string[];
|
|
2264
|
+
};
|
|
2259
2265
|
OVERRIDE_RECURRENCE_NOT_ALLOWED: {
|
|
2260
2266
|
severity: "error";
|
|
2261
2267
|
message: string;
|
|
@@ -2487,6 +2493,11 @@ export declare const VALIDATION_MESSAGES: {
|
|
|
2487
2493
|
message: string;
|
|
2488
2494
|
affectedFields: string[];
|
|
2489
2495
|
};
|
|
2496
|
+
DELETE_BLOCKED_NOT_DELETABLE_TODO: {
|
|
2497
|
+
severity: "error";
|
|
2498
|
+
message: string;
|
|
2499
|
+
affectedFields: string[];
|
|
2500
|
+
};
|
|
2490
2501
|
ASSIGNMENT_NOT_FOUND: {
|
|
2491
2502
|
severity: "error";
|
|
2492
2503
|
message: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validation-messages.d.ts","sourceRoot":"","sources":["../../src/validation/validation-messages.ts"],"names":[],"mappings":"AAoCA,eAAO,MAAM,mBAAmB
|
|
1
|
+
{"version":3,"file":"validation-messages.d.ts","sourceRoot":"","sources":["../../src/validation/validation-messages.ts"],"names":[],"mappings":"AAoCA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoCtB,CAAC"}
|
package/package.json
CHANGED
|
@@ -34,12 +34,17 @@ export const CLIENT_TEMPLATE_ASSIGNMENTS = defineValidationFeatureMessages({
|
|
|
34
34
|
},
|
|
35
35
|
DELETE_BLOCKED_BY_GENERATED_TASKS: {
|
|
36
36
|
severity: VALIDATION_SEVERITY.ERROR,
|
|
37
|
-
message: 'This assignment
|
|
37
|
+
message: 'This assignment has tasks generated from it and cannot be deleted.',
|
|
38
38
|
affectedFields: ['assignments'],
|
|
39
39
|
},
|
|
40
40
|
DELETE_BLOCKED_NOT_DELETABLE: {
|
|
41
41
|
severity: VALIDATION_SEVERITY.ERROR,
|
|
42
|
-
message: 'This assignment is marked as
|
|
42
|
+
message: 'This assignment cannot be removed because it is not marked as deletable.',
|
|
43
|
+
affectedFields: ['assignments'],
|
|
44
|
+
},
|
|
45
|
+
DELETE_BLOCKED_NOT_DELETABLE_TODO: {
|
|
46
|
+
severity: VALIDATION_SEVERITY.ERROR,
|
|
47
|
+
message: 'This to-do cannot be removed because it is not marked as deletable.',
|
|
43
48
|
affectedFields: ['assignments'],
|
|
44
49
|
},
|
|
45
50
|
ASSIGNMENT_NOT_FOUND: {
|
|
@@ -108,6 +108,13 @@ export const CLIENT_TEMPLATES = defineValidationFeatureMessages({
|
|
|
108
108
|
message: 'This client template cannot be deleted because there are associated tasks already',
|
|
109
109
|
affectedFields: ['clientTemplateId'],
|
|
110
110
|
},
|
|
111
|
+
DELETE_WITH_DEPENDENT_CLIENT_TEMPLATES: {
|
|
112
|
+
severity: VALIDATION_SEVERITY.WARNING,
|
|
113
|
+
message:
|
|
114
|
+
'Are you sure you want to delete this client template? The following client templates will be deleted as well: {clientTemplateNames}',
|
|
115
|
+
params: ['clientTemplateNames'],
|
|
116
|
+
affectedFields: ['clientTemplateId'],
|
|
117
|
+
},
|
|
111
118
|
OVERRIDE_RECURRENCE_NOT_ALLOWED: {
|
|
112
119
|
severity: VALIDATION_SEVERITY.ERROR,
|
|
113
120
|
message: 'This template does not allow overriding recurrence dates.',
|