Skip to content

Commit

Permalink
fix: updated imports from shared/recruitment-session
Browse files Browse the repository at this point in the history
  • Loading branch information
AlbertoBaroso committed Jan 22, 2024
1 parent bb6e7e8 commit 5d81da8
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { RecruitmentSession } from '@hkrecruitment/shared/recruitment-session';
import { RecruitmentSession } from '@hkrecruitment/shared';
import { ApiProperty } from '@nestjs/swagger';

export class CreateRecruitmentSessionDto
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {
RecruitmentSession,
RecruitmentSessionState,
} from '@hkrecruitment/shared/recruitment-session';
} from '@hkrecruitment/shared';
import { Exclude, Expose } from 'class-transformer';

@Exclude()
Expand Down
6 changes: 4 additions & 2 deletions api/src/recruitment-session/recruitment-session.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@ import {
RecruitmentSession,
RecruitmentSessionState,
updateRecruitmentSessionSchema,
} from '@hkrecruitment/shared/recruitment-session';
import { Action, AppAbility, checkAbility } from '@hkrecruitment/shared';
Action,
AppAbility,
checkAbility,
} from '@hkrecruitment/shared';
import { JoiValidate } from '../joi-validation/joi-validate.decorator';
import {
ApiBadRequestResponse,
Expand Down
2 changes: 1 addition & 1 deletion api/src/recruitment-session/recruitment-session.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { InjectRepository } from '@nestjs/typeorm';
import { Repository } from 'typeorm';
import { RecruitmentSession } from './recruitment-session.entity';
import { CreateRecruitmentSessionDto } from './create-recruitment-session.dto';
import { RecruitmentSessionState } from '@hkrecruitment/shared/recruitment-session';
import { RecruitmentSessionState } from '@hkrecruitment/shared';

@Injectable()
export class RecruitmentSessionService {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {
RecruitmentSession,
RecruitmentSessionState,
} from '@hkrecruitment/shared/recruitment-session';
} from '@hkrecruitment/shared';
import { ApiProperty } from '@nestjs/swagger';

export class UpdateRecruitmentSessionDto
Expand Down

0 comments on commit 5d81da8

Please sign in to comment.