@demind-inc/core 1.6.78 → 1.6.80
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.
|
@@ -71,6 +71,7 @@ export interface CalendarEvent {
|
|
|
71
71
|
recommendedTaskId?: string;
|
|
72
72
|
isAllDay?: boolean;
|
|
73
73
|
taskFrom?: CalendarTaskFrom;
|
|
74
|
+
routineFrom?: CalendarRoutineFrom;
|
|
74
75
|
activityFrom?: ActivityFrom;
|
|
75
76
|
scheduleFrom?: CalendarScheduleFrom;
|
|
76
77
|
autoScheduleFrom?: CalendarAutoScheduleFrom;
|
|
@@ -95,7 +96,10 @@ export interface CalendarEventRecurrence {
|
|
|
95
96
|
endDate?: string;
|
|
96
97
|
};
|
|
97
98
|
}
|
|
98
|
-
export
|
|
99
|
+
export interface CalendarRoutineFrom {
|
|
100
|
+
routineId: string;
|
|
101
|
+
}
|
|
102
|
+
export type CalendarScheduleFrom = "todo" | "activity" | "calendar" | "energyBoost" | "aiScheduler" | "sleep" | "meal" | "routine";
|
|
99
103
|
export type CalendarEventType = "default" | "outOfOffice" | "focusTime" | "workingLocation" | "other";
|
|
100
104
|
export interface CalendarEventUser {
|
|
101
105
|
email: string;
|
package/lib/models/Calendar.ts
CHANGED
|
@@ -77,6 +77,7 @@ export interface CalendarEvent {
|
|
|
77
77
|
recommendedTaskId?: string;
|
|
78
78
|
isAllDay?: boolean;
|
|
79
79
|
taskFrom?: CalendarTaskFrom;
|
|
80
|
+
routineFrom?: CalendarRoutineFrom;
|
|
80
81
|
activityFrom?: ActivityFrom;
|
|
81
82
|
scheduleFrom?: CalendarScheduleFrom;
|
|
82
83
|
autoScheduleFrom?: CalendarAutoScheduleFrom;
|
|
@@ -103,6 +104,10 @@ export interface CalendarEventRecurrence {
|
|
|
103
104
|
};
|
|
104
105
|
}
|
|
105
106
|
|
|
107
|
+
export interface CalendarRoutineFrom {
|
|
108
|
+
routineId: string;
|
|
109
|
+
}
|
|
110
|
+
|
|
106
111
|
export type CalendarScheduleFrom =
|
|
107
112
|
| "todo"
|
|
108
113
|
| "activity"
|
|
@@ -110,7 +115,8 @@ export type CalendarScheduleFrom =
|
|
|
110
115
|
| "energyBoost"
|
|
111
116
|
| "aiScheduler"
|
|
112
117
|
| "sleep"
|
|
113
|
-
| "meal"
|
|
118
|
+
| "meal"
|
|
119
|
+
| "routine";
|
|
114
120
|
|
|
115
121
|
export type CalendarEventType =
|
|
116
122
|
| "default"
|