Added assets, started actual work on making this a proper multi file webapp. gonna continue tonight

This commit is contained in:
Jannis Heydemann
2026-04-30 12:30:54 +02:00
parent 23d5a75891
commit e72f8a4f1f
104 changed files with 8799 additions and 35 deletions

18
src/scripts/interfaces.ts Normal file
View 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;
}