Download src/modules/users/users.module.ts from shizoki/Lovia: direct link, hf CLI and curl.
- Browser
- Download file 466 Bytes
-
https://huggingface.co/spaces/shizoki/Lovia/resolve/main/src/modules/users/users.module.ts
- Command line
-
hf download hf://spaces/shizoki/Lovia/src/modules/users/users.module.ts
-
curl -L -o users.module.ts https://huggingface.co/spaces/shizoki/Lovia/resolve/main/src/modules/users/users.module.ts
466 Bytes
| import { Module } from '@nestjs/common'; | |
| import { MongooseModule } from '@nestjs/mongoose'; | |
| import { User, UserSchema } from './schemas/user.schema'; | |
| import { UsersController } from './users.controller'; | |
| import { UsersService } from './users.service'; | |
| ({ | |
| imports: [MongooseModule.forFeature([{ name: User.name, schema: UserSchema }])], | |
| controllers: [UsersController], | |
| providers: [UsersService], | |
| exports: [UsersService] | |
| }) | |
| export class UsersModule {} | |