Skip to content

Commit

Permalink
BC-4375 - fix api generator (#4435)
Browse files Browse the repository at this point in the history
  • Loading branch information
virgilchiriac authored Sep 25, 2023
1 parent 69b1528 commit b1c09d4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import {
userFactory,
} from '@shared/testing';
import { ServerTestModule } from '@src/modules/server';
import { SubmissionsResponse } from '../dto';
import { SubmissionsResponse } from '../dto/submission-item/submissions.response';

const baseRouteName = '/board-submissions';
describe('submission item lookup (api)', () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,7 @@ export * from './submission-container.url.params';
export * from './create-submission-item.body.params';
export * from './submission-item.response';
export * from './submission-item.url.params';
export * from './submissions.response';
// 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 './update-submission-item.body.params';
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { SubmissionItem, UserBoardRoles } from '@shared/domain';
import { SubmissionItemResponse, SubmissionsResponse, TimestampsResponse, UserDataResponse } from '../dto';
import { SubmissionsResponse } from '../dto/submission-item/submissions.response';
import { SubmissionItemResponse, TimestampsResponse, UserDataResponse } from '../dto';

export class SubmissionItemResponseMapper {
private static instance: SubmissionItemResponseMapper;
Expand Down

0 comments on commit b1c09d4

Please sign in to comment.