Skip to content

TaskView is a self-hosted project and task management platform focused on clarity, ownership, and control. TaskView is built for teams that want a transparent, self-hosted alternative to SaaS task managers.

498 B
Raw Blame
export type CentrifugoPublishPayload = {
    channel: string;
    data: Record<string, unknown>;
};

export type CentrifugoBroadcastPayload = {
    channels: string[];
    data: Record<string, unknown>;
};

export type CentrifugoApiCall =
    | { method: 'publish'; payload: CentrifugoPublishPayload }
    | { method: 'broadcast'; payload: CentrifugoBroadcastPayload };

export type CentrifugoBroadcastToUsersArgs = {
    userIds: number[];
    event: string;
    data: Record<string, unknown>;
};