types: vervang WebDAVConfig door ApiConfig, verwijder SyncStatus, voeg deletedAt toe

This commit is contained in:
eddy 2026-07-20 16:55:07 +02:00
commit ac681dbfaa

View file

@ -1,5 +1,3 @@
export type SyncStatus = 'local' | 'synced'
export type Measurement = { export type Measurement = {
id: string id: string
weight: number weight: number
@ -13,11 +11,10 @@ export type Measurement = {
measuredAt: string measuredAt: string
createdAt: string createdAt: string
updatedAt: string updatedAt: string
syncStatus: SyncStatus deletedAt?: string
} }
export type WebDAVConfig = { export type ApiConfig = {
url: string url: string
username: string token: string
password: string
} }