| 1 | import { Module } from '@nestjs/common' |
| 2 | import { AssetsHttpModule } from '@yikart/assets' |
| 3 | import { UserType } from '@yikart/common' |
| 4 | import { config } from '../../config' |
| 5 | |
| 6 | @Module({ |
| 7 | imports: [ |
| 8 | AssetsHttpModule.forRoot({ |
| 9 | assetsConfig: config.assets, |
| 10 | userType: UserType.User, |
| 11 | enableScheduler: true, |
| 12 | }), |
| 13 | ], |
| 14 | }) |
| 15 | export class AssetsModule {} |
| 16 |