update global (texte + logo)
This commit is contained in:
24
Linkwarden/types/next-auth.d.ts
vendored
Normal file
24
Linkwarden/types/next-auth.d.ts
vendored
Normal file
@ -0,0 +1,24 @@
|
||||
import NextAuth from "next-auth";
|
||||
import { JWT } from "next-auth/jwt";
|
||||
|
||||
declare module "next-auth" {
|
||||
interface Session {
|
||||
user: {
|
||||
id: number;
|
||||
};
|
||||
}
|
||||
|
||||
interface User {
|
||||
id: number;
|
||||
}
|
||||
}
|
||||
|
||||
declare module "next-auth/jwt" {
|
||||
interface JWT {
|
||||
sub?: number;
|
||||
id: number;
|
||||
iat: number;
|
||||
exp: number;
|
||||
jti: string;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user