- HERENCIA-SIMCO.md actualizado con directivas v3.7 y v3.8 - Actualizaciones de configuracion Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
32 lines
792 B
TypeScript
32 lines
792 B
TypeScript
// Mock for @nestjs/websockets
|
|
|
|
export const WebSocketGateway = (options?: any) => {
|
|
return (target: any) => target;
|
|
};
|
|
|
|
export const WebSocketServer = () => {
|
|
return (target: any, propertyKey: string) => {};
|
|
};
|
|
|
|
export const SubscribeMessage = (message: string) => {
|
|
return (target: any, propertyKey: string, descriptor: PropertyDescriptor) => {
|
|
return descriptor;
|
|
};
|
|
};
|
|
|
|
export const MessageBody = () => {
|
|
return (target: any, propertyKey: string, parameterIndex: number) => {};
|
|
};
|
|
|
|
export const ConnectedSocket = () => {
|
|
return (target: any, propertyKey: string, parameterIndex: number) => {};
|
|
};
|
|
|
|
export interface OnGatewayConnection {
|
|
handleConnection(client: any, ...args: any[]): any;
|
|
}
|
|
|
|
export interface OnGatewayDisconnect {
|
|
handleDisconnect(client: any): any;
|
|
}
|