Page MenuHomePhabricator

D10287.id34872.diff
No OneTemporary

D10287.id34872.diff

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
@@ -486,11 +486,17 @@
| 'disconnecting'
| 'forcedDisconnecting'
| 'disconnected';
+
+export type ConnectionIssue =
+ | 'policy_acknowledgement_socket_crash_loop'
+ | 'not_logged_in_error';
+
export type ConnectionInfo = {
+status: ConnectionStatus,
+queuedActivityUpdates: $ReadOnlyArray<ActivityUpdate>,
+lateResponses: $ReadOnlyArray<number>,
+showDisconnectedBar: boolean,
+ +connectionIssue?: ConnectionIssue,
};
export const connectionInfoValidator: TInterface<ConnectionInfo> =
tShape<ConnectionInfo>({

File Metadata

Mime Type
text/plain
Expires
Sun, Nov 24, 1:19 PM (20 h, 45 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2575953
Default Alt Text
D10287.id34872.diff (671 B)

Event Timeline