Add ServerState support in ChatService with SSE listener and associated data model
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
export interface User {
|
||||
uuid: string;
|
||||
name: string;
|
||||
styledName: string;
|
||||
}
|
||||
|
||||
export interface Server {
|
||||
name: string;
|
||||
players: User[];
|
||||
}
|
||||
|
||||
export interface ServerState {
|
||||
servers: Server[];
|
||||
}
|
||||
Reference in New Issue
Block a user