diff --git a/backend/app/schemas/notes.py b/backend/app/schemas/notes.py index f34450b..e28daf9 100644 --- a/backend/app/schemas/notes.py +++ b/backend/app/schemas/notes.py @@ -1,6 +1,5 @@ import uuid from datetime import datetime -from decimal import Decimal from pydantic import BaseModel, ConfigDict @@ -19,8 +18,8 @@ class NoteCreate(BaseModel): content: str category: str | None = None tags: list[str] = [] - gps_lat: Decimal | None = None - gps_lon: Decimal | None = None + gps_lat: float | None = None + gps_lon: float | None = None class NoteUpdate(BaseModel): @@ -28,8 +27,8 @@ class NoteUpdate(BaseModel): content: str | None = None category: str | None = None tags: list[str] | None = None - gps_lat: Decimal | None = None - gps_lon: Decimal | None = None + gps_lat: float | None = None + gps_lon: float | None = None class NoteResponse(BaseModel): @@ -39,7 +38,7 @@ class NoteResponse(BaseModel): content: str category: str | None tags: list[str] - gps_lat: Decimal | None - gps_lon: Decimal | None + gps_lat: float | None + gps_lon: float | None created_at: datetime attachments: list[AttachmentResponse] diff --git a/frontend/package.json b/frontend/package.json index db24d0a..19512e2 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -1,7 +1,7 @@ { "name": "homehub-frontend", "private": true, - "version": "0.5.2", + "version": "0.5.3", "type": "module", "scripts": { "dev": "vite",