UNPKG

@nestjs/websockets

Version:

Nest - modern, fast, powerful node.js web framework (@websockets)

7 lines (6 loc) 330 B
import { WsParamtype } from '../enums/ws-paramtype.enum.js'; export const DEFAULT_CALLBACK_METADATA = { [`${WsParamtype.ACK}:2`]: { index: 2, data: undefined, pipes: [] }, [`${WsParamtype.PAYLOAD}:1`]: { index: 1, data: undefined, pipes: [] }, [`${WsParamtype.SOCKET}:0`]: { index: 0, data: undefined, pipes: [] }, };