Spaces:
Runtime error
Runtime error
Download src/modules/session/session.module.ts from MuhammadNoman7600/qwen_2.5_model: direct link, hf CLI and curl.
- Browser
- Download file 721 Bytes
-
https://huggingface.co/spaces/MuhammadNoman7600/qwen_2.5_model/resolve/main/src/modules/session/session.module.ts
- Command line
-
hf download hf://spaces/MuhammadNoman7600/qwen_2.5_model/src/modules/session/session.module.ts
-
curl -L -o session.module.ts https://huggingface.co/spaces/MuhammadNoman7600/qwen_2.5_model/resolve/main/src/modules/session/session.module.ts
721 Bytes
| import { Module } from '@nestjs/common'; | |
| import { TypeOrmModule } from '@nestjs/typeorm'; | |
| import { Session } from './entities/session.entity'; | |
| import { Message } from '../message/entities/message.entity'; | |
| import { SessionService } from './session.service'; | |
| import { SessionController } from './session.controller'; | |
| import { WebhookModule } from '../webhook/webhook.module'; | |
| ({ | |
| // WebhookModule does not import SessionModule back, so the dependency is one-directional — | |
| // no forwardRef() needed. | |
| imports: [TypeOrmModule.forFeature([Session, Message], 'data'), WebhookModule], | |
| controllers: [SessionController], | |
| providers: [SessionService], | |
| exports: [SessionService], | |
| }) | |
| export class SessionModule {} | |