mirror of
https://github.com/LemmyNet/lemmy-js-client.git
synced 2024-11-01 01:59:55 +00:00
Removing some success responses.
This commit is contained in:
parent
df67ca2220
commit
192ede4c5a
4 changed files with 7 additions and 9 deletions
|
@ -2,6 +2,6 @@
|
|||
import type { PostId } from "./PostId";
|
||||
|
||||
export interface HidePost {
|
||||
post_ids: Array<PostId>;
|
||||
post_id: PostId;
|
||||
hide: boolean;
|
||||
}
|
||||
|
|
|
@ -2,6 +2,6 @@
|
|||
import type { PostId } from "./PostId";
|
||||
|
||||
export interface MarkPostAsRead {
|
||||
post_ids: Array<PostId>;
|
||||
post_id: PostId;
|
||||
read: boolean;
|
||||
}
|
||||
|
|
|
@ -16,4 +16,8 @@ export interface Search {
|
|||
page?: number;
|
||||
limit?: number;
|
||||
post_title_only?: boolean;
|
||||
post_url_only?: boolean;
|
||||
saved_only?: boolean;
|
||||
liked_only?: boolean;
|
||||
disliked_only?: boolean;
|
||||
}
|
||||
|
|
|
@ -1,9 +1,3 @@
|
|||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
|
||||
export type SearchType =
|
||||
| "All"
|
||||
| "Comments"
|
||||
| "Posts"
|
||||
| "Communities"
|
||||
| "Users"
|
||||
| "Url";
|
||||
export type SearchType = "All" | "Comments" | "Posts" | "Communities" | "Users";
|
||||
|
|
Loading…
Reference in a new issue