forked from Aaron/Kino-Website
19 lines
588 B
TypeScript
19 lines
588 B
TypeScript
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;
|
|
}
|