diff --git a/apps/server/src/modules/board/controller/board-submission.controller.ts b/apps/server/src/modules/board/controller/board-submission.controller.ts index ad852ed5cfb..4e81d342849 100644 --- a/apps/server/src/modules/board/controller/board-submission.controller.ts +++ b/apps/server/src/modules/board/controller/board-submission.controller.ts @@ -8,7 +8,6 @@ import { Param, Patch, Post, - UnprocessableEntityException, } from '@nestjs/common'; import { ApiExtraModels, ApiOperation, ApiResponse, ApiTags, getSchemaPath } from '@nestjs/swagger'; import { ApiValidationError } from '@shared/common'; @@ -20,8 +19,6 @@ import { SubmissionItemUc } from '../uc/submission-item.uc'; import { CreateContentElementBodyParams, FileElementResponse, - isFileElementResponse, - isRichTextElementResponse, RichTextElementResponse, SubmissionContainerUrlParams, SubmissionItemUrlParams, diff --git a/apps/server/src/modules/board/controller/mapper/content-element-response.factory.ts b/apps/server/src/modules/board/controller/mapper/content-element-response.factory.ts index 286d1b4d5c2..8431b630be9 100644 --- a/apps/server/src/modules/board/controller/mapper/content-element-response.factory.ts +++ b/apps/server/src/modules/board/controller/mapper/content-element-response.factory.ts @@ -1,5 +1,5 @@ import { NotImplementedException, UnprocessableEntityException } from '@nestjs/common'; -import { AnyBoardDo, FileElement, isSubmissionItemContent, RichTextElement } from '@shared/domain'; +import { AnyBoardDo, FileElement, RichTextElement } from '@shared/domain'; import { AnyContentElementResponse, FileElementResponse, diff --git a/apps/server/src/modules/board/controller/mapper/submission-item-response.mapper.ts b/apps/server/src/modules/board/controller/mapper/submission-item-response.mapper.ts index 70023b36020..6cbf0348109 100644 --- a/apps/server/src/modules/board/controller/mapper/submission-item-response.mapper.ts +++ b/apps/server/src/modules/board/controller/mapper/submission-item-response.mapper.ts @@ -1,15 +1,4 @@ -import { - FileElement, - isFileElement, - isRichTextElement, - isSubmissionItemContent, - RichTextElement, - SubmissionItem, - UserBoardRoles, -} from '@shared/domain'; -import { UnprocessableEntityException } from '@nestjs/common'; -import { FileElementResponseMapper } from './file-element-response.mapper'; -import { RichTextElementResponseMapper } from './rich-text-element-response.mapper'; +import { FileElement, isSubmissionItemContent, RichTextElement, SubmissionItem, UserBoardRoles } from '@shared/domain'; import { SubmissionItemResponse, SubmissionsResponse, TimestampsResponse, UserDataResponse } from '../dto'; import { ContentElementResponseFactory } from './content-element-response.factory';