@demind-inc/core 1.11.11 → 1.11.13

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.
@@ -49,7 +49,9 @@ export type WeatherUnit = 'celsius' | 'fahrenheit';
49
49
  export interface TaskPreference {
50
50
  durationMin?: number;
51
51
  }
52
+ export type WeekStartDay = 'sunday' | 'monday' | 'saturday';
52
53
  export interface CalendarPreference {
54
+ weekStartDay?: WeekStartDay;
53
55
  autoCategorizeEvent?: boolean;
54
56
  exportToCalendars?: ExportToCalendars;
55
57
  defaultCalendarId?: string;
@@ -153,6 +155,7 @@ export interface ExportToCalendars {
153
155
  targetUserId: string;
154
156
  calendars: ExportedCalendar[];
155
157
  }
158
+ export type ExportedEnergyZone = 'high' | 'medium' | 'low';
156
159
  export interface ExportedCalendar {
157
160
  rootEmail: string;
158
161
  energyCalendarId: string;
@@ -160,4 +163,6 @@ export interface ExportedCalendar {
160
163
  calendarType: CalendarType;
161
164
  createdAt: string;
162
165
  lastSyncedAt?: string;
166
+ /** Energy zones exported to this calendar. Missing = all zones; [] = none. */
167
+ zones?: ExportedEnergyZone[];
163
168
  }
@@ -59,7 +59,10 @@ export interface TaskPreference {
59
59
  durationMin?: number;
60
60
  }
61
61
 
62
+ export type WeekStartDay = 'sunday' | 'monday' | 'saturday';
63
+
62
64
  export interface CalendarPreference {
65
+ weekStartDay?: WeekStartDay; // first day of the week in calendar views (default: sunday)
63
66
  autoCategorizeEvent?: boolean;
64
67
  exportToCalendars?: ExportToCalendars;
65
68
  defaultCalendarId?: string;
@@ -184,6 +187,8 @@ export interface ExportToCalendars {
184
187
  calendars: ExportedCalendar[];
185
188
  }
186
189
 
190
+ export type ExportedEnergyZone = 'high' | 'medium' | 'low';
191
+
187
192
  export interface ExportedCalendar {
188
193
  rootEmail: string;
189
194
  energyCalendarId: string;
@@ -191,4 +196,6 @@ export interface ExportedCalendar {
191
196
  calendarType: CalendarType;
192
197
  createdAt: string;
193
198
  lastSyncedAt?: string;
199
+ /** Energy zones exported to this calendar. Missing = all zones; [] = none. */
200
+ zones?: ExportedEnergyZone[];
194
201
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@demind-inc/core",
3
- "version": "1.11.11",
3
+ "version": "1.11.13",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {