Commit Graph

4 Commits

Author SHA1 Message Date
Jannis Heydemann
06606131ef add TypeScript interfaces for cart and cart items
Introduces BaseCartItem, MovieCartItem, SnackCartItem, and the CartItem
discriminated union in bigConstants.ts. Replaces all any-typed cart
references across CartView, CheckoutView, SnacksView, and BookingModal
with the new typed interfaces. Also types users/currentUser with the
existing User interface and removes the unused JSONType import.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-06 08:25:16 +02:00
3871f3f61f added a linter and tried it out. that was not fun 2026-05-03 23:03:02 +02:00
f7fc6e4387 for the MovieListView.astro i added api integration. tmrw gotta put the api integration into the main hero.astro file 2026-05-03 21:29:19 +02:00
ad2a07a88e feat: consolidate constants and shared state into bigConstants.ts 2026-05-03 21:02:15 +02:00