interface GroupedSettingsBlockOptions {
    services: {
        userApi: Pick<UserApi<unknown>, "getUser" | "updateUser">;
    };
    settings: {
        changeEmailRoute: string;
        changePasswordRoute: string;
        deactivateAccountRoute: string;
        screenMode: "desktop" | "mobile";
    };
}

Properties

Properties

services: {
    userApi: Pick<UserApi<unknown>, "getUser" | "updateUser">;
}

Type declaration

  • userApi: Pick<UserApi<unknown>, "getUser" | "updateUser">

    User API

settings: {
    changeEmailRoute: string;
    changePasswordRoute: string;
    deactivateAccountRoute: string;
    screenMode: "desktop" | "mobile";
}

Type declaration

  • changeEmailRoute: string

    The route to navigate to when the change email button is clicked button is clicked

  • changePasswordRoute: string

    The route to navigate to when the change password button is clicked

  • deactivateAccountRoute: string

    The route to navigate to when the deactivate account button is clicked

  • screenMode: "desktop" | "mobile"

    Screen size to show for this block

Generated using TypeDoc