lerna
Version:
Lerna is a fast, modern build system for managing and publishing multiple JavaScript/TypeScript packages from the same repository
21 lines (20 loc) • 499 B
TypeScript
import { FetchConfig } from "./fetch-config";
export interface ProfileData {
tfa: {
pending: boolean;
mode: "auth-and-writes" | "auth-only";
};
name: string;
username: string;
email: string;
email_verified: boolean;
created: string;
updated: string;
fullname?: string;
twitter?: string;
github?: string;
}
/**
* Retrieve profile data of logged-in user.
*/
export declare function getProfileData(opts: FetchConfig): Promise<ProfileData>;