mirror of
https://github.com/Zagrios/bs-manager.git
synced 2026-07-03 14:08:25 +02:00
[feature-107] can now list maps of playlist + lot of other things
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user