[feature-107] can now list maps of playlist + lot of other things

This commit is contained in:
MathieuG-P
2024-03-02 17:50:08 +01:00
parent 08bdc03745
commit 1e6f051f59
44 changed files with 472 additions and 291 deletions
+4 -2
View File
@@ -1,3 +1,5 @@
import { SongDetailDiffCharactertistic, SongDiffName } from "./song-details-cache.model";
export interface BsvMapDetail {
automapper: boolean;
createdAt: string;
@@ -115,10 +117,10 @@ export interface BsvMapTestplay {
export interface BsvMapDifficulty {
bombs: number;
characteristic: BsvMapCharacteristic;
characteristic: SongDetailDiffCharactertistic;
chroma: boolean;
cinema: boolean;
difficulty: BsvMapDifficultyType;
difficulty: SongDiffName;
events: number;
length: number;
maxScore: number;
@@ -1,13 +1,16 @@
import { SongDetails } from "../maps";
import { BPList, PlaylistSong } from "./playlist.interface";
import { BPList } from "./playlist.interface";
export interface LocalBPList extends BPList<LocalBpListSong> {
export interface LocalBPList extends BPList {
path: string;
}
export interface LocalBpListSong {
song: PlaylistSong;
songDetails?: SongDetails;
songUrl?: string;
coverUrl?: string;
export interface LocalBPListsDetails extends LocalBPList {
nbMaps: number;
id?: number;
nbMappers?: number;
duration?: number;
minNps?: number;
maxNps?: number;
}
@@ -6,7 +6,7 @@ export interface BPList<SongType = PlaylistSong> {
playlistAuthor: string;
playlistDescription?: string;
image: string;
customData: unknown;
customData?: CustomDataBPList;
songs: SongType[];
}
@@ -24,3 +24,7 @@ export interface DownloadPlaylistProgressionData {
playlistInfos: BPList;
playlistPath: string;
}
export interface CustomDataBPList {
syncURL?: string;
}