feat(auth): add psid field to various login request DTOs and schemas
This commit is contained in:
@@ -10,6 +10,7 @@ export const FacebookLoginRequestSchema = z.object({
|
||||
accessToken: z.string(),
|
||||
platform: z.string(),
|
||||
guestId: stringOrEmpty,
|
||||
psid: stringOrEmpty,
|
||||
isTestAccount: booleanOrFalse,
|
||||
});
|
||||
|
||||
|
||||
@@ -9,6 +9,7 @@ import { booleanOrFalse, stringOrEmpty } from "../nullable-defaults";
|
||||
export const FbIdLoginRequestSchema = z.object({
|
||||
fbId: z.string(),
|
||||
avatarUrl: stringOrEmpty,
|
||||
psid: stringOrEmpty,
|
||||
isTestAccount: booleanOrFalse,
|
||||
});
|
||||
|
||||
|
||||
@@ -10,6 +10,7 @@ export const GoogleLoginRequestSchema = z.object({
|
||||
idToken: z.string(),
|
||||
platform: z.string(),
|
||||
guestId: stringOrEmpty,
|
||||
psid: stringOrEmpty,
|
||||
isTestAccount: booleanOrFalse,
|
||||
});
|
||||
|
||||
|
||||
@@ -12,6 +12,7 @@ export const LoginRequestSchema = z.object({
|
||||
password: z.string(),
|
||||
platform: z.string(),
|
||||
guestId: stringOrEmpty,
|
||||
psid: stringOrEmpty,
|
||||
isTestAccount: booleanOrFalse,
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user