mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 21:41:09 +02:00
- Implement mana-media service with PostgreSQL/Drizzle ORM persistence - Add content-addressable storage (SHA-256) for automatic deduplication - Add Matrix MXC URL import endpoint to copy images from Matrix - Create @manacore/media-client package for service consumption - Integrate mana-media into NutriPhi bot for persistent image storage - Update pnpm-workspace.yaml to include nested service packages - Add mana-media to docker-compose with port 3015 Images sent to NutriPhi bot are now stored in mana-media after analysis, providing persistent storage with deduplication across all apps. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
43 lines
1 KiB
JSON
43 lines
1 KiB
JSON
{
|
|
"name": "@mana-media/api",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "nest start --watch",
|
|
"build": "nest build",
|
|
"start": "nest start",
|
|
"start:prod": "node dist/main",
|
|
"type-check": "tsc --noEmit",
|
|
"lint": "eslint 'src/**/*.ts'",
|
|
"db:push": "drizzle-kit push",
|
|
"db:studio": "drizzle-kit studio"
|
|
},
|
|
"dependencies": {
|
|
"@nestjs/bullmq": "^11.0.0",
|
|
"@nestjs/common": "^11.0.0",
|
|
"@nestjs/config": "^3.3.0",
|
|
"@nestjs/core": "^11.0.0",
|
|
"@nestjs/platform-express": "^11.0.0",
|
|
"bullmq": "^5.34.0",
|
|
"drizzle-orm": "^0.38.3",
|
|
"express": "^4.21.0",
|
|
"mime-types": "^2.1.35",
|
|
"minio": "^8.0.0",
|
|
"postgres": "^3.4.5",
|
|
"reflect-metadata": "^0.2.0",
|
|
"rxjs": "^7.8.0",
|
|
"sharp": "^0.33.0",
|
|
"uuid": "^11.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@manacore/shared-drizzle-config": "workspace:*",
|
|
"@nestjs/cli": "^11.0.0",
|
|
"@types/express": "^5.0.0",
|
|
"@types/mime-types": "^2.1.4",
|
|
"@types/multer": "^2.0.0",
|
|
"@types/node": "^22.0.0",
|
|
"@types/uuid": "^10.0.0",
|
|
"drizzle-kit": "^0.30.1",
|
|
"typescript": "^5.7.0"
|
|
}
|
|
}
|