@demind-inc/core 1.7.62 → 1.7.63
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 +13 -0
- package/lib/types.ts +15 -0
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -151,11 +151,24 @@ export interface ChatAdjustmentChangeWrapper<T> {
|
|
|
151
151
|
before?: Partial<T>;
|
|
152
152
|
after?: Partial<T>;
|
|
153
153
|
}
|
|
154
|
+
export interface MealContentItem {
|
|
155
|
+
name: string;
|
|
156
|
+
portion?: string;
|
|
157
|
+
reason?: string;
|
|
158
|
+
}
|
|
159
|
+
export interface MealContent {
|
|
160
|
+
title: string;
|
|
161
|
+
rationale: string;
|
|
162
|
+
suggested_items: MealContentItem[];
|
|
163
|
+
macro_focus?: Record<string, number>;
|
|
164
|
+
micro_focus?: string[];
|
|
165
|
+
}
|
|
154
166
|
export interface ChatAdjustmentMeal {
|
|
155
167
|
mealType: MealType;
|
|
156
168
|
startTime: string;
|
|
157
169
|
endTime: string;
|
|
158
170
|
description?: string;
|
|
171
|
+
mealContent?: MealContent;
|
|
159
172
|
}
|
|
160
173
|
export interface ChatAdjustmentSleep {
|
|
161
174
|
sleepTime: string;
|
package/lib/types.ts
CHANGED
|
@@ -260,11 +260,26 @@ export interface ChatAdjustmentChangeWrapper<T> {
|
|
|
260
260
|
after?: Partial<T>;
|
|
261
261
|
}
|
|
262
262
|
|
|
263
|
+
export interface MealContentItem {
|
|
264
|
+
name: string;
|
|
265
|
+
portion?: string;
|
|
266
|
+
reason?: string;
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
export interface MealContent {
|
|
270
|
+
title: string;
|
|
271
|
+
rationale: string;
|
|
272
|
+
suggested_items: MealContentItem[];
|
|
273
|
+
macro_focus?: Record<string, number>;
|
|
274
|
+
micro_focus?: string[];
|
|
275
|
+
}
|
|
276
|
+
|
|
263
277
|
export interface ChatAdjustmentMeal {
|
|
264
278
|
mealType: MealType;
|
|
265
279
|
startTime: string; // ISO string
|
|
266
280
|
endTime: string; // ISO string
|
|
267
281
|
description?: string;
|
|
282
|
+
mealContent?: MealContent;
|
|
268
283
|
}
|
|
269
284
|
|
|
270
285
|
export interface ChatAdjustmentSleep {
|