@a11ywatch/core
Version:
a11ywatch central API
34 lines (33 loc) • 833 B
TypeScript
interface UserInput {
email: string;
password?: string;
googleId?: string;
githubId?: number;
role?: number;
}
export declare const createUser: ({ email, password, googleId, githubId, role, }: Partial<UserInput>) => Promise<import("../../../../types/types").User | {
email: string;
password: string;
salt: string;
id: number;
jwt: string;
role: number;
alertEnabled: boolean;
emailConfirmed: boolean;
profileVisible: boolean;
lastLoginDate: string;
usageAnchorDate: number;
passwordRequired: boolean;
scanInfo: {
lastScanDate: any;
totalUptime: number;
creditedUptime: number;
};
websiteLimit: number;
googleId: string;
githubId: any;
resetCode: any;
pageSpeedApiKey: string;
stripeID: string;
}>;
export {};