feat(WEB-169): get profile data from API
This commit is contained in:
11
types/auth.d.ts
vendored
11
types/auth.d.ts
vendored
@@ -1,4 +1,4 @@
|
||||
import "next-auth"
|
||||
import type { JWT } from "next-auth/jwt"
|
||||
|
||||
// Module augmentation
|
||||
// https://authjs.dev/getting-started/typescript#popular-interfaces-to-augment
|
||||
@@ -20,10 +20,7 @@ declare module "next-auth" {
|
||||
/**
|
||||
* Returned by `useSession`, `auth`, contains information about the active session.
|
||||
*/
|
||||
interface Session {}
|
||||
}
|
||||
|
||||
declare module "next-auth/jwt" {
|
||||
/** Returned by the `jwt` callback and `auth`, when using JWT sessions */
|
||||
interface JWT {}
|
||||
interface Session {
|
||||
token: JWT
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user