File tree Expand file tree Collapse file tree 3 files changed +5
-6
lines changed
Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 11import { gql } from "apollo-server-express" ;
2- import { ApplicationStatus , PositionTitle , ReviewerDTO } from "../../types" ;
32
43const reviewDashboardType = gql `
54 type ReviewerDTO {
Original file line number Diff line number Diff line change 1- import { PositionTitle , ReviewDashboardRowDTO } from "../../types" ;
1+ import { ReviewDashboardRowDTO } from "../../types" ;
22import IReviewDashboardService from "../interfaces/IReviewDashboardService" ;
33import { getErrorMessage } from "../../utilities/errorUtils" ;
44import logger from "../../utilities/logger" ;
@@ -10,7 +10,7 @@ function toDTO(model: ApplicantRecord): ReviewDashboardRowDTO {
1010 return {
1111 firstName : model . applicant ! . firstName ,
1212 lastName : model . applicant ! . lastName ,
13- position : model . position as PositionTitle ,
13+ position : model . position ,
1414 timesApplied : model . applicant ! . timesApplied . toString ( ) ,
1515 applicationStatus : model . status ,
1616 choice : model . choice ,
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ export type UserDTO = {
2929 firstName : string ;
3030 lastName : string ;
3131 email : string ;
32- position ?: PositionTitle ;
32+ position ?: string ;
3333 role : Role ;
3434} ;
3535
@@ -80,7 +80,7 @@ export type ApplicantDTO = {
8080export type ApplicantRecordDTO = {
8181 id : number ;
8282 applicantId : string ;
83- position : PositionTitle ; // EDIT LATER
83+ position : string ;
8484 roleSpecificQuestions : string [ ] ;
8585 choice : number ;
8686 status : ApplicationStatus ;
@@ -111,7 +111,7 @@ export type ReviewerDTO = {
111111export type ReviewDashboardRowDTO = {
112112 firstName : string ;
113113 lastName : string ;
114- position : PositionTitle ;
114+ position : string ;
115115 timesApplied : string ;
116116 applicationStatus : ApplicationStatus ;
117117 choice : number ;
You can’t perform that action at this time.
0 commit comments