UNPKG

@a11ywatch/core

Version:
64 lines (63 loc) 2.53 kB
export declare const Query: { issue: (_: any, { url, ...props }: { [x: string]: any; url: any; }, context: any) => Promise<any>; issues: (_: any, { url, ...props }: { [x: string]: any; url: any; }, context: any) => Promise<import("mongodb").WithId<import("bson").Document>[]>; history: (_: any, { ...props }: { [x: string]: any; }, context: any) => Promise<import("mongodb").WithId<import("bson").Document>[]>; pages: (_: any, { domain, ...props }: { [x: string]: any; domain: any; }, context: any) => Promise<import("mongodb").WithId<import("bson").Document>[] | (import("mongodb").Collection<import("bson").Document> | import("mongodb").WithId<import("bson").Document>[])[]>; website: (_: any, { url, ...props }: { [x: string]: any; url: any; }, context: any) => Promise<import("../types/schema").Website>; websites: (_: any, props: any, context: any) => Promise<import("mongodb").WithId<import("bson").Document>[] | (import("mongodb").Collection<import("bson").Document> | import("mongodb").WithId<import("bson").Document>[])[]>; user: (_: any, { id, password }: { id: any; password: any; }, ctx: any) => Promise<{ emailConfirmed: boolean; keyid: number; activeSubscription: boolean; loggedIn: boolean; accountType: string; passwordRequired: boolean; pageSpeedApiKey?: string; __typename?: "User"; id?: number; email?: string; password?: string; jwt?: string; salt?: string; alertEnabled?: boolean; lastAlertSent?: number; lastAlertDateStamp?: number; role?: number; 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; }>; pagespeed: (_: any, { url, pageUrl, ...props }: { [x: string]: any; url: any; pageUrl: any; }, context: any) => Promise<any>; };