Removing some success responses.

This commit is contained in:
Dessalines 2024-09-23 15:16:44 -04:00
parent df67ca2220
commit 192ede4c5a
4 changed files with 7 additions and 9 deletions

View file

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

View file

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

View file

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

View file

@ -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";