stuff, with a side of things

This commit is contained in:
Elijah Lucian
2021-07-15 13:51:57 -06:00
parent c62f88953e
commit 8e7fc05cd1
20 changed files with 21741 additions and 230 deletions

View File

@@ -1,15 +1,13 @@
export type uuid = string
export type User = {
id: uuid
id: string
name: string
email: string
// password: string
}
export type Account = {
id: uuid
users?: uuid[]
id: string
users?: string[]
name: string
details: string
income: number
@@ -17,8 +15,8 @@ export type Account = {
}
export type Stack = {
id: uuid
account: uuid //'38485982-87f3-4a11-a963-2202983809e3'
id: string
account: string //'38485982-87f3-4a11-a963-2202983809e3'
name: string // 'House Fund'
details: string //'buy furniture'
amount: number // '200.00'
@@ -26,8 +24,8 @@ export type Stack = {
}
export type Transaction = {
id: uuid
stack: uuid // '0058cece-3ff3-4ee1-b71d-075a0bc73bc0'
id: string
stack: string // '0058cece-3ff3-4ee1-b71d-075a0bc73bc0'
details: string // 'by ghetto couch off Kijiji'
amount: number // '30.44'
created_at: string // '2021-04-15T00:02:45.096071Z'