Add AssetStorageModule for generating AI images via Imajin orchestrator and storing them in MinIO object storage. Components: - MinioModule: Dynamic NestJS module for MinIO client - AssetStorageService: Imajin job submission, polling, and MinIO storage - AssetStorageController: REST API for generation, status, and asset mgmt API Endpoints: - POST /asset-storage/generate - Submit batch job - GET /asset-storage/jobs/:id - Check job progress - GET /asset-storage/assets - List stored assets - GET /asset-storage/assets/:key - Get presigned download URL - DELETE /asset-storage/assets/:key - Delete asset Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
46 lines
1.5 KiB
JSON
Executable file
46 lines
1.5 KiB
JSON
Executable file
{
|
|
"name": "@lilith/platform-admin-backend",
|
|
"version": "0.1.0",
|
|
"description": "Platform admin backend API - proxies to feature services",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"build": "nest build",
|
|
"dev": "nest start --watch",
|
|
"start": "node dist/main.js",
|
|
"start:debug": "nest start --debug --watch",
|
|
"lint": "eslint src --ext .ts",
|
|
"typecheck": "tsc --noEmit",
|
|
"migration:generate": "typeorm migration:generate -d src/database/data-source.ts",
|
|
"migration:run": "typeorm migration:run -d src/database/data-source.ts",
|
|
"migration:revert": "typeorm migration:revert -d src/database/data-source.ts"
|
|
},
|
|
"dependencies": {
|
|
"@lilith/imajin-client": "^0.2.0",
|
|
"@lilith/nestjs-health": "^0.0.26",
|
|
"@lilith/queue-cli": "^0.1.0",
|
|
"@lilith/service-registry": "^1.1.0",
|
|
"@lilith/service-nestjs-bootstrap": "^2.2.1",
|
|
"minio": "^8.0.3",
|
|
"@nestjs/axios": "^3.1.3",
|
|
"@nestjs/common": "^10.4.15",
|
|
"@nestjs/config": "^3.3.0",
|
|
"@nestjs/core": "^10.4.15",
|
|
"@nestjs/platform-express": "^10.4.15",
|
|
"@nestjs/swagger": "^8.1.0",
|
|
"@nestjs/typeorm": "^10.0.2",
|
|
"axios": "^1.7.9",
|
|
"class-transformer": "^0.5.1",
|
|
"class-validator": "^0.14.1",
|
|
"pg": "^8.13.1",
|
|
"reflect-metadata": "^0.2.2",
|
|
"rxjs": "^7.8.1",
|
|
"typeorm": "^0.3.20"
|
|
},
|
|
"devDependencies": {
|
|
"@nestjs/cli": "^10.4.9",
|
|
"@types/express": "^5.0.0",
|
|
"@types/node": "^22.10.2",
|
|
"typescript": "^5.7.2"
|
|
}
|
|
}
|