@forwardslashns/taskit-validation-messages 1.10.15 → 1.10.16
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 +32 -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 +32 -0
- package/dist/validation/validation-messages.d.ts +32 -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 +32 -0
|
@@ -38,34 +38,66 @@ export declare const TEMPLATE_RECURRENCE_SETTINGS: {
|
|
|
38
38
|
readonly message: "First month is required";
|
|
39
39
|
readonly affectedFields: readonly ["firstMonth"];
|
|
40
40
|
};
|
|
41
|
+
readonly FIRST_MONTH_INVALID: {
|
|
42
|
+
readonly message: "First month must be a value between 1 and 12.";
|
|
43
|
+
readonly affectedFields: readonly ["firstMonth"];
|
|
44
|
+
};
|
|
41
45
|
readonly SECOND_MONTH_REQUIRED: {
|
|
42
46
|
readonly message: "Second month is required";
|
|
43
47
|
readonly affectedFields: readonly ["secondMonth"];
|
|
44
48
|
};
|
|
49
|
+
readonly SECOND_MONTH_INVALID: {
|
|
50
|
+
readonly message: "Second month must be a value between 1 and 12.";
|
|
51
|
+
readonly affectedFields: readonly ["secondMonth"];
|
|
52
|
+
};
|
|
45
53
|
readonly THIRD_MONTH_REQUIRED: {
|
|
46
54
|
readonly message: "Third month is required";
|
|
47
55
|
readonly affectedFields: readonly ["thirdMonth"];
|
|
48
56
|
};
|
|
57
|
+
readonly THIRD_MONTH_INVALID: {
|
|
58
|
+
readonly message: "Third month must be a value between 1 and 12.";
|
|
59
|
+
readonly affectedFields: readonly ["thirdMonth"];
|
|
60
|
+
};
|
|
49
61
|
readonly FOURTH_MONTH_REQUIRED: {
|
|
50
62
|
readonly message: "Fourth month is required";
|
|
51
63
|
readonly affectedFields: readonly ["fourthMonth"];
|
|
52
64
|
};
|
|
65
|
+
readonly FOURTH_MONTH_INVALID: {
|
|
66
|
+
readonly message: "Fourth month must be a value between 1 and 12.";
|
|
67
|
+
readonly affectedFields: readonly ["fourthMonth"];
|
|
68
|
+
};
|
|
53
69
|
readonly DAY_OF_MONTH_REQUIRED: {
|
|
54
70
|
readonly message: "Day of month is required";
|
|
55
71
|
readonly affectedFields: readonly ["dayOfMonth"];
|
|
56
72
|
};
|
|
73
|
+
readonly DAY_OF_MONTH_INVALID: {
|
|
74
|
+
readonly message: "Day of month must be a value between 1 and 31.";
|
|
75
|
+
readonly affectedFields: readonly ["dayOfMonth"];
|
|
76
|
+
};
|
|
57
77
|
readonly DUE_MONTH_REQUIRED: {
|
|
58
78
|
readonly message: "Due month is required";
|
|
59
79
|
readonly affectedFields: readonly ["dueMonth"];
|
|
60
80
|
};
|
|
81
|
+
readonly DUE_MONTH_INVALID: {
|
|
82
|
+
readonly message: "Due month must be a value between 0 and 12.";
|
|
83
|
+
readonly affectedFields: readonly ["dueMonth"];
|
|
84
|
+
};
|
|
61
85
|
readonly DUE_DAY_REQUIRED: {
|
|
62
86
|
readonly message: "Due day is required";
|
|
63
87
|
readonly affectedFields: readonly ["dueDay"];
|
|
64
88
|
};
|
|
89
|
+
readonly DUE_DAY_INVALID: {
|
|
90
|
+
readonly message: "Due day must be a value between 0 and 31.";
|
|
91
|
+
readonly affectedFields: readonly ["dueDay"];
|
|
92
|
+
};
|
|
65
93
|
readonly EXTEND_MONTH_REQUIRED: {
|
|
66
94
|
readonly message: "Extend month is required";
|
|
67
95
|
readonly affectedFields: readonly ["extendMonth"];
|
|
68
96
|
};
|
|
97
|
+
readonly EXTEND_MONTH_INVALID: {
|
|
98
|
+
readonly message: "Extend month cannot be a negative number.";
|
|
99
|
+
readonly affectedFields: readonly ["extendMonth"];
|
|
100
|
+
};
|
|
69
101
|
readonly GENERATE_BEFORE_REQUIRED: {
|
|
70
102
|
readonly message: "Before is required";
|
|
71
103
|
readonly affectedFields: readonly ["generateBeforeId"];
|
|
@@ -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":"AAAA,eAAO,MAAM,4BAA4B;;;iCAGf,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":"AAAA,eAAO,MAAM,4BAA4B;;;iCAGf,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAyHR,MAAM,EAAE;;;;iCAIR,MAAM,EAAE;;;;;;;;;;;CAWxB,CAAC"}
|
|
@@ -41,34 +41,66 @@ exports.TEMPLATE_RECURRENCE_SETTINGS = {
|
|
|
41
41
|
message: 'First month is required',
|
|
42
42
|
affectedFields: ['firstMonth'],
|
|
43
43
|
},
|
|
44
|
+
FIRST_MONTH_INVALID: {
|
|
45
|
+
message: 'First month must be a value between 1 and 12.',
|
|
46
|
+
affectedFields: ['firstMonth'],
|
|
47
|
+
},
|
|
44
48
|
SECOND_MONTH_REQUIRED: {
|
|
45
49
|
message: 'Second month is required',
|
|
46
50
|
affectedFields: ['secondMonth'],
|
|
47
51
|
},
|
|
52
|
+
SECOND_MONTH_INVALID: {
|
|
53
|
+
message: 'Second month must be a value between 1 and 12.',
|
|
54
|
+
affectedFields: ['secondMonth'],
|
|
55
|
+
},
|
|
48
56
|
THIRD_MONTH_REQUIRED: {
|
|
49
57
|
message: 'Third month is required',
|
|
50
58
|
affectedFields: ['thirdMonth'],
|
|
51
59
|
},
|
|
60
|
+
THIRD_MONTH_INVALID: {
|
|
61
|
+
message: 'Third month must be a value between 1 and 12.',
|
|
62
|
+
affectedFields: ['thirdMonth'],
|
|
63
|
+
},
|
|
52
64
|
FOURTH_MONTH_REQUIRED: {
|
|
53
65
|
message: 'Fourth month is required',
|
|
54
66
|
affectedFields: ['fourthMonth'],
|
|
55
67
|
},
|
|
68
|
+
FOURTH_MONTH_INVALID: {
|
|
69
|
+
message: 'Fourth month must be a value between 1 and 12.',
|
|
70
|
+
affectedFields: ['fourthMonth'],
|
|
71
|
+
},
|
|
56
72
|
DAY_OF_MONTH_REQUIRED: {
|
|
57
73
|
message: 'Day of month is required',
|
|
58
74
|
affectedFields: ['dayOfMonth'],
|
|
59
75
|
},
|
|
76
|
+
DAY_OF_MONTH_INVALID: {
|
|
77
|
+
message: 'Day of month must be a value between 1 and 31.',
|
|
78
|
+
affectedFields: ['dayOfMonth'],
|
|
79
|
+
},
|
|
60
80
|
DUE_MONTH_REQUIRED: {
|
|
61
81
|
message: 'Due month is required',
|
|
62
82
|
affectedFields: ['dueMonth'],
|
|
63
83
|
},
|
|
84
|
+
DUE_MONTH_INVALID: {
|
|
85
|
+
message: 'Due month must be a value between 0 and 12.',
|
|
86
|
+
affectedFields: ['dueMonth'],
|
|
87
|
+
},
|
|
64
88
|
DUE_DAY_REQUIRED: {
|
|
65
89
|
message: 'Due day is required',
|
|
66
90
|
affectedFields: ['dueDay'],
|
|
67
91
|
},
|
|
92
|
+
DUE_DAY_INVALID: {
|
|
93
|
+
message: 'Due day must be a value between 0 and 31.',
|
|
94
|
+
affectedFields: ['dueDay'],
|
|
95
|
+
},
|
|
68
96
|
EXTEND_MONTH_REQUIRED: {
|
|
69
97
|
message: 'Extend month is required',
|
|
70
98
|
affectedFields: ['extendMonth'],
|
|
71
99
|
},
|
|
100
|
+
EXTEND_MONTH_INVALID: {
|
|
101
|
+
message: 'Extend month cannot be a negative number.',
|
|
102
|
+
affectedFields: ['extendMonth'],
|
|
103
|
+
},
|
|
72
104
|
GENERATE_BEFORE_REQUIRED: {
|
|
73
105
|
message: 'Before is required',
|
|
74
106
|
affectedFields: ['generateBeforeId'],
|
|
@@ -1379,34 +1379,66 @@ export declare const VALIDATION_MESSAGES: {
|
|
|
1379
1379
|
readonly message: "First month is required";
|
|
1380
1380
|
readonly affectedFields: readonly ["firstMonth"];
|
|
1381
1381
|
};
|
|
1382
|
+
readonly FIRST_MONTH_INVALID: {
|
|
1383
|
+
readonly message: "First month must be a value between 1 and 12.";
|
|
1384
|
+
readonly affectedFields: readonly ["firstMonth"];
|
|
1385
|
+
};
|
|
1382
1386
|
readonly SECOND_MONTH_REQUIRED: {
|
|
1383
1387
|
readonly message: "Second month is required";
|
|
1384
1388
|
readonly affectedFields: readonly ["secondMonth"];
|
|
1385
1389
|
};
|
|
1390
|
+
readonly SECOND_MONTH_INVALID: {
|
|
1391
|
+
readonly message: "Second month must be a value between 1 and 12.";
|
|
1392
|
+
readonly affectedFields: readonly ["secondMonth"];
|
|
1393
|
+
};
|
|
1386
1394
|
readonly THIRD_MONTH_REQUIRED: {
|
|
1387
1395
|
readonly message: "Third month is required";
|
|
1388
1396
|
readonly affectedFields: readonly ["thirdMonth"];
|
|
1389
1397
|
};
|
|
1398
|
+
readonly THIRD_MONTH_INVALID: {
|
|
1399
|
+
readonly message: "Third month must be a value between 1 and 12.";
|
|
1400
|
+
readonly affectedFields: readonly ["thirdMonth"];
|
|
1401
|
+
};
|
|
1390
1402
|
readonly FOURTH_MONTH_REQUIRED: {
|
|
1391
1403
|
readonly message: "Fourth month is required";
|
|
1392
1404
|
readonly affectedFields: readonly ["fourthMonth"];
|
|
1393
1405
|
};
|
|
1406
|
+
readonly FOURTH_MONTH_INVALID: {
|
|
1407
|
+
readonly message: "Fourth month must be a value between 1 and 12.";
|
|
1408
|
+
readonly affectedFields: readonly ["fourthMonth"];
|
|
1409
|
+
};
|
|
1394
1410
|
readonly DAY_OF_MONTH_REQUIRED: {
|
|
1395
1411
|
readonly message: "Day of month is required";
|
|
1396
1412
|
readonly affectedFields: readonly ["dayOfMonth"];
|
|
1397
1413
|
};
|
|
1414
|
+
readonly DAY_OF_MONTH_INVALID: {
|
|
1415
|
+
readonly message: "Day of month must be a value between 1 and 31.";
|
|
1416
|
+
readonly affectedFields: readonly ["dayOfMonth"];
|
|
1417
|
+
};
|
|
1398
1418
|
readonly DUE_MONTH_REQUIRED: {
|
|
1399
1419
|
readonly message: "Due month is required";
|
|
1400
1420
|
readonly affectedFields: readonly ["dueMonth"];
|
|
1401
1421
|
};
|
|
1422
|
+
readonly DUE_MONTH_INVALID: {
|
|
1423
|
+
readonly message: "Due month must be a value between 0 and 12.";
|
|
1424
|
+
readonly affectedFields: readonly ["dueMonth"];
|
|
1425
|
+
};
|
|
1402
1426
|
readonly DUE_DAY_REQUIRED: {
|
|
1403
1427
|
readonly message: "Due day is required";
|
|
1404
1428
|
readonly affectedFields: readonly ["dueDay"];
|
|
1405
1429
|
};
|
|
1430
|
+
readonly DUE_DAY_INVALID: {
|
|
1431
|
+
readonly message: "Due day must be a value between 0 and 31.";
|
|
1432
|
+
readonly affectedFields: readonly ["dueDay"];
|
|
1433
|
+
};
|
|
1406
1434
|
readonly EXTEND_MONTH_REQUIRED: {
|
|
1407
1435
|
readonly message: "Extend month is required";
|
|
1408
1436
|
readonly affectedFields: readonly ["extendMonth"];
|
|
1409
1437
|
};
|
|
1438
|
+
readonly EXTEND_MONTH_INVALID: {
|
|
1439
|
+
readonly message: "Extend month cannot be a negative number.";
|
|
1440
|
+
readonly affectedFields: readonly ["extendMonth"];
|
|
1441
|
+
};
|
|
1410
1442
|
readonly GENERATE_BEFORE_REQUIRED: {
|
|
1411
1443
|
readonly message: "Before is required";
|
|
1412
1444
|
readonly affectedFields: readonly ["generateBeforeId"];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validation-messages.d.ts","sourceRoot":"","sources":["../../src/validation/validation-messages.ts"],"names":[],"mappings":"AA4BA,eAAO,MAAM,mBAAmB
|
|
1
|
+
{"version":3,"file":"validation-messages.d.ts","sourceRoot":"","sources":["../../src/validation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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4BtB,CAAC"}
|
package/package.json
CHANGED
|
@@ -42,34 +42,66 @@ export const TEMPLATE_RECURRENCE_SETTINGS = {
|
|
|
42
42
|
message: 'First month is required',
|
|
43
43
|
affectedFields: ['firstMonth'],
|
|
44
44
|
},
|
|
45
|
+
FIRST_MONTH_INVALID: {
|
|
46
|
+
message: 'First month must be a value between 1 and 12.',
|
|
47
|
+
affectedFields: ['firstMonth'],
|
|
48
|
+
},
|
|
45
49
|
SECOND_MONTH_REQUIRED: {
|
|
46
50
|
message: 'Second month is required',
|
|
47
51
|
affectedFields: ['secondMonth'],
|
|
48
52
|
},
|
|
53
|
+
SECOND_MONTH_INVALID: {
|
|
54
|
+
message: 'Second month must be a value between 1 and 12.',
|
|
55
|
+
affectedFields: ['secondMonth'],
|
|
56
|
+
},
|
|
49
57
|
THIRD_MONTH_REQUIRED: {
|
|
50
58
|
message: 'Third month is required',
|
|
51
59
|
affectedFields: ['thirdMonth'],
|
|
52
60
|
},
|
|
61
|
+
THIRD_MONTH_INVALID: {
|
|
62
|
+
message: 'Third month must be a value between 1 and 12.',
|
|
63
|
+
affectedFields: ['thirdMonth'],
|
|
64
|
+
},
|
|
53
65
|
FOURTH_MONTH_REQUIRED: {
|
|
54
66
|
message: 'Fourth month is required',
|
|
55
67
|
affectedFields: ['fourthMonth'],
|
|
56
68
|
},
|
|
69
|
+
FOURTH_MONTH_INVALID: {
|
|
70
|
+
message: 'Fourth month must be a value between 1 and 12.',
|
|
71
|
+
affectedFields: ['fourthMonth'],
|
|
72
|
+
},
|
|
57
73
|
DAY_OF_MONTH_REQUIRED: {
|
|
58
74
|
message: 'Day of month is required',
|
|
59
75
|
affectedFields: ['dayOfMonth'],
|
|
60
76
|
},
|
|
77
|
+
DAY_OF_MONTH_INVALID: {
|
|
78
|
+
message: 'Day of month must be a value between 1 and 31.',
|
|
79
|
+
affectedFields: ['dayOfMonth'],
|
|
80
|
+
},
|
|
61
81
|
DUE_MONTH_REQUIRED: {
|
|
62
82
|
message: 'Due month is required',
|
|
63
83
|
affectedFields: ['dueMonth'],
|
|
64
84
|
},
|
|
85
|
+
DUE_MONTH_INVALID: {
|
|
86
|
+
message: 'Due month must be a value between 0 and 12.',
|
|
87
|
+
affectedFields: ['dueMonth'],
|
|
88
|
+
},
|
|
65
89
|
DUE_DAY_REQUIRED: {
|
|
66
90
|
message: 'Due day is required',
|
|
67
91
|
affectedFields: ['dueDay'],
|
|
68
92
|
},
|
|
93
|
+
DUE_DAY_INVALID: {
|
|
94
|
+
message: 'Due day must be a value between 0 and 31.',
|
|
95
|
+
affectedFields: ['dueDay'],
|
|
96
|
+
},
|
|
69
97
|
EXTEND_MONTH_REQUIRED: {
|
|
70
98
|
message: 'Extend month is required',
|
|
71
99
|
affectedFields: ['extendMonth'],
|
|
72
100
|
},
|
|
101
|
+
EXTEND_MONTH_INVALID: {
|
|
102
|
+
message: 'Extend month cannot be a negative number.',
|
|
103
|
+
affectedFields: ['extendMonth'],
|
|
104
|
+
},
|
|
73
105
|
GENERATE_BEFORE_REQUIRED: {
|
|
74
106
|
message: 'Before is required',
|
|
75
107
|
affectedFields: ['generateBeforeId'],
|