diff --git a/src/types.ts b/src/types.ts index 1d759d0..ea4373d 100644 --- a/src/types.ts +++ b/src/types.ts @@ -1,5 +1,3 @@ -export type SyncStatus = 'local' | 'synced' - export type Measurement = { id: string weight: number @@ -13,11 +11,10 @@ export type Measurement = { measuredAt: string createdAt: string updatedAt: string - syncStatus: SyncStatus + deletedAt?: string } -export type WebDAVConfig = { +export type ApiConfig = { url: string - username: string - password: string + token: string }