8 lines
304 B
TypeScript
8 lines
304 B
TypeScript
import { Either } from '@standardnotes/common'
|
|
import { UserRolesChangedEventPayload, NotificationAddedForUserEventPayload } from '@standardnotes/domain-events'
|
|
|
|
export interface WebSocketsEventData {
|
|
type: string
|
|
payload: Either<UserRolesChangedEventPayload, NotificationAddedForUserEventPayload>
|
|
}
|