@forwardslashns/taskit-validation-messages 1.10.88 → 1.10.90

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.
@@ -92,6 +92,11 @@ export declare const TASKS: {
92
92
  message: string;
93
93
  affectedFields: string[];
94
94
  };
95
+ RELATED_TASKS_STILL_OPEN_WARNING: {
96
+ severity: "warning";
97
+ message: string;
98
+ affectedFields: string[];
99
+ };
95
100
  RETRY_IN_PROGRESS: {
96
101
  severity: "error";
97
102
  message: string;
@@ -228,5 +233,10 @@ export declare const TASKS: {
228
233
  message: string;
229
234
  affectedFields: string[];
230
235
  };
236
+ STATUS_REQUIRED: {
237
+ severity: "error";
238
+ message: string;
239
+ affectedFields: string[];
240
+ };
231
241
  };
232
242
  //# 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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoPhB,CAAC"}
1
+ {"version":3,"file":"tasks.validation-messages.d.ts","sourceRoot":"","sources":["../../../src/validation/features/tasks.validation-messages.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8PhB,CAAC"}
@@ -96,6 +96,11 @@ exports.TASKS = (0, validation_message_types_1.defineValidationFeatureMessages)(
96
96
  message: "This task can't be closed yet because there is at least one required to-do that has not been marked done. Please complete all required to-do's before closing this task.",
97
97
  affectedFields: ['isRequired'],
98
98
  },
99
+ RELATED_TASKS_STILL_OPEN_WARNING: {
100
+ severity: validation_message_types_1.VALIDATION_SEVERITY.WARNING,
101
+ message: 'This assignment has related tasks that are not done yet. Do you want to mark this assignment as done?',
102
+ affectedFields: ['linkedAssignmentId'],
103
+ },
99
104
  RETRY_IN_PROGRESS: {
100
105
  severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
101
106
  message: 'A retry is already in progress for this generation log. Please wait for it to complete.',
@@ -232,4 +237,9 @@ exports.TASKS = (0, validation_message_types_1.defineValidationFeatureMessages)(
232
237
  message: 'Show until done can only be enabled for Reminder tasks.',
233
238
  affectedFields: ['showUntilDone'],
234
239
  },
240
+ STATUS_REQUIRED: {
241
+ severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
242
+ message: 'Status is required.',
243
+ affectedFields: ['statusId'],
244
+ },
235
245
  });
@@ -2545,6 +2545,11 @@ export declare const VALIDATION_MESSAGES: {
2545
2545
  message: string;
2546
2546
  affectedFields: string[];
2547
2547
  };
2548
+ RELATED_TASKS_STILL_OPEN_WARNING: {
2549
+ severity: "warning";
2550
+ message: string;
2551
+ affectedFields: string[];
2552
+ };
2548
2553
  RETRY_IN_PROGRESS: {
2549
2554
  severity: "error";
2550
2555
  message: string;
@@ -2681,6 +2686,11 @@ export declare const VALIDATION_MESSAGES: {
2681
2686
  message: string;
2682
2687
  affectedFields: string[];
2683
2688
  };
2689
+ STATUS_REQUIRED: {
2690
+ severity: "error";
2691
+ message: string;
2692
+ affectedFields: string[];
2693
+ };
2684
2694
  };
2685
2695
  };
2686
2696
  //# 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":"AAkCA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkCtB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forwardslashns/taskit-validation-messages",
3
- "version": "1.10.88",
3
+ "version": "1.10.90",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "type": "commonjs",
@@ -100,6 +100,11 @@ export const TASKS = defineValidationFeatureMessages({
100
100
  "This task can't be closed yet because there is at least one required to-do that has not been marked done. Please complete all required to-do's before closing this task.",
101
101
  affectedFields: ['isRequired'],
102
102
  },
103
+ RELATED_TASKS_STILL_OPEN_WARNING: {
104
+ severity: VALIDATION_SEVERITY.WARNING,
105
+ message: 'This assignment has related tasks that are not done yet. Do you want to mark this assignment as done?',
106
+ affectedFields: ['linkedAssignmentId'],
107
+ },
103
108
  RETRY_IN_PROGRESS: {
104
109
  severity: VALIDATION_SEVERITY.ERROR,
105
110
  message: 'A retry is already in progress for this generation log. Please wait for it to complete.',
@@ -244,4 +249,9 @@ export const TASKS = defineValidationFeatureMessages({
244
249
  message: 'Show until done can only be enabled for Reminder tasks.',
245
250
  affectedFields: ['showUntilDone'],
246
251
  },
252
+ STATUS_REQUIRED: {
253
+ severity: VALIDATION_SEVERITY.ERROR,
254
+ message: 'Status is required.',
255
+ affectedFields: ['statusId'],
256
+ },
247
257
  });