Skip to content

Commit

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

export const mentorStatusSchema = z.object({
state: z.nativeEnum(ApplicationStatus)
state: z.nativeEnum(MentorApplicationStatus)
})

export const getAllMentorsByStatusSchema = z.object({
status: z.nativeEnum(ApplicationStatus).or(z.undefined())
status: z.nativeEnum(MentorApplicationStatus).or(z.undefined())
})

export const getAllMentorEmailsSchema = z.object({
status: z.nativeEnum(ApplicationStatus).or(z.undefined())
status: z.nativeEnum(MentorApplicationStatus).or(z.undefined())
})

export const updateMentorAvailabilitySchema = z.object({
Expand Down

0 comments on commit 0ae93a0

Please sign in to comment.