@openlifelog/sdk 1.0.0 → 1.0.1
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/index.d.mts +2 -0
- package/dist/index.d.ts +2 -0
- package/package.json +1 -1
- package/types/food.ts +2 -0
package/dist/index.d.mts
CHANGED
|
@@ -218,6 +218,7 @@ type UpdateFoodLogRequest = Partial<CreateFoodLogRequest>;
|
|
|
218
218
|
interface ListFoodLogsParams extends ListParams, DateRangeParams {
|
|
219
219
|
date?: DateString;
|
|
220
220
|
mealType?: MealType;
|
|
221
|
+
timezone?: string;
|
|
221
222
|
}
|
|
222
223
|
interface DailyNutritionSummary {
|
|
223
224
|
date: DateString;
|
|
@@ -232,6 +233,7 @@ interface DailyNutritionSummary {
|
|
|
232
233
|
interface GetDailySummaryParams {
|
|
233
234
|
date?: DateString;
|
|
234
235
|
mealType?: MealType;
|
|
236
|
+
timezone?: string;
|
|
235
237
|
}
|
|
236
238
|
interface QuickEntryFoodLogRequest {
|
|
237
239
|
name: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -218,6 +218,7 @@ type UpdateFoodLogRequest = Partial<CreateFoodLogRequest>;
|
|
|
218
218
|
interface ListFoodLogsParams extends ListParams, DateRangeParams {
|
|
219
219
|
date?: DateString;
|
|
220
220
|
mealType?: MealType;
|
|
221
|
+
timezone?: string;
|
|
221
222
|
}
|
|
222
223
|
interface DailyNutritionSummary {
|
|
223
224
|
date: DateString;
|
|
@@ -232,6 +233,7 @@ interface DailyNutritionSummary {
|
|
|
232
233
|
interface GetDailySummaryParams {
|
|
233
234
|
date?: DateString;
|
|
234
235
|
mealType?: MealType;
|
|
236
|
+
timezone?: string;
|
|
235
237
|
}
|
|
236
238
|
interface QuickEntryFoodLogRequest {
|
|
237
239
|
name: string;
|
package/package.json
CHANGED
package/types/food.ts
CHANGED
|
@@ -169,6 +169,7 @@ export type UpdateFoodLogRequest = Partial<CreateFoodLogRequest>;
|
|
|
169
169
|
export interface ListFoodLogsParams extends ListParams, DateRangeParams {
|
|
170
170
|
date?: DateString;
|
|
171
171
|
mealType?: MealType;
|
|
172
|
+
timezone?: string; // IANA timezone string (e.g., "America/Denver")
|
|
172
173
|
}
|
|
173
174
|
|
|
174
175
|
/**
|
|
@@ -191,6 +192,7 @@ export interface DailyNutritionSummary {
|
|
|
191
192
|
export interface GetDailySummaryParams {
|
|
192
193
|
date?: DateString;
|
|
193
194
|
mealType?: MealType;
|
|
195
|
+
timezone?: string; // IANA timezone string (e.g., "America/Denver")
|
|
194
196
|
}
|
|
195
197
|
|
|
196
198
|
/**
|