hunk.code_window:     this.logger.log(`Websocket Disconnect: ${client.id}`);
       await client.leave(client.nsp.name);
     }
     send(event: CommunicationEvent, userId: string, data: any) {
       this.server.to(userId).emit(event, data);
     }
     broadcast(event: CommunicationEvent, data: any) {
  
hunk.labels: keep keep keep keep keep replace keep keep keep
hunk.after_edit:     this.server?.to(userId).emit(event, data);
  
hunk.file_path: server/src/infra/repositories/communication.repository.ts
hunk.type: replace
file: {
    "name": "immich-cli",
    "dependencies": {
      "axios": "^1.4.0",
      "byte-size": "^8.1.1",
      "cli-progress": "^3.12.0",
      "commander": "^11.0.0",
      "form-data": "^4.0.0",
      "glob": "^10.3.1",
      "picomatch": "^2.3.1",
      "systeminformation": "^5.18.4",
      "yaml": "^2.3.1"
    },
    "devDependencies": {
      "@types/byte-size": "^8.1.0",
      "@types/chai": "^4.3.5",
      "@types/cli-progress": "^3.11.0",
      "@types/jest": "^29.5.2",
      "@types/js-yaml": "^4.0.5",
      "@types/mime-types": "^2.1.1",
      "@types/mock-fs": "^4.13.1",
      "@types/node": "^20.3.1",
      "@typescript-eslint/eslint-plugin": "^5.60.1",
      "@typescript-eslint/parser": "^5.48.1",
      "chai": "^4.3.7",
      "eslint": "^8.43.0",
      "eslint-config-prettier": "^8.8.0",
      "eslint-plugin-jest": "^27.2.2",
      "eslint-plugin-prettier": "^4.2.1",
      "eslint-plugin-unicorn": "^47.0.0",
      "jest": "^29.5.0",
      "jest-extended": "^4.0.0",
      "jest-message-util": "^29.5.0",
      "jest-mock-axios": "^4.7.2",
      "jest-when": "^3.5.2",
      "mock-fs": "^5.2.0",
      "ts-jest": "^29.1.0",
      "ts-node": "^10.9.1",
      "tslib": "^2.5.3",
      "typescript": "^4.9.4"
    },
    "scripts": {
      "build": "tsc --project tsconfig.build.json",
      "lint": "eslint \"src/**/*.ts\" --max-warnings 0",
      "prepack": "yarn build ",
      "test": "jest",
      "test:cov": "jest --coverage",
      "format": "prettier --check ."
    },
    "jest": {
      "clearMocks": true,
      "moduleFileExtensions": [
        "js",
        "json",
        "ts"
      ],
      "rootDir": ".",
      "testRegex": ".*\\.spec\\.ts$",
      "transform": {
        "^.+\\.ts$": "ts-jest"
      },
      "collectCoverageFrom": [
        "<rootDir>/src/**/*.(t|j)s"
      ],
      "coverageDirectory": "./coverage",
      "testEnvironment": "node"
    }
  }
  