Skip to content

Commit f1e0cc4

Browse files
committed
More specific imports to prevent cycle with transition import in config service
1 parent 7bb5e0e commit f1e0cc4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/components/progress-report/workflow/dto/workflow-transition.dto.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { Field, ObjectType } from '@nestjs/graphql';
22
import { ID, IdField } from '~/common';
33
import { TransitionType } from '../../../workflow/dto';
4-
import { ProgressReportStatus } from '../../dto';
4+
import { ProgressReportStatus } from '../../dto/progress-report-status.enum';
55

66
@ObjectType()
77
export abstract class ProgressReportWorkflowTransition {

src/components/progress-report/workflow/transitions.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ import { entries, mapValues } from '@seedcompany/common';
22
import { EnumType, makeEnum } from '@seedcompany/nest';
33
import { createHash } from 'crypto';
44
import { ID, Many, maybeMany, Role } from '~/common';
5-
import { TransitionType as Type } from '../../workflow/dto';
6-
import { ProgressReportStatus as Status } from '../dto';
5+
import { TransitionType as Type } from '../../workflow/dto/workflow-transition.dto';
6+
import { ProgressReportStatus as Status } from '../dto/progress-report-status.enum';
77
import { ProgressReportWorkflowTransition as PublicTransition } from './dto/workflow-transition.dto';
88

99
// This also controls the order shown in the UI.

0 commit comments

Comments
 (0)