interface AppOptions {
    appInitializer: AppInitializer;
    template: {
        dependencies: Pick<{
            sessionService: Pick<SessionService, "initialize" | "updateOpts" | "getSessionState" | "updateSessionState">;
        }, "sessionService">;
        opts: Pick<Required<TemplateOpts>, "logger" | "theme" | "apiErrorHandler" | "appInitializationLoader" | "blockPages" | "error500Component" | "errorMessageI18nHandler" | "navigationComponent" | "notFound404Component" | "pageTitleConfiguration" | "toastConfiguration">;
    };
}

Properties

appInitializer: AppInitializer

An initializer that is run before the app will start up

template: {
    dependencies: Pick<{
        sessionService: Pick<SessionService, "initialize" | "updateOpts" | "getSessionState" | "updateSessionState">;
    }, "sessionService">;
    opts: Pick<Required<TemplateOpts>, "logger" | "theme" | "apiErrorHandler" | "appInitializationLoader" | "blockPages" | "error500Component" | "errorMessageI18nHandler" | "navigationComponent" | "notFound404Component" | "pageTitleConfiguration" | "toastConfiguration">;
}

Template that configures the app

Type declaration

  • dependencies: Pick<{
        sessionService: Pick<SessionService, "initialize" | "updateOpts" | "getSessionState" | "updateSessionState">;
    }, "sessionService">

    Dependencies that the template needs

  • opts: Pick<Required<TemplateOpts>, "logger" | "theme" | "apiErrorHandler" | "appInitializationLoader" | "blockPages" | "error500Component" | "errorMessageI18nHandler" | "navigationComponent" | "notFound404Component" | "pageTitleConfiguration" | "toastConfiguration">

    Options that the template can use

Generated using TypeDoc