Migración desde workspace-v2/projects/template-saas/apps/backend Este repositorio es parte del estándar multi-repo v2 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;
|
|
}
|