mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-13 16:22:59 +10:00
chore(server): update dependencies and add API tags to
controllers
This commit is contained in:
@ -1,5 +1,6 @@
|
||||
import { CacheInterceptor, CacheKey, CacheTTL } from "@nestjs/cache-manager";
|
||||
import { Controller, Get, NotFoundException, UseInterceptors } from "@nestjs/common";
|
||||
import { ApiTags } from "@nestjs/swagger";
|
||||
import { HealthCheck, HealthCheckService } from "@nestjs/terminus";
|
||||
import { RedisService } from "@songkeys/nestjs-redis";
|
||||
import { RedisHealthIndicator } from "@songkeys/nestjs-redis-health";
|
||||
@ -9,6 +10,7 @@ import { BrowserHealthIndicator } from "./browser.health";
|
||||
import { DatabaseHealthIndicator } from "./database.health";
|
||||
import { StorageHealthIndicator } from "./storage.health";
|
||||
|
||||
@ApiTags("Health")
|
||||
@Controller("health")
|
||||
export class HealthController {
|
||||
constructor(
|
||||
|
||||
@ -7,12 +7,14 @@ import {
|
||||
UseInterceptors,
|
||||
} from "@nestjs/common";
|
||||
import { FileInterceptor } from "@nestjs/platform-express";
|
||||
import { ApiTags } from "@nestjs/swagger";
|
||||
|
||||
import { TwoFactorGuard } from "@/server/auth/guards/two-factor.guard";
|
||||
import { User } from "@/server/user/decorators/user.decorator";
|
||||
|
||||
import { StorageService } from "./storage.service";
|
||||
|
||||
@ApiTags("Storage")
|
||||
@Controller("storage")
|
||||
export class StorageController {
|
||||
constructor(private readonly storageService: StorageService) {}
|
||||
|
||||
Reference in New Issue
Block a user