@a11ywatch/core
Version:
a11ywatch central API
36 lines (35 loc) • 1.19 kB
TypeScript
import { AuthParams } from "../types";
declare const verifyUser: ({ password, email, googleId, githubId, }: AuthParams) => Promise<{
jwt: string;
googleId?: string;
githubId?: number;
pageSpeedApiKey?: string;
__typename?: "User";
id?: number;
email?: string;
password?: string;
salt?: string;
loggedIn?: boolean;
passwordRequired?: boolean;
alertEnabled?: boolean;
lastAlertSent?: number;
lastAlertDateStamp?: number;
role?: number;
activeSubscription?: boolean;
emailConfirmed?: boolean;
emailFilteredDates?: number[];
websites?: import("../../../../types/schema").Website[];
profileVisible?: boolean;
history?: import("../../../../types/schema").History[];
scanInfo?: import("../../../../types/schema").ScanInformation;
analytics?: import("../../../../types/schema").Analytic[];
paymentSubscription?: Stripe.subscriptions.ISubscription;
websiteLimit?: number;
lastLoginDate?: string;
downAlerts?: import("../../../../types/schema").Website[];
emailExpDate?: string;
resetCode?: string;
stripeID?: string;
usageAnchorDate?: number | Date;
}>;
export { verifyUser };