Benachrichtigungen: Typ kennt auch "mention"
Der Frontend-Typ Notification.kind kannte nur reply und bump, die API liefert seit den Erwähnungen auch mention. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
@@ -8,7 +8,7 @@ import { useMe } from "./auth";
|
|||||||
|
|
||||||
export type Notification = {
|
export type Notification = {
|
||||||
id: number;
|
id: number;
|
||||||
kind: "reply" | "bump";
|
kind: "reply" | "mention" | "bump";
|
||||||
// Was passiert ist, etwa "@bob hat auf deinen Beitrag geantwortet."
|
// Was passiert ist, etwa "@bob hat auf deinen Beitrag geantwortet."
|
||||||
message: string;
|
message: string;
|
||||||
// Anfang des zitierten Beitrags, '' = keiner.
|
// Anfang des zitierten Beitrags, '' = keiner.
|
||||||
|
|||||||
Reference in New Issue
Block a user