MCPcopy Index your code
hub / github.com/SoftwareBrothers/adminjs / CurrentAdmin

Interface CurrentAdmin

src/current-admin.interface.ts:13–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11 * @memberof AdminJS
12 */
13export interface CurrentAdmin {
14 /**
15 * Admin has one required field which is an email
16 */
17 email: string;
18 /**
19 * Optional title/role of an admin - this will be presented below the email
20 */
21 title?: string;
22 /**
23 * Optional url for an avatar photo
24 */
25 avatarUrl?: string;
26 /**
27 * Id of your admin user
28 */
29 id?: string;
30 /**
31 * Optional ID of theme to use
32 */
33 theme?: string;
34 /**
35 * Extra metadata specific to given Auth Provider
36 */
37 _auth?: Record<string, any>;
38 /**
39 * Also you can put as many other fields to it as you like.
40 */
41 [key: string]: any;
42}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…