fix(frontend): resolve TypeScript type errors from skin model refactor

- Remove s.trend from dashboard (field removed from SkinConditionSnapshot)
- Replace trend with texture in SkinPhotoAnalysisResponse (api.ts)
- Use record_id instead of id for LabResult and MedicationEntry keyed each blocks

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Piotr Oleszczyk 2026-02-28 18:01:17 +01:00
parent ac829171d9
commit 142fbe8530
4 changed files with 3 additions and 6 deletions

View file

@ -221,7 +221,7 @@ export const deleteSkinSnapshot = (id: string): Promise<void> => api.del(`/skinc
export interface SkinPhotoAnalysisResponse {
overall_state?: string;
trend?: string;
texture?: string;
skin_type?: string;
hydration_level?: number;
sebum_tzone?: number;