Skip to content

Commit

Permalink
fix: interfaces
Browse files Browse the repository at this point in the history
  • Loading branch information
ialexanderbrito committed Apr 12, 2022
1 parent 77c9aa0 commit d74af51
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/types/IContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ export interface ClienteMetadata {
created_at: Date;
updated_at: Date;
barber_name: string;
barber_picture: string;
barber_avatar: string;
}

export interface IdentityData {
Expand Down Expand Up @@ -158,9 +160,9 @@ export interface UserContextProps {
atualDayFormatted: string;
verificaLoginGoogleEOcupacao: () => boolean;
verificaOcupacao: (ocupacao: string) => 'cliente' | 'barbeiro' | undefined;
getClientesMorning: () => any;
getClientesAfternoon: () => any;
getClientesNight: () => any;
getClientesMorning: () => ClienteMetadata[];
getClientesAfternoon: () => ClienteMetadata[];
getClientesNight: () => ClienteMetadata[];
getFirstCliente: () => any;
selectDayFormattedBR: string;
postShedule: () => void;
Expand Down

0 comments on commit d74af51

Please sign in to comment.