types: vervang WebDAVConfig door ApiConfig, verwijder SyncStatus, voeg deletedAt toe
This commit is contained in:
parent
ed714af8d1
commit
ac681dbfaa
1 changed files with 3 additions and 6 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue