@forwardslashns/taskit-validation-messages 1.10.85 → 1.10.87

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.
@@ -217,5 +217,16 @@ export declare const TASKS: {
217
217
  message: string;
218
218
  affectedFields: string[];
219
219
  };
220
+ LINKED_ASSIGNMENT_NOT_FOUND: {
221
+ severity: "error";
222
+ message: string;
223
+ params: string[];
224
+ affectedFields: string[];
225
+ };
226
+ SHOW_UNTIL_DONE_NOT_ALLOWED_FOR_TASK_TYPE: {
227
+ severity: "error";
228
+ message: string;
229
+ affectedFields: string[];
230
+ };
220
231
  };
221
232
  //# 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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwOhB,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoPhB,CAAC"}
@@ -221,4 +221,15 @@ exports.TASKS = (0, validation_message_types_1.defineValidationFeatureMessages)(
221
221
  message: 'Reminders cannot be marked billable.',
222
222
  affectedFields: ['isBillable'],
223
223
  },
224
+ LINKED_ASSIGNMENT_NOT_FOUND: {
225
+ severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
226
+ message: 'Linked assignment {assignmentId} does not exist, is not a workflow assignment, or does not belong to this task.',
227
+ params: ['assignmentId'],
228
+ affectedFields: ['linkedAssignmentId'],
229
+ },
230
+ SHOW_UNTIL_DONE_NOT_ALLOWED_FOR_TASK_TYPE: {
231
+ severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
232
+ message: 'Show until done can only be enabled for Reminder tasks.',
233
+ affectedFields: ['showUntilDone'],
234
+ },
224
235
  });
@@ -2665,6 +2665,17 @@ export declare const VALIDATION_MESSAGES: {
2665
2665
  message: string;
2666
2666
  affectedFields: string[];
2667
2667
  };
2668
+ LINKED_ASSIGNMENT_NOT_FOUND: {
2669
+ severity: "error";
2670
+ message: string;
2671
+ params: string[];
2672
+ affectedFields: string[];
2673
+ };
2674
+ SHOW_UNTIL_DONE_NOT_ALLOWED_FOR_TASK_TYPE: {
2675
+ severity: "error";
2676
+ message: string;
2677
+ affectedFields: string[];
2678
+ };
2668
2679
  };
2669
2680
  };
2670
2681
  //# 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.85",
3
+ "version": "1.10.87",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "type": "commonjs",
@@ -232,4 +232,16 @@ export const TASKS = defineValidationFeatureMessages({
232
232
  message: 'Reminders cannot be marked billable.',
233
233
  affectedFields: ['isBillable'],
234
234
  },
235
+ LINKED_ASSIGNMENT_NOT_FOUND: {
236
+ severity: VALIDATION_SEVERITY.ERROR,
237
+ message:
238
+ 'Linked assignment {assignmentId} does not exist, is not a workflow assignment, or does not belong to this task.',
239
+ params: ['assignmentId'],
240
+ affectedFields: ['linkedAssignmentId'],
241
+ },
242
+ SHOW_UNTIL_DONE_NOT_ALLOWED_FOR_TASK_TYPE: {
243
+ severity: VALIDATION_SEVERITY.ERROR,
244
+ message: 'Show until done can only be enabled for Reminder tasks.',
245
+ affectedFields: ['showUntilDone'],
246
+ },
235
247
  });