Server functionality

This commit is contained in:
2025-10-31 15:22:14 +01:00
parent bee5b91fef
commit f123adb15f
5 changed files with 67 additions and 26 deletions
+4 -1
View File
@@ -1,7 +1,7 @@
import { Dispatch, RefObject, SetStateAction } from "react";
import { StringMap } from "./typeUtils";
import { UserProfile } from "@/hooks/get-user";
import { Message, Server } from "./types";
import { Channel, Message, Server } from "./types";
import { ClientSettings } from "./settings";
export type SetState<T> = Dispatch<SetStateAction<T>>;
@@ -29,4 +29,7 @@ export default interface App {
dms: UserProfile[];
setDms: SetState<UserProfile[]>;
currentChannel: Channel | null;
setCurrentChannel: SetState<Channel | null>;
}