mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-17 07:59:41 +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>
18 lines
552 B
TypeScript
18 lines
552 B
TypeScript
import { Module } from '@nestjs/common';
|
|
import { MatrixService } from './matrix.service';
|
|
import { NutriPhiModule } from '../nutriphi/nutriphi.module';
|
|
import { SessionModule, TranscriptionModule, CreditModule } from '@manacore/bot-services';
|
|
import { MediaModule } from '../media/media.module';
|
|
|
|
@Module({
|
|
imports: [
|
|
NutriPhiModule,
|
|
SessionModule.forRoot({ storageMode: 'redis' }),
|
|
TranscriptionModule.forRoot(),
|
|
CreditModule.forRoot(),
|
|
MediaModule,
|
|
],
|
|
providers: [MatrixService],
|
|
exports: [MatrixService],
|
|
})
|
|
export class BotModule {}
|