lemmy-js-client/src/types/SearchResponse.ts
Dessalines c1545659b2
Upgrading to use ts-rs 10.0.0 (#394)
* Upgrading to use ts-ns 10.0.0

* Adding no_comments_only
2024-11-07 12:07:49 -05:00

17 lines
614 B
TypeScript

// 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>;
};