2023-05-02 21:15:36 +00:00
|
|
|
// 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";
|
|
|
|
|
2024-11-07 17:07:49 +00:00
|
|
|
/**
|
|
|
|
* The search response, containing lists of the return type possibilities
|
|
|
|
*/
|
|
|
|
export type SearchResponse = {
|
2023-05-02 21:15:36 +00:00
|
|
|
type_: SearchType;
|
|
|
|
comments: Array<CommentView>;
|
|
|
|
posts: Array<PostView>;
|
|
|
|
communities: Array<CommunityView>;
|
|
|
|
users: Array<PersonView>;
|
2024-11-07 17:07:49 +00:00
|
|
|
};
|