File tree 2 files changed +7
-1
lines changed
2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -43,6 +43,8 @@ async function createIndex () {
43
43
jobId : { type : 'keyword' } ,
44
44
userId : { type : 'keyword' } ,
45
45
status : { type : 'keyword' } ,
46
+ externalId : { type : 'keyword' } ,
47
+ resume : { type : 'text' } ,
46
48
createdAt : { type : 'date' } ,
47
49
createdBy : { type : 'keyword' } ,
48
50
updatedAt : { type : 'date' } ,
Original file line number Diff line number Diff line change @@ -39,7 +39,9 @@ processCreate.schema = {
39
39
userId : Joi . string ( ) . uuid ( ) . required ( ) ,
40
40
createdAt : Joi . date ( ) . required ( ) ,
41
41
createdBy : Joi . string ( ) . uuid ( ) . required ( ) ,
42
- status : Joi . jobCandidateStatus ( ) . required ( )
42
+ status : Joi . jobCandidateStatus ( ) . required ( ) ,
43
+ externalId : Joi . string ( ) ,
44
+ resume : Joi . string ( ) . uri ( )
43
45
} ) . required ( )
44
46
} ) . required ( ) ,
45
47
transactionId : Joi . string ( ) . required ( )
@@ -74,6 +76,8 @@ processUpdate.schema = {
74
76
jobId : Joi . string ( ) . uuid ( ) ,
75
77
userId : Joi . string ( ) . uuid ( ) ,
76
78
status : Joi . jobCandidateStatus ( ) ,
79
+ externalId : Joi . string ( ) ,
80
+ resume : Joi . string ( ) . uri ( ) ,
77
81
updatedAt : Joi . date ( ) ,
78
82
updatedBy : Joi . string ( ) . uuid ( )
79
83
} ) . required ( )
You can’t perform that action at this time.
0 commit comments