| 11 | * @memberof AdminJS |
| 12 | */ |
| 13 | export 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 | } |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…