Back to Pocketbase

Interface defaultInstallerFunc

static/jsvm/interfaces/apis.defaultInstallerFunc.html

latest1003 B
Original Source

Interface defaultInstallerFunc

Hierarchy

  • defaultInstallerFunc

  • defaultInstallerFunc(app, systemSuperuser, baseURL): void

DefaultInstallerFunc is the default PocketBase installer function.

It will attempt to open a link in the browser (with a short-lived auth token for the systemSuperuser) to the installer UI so that users can create their own custom superuser record.

See https://github.com/pocketbase/pocketbase/discussions/5814.

Parameters

app: excludeHooks<App>
systemSuperuser: core.Record
baseURL: string

Returns void

Settings

Member Visibility

  • Inherited

Theme

OSLightDark

Generated using TypeDoc