interface ListSettingsPageBlockOptions {
    services: {
        userApi: Pick<UserApi<unknown>, "getUser" | "updateUser">;
    };
    settings: {
        changeEmailRoute: string;
        changeNameRoute: string;
        changePasswordRoute: string;
        changePhoneNumberRoute: 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;
    changeNameRoute: string;
    changePasswordRoute: string;
    changePhoneNumberRoute: string;
    screenMode: "desktop" | "mobile";
}

Type declaration

  • changeEmailRoute: string

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

  • changeNameRoute: string

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

  • changePasswordRoute: string

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

  • changePhoneNumberRoute: string

    The route to navigate to when the change phone number button is clicked

  • screenMode: "desktop" | "mobile"

    Screen size to show for this block

Generated using TypeDoc