[feature-107] progress on the modal for creating and editing playlists

This commit is contained in:
MathieuG-P
2024-06-16 21:13:54 +02:00
parent b1ee9f054d
commit 5e1a021c3a
7 changed files with 297 additions and 101 deletions
@@ -1,3 +1,4 @@
import { ObjectValues } from "shared/helpers/type.helpers";
import { SongDetailDiffCharactertistic, SongDiffName } from "./song-details-cache/song-details-cache.model";
export interface BsvMapDetail {
@@ -13,6 +14,9 @@ export interface BsvMapDetail {
name: string;
qualified: boolean;
ranked: boolean;
blQualified: boolean
blRanked: boolean
declaredAi: ObjectValues<typeof BsvDeclaredAi>;
stats: BsvMapStats;
tags: MapTag[];
updatedAt: BsvInstant;
@@ -212,6 +216,14 @@ export enum MapSpecificity {
}
//[ Admin, Uploader, SageScore, None ]
export const BsvDeclaredAi = {
Admin: "Admin",
Uploader: "Uploader",
SageScore: "SageScore",
None: "None"
} as const;
export interface MapFilter {
automapper?: boolean;
chroma?: boolean;