Merged develop into feat/SW-266-seo-loyalty-pages

This commit is contained in:
Pontus Dreij
2024-08-19 11:08:33 +00:00
33 changed files with 536 additions and 235 deletions

View File

@@ -20,7 +20,7 @@ export type TrackingSDKPageData = {
export enum LoginTypeEnum {
email = "email",
"membership number" = "membership number",
// MagicLink = "magic link",
"email link" = "email link",
}
export type LoginType = keyof typeof LoginTypeEnum

2
types/jwt.d.ts vendored
View File

@@ -10,7 +10,7 @@ declare module "next-auth/jwt" {
/** Returned by the `jwt` callback and `auth`, when using JWT sessions */
interface JWT extends DefaultJWT, RefreshTokenError {
access_token: string
expires_at: number
expires_at?: number
refresh_token: string
loginType: LoginType
mfa_scope: boolean