mirror of
https://github.com/FranP-code/spend-ia.git
synced 2025-10-13 00:14:09 +00:00
24 lines
390 B
TypeScript
24 lines
390 B
TypeScript
export interface Tab {
|
|
id: string;
|
|
title: string;
|
|
}
|
|
|
|
interface Currency {
|
|
id: string;
|
|
label: string;
|
|
}
|
|
|
|
interface Category {
|
|
label: string;
|
|
backgroundColor: string;
|
|
}
|
|
|
|
export interface UserSpendData {
|
|
category: Category;
|
|
currency: Currency;
|
|
date: Date;
|
|
value: number;
|
|
}
|
|
|
|
export type PieCircleData = Array<[[string, number], { backgroundColor: string; label: string }]>;
|