added next-intl, composed next-auth and next-intl in middleware, fixed some bugs, completed details page, added google auth

This commit is contained in:
Alibek committed 2024-02-29 14:09:37 +06:00
1 parent 9cd7b2a67d
commit 6637ab4eae
172 files changed
+1772 -502

No files matched your search

+8 -2
View File
@@ -4,7 +4,13 @@ declare module "next-auth" {
interface Session {
refresh_token: string;
access_token: string;
expires_in: string;
expires_in?: string;
}
interface User {
refresh_token: string;
access_token: string;
expires_in?: string;
}
}
@@ -14,6 +20,6 @@ declare module "next-auth/jwt" {
interface JWT {
refresh_token: string;
access_token: string;
expires_in: string;
expires_in?: string;
}
}