mirror of
https://github.com/zkldi/Tachi.git
synced 2026-10-11 08:48:15 +03:00
feat: notifications UI
minimal, but just works (tm)
This commit is contained in:
@@ -1595,19 +1595,6 @@ interface BaseNotification {
|
||||
}
|
||||
|
||||
export type NotificationBody =
|
||||
| {
|
||||
type: "CHALLENGE_BEAT";
|
||||
content: {
|
||||
userID: integer;
|
||||
challenge: ChallengeWallDocument;
|
||||
};
|
||||
}
|
||||
| {
|
||||
type: "CHALLENGE_RECEIVED";
|
||||
content: {
|
||||
challenge: ChallengeWallDocument;
|
||||
};
|
||||
}
|
||||
| {
|
||||
type: "QUEST_CHANGED"; // Emitted when a quest the user is subscribed to changed.
|
||||
content: {
|
||||
@@ -1640,15 +1627,6 @@ export interface ChallengeSubscriptionDocument {
|
||||
achievedAt: number | null;
|
||||
}
|
||||
|
||||
export interface ChallengeWallDocument {
|
||||
chartID: string;
|
||||
authorID: integer;
|
||||
type: "lamp" | "score";
|
||||
|
||||
game: Game;
|
||||
playtype: Playtype;
|
||||
}
|
||||
|
||||
interface BaseImportTracker {
|
||||
timeStarted: number;
|
||||
importID: string;
|
||||
|
||||
Reference in New Issue
Block a user