// 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 order: 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 }