add: better card handling

Better handling of cards, safe to localStorage
This commit is contained in:
Fiona Lena Urban 2025-03-11 07:25:24 +01:00
parent d0f2adaa38
commit e4ff2ba229
4 changed files with 81 additions and 60 deletions

8
shared/Card.ts Normal file
View file

@ -0,0 +1,8 @@
export type Card = {
uuid: string
name: string
price: number
roles: number
sheets: number
layers: number
}