next-auth
Version:
Authentication for Next.js
23 lines • 592 B
TypeScript
import type { OAuthConfig, OAuthUserConfig } from ".";
export interface TraktUser extends Record<string, any> {
username: string;
private: boolean;
name: string;
vip: boolean;
vip_ep: boolean;
ids: {
slug: string;
};
joined_at: string;
location: string | null;
about: string | null;
gender: string | null;
age: number | null;
images: {
avatar: {
full: string;
};
};
}
export default function Trakt<P extends TraktUser>(options: OAuthUserConfig<P>): OAuthConfig<P>;
//# sourceMappingURL=trakt.d.ts.map