返回 AiToEarn
assets-http.controller.ts
根目录 / project / aitoearn-backend / libs / assets / src / http / assets-http.controller.ts
1 import { Controller, Inject } from '@nestjs/common'
2 import { ApiTags } from '@nestjs/swagger'
3 import { AssetsService } from '../assets.service'
4 import { VideoMetadataService } from '../video-metadata.service'
5 import { AssetsHttpControllerBase } from './assets-http.controller-base'
6 import { ASSETS_HTTP_OPTIONS, AssetsHttpModuleOptions } from './assets-http.options'
7
8 @ApiTags('Assets')
9 @Controller('/assets')
10 export class AssetsHttpController extends AssetsHttpControllerBase {
11 constructor(
12 assetsService: AssetsService,
13 videoMetadataService: VideoMetadataService,
14 @Inject(ASSETS_HTTP_OPTIONS)
15 options: AssetsHttpModuleOptions,
16 ) {
17 super(assetsService, videoMetadataService, options)
18 }
19 }
20
20 lines TYPESCRIPT