@forwardslashns/taskit-validation-messages 1.10.66 → 1.10.69

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.
@@ -243,6 +243,7 @@ export declare const CLIENT_TEMPLATES: {
243
243
  STATE_TEMPLATE_STATE_INACTIVE: {
244
244
  severity: "error";
245
245
  message: string;
246
+ params: string[];
246
247
  affectedFields: string[];
247
248
  };
248
249
  STATE_IS_FINAL_REQUIRED_WITH_ENDING_DATE: {
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoS3B,CAAC"}
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqS3B,CAAC"}
@@ -246,7 +246,8 @@ exports.CLIENT_TEMPLATES = (0, validation_message_types_1.defineValidationFeatur
246
246
  },
247
247
  STATE_TEMPLATE_STATE_INACTIVE: {
248
248
  severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
249
- message: 'Selected template state is inactive or ended and cannot be added.',
249
+ message: 'State sub-filing "{stateName}" is inactive or ended and cannot be added.',
250
+ params: ['stateName'],
250
251
  affectedFields: ['states'],
251
252
  },
252
253
  STATE_IS_FINAL_REQUIRED_WITH_ENDING_DATE: {
@@ -99,7 +99,7 @@ exports.TASKS = (0, validation_message_types_1.defineValidationFeatureMessages)(
99
99
  },
100
100
  REQUIRED_TODOS_STILL_OPEN: {
101
101
  severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
102
- 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 open to-do's before closing this task.",
102
+ 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.",
103
103
  affectedFields: ['isRequired'],
104
104
  },
105
105
  RETRY_IN_PROGRESS: {
@@ -2309,6 +2309,7 @@ export declare const VALIDATION_MESSAGES: {
2309
2309
  STATE_TEMPLATE_STATE_INACTIVE: {
2310
2310
  severity: "error";
2311
2311
  message: string;
2312
+ params: string[];
2312
2313
  affectedFields: string[];
2313
2314
  };
2314
2315
  STATE_IS_FINAL_REQUIRED_WITH_ENDING_DATE: {
@@ -1 +1 @@
1
- {"version":3,"file":"validation-messages.d.ts","sourceRoot":"","sources":["../../src/validation/validation-messages.ts"],"names":[],"mappings":"AAiCA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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HANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forwardslashns/taskit-validation-messages",
3
- "version": "1.10.66",
3
+ "version": "1.10.69",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "type": "commonjs",
@@ -248,7 +248,8 @@ export const CLIENT_TEMPLATES = defineValidationFeatureMessages({
248
248
  },
249
249
  STATE_TEMPLATE_STATE_INACTIVE: {
250
250
  severity: VALIDATION_SEVERITY.ERROR,
251
- message: 'Selected template state is inactive or ended and cannot be added.',
251
+ message: 'State sub-filing "{stateName}" is inactive or ended and cannot be added.',
252
+ params: ['stateName'],
252
253
  affectedFields: ['states'],
253
254
  },
254
255
  STATE_IS_FINAL_REQUIRED_WITH_ENDING_DATE: {
@@ -103,7 +103,7 @@ export const TASKS = defineValidationFeatureMessages({
103
103
  REQUIRED_TODOS_STILL_OPEN: {
104
104
  severity: VALIDATION_SEVERITY.ERROR,
105
105
  message:
106
- "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 open to-do's before closing this task.",
106
+ "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.",
107
107
  affectedFields: ['isRequired'],
108
108
  },
109
109
  RETRY_IN_PROGRESS: {