Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BC-4375 - fix api generator #4435

Merged
merged 2 commits into from
Sep 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading