This repository has been archived on 2026-04-20. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
interaktive-systeme/types/dbItems.ts
2024-01-25 20:35:09 +01:00

19 lines
No EOL
352 B
TypeScript

export enum CategoryType {
SAVING = "saving",
EXPENSE = "expense",
}
export interface Category {
guid? : string;
name? : string;
color? :string;
type? : "expense" | "saving"
allocatedAmount? : number
}
export interface Expense {
guid? : string;
name? : string;
dateTime? : string;
amount?: number;
category_guid?: string;
}