@demind-inc/core 1.6.18 → 1.6.19
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 +11 -0
- package/lib/types.ts +12 -0
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -126,6 +126,7 @@ export interface ChatAdjustmentCTA {
|
|
|
126
126
|
meals?: ChatAdjustmentChangeWrapper<ChatAdjustmentMeal>[];
|
|
127
127
|
sleep?: ChatAdjustmentChangeWrapper<ChatAdjustmentSleep>;
|
|
128
128
|
schedule?: ChatAdjustmentChangeWrapper<ScheduledAction>[];
|
|
129
|
+
tasks?: ChatAdjustmentChangeWrapper<TaskItem>[];
|
|
129
130
|
}
|
|
130
131
|
export interface ChatAdjustmentChangeWrapper<T> {
|
|
131
132
|
before?: Partial<T>;
|
|
@@ -142,3 +143,13 @@ export interface ChatAdjustmentSleep {
|
|
|
142
143
|
wakeTime: string;
|
|
143
144
|
description?: string;
|
|
144
145
|
}
|
|
146
|
+
export interface ChatAdjustmentTask {
|
|
147
|
+
taskId: string;
|
|
148
|
+
name: string;
|
|
149
|
+
description?: string;
|
|
150
|
+
startTime: string;
|
|
151
|
+
endTime: string;
|
|
152
|
+
durationMinutes: number;
|
|
153
|
+
category?: string;
|
|
154
|
+
completed?: boolean;
|
|
155
|
+
}
|
package/lib/types.ts
CHANGED
|
@@ -215,6 +215,7 @@ export interface ChatAdjustmentCTA {
|
|
|
215
215
|
meals?: ChatAdjustmentChangeWrapper<ChatAdjustmentMeal>[];
|
|
216
216
|
sleep?: ChatAdjustmentChangeWrapper<ChatAdjustmentSleep>;
|
|
217
217
|
schedule?: ChatAdjustmentChangeWrapper<ScheduledAction>[];
|
|
218
|
+
tasks?: ChatAdjustmentChangeWrapper<TaskItem>[];
|
|
218
219
|
}
|
|
219
220
|
|
|
220
221
|
export interface ChatAdjustmentChangeWrapper<T> {
|
|
@@ -234,3 +235,14 @@ export interface ChatAdjustmentSleep {
|
|
|
234
235
|
wakeTime: string; // ISO string
|
|
235
236
|
description?: string;
|
|
236
237
|
}
|
|
238
|
+
|
|
239
|
+
export interface ChatAdjustmentTask {
|
|
240
|
+
taskId: string;
|
|
241
|
+
name: string;
|
|
242
|
+
description?: string;
|
|
243
|
+
startTime: string; // ISO string
|
|
244
|
+
endTime: string; // ISO string
|
|
245
|
+
durationMinutes: number;
|
|
246
|
+
category?: string;
|
|
247
|
+
completed?: boolean;
|
|
248
|
+
}
|