mirror of
https://github.com/versia-pub/frontend.git
synced 2026-03-13 03:29:16 +01:00
refactor: 🔥 Remove more old code
This commit is contained in:
parent
ee8c543cd9
commit
fc768f6d36
10 changed files with 4 additions and 133 deletions
|
|
@ -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: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue