Files
evilspins/types/types.ts
valere 9438394db8
All checks were successful
Deploy App / deploy (push) Successful in 30s
animations + cards
2025-09-30 01:10:12 +02:00

44 lines
623 B
TypeScript

// types.ts
export interface Compilation {
id: string
name: string
duration: number
tracks?: Track[]
description: string
color2: string
color1: string
color3: string
}
export interface Artist {
id: number
name: string
url: string
coverId: string
}
export interface Track {
id: number
compilationId: string
title: string
artist: Artist
start: number
url: string
coverId: string
}
// pour une v2
export type BoxState = 'hide' | 'list' | 'selected'
export interface BoxPosition {
x: number
y: number
z: number
}
export interface BoxSize {
h: number
w: number
d: number
}