lemmy-js-client
    Preparing search index...

    Type Alias SearchResponse

    The search response, containing lists of the return type possibilities

    type SearchResponse = {
        comments: CommentView[];
        communities: CommunityView[];
        multi_communities: MultiCommunityView[];
        persons: PersonView[];
        posts: PostView[];
        resolve?: ResolveObjectView;
    }
    Index

    Properties

    comments: CommentView[]
    communities: CommunityView[]
    multi_communities: MultiCommunityView[]
    persons: PersonView[]
    posts: PostView[]

    If Search.q contains an ActivityPub ID (eg https://lemmy.world/comment/1) or an identifier (eg !fediverse@lemmy.ml) then this field contains the resolved object. It should always be shown above other search results.