@forwardslashns/taskit-validation-messages 1.10.60 → 1.10.62

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.
@@ -103,12 +103,17 @@ export declare const TASKS: {
103
103
  message: string;
104
104
  affectedFields: string[];
105
105
  };
106
+ GENERATION_ALREADY_IN_PROGRESS: {
107
+ severity: "error";
108
+ message: string;
109
+ affectedFields: never[];
110
+ };
106
111
  ASSIGNMENT_NAME_REQUIRED: {
107
112
  severity: "error";
108
113
  message: string;
109
114
  affectedFields: string[];
110
115
  };
111
- ASSIGNMENT_NAME_DUPLICATE: {
116
+ ASSIGNMENT_NAME_ALREADY_EXISTS: {
112
117
  severity: "error";
113
118
  message: string;
114
119
  affectedFields: 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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8HhB,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoIhB,CAAC"}
@@ -107,14 +107,19 @@ exports.TASKS = (0, validation_message_types_1.defineValidationFeatureMessages)(
107
107
  message: 'A retry is already in progress for this generation log. Please wait for it to complete.',
108
108
  affectedFields: ['logId'],
109
109
  },
110
+ GENERATION_ALREADY_IN_PROGRESS: {
111
+ severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
112
+ message: 'A task generation is already in progress. Please wait for it to complete, or use force-generate to interrupt it.',
113
+ affectedFields: [],
114
+ },
110
115
  ASSIGNMENT_NAME_REQUIRED: {
111
116
  severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
112
117
  message: 'Assignment name is required.',
113
118
  affectedFields: ['name'],
114
119
  },
115
- ASSIGNMENT_NAME_DUPLICATE: {
120
+ ASSIGNMENT_NAME_ALREADY_EXISTS: {
116
121
  severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
117
- message: 'Assignment names must be unique within a task.',
122
+ message: 'This name is already in use on this task.',
118
123
  affectedFields: ['name'],
119
124
  },
120
125
  INVALID_ASSIGNMENT_STATUS: {
@@ -2473,12 +2473,17 @@ export declare const VALIDATION_MESSAGES: {
2473
2473
  message: string;
2474
2474
  affectedFields: string[];
2475
2475
  };
2476
+ GENERATION_ALREADY_IN_PROGRESS: {
2477
+ severity: "error";
2478
+ message: string;
2479
+ affectedFields: never[];
2480
+ };
2476
2481
  ASSIGNMENT_NAME_REQUIRED: {
2477
2482
  severity: "error";
2478
2483
  message: string;
2479
2484
  affectedFields: string[];
2480
2485
  };
2481
- ASSIGNMENT_NAME_DUPLICATE: {
2486
+ ASSIGNMENT_NAME_ALREADY_EXISTS: {
2482
2487
  severity: "error";
2483
2488
  message: string;
2484
2489
  affectedFields: string[];
@@ -1 +1 @@
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forwardslashns/taskit-validation-messages",
3
- "version": "1.10.60",
3
+ "version": "1.10.62",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "type": "commonjs",
@@ -111,14 +111,20 @@ export const TASKS = defineValidationFeatureMessages({
111
111
  message: 'A retry is already in progress for this generation log. Please wait for it to complete.',
112
112
  affectedFields: ['logId'],
113
113
  },
114
+ GENERATION_ALREADY_IN_PROGRESS: {
115
+ severity: VALIDATION_SEVERITY.ERROR,
116
+ message:
117
+ 'A task generation is already in progress. Please wait for it to complete, or use force-generate to interrupt it.',
118
+ affectedFields: [],
119
+ },
114
120
  ASSIGNMENT_NAME_REQUIRED: {
115
121
  severity: VALIDATION_SEVERITY.ERROR,
116
122
  message: 'Assignment name is required.',
117
123
  affectedFields: ['name'],
118
124
  },
119
- ASSIGNMENT_NAME_DUPLICATE: {
125
+ ASSIGNMENT_NAME_ALREADY_EXISTS: {
120
126
  severity: VALIDATION_SEVERITY.ERROR,
121
- message: 'Assignment names must be unique within a task.',
127
+ message: 'This name is already in use on this task.',
122
128
  affectedFields: ['name'],
123
129
  },
124
130
  INVALID_ASSIGNMENT_STATUS: {