UNPKG

admin-bro

Version:
27 lines (26 loc) 484 B
/** * Currently logged in admin. * * ### Usage with TypeScript * * ```typescript * import { CurrentAdmin } from 'admin-bro' * ``` * * @alias CurrentAdmin * @memberof AdminBro */ export declare type CurrentAdmin = { /** * Admin has one required field which is an email */ email: string; /** * Also you can put as many other fields to it as you like. */ [key: string]: any; /** * Id of your admin user */ id?: string; };