Type Alias SaveUserSettings

SaveUserSettings: {
    auto_mark_fetched_posts_as_read?: boolean;
    bio?: 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?: boolean;
    show_nsfw?: boolean;
    show_read_posts?: boolean;
    show_scores?: boolean;
    show_upvote_percentage?: boolean;
    show_upvotes?: boolean;
    theme?: string;
}

Saves settings for your user.

Type declaration

  • Optionalauto_mark_fetched_posts_as_read?: boolean

    Whether to automatically mark fetched posts as read.

  • Optionalbio?: string

    Your bio / info, in markdown.

  • Optionalblur_nsfw?: boolean

    Blur nsfw posts.

  • Optionalbot_account?: boolean

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

  • Optionalcollapse_bot_comments?: boolean

    Whether to auto-collapse bot comments.

  • Optionaldefault_comment_sort_type?: CommentSortType

    The default comment sort, usually "hot"

  • Optionaldefault_listing_type?: ListingType

    The default post listing type, usually "local"

  • Optionaldefault_post_sort_type?: PostSortType

    The default post sort, usually "active"

  • Optionaldefault_post_time_range_seconds?: number

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

  • Optionaldiscussion_languages?: LanguageId[]

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

  • Optionaldisplay_name?: string

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

  • Optionalemail?: SensitiveString

    Your email.

  • Optionalenable_animated_images?: boolean

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

  • Optionalenable_keyboard_navigation?: boolean

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

  • Optionalenable_private_messages?: boolean

    Whether a user can send / receive private messages

  • Optionalhide_media?: boolean

    Whether to hide posts containing images/videos.

  • Optionalinfinite_scroll_enabled?: boolean

    Enable infinite scroll

  • Optionalinterface_language?: string

    The language of the lemmy interface

  • Optionalmatrix_user_id?: string

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

  • Optionalopen_links_in_new_tab?: boolean

    Open links in a new tab

  • Optionalpost_listing_mode?: PostListingMode

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

  • Optionalsend_notifications_to_email?: boolean

    Sends notifications to your email.

  • Optionalshow_avatars?: boolean

    Whether to show or hide avatars.

  • Optionalshow_bot_accounts?: boolean

    Whether to show bot accounts.

  • Optionalshow_downvotes?: boolean
  • Optionalshow_nsfw?: boolean

    Show nsfw posts.

  • Optionalshow_read_posts?: boolean

    Whether to show read posts.

  • Optionalshow_scores?: boolean

    Some vote display mode settings

  • Optionalshow_upvote_percentage?: boolean
  • Optionalshow_upvotes?: boolean
  • Optionaltheme?: string

    Your user's theme.