import { IFile, IUser } from '.'; export declare type EventPayload = IAcceptPendingShareFailedEvent | IAddedToProjectEvent | IBoardDeletedEvent | IBoardUpdatedEvent | ICloneCompleteEvent | ICloneFailedEvent | ICloneProgressEvent | ICommentUpdatedEvent | IFilesUpdatedEvent | IGroupsUpdatedEvent | IHistoryUpdatedEvent | IJoinRoomEvent | INewChangesEvent | INewCommitsEvent | INewWorkerTaskEvent | IPipelineCreatedEvent | IPipelineUpdatedEvent | IProjectSyncCompleteEvent | IProjectSyncFailedEvent | IProjectSyncProgressEvent | IProjectSyncStartEvent | IProjectUpdatedEvent | IRenderCompleteEvent | IRenderDownloadEvent | IRenderFailedEvent | IRenderProgressEvent | IStepLogsEvent | IStepUpdatedEvent | IThreadCompletedUpdatedEvent | IThreadUpdatedEvent | IUserUpdatedEvent; export interface IWebsocketMessage { statusCode: number; message: string; data: { type: string; payload: EventPayload & { room: string; token: string; }; }; } export interface IFeedUpdatedEvent { feedType: string; types: string[]; userId: string; } export interface IHistoryUpdatedEvent { entityId: string; entityType: string; types: string; userId: string; } export interface IUserUpdatedEvent { userId: string; actioner: string; } export interface IAcceptPendingShareFailedEvent { projectId: string; memberId: string; reason: string; actioner: string; provider: string; } export interface IAddedToProjectEvent { projectId: string; userId: string; actioner: string; } export interface IProjectUpdatedEvent { projectId: string; actioner: string; } export interface IProjectSyncStartEvent { projectId: string; } export interface IProjectSyncProgressEvent { projectId: string; data: string; } export interface IProjectSyncCompleteEvent { projectId: string; } export interface IProjectSyncFailedEvent { projectId: string; message: string; } export interface INewChangesEvent { projectId: string; } export interface INewCommitsEvent { projectId: string; } export interface IFilesUpdatedEvent { projectId: string; files: IFile[]; provider: string; } export interface IBoardUpdatedEvent { boardId: string; actioner: IUser; } export interface IBoardDeletedEvent { projectId: string; boardId: string; actioner: IUser; } export interface IGroupsUpdatedEvent { boardId: string; groups: string[]; actioner: IUser; } export interface IThreadCompletedUpdatedEvent { threadId: string; complete: string; actioner: IUser; } export interface IThreadUpdatedEvent { threadId: string; actioner: IUser; } export interface ICommentUpdatedEvent { threadId: string; comment: string; actioner: IUser; } export interface ICommitUpdatedEvent { commitId: string; actioner: IUser; } export interface IRenderCompleteEvent { projectId: string; provider: string; renderId: string; fileId: string; roomId: string; revisionId: string; urn: string; timestamp: string; actioner: IUser; } export interface IRenderProgressEvent { roomId: string; message: string; } export interface IRenderFailedEvent { roomId: string; projectId: string; provider: string; renderId: string; fileId: string; revisionId: string; actioner: IUser; error: any; } export interface IRenderDownloadEvent { roomId: string; projectId: string; fileId: string; revisionId: string; provider: string; timestamp: string; actioner: IUser; } export interface ICloneCompleteEvent { projectId: string; provider: string; roomId: string; actioner: IUser; } export interface ICloneProgressEvent { roomId: string; message: string; } export interface ICloneFailedEvent { projectId: string; roomId: string; provider: string; actioner: string; data: any; } export interface IPipelineCreatedEvent { projectId: string; pipelineId: string; } export interface IPipelineUpdatedEvent { projectId: string; pipelineId: string; } export interface IStepUpdatedEvent { pipelineId: string; stepId: string; } export interface IStepLogsEvent { pipelineId: string; stepId: string; lines: string[]; } export interface IJoinRoomEvent { roomId: string; roomType: string; token: string; } export interface INewWorkerTaskEvent { _id: string; } //# sourceMappingURL=websocket.d.ts.map