@demind-inc/core 1.7.75 → 1.7.76
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 -1
- package/lib/types.ts +6 -4
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -152,12 +152,13 @@ export interface ChatAdjustmentChangeWrapper<T> {
|
|
|
152
152
|
before?: Partial<T>;
|
|
153
153
|
after?: Partial<T>;
|
|
154
154
|
}
|
|
155
|
+
export type ChatAdjustmentMealContent = Extract<PredictedMealDetail, "startTime" | "endTime" | "description">;
|
|
155
156
|
export interface ChatAdjustmentMeal {
|
|
156
157
|
mealType: MealType;
|
|
157
158
|
startTime: string;
|
|
158
159
|
endTime: string;
|
|
159
160
|
description?: string;
|
|
160
|
-
mealContent?:
|
|
161
|
+
mealContent?: ChatAdjustmentMealContent;
|
|
161
162
|
}
|
|
162
163
|
export interface ChatAdjustmentSleep {
|
|
163
164
|
sleepTime: string;
|
package/lib/types.ts
CHANGED
|
@@ -263,15 +263,17 @@ export interface ChatAdjustmentChangeWrapper<T> {
|
|
|
263
263
|
after?: Partial<T>;
|
|
264
264
|
}
|
|
265
265
|
|
|
266
|
+
export type ChatAdjustmentMealContent = Extract<
|
|
267
|
+
PredictedMealDetail,
|
|
268
|
+
"startTime" | "endTime" | "description"
|
|
269
|
+
>;
|
|
270
|
+
|
|
266
271
|
export interface ChatAdjustmentMeal {
|
|
267
272
|
mealType: MealType;
|
|
268
273
|
startTime: string; // ISO string
|
|
269
274
|
endTime: string; // ISO string
|
|
270
275
|
description?: string;
|
|
271
|
-
mealContent?:
|
|
272
|
-
PredictedMealDetail,
|
|
273
|
-
"startTime" | "endTime" | "description"
|
|
274
|
-
>;
|
|
276
|
+
mealContent?: ChatAdjustmentMealContent;
|
|
275
277
|
}
|
|
276
278
|
|
|
277
279
|
export interface ChatAdjustmentSleep {
|