Updating Session Persistence with all valid persistence calls (#5085)

* Updating Session Persistence with all valid persistence calls

* Spacing fixes

---------

Co-authored-by: Zach H <zahalpern+github@gmail.com>
This commit is contained in:
Joseph Insalaco 2024-07-29 13:25:33 -04:00 committed by GitHub
parent ef4413633a
commit cf1f4f12a9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 193 additions and 26 deletions

View file

@ -1,4 +1,5 @@
import { LogItem, SortBy, User, UserSortField, WebSocketConnectOptions } from 'types';
import { NotifyUserData, ServerShutdownData, UserMessageData } from 'websocket/events/session/interfaces';
export interface ServerConnectParams {
host: string;
@ -49,6 +50,14 @@ export interface ServerState {
users: User[];
sortUsersBy: ServerStateSortUsersBy;
connectOptions: WebSocketConnectOptions;
messages: {
[userName: string]: UserMessageData[];
}
userInfo: {
[userName: string]: User;
}
notifications: NotifyUserData[];
serverShutdown: ServerShutdownData;
}
export interface ServerStateStatus {