lemmy-js-client
    Preparing search index...

    Type Alias SaveUserSettings

    Saves settings for your user.

    type SaveUserSettings = {
        auto_mark_fetched_posts_as_read?: boolean;
        bio?: string;
        blocking_keywords?: string[];
        blur_nsfw?: boolean;
        bot_account?: boolean;
        collapse_bot_comments?: boolean;
        default_comment_sort_type?: CommentSortType;
        default_listing_type?: ListingType;
        default_post_sort_type?: PostSortType;
        default_post_time_range_seconds?: number;
        discussion_languages?: LanguageId[];
        display_name?: string;
        email?: SensitiveString;
        enable_animated_images?: boolean;
        enable_keyboard_navigation?: boolean;
        enable_private_messages?: boolean;
        hide_media?: boolean;
        infinite_scroll_enabled?: boolean;
        interface_language?: string;
        matrix_user_id?: string;
        open_links_in_new_tab?: boolean;
        post_listing_mode?: PostListingMode;
        send_notifications_to_email?: boolean;
        show_avatars?: boolean;
        show_bot_accounts?: boolean;
        show_downvotes?: VoteShow;
        show_nsfw?: boolean;
        show_person_votes?: boolean;
        show_read_posts?: boolean;
        show_scores?: boolean;
        show_upvote_percentage?: boolean;
        show_upvotes?: boolean;
        theme?: string;
    }
    Index

    Properties

    auto_mark_fetched_posts_as_read?: boolean

    Whether to automatically mark fetched posts as read.

    bio?: string

    Your bio / info, in markdown.

    blocking_keywords?: string[]
    blur_nsfw?: boolean

    Blur nsfw posts.

    bot_account?: boolean

    Whether this account is a bot account. Users can hide these accounts easily if they wish.

    collapse_bot_comments?: boolean

    Whether to auto-collapse bot comments.

    default_comment_sort_type?: CommentSortType

    The default comment sort, usually "hot"

    default_listing_type?: ListingType

    The default post listing type, usually "local"

    Optionaldefault_post_sort_type

    default_post_sort_type?: PostSortType

    The default post sort, usually "active"

    Optionaldefault_post_time_range_seconds

    default_post_time_range_seconds?: number

    A default time range limit to apply to post sorts, in seconds. 0 means none.

    discussion_languages?: LanguageId[]

    A list of languages you are able to see discussion in.

    display_name?: string

    Your display name, which can contain strange characters, and does not need to be unique.

    Your email.

    enable_animated_images?: boolean

    Whether user avatars or inline images in the UI that are gifs should be allowed to play or should be paused

    enable_keyboard_navigation?: boolean

    Whether to allow keyboard navigation (for browsing and interacting with posts and comments).

    enable_private_messages?: boolean

    Whether a user can send / receive private messages

    hide_media?: boolean

    Whether to hide posts containing images/videos.

    infinite_scroll_enabled?: boolean

    Enable infinite scroll

    interface_language?: string

    The language of the lemmy interface

    matrix_user_id?: string

    Your matrix user id. Ex: @my_user:matrix.org

    open_links_in_new_tab?: boolean

    Open links in a new tab

    Optionalpost_listing_mode

    post_listing_mode?: PostListingMode

    A post-view mode that changes how multiple post listings look.

    send_notifications_to_email?: boolean

    Sends notifications to your email.

    show_avatars?: boolean

    Whether to show or hide avatars.

    show_bot_accounts?: boolean

    Whether to show bot accounts.

    show_downvotes?: VoteShow
    show_nsfw?: boolean

    Show nsfw posts.

    show_person_votes?: boolean

    Whether to show vote totals given to others.

    show_read_posts?: boolean

    Whether to show read posts.

    show_scores?: boolean

    Some vote display mode settings

    show_upvote_percentage?: boolean
    show_upvotes?: boolean
    theme?: string

    Your user's theme.