diff --git a/lib/types/socket-types.js b/lib/types/socket-types.js --- a/lib/types/socket-types.js +++ b/lib/types/socket-types.js @@ -488,11 +488,15 @@ | 'disconnecting' | 'forcedDisconnecting' | 'disconnected'; + +export type ConnectionIssue = 'socket_crash_loop' | 'not_logged_in_error'; + export type ConnectionInfo = { +status: ConnectionStatus, +queuedActivityUpdates: $ReadOnlyArray, +lateResponses: $ReadOnlyArray, +showDisconnectedBar: boolean, + +connectionIssue?: ConnectionIssue, }; export const connectionInfoValidator: TInterface = tShape({