-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of github.com:MuNuChapterHKN/HKrecruitment into dev
- Loading branch information
Showing
13 changed files
with
989 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
api/src/recruitment-session/create-recruitment-session.dto.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import { RecruitmentSession } from '@hkrecruitment/shared/recruitment-session'; | ||
import { ApiProperty } from '@nestjs/swagger'; | ||
|
||
export class CreateRecruitmentSessionDto | ||
implements Partial<RecruitmentSession> | ||
{ | ||
@ApiProperty() | ||
slotDuration: number; | ||
|
||
@ApiProperty() | ||
interviewStart: Date; | ||
|
||
@ApiProperty() | ||
interviewEnd: Date; | ||
|
||
@ApiProperty({ isArray: true }) | ||
days: Date[]; | ||
} |
14 changes: 14 additions & 0 deletions
14
api/src/recruitment-session/recruitment-session-response.dto.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import { | ||
RecruitmentSession, | ||
RecruitmentSessionState, | ||
} from '@hkrecruitment/shared/recruitment-session'; | ||
import { Exclude, Expose } from 'class-transformer'; | ||
|
||
@Exclude() | ||
export class RecruitmentSessionResponseDto | ||
implements Partial<RecruitmentSession> | ||
{ | ||
@Expose() id: number; | ||
@Expose() createdAt: Date; | ||
@Expose() state: RecruitmentSessionState; | ||
} |
Oops, something went wrong.