Skip to content

Commit

Permalink
chore(server): consolidate dto files (#8201)
Browse files Browse the repository at this point in the history
chore: conoslidate dto files
  • Loading branch information
jrasm91 committed Mar 22, 2024
1 parent 75aa8e6 commit b6e4be7
Show file tree
Hide file tree
Showing 23 changed files with 434 additions and 484 deletions.
4 changes: 1 addition & 3 deletions server/src/controllers/system-config.controller.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import { Body, Controller, Get, Put, Query } from '@nestjs/common';
import { ApiTags } from '@nestjs/swagger';
import { MapThemeDto } from 'src/dtos/system-config-map-theme.dto';
import { SystemConfigTemplateStorageOptionDto } from 'src/dtos/system-config-storage-template.dto';
import { SystemConfigDto } from 'src/dtos/system-config.dto';
import { MapThemeDto, SystemConfigDto, SystemConfigTemplateStorageOptionDto } from 'src/dtos/system-config.dto';
import { AdminRoute, Authenticated } from 'src/middleware/auth.guard';
import { SystemConfigService } from 'src/services/system-config.service';

Expand Down
2 changes: 1 addition & 1 deletion server/src/dtos/server-info.dto.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { ApiProperty, ApiResponseProperty } from '@nestjs/swagger';
import type { DateTime } from 'luxon';
import { FeatureFlags } from 'src/cores/system-config.core';
import { SystemConfigThemeDto } from 'src/dtos/system-config-theme.dto';
import { SystemConfigThemeDto } from 'src/dtos/system-config.dto';
import { IVersion, VersionType } from 'src/utils/version';

export class ServerPingResponse {
Expand Down
103 changes: 0 additions & 103 deletions server/src/dtos/system-config-ffmpeg.dto.ts

This file was deleted.

73 changes: 0 additions & 73 deletions server/src/dtos/system-config-job.dto.ts

This file was deleted.

49 changes: 0 additions & 49 deletions server/src/dtos/system-config-library.dto.ts

This file was deleted.

13 changes: 0 additions & 13 deletions server/src/dtos/system-config-logging.dto.ts

This file was deleted.

23 changes: 0 additions & 23 deletions server/src/dtos/system-config-machine-learning.dto.ts

This file was deleted.

13 changes: 0 additions & 13 deletions server/src/dtos/system-config-map-theme.dto.ts

This file was deleted.

13 changes: 0 additions & 13 deletions server/src/dtos/system-config-map.dto.ts

This file was deleted.

6 changes: 0 additions & 6 deletions server/src/dtos/system-config-new-version-check.dto.ts

This file was deleted.

58 changes: 0 additions & 58 deletions server/src/dtos/system-config-oauth.dto.ts

This file was deleted.

6 changes: 0 additions & 6 deletions server/src/dtos/system-config-password-login.dto.ts

This file was deleted.

6 changes: 0 additions & 6 deletions server/src/dtos/system-config-reverse-geocoding.dto.ts

This file was deleted.

0 comments on commit b6e4be7

Please sign in to comment.