feat(frontend): notifications

This commit is contained in:
sam 2025-03-05 01:18:21 +01:00
parent f99d10ecf0
commit dd9d35249c
Signed by: sam
GPG key ID: B4EF20DDE721CAA1
9 changed files with 129 additions and 6 deletions

View file

@ -112,3 +112,12 @@ export enum ClearableField {
Flags = "FLAGS",
CustomPreferences = "CUSTOM_PREFERENCES",
}
export type Notification = {
id: string;
type: "NOTICE" | "WARNING" | "SUSPENSION";
message?: string;
localization_key?: string;
localization_params: Record<string, string>;
acknowledged: boolean;
};