├── .github ├── dependabot.yml ├── semantic.yml └── workflows │ ├── auto-approve-dependabot-workflow.yml │ ├── continuous-deployment-workflow.yml │ ├── continuous-integration-workflow.yml │ └── lock-closed-issues-workflow.yml ├── .gitignore ├── .prettierrc.yml ├── CHANGELOG.md ├── LICENSE ├── README.md ├── codecov.yml ├── eslint.config.mjs ├── jest.config.js ├── jest.setup.js ├── package.json ├── sample ├── sample1-simple-controller │ ├── Message.ts │ ├── MessageController.ts │ ├── app.ts │ └── index.html ├── sample2-use-created-socket-io │ ├── Message.ts │ ├── MessageController.ts │ ├── app.ts │ └── index.html ├── sample3-namespaces │ ├── Message.ts │ ├── MessageController.ts │ ├── app.ts │ └── index.html ├── sample4-emitters │ ├── Message.ts │ ├── MessageController.ts │ ├── app.ts │ └── index.html ├── sample5-middlewares │ ├── AuthenticationMiddleware.ts │ ├── Message.ts │ ├── MessageController.ts │ ├── app.ts │ └── index.html └── sample6-dynamic-namespaces │ ├── Message.ts │ ├── MessageController.ts │ ├── app.ts │ └── index.html ├── src ├── SocketControllers.ts ├── decorators │ ├── ConnectedSocket.ts │ ├── EmitOnFail.ts │ ├── EmitOnSuccess.ts │ ├── MessageAck.ts │ ├── MessageBody.ts │ ├── Middleware.ts │ ├── NspParam.ts │ ├── NspParams.ts │ ├── OnConnect.ts │ ├── OnDisconnect.ts │ ├── OnDisconnecting.ts │ ├── OnMessage.ts │ ├── SkipEmitOnEmptyResult.ts │ ├── SocketController.ts │ ├── SocketIO.ts │ ├── SocketId.ts │ ├── SocketQueryParam.ts │ ├── SocketRequest.ts │ ├── SocketRooms.ts │ └── UseInterceptor.ts ├── index.ts ├── types │ ├── ActionMetadata.ts │ ├── ActionTransformOptions.ts │ ├── ControllerMetadata.ts │ ├── HandlerMetadata.ts │ ├── InterceptorInterface.ts │ ├── MiddlewareInterface.ts │ ├── MiddlewareMetadata.ts │ ├── ParameterMetadata.ts │ ├── ResultMetadata.ts │ ├── SocketControllerMetaKey.ts │ ├── SocketControllersOptions.ts │ ├── SocketEventContext.ts │ ├── TransformOptions.ts │ ├── constants │ │ └── defaultTransformOptions.ts │ └── enums │ │ ├── HandlerType.ts │ │ ├── ParameterType.ts │ │ ├── ResultType.ts │ │ └── SocketEventType.ts └── util │ ├── add-action-to-controller-metadata.ts │ ├── add-controller-metadata.ts │ ├── add-interceptor-to-action-metadata.ts │ ├── add-middleware-metadata.ts │ ├── add-parameter-to-action-metadata.ts │ ├── add-result-to-action-metadata.ts │ ├── chain-execute.ts │ └── get-metadata.ts ├── test ├── functional │ ├── connected-socket.spec.ts │ ├── controllers │ │ ├── test.controller.ts │ │ └── test2.controller.ts │ ├── create-socket-server.spec.ts │ ├── emit-on-fail.spec.ts │ ├── emit-on-success.spec.ts │ ├── load-controllers-from-directory.spec.ts │ ├── middlewares.spec.ts │ ├── multiple-controllers-on-same-namespace.spec.ts │ ├── nsp-param.spec.ts │ ├── nsp-params.spec.ts │ ├── on-disconnect.spec.ts │ ├── on-disconnecting.spec.ts │ ├── parameter-transformation.spec.ts │ ├── scoped-controllers.spec.ts │ ├── skip-emit-on-empty-result.spec.ts │ ├── socket-id.spec.ts │ ├── socket-io.spec.ts │ ├── socket-message-ack.spec.ts │ ├── socket-message-body.spec.ts │ ├── socket-query-param.spec.ts │ ├── socket-request.spec.ts │ ├── socket-rooms.spec.ts │ └── use-interceptor.spec.ts └── utilities │ ├── testSocketConnection.ts │ ├── waitForEvent.ts │ └── waitForTime.ts ├── tsconfig.json ├── tsconfig.prod.json └── tsconfig.spec.json /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/semantic.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/.github/semantic.yml -------------------------------------------------------------------------------- /.github/workflows/auto-approve-dependabot-workflow.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/.github/workflows/auto-approve-dependabot-workflow.yml -------------------------------------------------------------------------------- /.github/workflows/continuous-deployment-workflow.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/.github/workflows/continuous-deployment-workflow.yml -------------------------------------------------------------------------------- /.github/workflows/continuous-integration-workflow.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/.github/workflows/continuous-integration-workflow.yml -------------------------------------------------------------------------------- /.github/workflows/lock-closed-issues-workflow.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/.github/workflows/lock-closed-issues-workflow.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierrc.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/.prettierrc.yml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/README.md -------------------------------------------------------------------------------- /codecov.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/codecov.yml -------------------------------------------------------------------------------- /eslint.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/eslint.config.mjs -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/jest.config.js -------------------------------------------------------------------------------- /jest.setup.js: -------------------------------------------------------------------------------- 1 | jest.setTimeout(30000); 2 | 3 | require("reflect-metadata"); -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/package.json -------------------------------------------------------------------------------- /sample/sample1-simple-controller/Message.ts: -------------------------------------------------------------------------------- 1 | export class Message { 2 | id: number; 3 | text: string; 4 | } 5 | -------------------------------------------------------------------------------- /sample/sample1-simple-controller/MessageController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/sample/sample1-simple-controller/MessageController.ts -------------------------------------------------------------------------------- /sample/sample1-simple-controller/app.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/sample/sample1-simple-controller/app.ts -------------------------------------------------------------------------------- /sample/sample1-simple-controller/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/sample/sample1-simple-controller/index.html -------------------------------------------------------------------------------- /sample/sample2-use-created-socket-io/Message.ts: -------------------------------------------------------------------------------- 1 | export class Message { 2 | id: number; 3 | text: string; 4 | } 5 | -------------------------------------------------------------------------------- /sample/sample2-use-created-socket-io/MessageController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/sample/sample2-use-created-socket-io/MessageController.ts -------------------------------------------------------------------------------- /sample/sample2-use-created-socket-io/app.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/sample/sample2-use-created-socket-io/app.ts -------------------------------------------------------------------------------- /sample/sample2-use-created-socket-io/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/sample/sample2-use-created-socket-io/index.html -------------------------------------------------------------------------------- /sample/sample3-namespaces/Message.ts: -------------------------------------------------------------------------------- 1 | export class Message { 2 | id: number; 3 | text: string; 4 | } 5 | -------------------------------------------------------------------------------- /sample/sample3-namespaces/MessageController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/sample/sample3-namespaces/MessageController.ts -------------------------------------------------------------------------------- /sample/sample3-namespaces/app.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/sample/sample3-namespaces/app.ts -------------------------------------------------------------------------------- /sample/sample3-namespaces/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/sample/sample3-namespaces/index.html -------------------------------------------------------------------------------- /sample/sample4-emitters/Message.ts: -------------------------------------------------------------------------------- 1 | export class Message { 2 | id: number; 3 | text: string; 4 | } 5 | -------------------------------------------------------------------------------- /sample/sample4-emitters/MessageController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/sample/sample4-emitters/MessageController.ts -------------------------------------------------------------------------------- /sample/sample4-emitters/app.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/sample/sample4-emitters/app.ts -------------------------------------------------------------------------------- /sample/sample4-emitters/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/sample/sample4-emitters/index.html -------------------------------------------------------------------------------- /sample/sample5-middlewares/AuthenticationMiddleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/sample/sample5-middlewares/AuthenticationMiddleware.ts -------------------------------------------------------------------------------- /sample/sample5-middlewares/Message.ts: -------------------------------------------------------------------------------- 1 | export class Message { 2 | id: number; 3 | text: string; 4 | } 5 | -------------------------------------------------------------------------------- /sample/sample5-middlewares/MessageController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/sample/sample5-middlewares/MessageController.ts -------------------------------------------------------------------------------- /sample/sample5-middlewares/app.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/sample/sample5-middlewares/app.ts -------------------------------------------------------------------------------- /sample/sample5-middlewares/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/sample/sample5-middlewares/index.html -------------------------------------------------------------------------------- /sample/sample6-dynamic-namespaces/Message.ts: -------------------------------------------------------------------------------- 1 | export class Message { 2 | id: number; 3 | text: string; 4 | } 5 | -------------------------------------------------------------------------------- /sample/sample6-dynamic-namespaces/MessageController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/sample/sample6-dynamic-namespaces/MessageController.ts -------------------------------------------------------------------------------- /sample/sample6-dynamic-namespaces/app.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/sample/sample6-dynamic-namespaces/app.ts -------------------------------------------------------------------------------- /sample/sample6-dynamic-namespaces/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/sample/sample6-dynamic-namespaces/index.html -------------------------------------------------------------------------------- /src/SocketControllers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/src/SocketControllers.ts -------------------------------------------------------------------------------- /src/decorators/ConnectedSocket.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/src/decorators/ConnectedSocket.ts -------------------------------------------------------------------------------- /src/decorators/EmitOnFail.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/src/decorators/EmitOnFail.ts -------------------------------------------------------------------------------- /src/decorators/EmitOnSuccess.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/src/decorators/EmitOnSuccess.ts -------------------------------------------------------------------------------- /src/decorators/MessageAck.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/src/decorators/MessageAck.ts -------------------------------------------------------------------------------- /src/decorators/MessageBody.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/src/decorators/MessageBody.ts -------------------------------------------------------------------------------- /src/decorators/Middleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/src/decorators/Middleware.ts -------------------------------------------------------------------------------- /src/decorators/NspParam.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/src/decorators/NspParam.ts -------------------------------------------------------------------------------- /src/decorators/NspParams.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/src/decorators/NspParams.ts -------------------------------------------------------------------------------- /src/decorators/OnConnect.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/src/decorators/OnConnect.ts -------------------------------------------------------------------------------- /src/decorators/OnDisconnect.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/src/decorators/OnDisconnect.ts -------------------------------------------------------------------------------- /src/decorators/OnDisconnecting.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/src/decorators/OnDisconnecting.ts -------------------------------------------------------------------------------- /src/decorators/OnMessage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/src/decorators/OnMessage.ts -------------------------------------------------------------------------------- /src/decorators/SkipEmitOnEmptyResult.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/src/decorators/SkipEmitOnEmptyResult.ts -------------------------------------------------------------------------------- /src/decorators/SocketController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/src/decorators/SocketController.ts -------------------------------------------------------------------------------- /src/decorators/SocketIO.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/src/decorators/SocketIO.ts -------------------------------------------------------------------------------- /src/decorators/SocketId.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/src/decorators/SocketId.ts -------------------------------------------------------------------------------- /src/decorators/SocketQueryParam.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/src/decorators/SocketQueryParam.ts -------------------------------------------------------------------------------- /src/decorators/SocketRequest.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/src/decorators/SocketRequest.ts -------------------------------------------------------------------------------- /src/decorators/SocketRooms.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/src/decorators/SocketRooms.ts -------------------------------------------------------------------------------- /src/decorators/UseInterceptor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/src/decorators/UseInterceptor.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/types/ActionMetadata.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/src/types/ActionMetadata.ts -------------------------------------------------------------------------------- /src/types/ActionTransformOptions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/src/types/ActionTransformOptions.ts -------------------------------------------------------------------------------- /src/types/ControllerMetadata.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/src/types/ControllerMetadata.ts -------------------------------------------------------------------------------- /src/types/HandlerMetadata.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/src/types/HandlerMetadata.ts -------------------------------------------------------------------------------- /src/types/InterceptorInterface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/src/types/InterceptorInterface.ts -------------------------------------------------------------------------------- /src/types/MiddlewareInterface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/src/types/MiddlewareInterface.ts -------------------------------------------------------------------------------- /src/types/MiddlewareMetadata.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/src/types/MiddlewareMetadata.ts -------------------------------------------------------------------------------- /src/types/ParameterMetadata.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/src/types/ParameterMetadata.ts -------------------------------------------------------------------------------- /src/types/ResultMetadata.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/src/types/ResultMetadata.ts -------------------------------------------------------------------------------- /src/types/SocketControllerMetaKey.ts: -------------------------------------------------------------------------------- 1 | export const SOCKET_CONTROLLER_META_KEY = Symbol('SocketControllerMetaKey'); 2 | -------------------------------------------------------------------------------- /src/types/SocketControllersOptions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/src/types/SocketControllersOptions.ts -------------------------------------------------------------------------------- /src/types/SocketEventContext.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/src/types/SocketEventContext.ts -------------------------------------------------------------------------------- /src/types/TransformOptions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/src/types/TransformOptions.ts -------------------------------------------------------------------------------- /src/types/constants/defaultTransformOptions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/src/types/constants/defaultTransformOptions.ts -------------------------------------------------------------------------------- /src/types/enums/HandlerType.ts: -------------------------------------------------------------------------------- 1 | export enum HandlerType { 2 | CONTROLLER, 3 | MIDDLEWARE, 4 | } 5 | -------------------------------------------------------------------------------- /src/types/enums/ParameterType.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/src/types/enums/ParameterType.ts -------------------------------------------------------------------------------- /src/types/enums/ResultType.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/src/types/enums/ResultType.ts -------------------------------------------------------------------------------- /src/types/enums/SocketEventType.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/src/types/enums/SocketEventType.ts -------------------------------------------------------------------------------- /src/util/add-action-to-controller-metadata.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/src/util/add-action-to-controller-metadata.ts -------------------------------------------------------------------------------- /src/util/add-controller-metadata.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/src/util/add-controller-metadata.ts -------------------------------------------------------------------------------- /src/util/add-interceptor-to-action-metadata.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/src/util/add-interceptor-to-action-metadata.ts -------------------------------------------------------------------------------- /src/util/add-middleware-metadata.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/src/util/add-middleware-metadata.ts -------------------------------------------------------------------------------- /src/util/add-parameter-to-action-metadata.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/src/util/add-parameter-to-action-metadata.ts -------------------------------------------------------------------------------- /src/util/add-result-to-action-metadata.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/src/util/add-result-to-action-metadata.ts -------------------------------------------------------------------------------- /src/util/chain-execute.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/src/util/chain-execute.ts -------------------------------------------------------------------------------- /src/util/get-metadata.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/src/util/get-metadata.ts -------------------------------------------------------------------------------- /test/functional/connected-socket.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/test/functional/connected-socket.spec.ts -------------------------------------------------------------------------------- /test/functional/controllers/test.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/test/functional/controllers/test.controller.ts -------------------------------------------------------------------------------- /test/functional/controllers/test2.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/test/functional/controllers/test2.controller.ts -------------------------------------------------------------------------------- /test/functional/create-socket-server.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/test/functional/create-socket-server.spec.ts -------------------------------------------------------------------------------- /test/functional/emit-on-fail.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/test/functional/emit-on-fail.spec.ts -------------------------------------------------------------------------------- /test/functional/emit-on-success.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/test/functional/emit-on-success.spec.ts -------------------------------------------------------------------------------- /test/functional/load-controllers-from-directory.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/test/functional/load-controllers-from-directory.spec.ts -------------------------------------------------------------------------------- /test/functional/middlewares.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/test/functional/middlewares.spec.ts -------------------------------------------------------------------------------- /test/functional/multiple-controllers-on-same-namespace.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/test/functional/multiple-controllers-on-same-namespace.spec.ts -------------------------------------------------------------------------------- /test/functional/nsp-param.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/test/functional/nsp-param.spec.ts -------------------------------------------------------------------------------- /test/functional/nsp-params.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/test/functional/nsp-params.spec.ts -------------------------------------------------------------------------------- /test/functional/on-disconnect.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/test/functional/on-disconnect.spec.ts -------------------------------------------------------------------------------- /test/functional/on-disconnecting.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/test/functional/on-disconnecting.spec.ts -------------------------------------------------------------------------------- /test/functional/parameter-transformation.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/test/functional/parameter-transformation.spec.ts -------------------------------------------------------------------------------- /test/functional/scoped-controllers.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/test/functional/scoped-controllers.spec.ts -------------------------------------------------------------------------------- /test/functional/skip-emit-on-empty-result.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/test/functional/skip-emit-on-empty-result.spec.ts -------------------------------------------------------------------------------- /test/functional/socket-id.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/test/functional/socket-id.spec.ts -------------------------------------------------------------------------------- /test/functional/socket-io.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/test/functional/socket-io.spec.ts -------------------------------------------------------------------------------- /test/functional/socket-message-ack.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/test/functional/socket-message-ack.spec.ts -------------------------------------------------------------------------------- /test/functional/socket-message-body.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/test/functional/socket-message-body.spec.ts -------------------------------------------------------------------------------- /test/functional/socket-query-param.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/test/functional/socket-query-param.spec.ts -------------------------------------------------------------------------------- /test/functional/socket-request.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/test/functional/socket-request.spec.ts -------------------------------------------------------------------------------- /test/functional/socket-rooms.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/test/functional/socket-rooms.spec.ts -------------------------------------------------------------------------------- /test/functional/use-interceptor.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/test/functional/use-interceptor.spec.ts -------------------------------------------------------------------------------- /test/utilities/testSocketConnection.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/test/utilities/testSocketConnection.ts -------------------------------------------------------------------------------- /test/utilities/waitForEvent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/test/utilities/waitForEvent.ts -------------------------------------------------------------------------------- /test/utilities/waitForTime.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/test/utilities/waitForTime.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tsconfig.prod.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/tsconfig.prod.json -------------------------------------------------------------------------------- /tsconfig.spec.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/socket-controllers/HEAD/tsconfig.spec.json --------------------------------------------------------------------------------