Remove old plugins

This commit is contained in:
2022-02-05 14:54:05 +00:00
parent f532ffc0c1
commit 0f2db4985f
6 changed files with 94 additions and 36 deletions

View File

@ -13,7 +13,7 @@ export interface State {
CurrentBudgetID?: string,
Accounts: Map<string, Account>,
CurrentAccountID?: string,
Categories: [],
Categories: Array<Category>,
Transactions: [],
Assignments: []
}
@ -21,6 +21,7 @@ export interface State {
export interface Budget {
ID: string
Name: string
AvailableBalance: number
}
export interface Account {
@ -28,6 +29,15 @@ export interface Account {
OnBudget: boolean
}
export interface Category {
Group: string
Name: string
AvailableLastMonth: number
Assigned: number
Activity: number
Available: number
}
export const key: InjectionKey<Store<State>> = Symbol()
export const store = createStore<State>({