@coursebuilder/core
Version:
Core package for Course Builder
22 lines (19 loc) • 576 B
TypeScript
import { OAuthUserConfig, OAuthConfig } from '@auth/core/providers';
interface EggheadProfile extends Record<string, any> {
id: string;
name: string;
email: string;
avatar_url: string;
instructor_id?: number;
roles: string[];
instructor?: {
id: number;
first_name: string;
last_name: string;
avatar_url: string;
email: string;
slug: string;
};
}
declare function egghead(config: OAuthUserConfig<EggheadProfile>): OAuthConfig<EggheadProfile>;
export { type EggheadProfile, egghead as default };