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 = {
|
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
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue