mirror of
https://github.com/yusufipk/OpenFrame.git
synced 2026-09-11 17:46:06 +00:00
refactor: eslint and prettier conflict will be resolved and formatted
This commit is contained in:
Vendored
+12
-12
@@ -1,20 +1,20 @@
|
||||
import { type DefaultSession } from 'next-auth';
|
||||
|
||||
declare module 'next-auth' {
|
||||
interface Session {
|
||||
user: {
|
||||
id: string;
|
||||
isAdmin: boolean;
|
||||
} & DefaultSession['user'];
|
||||
}
|
||||
interface Session {
|
||||
user: {
|
||||
id: string;
|
||||
isAdmin: boolean;
|
||||
} & DefaultSession['user'];
|
||||
}
|
||||
|
||||
interface User {
|
||||
isAdmin?: boolean;
|
||||
}
|
||||
interface User {
|
||||
isAdmin?: boolean;
|
||||
}
|
||||
}
|
||||
|
||||
declare module 'next-auth/jwt' {
|
||||
interface JWT {
|
||||
isAdmin?: boolean;
|
||||
}
|
||||
interface JWT {
|
||||
isAdmin?: boolean;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user