File

src/sockets/events/generic/event-channel-command.ts

Description

The command interface for adding or removing event channels to the socket.

Index

Properties

Properties

command
command: CommandType
Type : CommandType

ADD or REMOVE access to a channel

domainId
domainId: string
Type : string

The Domain ID (Name)

topic
topic: string
Type : string

The name of the channel

export type CommandType = 'ADD' | 'REMOVE';

/**
 * The command interface for adding or removing event channels to the socket.
 */
export interface IEventChannelCommand {
    /** ADD or REMOVE access to a channel */
    command: CommandType;
    /** The Domain ID (Name) */
    domainId: string;
    /** The name of the channel */
    topic: string;
}

results matching ""

    No results matching ""