| 6 | export { SessionProvider, signIn, signOut } from 'next-auth/react'; |
| 7 | |
| 8 | interface Session extends DefaultSession { |
| 9 | user?: DefaultSession['user'] & { |
| 10 | id: string; |
| 11 | role: RoleTypes[]; |
| 12 | }; |
| 13 | } |
| 14 | |
| 15 | // @ts-expect-error Hacking the type so we don't have to do the module augmentation technique. |
| 16 | export const useSession: () => Session & SessionContextValue = useAuthSession; |
nothing calls this directly
no outgoing calls
no test coverage detected