mirror of
https://github.com/LemmyNet/lemmy-js-client.git
synced 2024-11-29 15:51:12 +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";
|
import type { PostId } from "./PostId";
|
||||||
|
|
||||||
export interface HidePost {
|
export interface HidePost {
|
||||||
post_ids: Array<PostId>;
|
post_id: PostId;
|
||||||
hide: boolean;
|
hide: boolean;
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,6 +2,6 @@
|
||||||
import type { PostId } from "./PostId";
|
import type { PostId } from "./PostId";
|
||||||
|
|
||||||
export interface MarkPostAsRead {
|
export interface MarkPostAsRead {
|
||||||
post_ids: Array<PostId>;
|
post_id: PostId;
|
||||||
read: boolean;
|
read: boolean;
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,4 +16,8 @@ export interface Search {
|
||||||
page?: number;
|
page?: number;
|
||||||
limit?: number;
|
limit?: number;
|
||||||
post_title_only?: boolean;
|
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.
|
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||||
|
|
||||||
export type SearchType =
|
export type SearchType = "All" | "Comments" | "Posts" | "Communities" | "Users";
|
||||||
| "All"
|
|
||||||
| "Comments"
|
|
||||||
| "Posts"
|
|
||||||
| "Communities"
|
|
||||||
| "Users"
|
|
||||||
| "Url";
|
|
||||||
|
|
Loading…
Reference in a new issue