@forwardslashns/taskit-validation-messages 1.10.109 → 1.10.110

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.
@@ -9,6 +9,16 @@ export declare const CLIENT_TEMPLATES: {
9
9
  message: string;
10
10
  affectedFields: string[];
11
11
  };
12
+ TEMPLATE_LOCKED_WHEN_SAVED: {
13
+ severity: "error";
14
+ message: string;
15
+ affectedFields: string[];
16
+ };
17
+ RECURRENCE_LOCKED_WHEN_SAVED: {
18
+ severity: "error";
19
+ message: string;
20
+ affectedFields: string[];
21
+ };
12
22
  DEFAULT_STAFF_NOT_ACTIVE: {
13
23
  severity: "error";
14
24
  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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkT3B,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8T3B,CAAC"}
@@ -13,6 +13,16 @@ exports.CLIENT_TEMPLATES = (0, validation_message_types_1.defineValidationFeatur
13
13
  message: 'Selected recurrence does not belong to selected template',
14
14
  affectedFields: ['templateInfo.templateRecurrenceId'],
15
15
  },
16
+ TEMPLATE_LOCKED_WHEN_SAVED: {
17
+ severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
18
+ message: 'Template cannot be changed once the client template is saved. Delete it (while it has no tasks) or end it, and add a new one.',
19
+ affectedFields: ['templateInfo.templateId'],
20
+ },
21
+ RECURRENCE_LOCKED_WHEN_SAVED: {
22
+ severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
23
+ message: 'Recurrence frequency cannot be changed once the client template is saved. Delete it (while it has no tasks) or end it, and add a new one.',
24
+ affectedFields: ['templateInfo.templateRecurrenceId'],
25
+ },
16
26
  DEFAULT_STAFF_NOT_ACTIVE: {
17
27
  severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
18
28
  message: 'Default staff must be active',
@@ -2211,6 +2211,16 @@ export declare const VALIDATION_MESSAGES: {
2211
2211
  message: string;
2212
2212
  affectedFields: string[];
2213
2213
  };
2214
+ TEMPLATE_LOCKED_WHEN_SAVED: {
2215
+ severity: "error";
2216
+ message: string;
2217
+ affectedFields: string[];
2218
+ };
2219
+ RECURRENCE_LOCKED_WHEN_SAVED: {
2220
+ severity: "error";
2221
+ message: string;
2222
+ affectedFields: string[];
2223
+ };
2214
2224
  DEFAULT_STAFF_NOT_ACTIVE: {
2215
2225
  severity: "error";
2216
2226
  message: string;
@@ -1 +1 @@
1
- {"version":3,"file":"validation-messages.d.ts","sourceRoot":"","s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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoCtB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forwardslashns/taskit-validation-messages",
3
- "version": "1.10.109",
3
+ "version": "1.10.110",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "type": "commonjs",
@@ -11,6 +11,18 @@ export const CLIENT_TEMPLATES = defineValidationFeatureMessages({
11
11
  message: 'Selected recurrence does not belong to selected template',
12
12
  affectedFields: ['templateInfo.templateRecurrenceId'],
13
13
  },
14
+ TEMPLATE_LOCKED_WHEN_SAVED: {
15
+ severity: VALIDATION_SEVERITY.ERROR,
16
+ message:
17
+ 'Template cannot be changed once the client template is saved. Delete it (while it has no tasks) or end it, and add a new one.',
18
+ affectedFields: ['templateInfo.templateId'],
19
+ },
20
+ RECURRENCE_LOCKED_WHEN_SAVED: {
21
+ severity: VALIDATION_SEVERITY.ERROR,
22
+ message:
23
+ 'Recurrence frequency cannot be changed once the client template is saved. Delete it (while it has no tasks) or end it, and add a new one.',
24
+ affectedFields: ['templateInfo.templateRecurrenceId'],
25
+ },
14
26
  DEFAULT_STAFF_NOT_ACTIVE: {
15
27
  severity: VALIDATION_SEVERITY.ERROR,
16
28
  message: 'Default staff must be active',