From 5d81da8f9d15543c8a837caced08e84b00bfb3a1 Mon Sep 17 00:00:00 2001 From: Alberto Baroso Date: Mon, 22 Jan 2024 09:55:16 +0100 Subject: [PATCH] fix: updated imports from shared/recruitment-session --- .../recruitment-session/create-recruitment-session.dto.ts | 2 +- .../recruitment-session/recruitment-session-response.dto.ts | 2 +- .../recruitment-session/recruitment-session.controller.ts | 6 ++++-- api/src/recruitment-session/recruitment-session.service.ts | 2 +- .../recruitment-session/update-recruitment-session.dto.ts | 2 +- 5 files changed, 8 insertions(+), 6 deletions(-) diff --git a/api/src/recruitment-session/create-recruitment-session.dto.ts b/api/src/recruitment-session/create-recruitment-session.dto.ts index 81b6399..a9d7276 100644 --- a/api/src/recruitment-session/create-recruitment-session.dto.ts +++ b/api/src/recruitment-session/create-recruitment-session.dto.ts @@ -1,4 +1,4 @@ -import { RecruitmentSession } from '@hkrecruitment/shared/recruitment-session'; +import { RecruitmentSession } from '@hkrecruitment/shared'; import { ApiProperty } from '@nestjs/swagger'; export class CreateRecruitmentSessionDto diff --git a/api/src/recruitment-session/recruitment-session-response.dto.ts b/api/src/recruitment-session/recruitment-session-response.dto.ts index f13d57f..4f83647 100644 --- a/api/src/recruitment-session/recruitment-session-response.dto.ts +++ b/api/src/recruitment-session/recruitment-session-response.dto.ts @@ -1,7 +1,7 @@ import { RecruitmentSession, RecruitmentSessionState, -} from '@hkrecruitment/shared/recruitment-session'; +} from '@hkrecruitment/shared'; import { Exclude, Expose } from 'class-transformer'; @Exclude() diff --git a/api/src/recruitment-session/recruitment-session.controller.ts b/api/src/recruitment-session/recruitment-session.controller.ts index 9e65523..bc85757 100644 --- a/api/src/recruitment-session/recruitment-session.controller.ts +++ b/api/src/recruitment-session/recruitment-session.controller.ts @@ -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, diff --git a/api/src/recruitment-session/recruitment-session.service.ts b/api/src/recruitment-session/recruitment-session.service.ts index 3d9ee94..2b77ee5 100644 --- a/api/src/recruitment-session/recruitment-session.service.ts +++ b/api/src/recruitment-session/recruitment-session.service.ts @@ -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 { diff --git a/api/src/recruitment-session/update-recruitment-session.dto.ts b/api/src/recruitment-session/update-recruitment-session.dto.ts index a1595ae..63c72fc 100644 --- a/api/src/recruitment-session/update-recruitment-session.dto.ts +++ b/api/src/recruitment-session/update-recruitment-session.dto.ts @@ -1,7 +1,7 @@ import { RecruitmentSession, RecruitmentSessionState, -} from '@hkrecruitment/shared/recruitment-session'; +} from '@hkrecruitment/shared'; import { ApiProperty } from '@nestjs/swagger'; export class UpdateRecruitmentSessionDto