Skip to content

Commit

Permalink
update mentee application status
Browse files Browse the repository at this point in the history
  • Loading branch information
dileepainivossl committed Aug 5, 2024
1 parent 5c8178d commit 102cc88
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/schemas/admin/admin.mentee-routes.schema.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import { z } from 'zod'
import { ApplicationStatus } from '../../enums'
import { MenteeApplicationStatus } from '../../enums'

export const getAllMenteeEmailsSchema = z.object({
status: z.nativeEnum(ApplicationStatus)
status: z.nativeEnum(MenteeApplicationStatus)
})

export const getMenteesSchema = z.object({
state: z.nativeEnum(ApplicationStatus)
state: z.nativeEnum(MenteeApplicationStatus)
})

export const updateMenteeStatusSchema = z.object({
state: z.nativeEnum(ApplicationStatus)
state: z.nativeEnum(MenteeApplicationStatus)
})

0 comments on commit 102cc88

Please sign in to comment.