@forwardslashns/taskit-validation-messages 1.10.24 → 1.10.25
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.
- package/dist/validation/features/template-recurrence-settings.validation-messages.d.ts +6 -0
- package/dist/validation/features/template-recurrence-settings.validation-messages.d.ts.map +1 -1
- package/dist/validation/features/template-recurrence-settings.validation-messages.js +6 -0
- package/dist/validation/validation-messages.d.ts +6 -0
- package/dist/validation/validation-messages.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/validation/features/template-recurrence-settings.validation-messages.ts +7 -0
|
@@ -194,5 +194,11 @@ export declare const TEMPLATE_RECURRENCE_SETTINGS: {
|
|
|
194
194
|
params: string[];
|
|
195
195
|
affectedFields: string[];
|
|
196
196
|
};
|
|
197
|
+
FILES_UNDER_INHERITS_PARENT_ANNUAL_RECURRENCE: {
|
|
198
|
+
severity: "error";
|
|
199
|
+
message: string;
|
|
200
|
+
params: string[];
|
|
201
|
+
affectedFields: string[];
|
|
202
|
+
};
|
|
197
203
|
};
|
|
198
204
|
//# sourceMappingURL=template-recurrence-settings.validation-messages.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"template-recurrence-settings.validation-messages.d.ts","sourceRoot":"","sources":["../../../src/validation/features/template-recurrence-settings.validation-messages.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,4BAA4B;;;;wBAIf,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAsLR,MAAM,EAAE;;;;;wBAKR,MAAM,EAAE
|
|
1
|
+
{"version":3,"file":"template-recurrence-settings.validation-messages.d.ts","sourceRoot":"","sources":["../../../src/validation/features/template-recurrence-settings.validation-messages.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,4BAA4B;;;;wBAIf,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAsLR,MAAM,EAAE;;;;;wBAKR,MAAM,EAAE;;;;;;;;;;;;;;;;;;;CAoBhC,CAAC"}
|
|
@@ -198,4 +198,10 @@ exports.TEMPLATE_RECURRENCE_SETTINGS = (0, validation_message_types_1.defineVali
|
|
|
198
198
|
params: ['templateType'],
|
|
199
199
|
affectedFields: ['recurrenceSettings'],
|
|
200
200
|
},
|
|
201
|
+
FILES_UNDER_INHERITS_PARENT_ANNUAL_RECURRENCE: {
|
|
202
|
+
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
203
|
+
message: 'This template files under {parentName} and inherits its annual recurrence schedule. Recurrence settings cannot be added or edited here.',
|
|
204
|
+
params: ['parentName'],
|
|
205
|
+
affectedFields: ['recurrenceSettings'],
|
|
206
|
+
},
|
|
201
207
|
});
|
|
@@ -1910,6 +1910,12 @@ export declare const VALIDATION_MESSAGES: {
|
|
|
1910
1910
|
params: string[];
|
|
1911
1911
|
affectedFields: string[];
|
|
1912
1912
|
};
|
|
1913
|
+
FILES_UNDER_INHERITS_PARENT_ANNUAL_RECURRENCE: {
|
|
1914
|
+
severity: "error";
|
|
1915
|
+
message: string;
|
|
1916
|
+
params: string[];
|
|
1917
|
+
affectedFields: string[];
|
|
1918
|
+
};
|
|
1913
1919
|
};
|
|
1914
1920
|
};
|
|
1915
1921
|
//# sourceMappingURL=validation-messages.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validation-messages.d.ts","sourceRoot":"","sources":["../../src/validation/validation-messages.ts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;CA4BtB,CAAC"}
|
package/package.json
CHANGED
|
@@ -204,4 +204,11 @@ export const TEMPLATE_RECURRENCE_SETTINGS = defineValidationFeatureMessages({
|
|
|
204
204
|
params: ['templateType'],
|
|
205
205
|
affectedFields: ['recurrenceSettings'],
|
|
206
206
|
},
|
|
207
|
+
FILES_UNDER_INHERITS_PARENT_ANNUAL_RECURRENCE: {
|
|
208
|
+
severity: VALIDATION_SEVERITY.ERROR,
|
|
209
|
+
message:
|
|
210
|
+
'This template files under {parentName} and inherits its annual recurrence schedule. Recurrence settings cannot be added or edited here.',
|
|
211
|
+
params: ['parentName'],
|
|
212
|
+
affectedFields: ['recurrenceSettings'],
|
|
213
|
+
},
|
|
207
214
|
});
|