@demind-inc/core 1.5.3 → 1.5.4
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/types.d.ts +2 -0
- package/lib/types.ts +7 -0
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -107,10 +107,12 @@ export type TaskItemForSchedule = Pick<TaskItem, "taskId" | "name" | "duration"
|
|
|
107
107
|
export type ScheduleLogicElement = "timebox" | "routine" | "task";
|
|
108
108
|
export type WearableSourceType = "ALL" | "SLEEP" | "ACTIVITY" | "MEAL" | "STRESS";
|
|
109
109
|
export type RecommendationActionType = "core_action" | "energy_boost" | "task" | "routine";
|
|
110
|
+
export type CoreActionType = "aiScheduler" | "syncSleep" | "dailyPreview" | "dailyReflection";
|
|
110
111
|
export interface RecommendationAction {
|
|
111
112
|
id: string;
|
|
112
113
|
name: string;
|
|
113
114
|
type: RecommendationActionType;
|
|
115
|
+
coreActionType?: CoreActionType;
|
|
114
116
|
description?: string;
|
|
115
117
|
phase?: CircadianPhase;
|
|
116
118
|
durationMinutes?: number;
|
package/lib/types.ts
CHANGED
|
@@ -188,10 +188,17 @@ export type RecommendationActionType =
|
|
|
188
188
|
| "task"
|
|
189
189
|
| "routine";
|
|
190
190
|
|
|
191
|
+
export type CoreActionType =
|
|
192
|
+
| "aiScheduler"
|
|
193
|
+
| "syncSleep"
|
|
194
|
+
| "dailyPreview"
|
|
195
|
+
| "dailyReflection";
|
|
196
|
+
|
|
191
197
|
export interface RecommendationAction {
|
|
192
198
|
id: string;
|
|
193
199
|
name: string;
|
|
194
200
|
type: RecommendationActionType;
|
|
201
|
+
coreActionType?: CoreActionType;
|
|
195
202
|
description?: string;
|
|
196
203
|
phase?: CircadianPhase;
|
|
197
204
|
durationMinutes?: number;
|