generated from lucien/api-template
add: added homepage
This commit is contained in:
parent
736f097d20
commit
92f0f90e14
12 changed files with 3825 additions and 153 deletions
26
front/src/types.ts
Normal file
26
front/src/types.ts
Normal file
|
@ -0,0 +1,26 @@
|
|||
export type User = {
|
||||
id: number;
|
||||
name: string;
|
||||
lastname: string;
|
||||
admin: number;
|
||||
}
|
||||
|
||||
export type Account = {
|
||||
id: number;
|
||||
balance: number;
|
||||
client_id: number;
|
||||
name: string;
|
||||
interest: number;
|
||||
}
|
||||
|
||||
export type Accounts = Account[];
|
||||
|
||||
export type Card = {
|
||||
id: number;
|
||||
account_id: number;
|
||||
number: string;
|
||||
expiration: string;
|
||||
cvc: string;
|
||||
}
|
||||
|
||||
export type Cards = Card[];
|
Loading…
Add table
Add a link
Reference in a new issue