@lafken/schedule 0.14.2 → 0.14.3

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.
@@ -8,12 +8,25 @@ type ScheduleExpressions = number | '*' | '?' | (string & {});
8
8
  * - `id`: The name of the schedule.
9
9
  */
10
10
  export type ScheduleOutputAttributes = 'arn' | 'id';
11
+ /**
12
+ * Structured schedule time fields for EventBridge Scheduler.
13
+ *
14
+ * Allows composing a cron expression from individual time components.
15
+ * Each field accepts a number, `'*'` (every), `'?'` (no specific value),
16
+ * or a range string (e.g. `'1-5'`).
17
+ */
11
18
  export interface ScheduleTime {
19
+ /** Day of the month (1–31). */
12
20
  day?: ScheduleExpressions;
21
+ /** Hour of the day (0–23). */
13
22
  hour?: ScheduleExpressions;
23
+ /** Minute of the hour (0–59). */
14
24
  minute?: ScheduleExpressions;
25
+ /** Month of the year (1–12). */
15
26
  month?: ScheduleExpressions;
27
+ /** Day of the week (1–7 or SUN–SAT). */
16
28
  weekDay?: ScheduleExpressions;
29
+ /** Year (e.g. `2026`). */
17
30
  year?: ScheduleExpressions;
18
31
  }
19
32
  export interface EventCronProps {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lafken/schedule",
3
- "version": "0.14.2",
3
+ "version": "0.14.3",
4
4
  "private": false,
5
5
  "description": "Define EventBridge scheduled rules and cron jobs using TypeScript decorators with Lafken",
6
6
  "keywords": [
@@ -50,7 +50,7 @@
50
50
  ],
51
51
  "dependencies": {
52
52
  "reflect-metadata": "^0.2.2",
53
- "@lafken/resolver": "0.14.2"
53
+ "@lafken/resolver": "0.14.3"
54
54
  },
55
55
  "devDependencies": {
56
56
  "@cdktn/provider-aws": "^25.0.0",
@@ -63,13 +63,13 @@
63
63
  "typescript": "7.0.2",
64
64
  "unplugin-swc": "^1.5.10",
65
65
  "vitest": "^4.1.10",
66
- "@lafken/common": "0.14.2"
66
+ "@lafken/common": "0.14.3"
67
67
  },
68
68
  "peerDependencies": {
69
69
  "@cdktn/provider-aws": ">=23.0.0",
70
70
  "cdktn": ">=0.22.0",
71
71
  "constructs": ">=10.7.0",
72
- "@lafken/common": "0.14.2"
72
+ "@lafken/common": "0.14.3"
73
73
  },
74
74
  "engines": {
75
75
  "node": ">=20.19"