mirror of
https://github.com/Zagrios/bs-manager.git
synced 2026-07-03 14:08:25 +02:00
[feature-107] Fix various bugs and add new features for playlists
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
import { SongDetails } from "../maps";
|
||||
import { BPList, PlaylistSong } from "./playlist.interface";
|
||||
|
||||
export interface LocalBPList extends BPList<LocalBpListSong> {
|
||||
path: string;
|
||||
}
|
||||
|
||||
export interface LocalBpListSong {
|
||||
song: PlaylistSong;
|
||||
songDetails?: SongDetails;
|
||||
songUrl?: string;
|
||||
coverUrl?: string;
|
||||
}
|
||||
@@ -1,13 +1,13 @@
|
||||
import { BsvMapDetail } from "../maps";
|
||||
import { BsvMapDetail, SongDetails } from "../maps";
|
||||
import { BsmLocalMap } from "../maps/bsm-local-map.interface";
|
||||
|
||||
export interface BPList {
|
||||
export interface BPList<SongType = PlaylistSong> {
|
||||
playlistTitle: string;
|
||||
playlistAuthor: string;
|
||||
playlistDescription?: string;
|
||||
image: string;
|
||||
customData: unknown;
|
||||
songs: PlaylistSong[];
|
||||
songs: SongType[];
|
||||
}
|
||||
|
||||
export interface PlaylistSong {
|
||||
@@ -15,6 +15,7 @@ export interface PlaylistSong {
|
||||
hash: string;
|
||||
songName: string;
|
||||
uploader?: string;
|
||||
songDetails?: SongDetails;
|
||||
}
|
||||
|
||||
export interface DownloadPlaylistProgressionData {
|
||||
|
||||
Reference in New Issue
Block a user