Post scheduling

This commit is contained in:
Felix Ableitner 2024-09-16 15:05:46 +02:00
parent 0c7455c60d
commit 2b2b34700b
3 changed files with 4 additions and 1 deletions

View file

@ -12,4 +12,5 @@ export interface CreatePost {
nsfw?: boolean;
language_id?: LanguageId;
custom_thumbnail?: string;
scheduled_time?: string;
}

View file

@ -167,4 +167,5 @@ export type LemmyErrorType =
| { error: "url_without_domain" }
| { error: "inbox_timeout" }
| { error: "unknown"; message: string }
| { error: "cant_delete_site" };
| { error: "cant_delete_site" }
| { error: "post_schedule_time_must_be_in_future" };

View file

@ -28,4 +28,5 @@ export interface Post {
featured_local: boolean;
url_content_type?: string;
alt_text?: string;
scheduled_time?: string;
}