|
|
@ -8,14 +8,12 @@ import { |
|
|
|
Request, |
|
|
|
Request, |
|
|
|
UseGuards, |
|
|
|
UseGuards, |
|
|
|
} from '@nestjs/common'; |
|
|
|
} from '@nestjs/common'; |
|
|
|
import { Throttle } from '@nestjs/throttler'; |
|
|
|
|
|
|
|
import { DataAliasNestedService } from '~/services/data-alias-nested.service'; |
|
|
|
import { DataAliasNestedService } from '~/services/data-alias-nested.service'; |
|
|
|
import { GlobalGuard } from '~/guards/global/global.guard'; |
|
|
|
import { GlobalGuard } from '~/guards/global/global.guard'; |
|
|
|
import { Acl } from '~/middlewares/extract-ids/extract-ids.middleware'; |
|
|
|
import { Acl } from '~/middlewares/extract-ids/extract-ids.middleware'; |
|
|
|
import { DataApiLimiterGuard } from '~/guards/data-api-limiter.guard'; |
|
|
|
import { DataApiLimiterGuard } from '~/guards/data-api-limiter.guard'; |
|
|
|
|
|
|
|
|
|
|
|
@Controller() |
|
|
|
@Controller() |
|
|
|
@Throttle({ meta: {} }) |
|
|
|
|
|
|
|
@UseGuards(DataApiLimiterGuard, GlobalGuard) |
|
|
|
@UseGuards(DataApiLimiterGuard, GlobalGuard) |
|
|
|
export class DataAliasNestedController { |
|
|
|
export class DataAliasNestedController { |
|
|
|
constructor(private dataAliasNestedService: DataAliasNestedService) {} |
|
|
|
constructor(private dataAliasNestedService: DataAliasNestedService) {} |
|
|
|