bootstrap: (
opts?: any,
) =>
| { ran: boolean; supplied?: undefined; username?: undefined; why: any }
| { ran: boolean; supplied: boolean; username: string; why?: undefined }
| { ran: boolean; supplied?: undefined; username: string; why?: undefined } = ...
Type Declaration
-
- (
opts?: any,
):
| { ran: boolean; supplied?: undefined; username?: undefined; why: any }
| { ran: boolean; supplied: boolean; username: string; why?: undefined }
| { ran: boolean; supplied?: undefined; username: string; why?: undefined }
-
Returns
| { ran: boolean; supplied?: undefined; username?: undefined; why: any }
| { ran: boolean; supplied: boolean; username: string; why?: undefined }
| { ran: boolean; supplied?: undefined; username: string; why?: undefined }
{ ran, username, … }, or { ran: false, why }
Creates the bootstrap administrator a fresh product-mode service is reached through, with a generated password announced in the log.
It does not run in development mode.