@@ -233,8 +233,8 @@ export const opportunitiesFixture: DeepPartial<OpportunityJob>[] = [
233233 period : SalaryPeriod . ANNUAL ,
234234 } ,
235235 } ,
236- createdAt : new Date ( '2023-01-01 ' ) ,
237- updatedAt : new Date ( '2023-01-01 ' ) ,
236+ createdAt : new Date ( '2023-01-03 ' ) ,
237+ updatedAt : new Date ( '2023-01-03 ' ) ,
238238 organizationId : demoCompany . id ,
239239 location : [
240240 {
@@ -294,6 +294,11 @@ export const opportunityMatchesFixture: DeepPartial<OpportunityMatch>[] = [
294294 userId : '1' ,
295295 status : OpportunityMatchStatus . Pending ,
296296 description : { reasoning : 'Interested candidate' } ,
297+ screening : [
298+ { screening : 'What is your favorite language?' , answer : 'TypeScript' } ,
299+ ] ,
300+ feedback : [ ] ,
301+ applicationRank : { score : 85 , description : 'Strong candidate' } ,
297302 createdAt : new Date ( '2023-01-03' ) ,
298303 updatedAt : new Date ( '2023-01-03' ) ,
299304 } ,
@@ -302,6 +307,15 @@ export const opportunityMatchesFixture: DeepPartial<OpportunityMatch>[] = [
302307 userId : '2' ,
303308 status : OpportunityMatchStatus . CandidateAccepted ,
304309 description : { reasoning : 'Accepted candidate' } ,
310+ screening : [
311+ { screening : 'What is your favorite language?' , answer : 'JavaScript' } ,
312+ ] ,
313+ feedback : [ { screening : 'How did you hear about us?' , answer : 'LinkedIn' } ] ,
314+ applicationRank : {
315+ score : 90 ,
316+ description : 'Excellent fit' ,
317+ warmIntro : 'Great background in React' ,
318+ } ,
305319 createdAt : new Date ( '2023-01-04' ) ,
306320 updatedAt : new Date ( '2023-01-04' ) ,
307321 } ,
@@ -310,9 +324,34 @@ export const opportunityMatchesFixture: DeepPartial<OpportunityMatch>[] = [
310324 userId : '1' ,
311325 status : OpportunityMatchStatus . Pending ,
312326 description : { reasoning : 'Interested candidate' } ,
327+ screening : [ ] ,
328+ feedback : [ ] ,
329+ applicationRank : { } ,
313330 createdAt : new Date ( '2023-01-03' ) ,
314331 updatedAt : new Date ( '2023-01-03' ) ,
315332 } ,
333+ {
334+ opportunityId : '550e8400-e29b-41d4-a716-446655440001' ,
335+ userId : '4' ,
336+ status : OpportunityMatchStatus . RecruiterAccepted ,
337+ description : { reasoning : 'Excellent candidate' } ,
338+ screening : [ { screening : 'What is your favorite language?' , answer : 'Go' } ] ,
339+ feedback : [ ] ,
340+ applicationRank : { score : 95 , description : 'Top candidate' } ,
341+ createdAt : new Date ( '2023-01-06' ) ,
342+ updatedAt : new Date ( '2023-01-06' ) ,
343+ } ,
344+ {
345+ opportunityId : '550e8400-e29b-41d4-a716-446655440001' ,
346+ userId : '3' ,
347+ status : OpportunityMatchStatus . RecruiterRejected ,
348+ description : { reasoning : 'Not a good fit' } ,
349+ screening : [ ] ,
350+ feedback : [ ] ,
351+ applicationRank : { score : 60 } ,
352+ createdAt : new Date ( '2023-01-05' ) ,
353+ updatedAt : new Date ( '2023-01-05' ) ,
354+ } ,
316355] ;
317356
318357export const opportunityFeedbackQuestionsFixture : DeepPartial < QuestionFeedback > [ ] =
0 commit comments