replaced track info string map with a struct
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
import { EventsOn, EventsEmit } from '@runtime/runtime';
|
||||
import { Events } from '../events';
|
||||
|
||||
// Types
|
||||
// TrackInfo mirrors the player.TrackInfo struct in the Go backend.
|
||||
// Fields are serialized as camelCase JSON via struct tags.
|
||||
export interface TrackInfo {
|
||||
fileName: string;
|
||||
filePath: string;
|
||||
|
||||
Reference in New Issue
Block a user