feat: 实现投瓶和异步内容审核

This commit is contained in:
root
2026-09-15 01:28:11 +08:00
parent b480d2c91f
commit f455552e92
25 changed files with 1204 additions and 18 deletions
+20
View File
@@ -0,0 +1,20 @@
{
"name": "@drift/worker",
"version": "0.0.0",
"private": true,
"type": "module",
"scripts": {
"build": "tsc -p tsconfig.build.json",
"start": "node dist/main.js",
"run:once": "tsx src/main.ts --once",
"test": "vitest run src/moderation-worker.spec.ts --no-file-parallelism",
"typecheck": "tsc --noEmit -p tsconfig.json"
},
"dependencies": {
"@prisma/client": "6.19.0"
},
"devDependencies": {
"typescript": "^5.6.3",
"vitest": "^4.1.11"
}
}