@croffledev/croffle-types 1.4.3 → 1.5.0

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.
@@ -12,7 +12,16 @@ export type Schedule = {
12
12
  colorLabel: string;
13
13
  tags: Tag[];
14
14
  priority: 'low' | 'medium' | 'high';
15
- /** null/undefined = use app-wide notifications.defaultReminderMinutes */
15
+ /**
16
+ * Reminder offsets in minutes before the schedule starts, ascending.
17
+ * `null` = follow the app-wide notifications.defaultReminderMinutes.
18
+ * `[]` = no reminder at all.
19
+ */
20
+ reminders: number[] | null;
21
+ /**
22
+ * @deprecated Mirror of the first entry in `reminders`, kept for extensions
23
+ * written against 1.2.0. Removed in 1.3 — read `reminders` instead.
24
+ */
16
25
  reminderMinutes?: number | null;
17
26
  createdAt: Date;
18
27
  updatedAt: Date;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@croffledev/croffle-types",
3
- "version": "1.4.3",
3
+ "version": "1.5.0",
4
4
  "description": "Croffle project type definitions.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -32,5 +32,12 @@
32
32
  },
33
33
  "dependencies": {
34
34
  "@types/node": "^26.2.0"
35
+ },
36
+ "devDependencies": {
37
+ "@types/node": "^26.1.2",
38
+ "typescript": "6.0.3"
39
+ },
40
+ "scripts": {
41
+ "typecheck": "tsc --noEmit -p tsconfig.json --composite false"
35
42
  }
36
43
  }