Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3354815
D10287.id34872.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
671 B
Referenced Files
None
Subscribers
None
D10287.id34872.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D10287: [lib] Add connectionIssue field
Attached
Detach File
Event Timeline
Log In to Comment