Spaces:
Paused
Paused
File size: 472 Bytes
3c3f089 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
import "iron-session";
import { User } from "./graphql/generated/graphql";
import { OauthInput, OauthProvider } from "./store/features/authSlice";
declare global {
interface Window {
withOauth: (input: OauthInput, provider: OauthProvider) => void;
}
}
declare module "iron-session" {
interface IronSessionData {
user?: {
message?: string;
token?: string | null;
status: boolean;
data: User;
isLoggedIn?: boolean;
};
}
}
|