Server functionality
This commit is contained in:
+4
-1
@@ -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>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user