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 = {
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
}