forked from Aaron/Kino-Website
Added assets, started actual work on making this a proper multi file webapp. gonna continue tonight
This commit is contained in:
18
src/scripts/interfaces.ts
Normal file
18
src/scripts/interfaces.ts
Normal file
@@ -0,0 +1,18 @@
|
||||
export interface User {
|
||||
firstName: string;
|
||||
lastName: string;
|
||||
email: string;
|
||||
hashedPassword: string;
|
||||
orders: any[]; // TODO: figure out proper array type of orders. Probably smartest do create an Order interface which this would be an array of
|
||||
paymentMethods: any[]; // TODO: figure out proper array type of paymentMethods. create paymentMethod interface and make this an array of it
|
||||
}
|
||||
|
||||
export interface MovieCatalog {
|
||||
title: string;
|
||||
genre: string;
|
||||
duration: number;
|
||||
fsk: string;
|
||||
description: string;
|
||||
poster: string;
|
||||
backdrop: string;
|
||||
}
|
||||
Reference in New Issue
Block a user