add beatleader score fetching and add icons to FC
Some checks failed
deploy / deploy (push) Failing after 2s
Some checks failed
deploy / deploy (push) Failing after 2s
This commit is contained in:
12
src/schemas/scoresaber/smaller/smallerLeaderboard.ts
Normal file
12
src/schemas/scoresaber/smaller/smallerLeaderboard.ts
Normal file
@ -0,0 +1,12 @@
|
||||
import { ScoresaberDifficulty } from "../difficulty";
|
||||
|
||||
export type ScoresaberSmallerLeaderboardInfo = {
|
||||
id: string;
|
||||
songHash: string;
|
||||
difficulty: ScoresaberDifficulty;
|
||||
maxScore: number;
|
||||
createdDate: string;
|
||||
stars: number;
|
||||
plays: number;
|
||||
coverImage: string;
|
||||
};
|
7
src/schemas/scoresaber/smaller/smallerPlayerScore.ts
Normal file
7
src/schemas/scoresaber/smaller/smallerPlayerScore.ts
Normal file
@ -0,0 +1,7 @@
|
||||
import { ScoresaberSmallerLeaderboardInfo } from "./smallerLeaderboard";
|
||||
import { ScoresaberSmallerScore } from "./smallerScore";
|
||||
|
||||
export type ScoresaberSmallerPlayerScore = {
|
||||
score: ScoresaberSmallerScore;
|
||||
leaderboard: ScoresaberSmallerLeaderboardInfo;
|
||||
};
|
16
src/schemas/scoresaber/smaller/smallerScore.ts
Normal file
16
src/schemas/scoresaber/smaller/smallerScore.ts
Normal file
@ -0,0 +1,16 @@
|
||||
export type ScoresaberSmallerScore = {
|
||||
id: number;
|
||||
rank: number;
|
||||
baseScore: number;
|
||||
modifiedScore: number;
|
||||
pp: number;
|
||||
weight: number;
|
||||
modifiers: string;
|
||||
multiplier: number;
|
||||
badCuts: number;
|
||||
missedNotes: number;
|
||||
maxCombo: number;
|
||||
fullCombo: boolean;
|
||||
hmd: number;
|
||||
timeSet: string;
|
||||
};
|
Reference in New Issue
Block a user