Files
tower/apps/worker/package.json
T
maaz519 1e421c0073 feat(worker): add index queue and wire Meilisearch indexing after approval
Adds index.queue.ts and index.processor.ts to handle BullMQ indexing jobs,
updates main.ts to create a Meilisearch client, configure the index on startup,
and enqueue index + forward jobs from ApprovalResult after a star reaction.
2026-05-28 00:02:47 +05:30

35 lines
934 B
JSON

{
"name": "@tower/worker",
"version": "0.0.1",
"scripts": {
"generate": "prisma generate --schema=../api/prisma/schema.prisma",
"build": "tsc",
"dev": "DOTENV_CONFIG_PATH=../../.env ts-node -r dotenv/config src/main.ts",
"start": "node dist/main.js",
"test": "jest"
},
"dependencies": {
"@hapi/boom": "^10.0.1",
"@prisma/client": "^6.0.0",
"@tower/config": "workspace:*",
"@tower/logger": "workspace:*",
"@tower/search": "workspace:*",
"@tower/types": "workspace:*",
"@whiskeysockets/baileys": "7.0.0-rc13",
"bullmq": "^5.0.0",
"ioredis": "^5.0.0",
"qrcode-terminal": "^0.12.0"
},
"devDependencies": {
"@types/jest": "^29.0.0",
"@types/node": "^22.0.0",
"@types/qrcode-terminal": "^0.12.2",
"dotenv": "^17.4.2",
"jest": "^29.0.0",
"prisma": "^6.0.0",
"ts-jest": "^29.0.0",
"ts-node": "^10.9.0",
"typescript": "^5.7.0"
}
}