You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
49 lines
941 B
49 lines
941 B
import { DataBuddy } from '@dank-inc/data-buddy' |
|
import { Account, Stack, Transaction, User } from '../../types' |
|
|
|
export const users = new DataBuddy<User>([ |
|
{ |
|
id: 'mock-user', |
|
name: 'TestUser42', |
|
email: 'testuser@email.com', |
|
}, |
|
]) |
|
|
|
export const accounts = new DataBuddy<Account>([ |
|
{ |
|
id: 'home', |
|
name: 'Home Expenses', |
|
details: 'ya', |
|
users: ['42'], |
|
income: 1000, |
|
expenses: 500, |
|
}, |
|
]) |
|
export const stacks = new DataBuddy<Stack>([ |
|
{ |
|
id: 'ccrap', |
|
name: 'crap', |
|
account: 'asdf', |
|
amount: 200, |
|
details: 'for all my crap!', |
|
transactions: [], |
|
}, |
|
{ |
|
id: 'shit', |
|
name: 'shit', |
|
account: 'home', |
|
amount: 500, |
|
details: 'for all my shit!', |
|
transactions: [], |
|
}, |
|
{ |
|
id: 'poo', |
|
name: 'poo', |
|
account: 'home', |
|
amount: 800, |
|
details: 'for all my poo!', |
|
transactions: [], |
|
}, |
|
]) |
|
|
|
export const transactions = new DataBuddy<Transaction>([])
|
|
|