-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#38 implement Entry, UserData, User and Debtor interfaces
- Loading branch information
Jonas Dorfinger
committed
Nov 10, 2021
1 parent
b5be2ff
commit d51d6fd
Showing
2 changed files
with
30 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
export interface Entry { | ||
id: number; | ||
date: string; | ||
amount: number; | ||
reason: string; | ||
repeat: {}; | ||
object?: string; | ||
deleted: boolean; | ||
restored: boolean; | ||
edited: boolean; | ||
deletedDate?: number; | ||
restoredDate?: number; | ||
} | ||
|
||
export interface UserData { | ||
email: string; | ||
username: string; | ||
lang: 'de' | 'en'; | ||
} | ||
|
||
export interface User { | ||
debtors: Debtor[]; | ||
theme: any; | ||
userdata: UserData; | ||
} | ||
|
||
export interface Debtor { | ||
name: string; | ||
entries: Entry[]; | ||
} |
This file was deleted.
Oops, something went wrong.