lemmy-js-client/src/types/SearchResponse.ts

18 lines
614 B
TypeScript
Raw Normal View History

// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { CommentView } from "./CommentView";
import type { CommunityView } from "./CommunityView";
import type { PersonView } from "./PersonView";
import type { PostView } from "./PostView";
import type { SearchType } from "./SearchType";
/**
* The search response, containing lists of the return type possibilities
*/
export type SearchResponse = {
type_: SearchType;
comments: Array<CommentView>;
posts: Array<PostView>;
communities: Array<CommunityView>;
users: Array<PersonView>;
};