diff --git a/apps/server/src/modules/board/controller/api-test/submission-item-lookup.api.spec.ts b/apps/server/src/modules/board/controller/api-test/submission-item-lookup.api.spec.ts index 6f31d5a4e5a..4686f953d29 100644 --- a/apps/server/src/modules/board/controller/api-test/submission-item-lookup.api.spec.ts +++ b/apps/server/src/modules/board/controller/api-test/submission-item-lookup.api.spec.ts @@ -15,7 +15,7 @@ import { userFactory, } from '@shared/testing'; import { ServerTestModule } from '@src/modules/server'; -import { SubmissionsResponse } from '../dto/submission-item/submissions.response'; +import { SubmissionsResponse } from '../dto'; const baseRouteName = '/board-submissions'; describe('submission item lookup (api)', () => { diff --git a/apps/server/src/modules/board/controller/dto/element/update-element-content.body.params.ts b/apps/server/src/modules/board/controller/dto/element/update-element-content.body.params.ts index 5eb0f239c1f..d9b709d8d67 100644 --- a/apps/server/src/modules/board/controller/dto/element/update-element-content.body.params.ts +++ b/apps/server/src/modules/board/controller/dto/element/update-element-content.body.params.ts @@ -69,8 +69,6 @@ export class SubmissionContainerContentBody { @IsDate() @IsOptional() @ApiPropertyOptional({ - required: false, - nullable: true, description: 'The point in time until when a submission can be handed in.', }) dueDate?: Date; diff --git a/apps/server/src/modules/board/controller/dto/submission-item/index.ts b/apps/server/src/modules/board/controller/dto/submission-item/index.ts index b009f3e0560..affa6cedc24 100644 --- a/apps/server/src/modules/board/controller/dto/submission-item/index.ts +++ b/apps/server/src/modules/board/controller/dto/submission-item/index.ts @@ -4,5 +4,5 @@ export * from './submission-item.response'; export * from './submission-item.url.params'; // TODO for some reason, api generator messes up the types // import it directly, not via this index seems to fix it -// export * from './submissions.response'; +export * from './submissions.response'; export * from './update-submission-item.body.params'; 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 82d2292ba11..53efb37a482 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,6 +1,5 @@ import { SubmissionItem, UserBoardRoles } from '@shared/domain'; -import { SubmissionsResponse } from '../dto/submission-item/submissions.response'; -import { SubmissionItemResponse, TimestampsResponse, UserDataResponse } from '../dto'; +import { SubmissionItemResponse, SubmissionsResponse, TimestampsResponse, UserDataResponse } from '../dto'; export class SubmissionItemResponseMapper { private static instance: SubmissionItemResponseMapper;