1 export enum WebsocketConnectionEvent {
2 Connecting = 'connecting',
3 ConnectionEstablishedButNotYetReady = 'connection-established-but-not-yet-ready',
4 ConnectedAndReady = 'connected-and-ready',
5 Disconnected = 'disconnected',
6 FailedToConnect = 'failed-to-connect',
7 DocumentUpdateMessage = 'du-message',
8 EventMessage = 'event-message',
9 EncryptionError = 'encryption-error',
10 AckStatusChange = 'ack-status-change',
11 FailedToGetTokenCommitIdOutOfSync = 'commit-id-out-of-sync',