refactor: 🔥 Remove more old code

This commit is contained in:
Jesse Wierzbinski 2024-12-07 13:52:29 +01:00
parent ee8c543cd9
commit fc768f6d36
No known key found for this signature in database
10 changed files with 4 additions and 133 deletions

View file

@ -1,12 +1,7 @@
import type { createToaster } from "@ark-ui/vue";
import type { Account, Attachment, Status } from "@versia/client/types";
import mitt from "mitt";
import type { Identity } from "./Identities";
export type NotificationEvent = Parameters<
ReturnType<typeof createToaster>["create"]
>[0];
type ApplicationEvents = {
"note:reply": Status;
"note:delete": Status;
@ -26,7 +21,6 @@ type ApplicationEvents = {
"composer:close": undefined;
"account:report": Account;
"account:update": Account;
"notification:new": NotificationEvent;
"attachment:view": Attachment;
"identity:change": Identity;
error: {