chore: build metadata (#10612)

feat: build metadata
This commit is contained in:
Jason Rasmussen authored and GitHub committed 2024-06-26 08:25:09 -04:00
1 parent 15c1cd6449
commit 8a445cac07
24 files changed
+905 -18

No files matched your search

@@ -1,6 +1,7 @@
import { Controller, Get } from '@nestjs/common';
import { ApiTags } from '@nestjs/swagger';
import {
ServerAboutResponseDto,
ServerConfigDto,
ServerFeaturesDto,
ServerMediaTypesResponseDto,
@@ -22,6 +23,12 @@ export class ServerInfoController {
private versionService: VersionService,
) {}
@Get('about')
@Authenticated()
getAboutInfo(): Promise<ServerAboutResponseDto> {
return this.service.getAboutInfo();
}
@Get('storage')
@Authenticated()
getStorage(): Promise<ServerStorageResponseDto> {