Updates
This commit is contained in:
@@ -1167,6 +1167,7 @@ export type APIGoogleLoginFunctionParams = {
|
||||
additionalData?: { [key: string]: string | number };
|
||||
debug?: boolean;
|
||||
loginOnly?: boolean;
|
||||
apiUserId?: string | number;
|
||||
};
|
||||
|
||||
export type APIGoogleLoginFunction = (
|
||||
@@ -1187,6 +1188,7 @@ export type HandleSocialDbFunctionParams = {
|
||||
debug?: boolean;
|
||||
loginOnly?: boolean;
|
||||
social_id?: string | number;
|
||||
apiUserId?: string | number;
|
||||
};
|
||||
|
||||
export type HandleSocialDbFunctionReturn = {
|
||||
@@ -2348,6 +2350,7 @@ export const UserAPIAuthActions = [
|
||||
"delete",
|
||||
"send-email-code",
|
||||
"reset-password",
|
||||
"google-login",
|
||||
] as const;
|
||||
|
||||
export type GrabUserAPIPathParams = {
|
||||
@@ -2451,3 +2454,23 @@ export type ApiUpdateUserParams<
|
||||
dbSchema?: DSQL_DatabaseSchemaType;
|
||||
dbUserId?: string | number;
|
||||
};
|
||||
|
||||
export type GoogleAuthParams = {
|
||||
apiKey?: string;
|
||||
token: string;
|
||||
database?: string;
|
||||
response?: ServerResponse;
|
||||
encryptionKey?: string;
|
||||
encryptionSalt?: string;
|
||||
additionalFields?: string[];
|
||||
additionalData?: { [s: string]: string | number };
|
||||
apiUserID?: string | number;
|
||||
debug?: boolean;
|
||||
secureCookie?: boolean;
|
||||
loginOnly?: boolean;
|
||||
/**
|
||||
* Login without calling external API
|
||||
*/
|
||||
useLocal?: boolean;
|
||||
apiVersion?: string;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user