chore: scaffold Expo project with types and utils
This commit is contained in:
parent
f66034136d
commit
6c0b33f86a
5 changed files with 6474 additions and 1462 deletions
23
src/types.ts
Normal file
23
src/types.ts
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
export type SyncStatus = 'local' | 'synced'
|
||||
|
||||
export type Measurement = {
|
||||
id: string
|
||||
weight: number
|
||||
bmi: number
|
||||
bodyFatPercentage: number
|
||||
fatMass: number
|
||||
musclePercentage: number
|
||||
muscleMass: number
|
||||
visceralFat: number
|
||||
bmr: number
|
||||
measuredAt: string
|
||||
createdAt: string
|
||||
updatedAt: string
|
||||
syncStatus: SyncStatus
|
||||
}
|
||||
|
||||
export type WebDAVConfig = {
|
||||
url: string
|
||||
username: string
|
||||
password: string
|
||||
}
|
||||
Loading…
Reference in a new issue