Add types for Moderator commands (#5084)

* Add types for Moderator commands

* Support User Priv Level & userLevel
This commit is contained in:
Zach H 2024-07-29 01:16:29 +00:00 committed by GitHub
parent 9f515fc804
commit c5bb38e907
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 51 additions and 34 deletions

View file

@ -1,4 +1,4 @@
import { Log, SortBy, User, UserSortField, WebSocketConnectOptions } from 'types';
import { LogItem, SortBy, User, UserSortField, WebSocketConnectOptions } from 'types';
export interface ServerConnectParams {
host: string;
@ -63,9 +63,9 @@ export interface ServerStateInfo {
}
export interface ServerStateLogs {
room: Log[];
game: Log[];
chat: Log[];
room: LogItem[];
game: LogItem[];
chat: LogItem[];
}
export interface ServerStateSortUsersBy extends SortBy {