lemmy-js-client
    Preparing search index...

    Type Alias Community

    A community.

    type Community = {
        ap_id: DbUrl;
        banner?: DbUrl;
        comments: number;
        deleted: boolean;
        description?: string;
        icon?: DbUrl;
        id: CommunityId;
        instance_id: InstanceId;
        local: boolean;
        local_removed: boolean;
        name: string;
        nsfw: boolean;
        posting_restricted_to_mods: boolean;
        posts: number;
        published_at: string;
        removed: boolean;
        report_count: number;
        sidebar?: string;
        subscribers: number;
        subscribers_local: number;
        title: string;
        unresolved_report_count: number;
        updated_at?: string;
        users_active_day: number;
        users_active_half_year: number;
        users_active_month: number;
        users_active_week: number;
        visibility: CommunityVisibility;
    }
    Index

    Properties

    ap_id: DbUrl

    The federated ap_id.

    banner?: DbUrl

    A URL for a banner.

    comments: number
    deleted: boolean

    Whether the community has been deleted by its creator.

    description?: string

    A shorter, one-line description of the site.

    icon?: DbUrl

    A URL for an icon.

    instance_id: InstanceId
    local: boolean

    Whether the community is local.

    local_removed: boolean
    name: string
    nsfw: boolean

    Whether its an NSFW community.

    posting_restricted_to_mods: boolean

    Whether posting is restricted to mods only.

    posts: number
    published_at: string
    removed: boolean

    Whether the community is removed by a mod.

    report_count: number
    sidebar?: string

    A sidebar for the community in markdown.

    subscribers: number
    subscribers_local: number
    title: string

    A longer title, that can contain other characters, and doesn't have to be unique.

    unresolved_report_count: number
    updated_at?: string
    users_active_day: number

    The number of users with any activity in the last day.

    users_active_half_year: number

    The number of users with any activity in the last year.

    users_active_month: number

    The number of users with any activity in the last month.

    users_active_week: number

    The number of users with any activity in the last week.