Skip to content

Commit

Permalink
type altered
Browse files Browse the repository at this point in the history
  • Loading branch information
sinanptm committed Sep 11, 2024
1 parent 456a6c6 commit 94ea740
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions server/src/types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,6 @@ export interface CustomRequest extends Request {
};
}

export enum DoctorsFilter {
BLOCKED = 'blocked',
NOT_VERIFIED = 'not-verified',
VERIFIED = 'verified'
}


export enum StatusCode {
Success = 200,
Expand Down Expand Up @@ -58,4 +52,13 @@ export enum UserRole {
Admin = 'admin',
Doctor = 'doctor',
Patient = 'patient',
}


// Filters

export enum DoctorsFilter {
BLOCKED = 'blocked',
NOT_VERIFIED = 'not-verified',
VERIFIED = 'verified'
}

1 comment on commit 94ea740

@vercel
Copy link

@vercel vercel bot commented on 94ea740 Sep 11, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.