mirror of
https://github.com/LemmyNet/lemmy-js-client.git
synced 2024-11-01 01:59:55 +00:00
Post scheduling
This commit is contained in:
parent
0c7455c60d
commit
2b2b34700b
3 changed files with 4 additions and 1 deletions
|
@ -12,4 +12,5 @@ export interface CreatePost {
|
||||||
nsfw?: boolean;
|
nsfw?: boolean;
|
||||||
language_id?: LanguageId;
|
language_id?: LanguageId;
|
||||||
custom_thumbnail?: string;
|
custom_thumbnail?: string;
|
||||||
|
scheduled_time?: string;
|
||||||
}
|
}
|
||||||
|
|
|
@ -167,4 +167,5 @@ export type LemmyErrorType =
|
||||||
| { error: "url_without_domain" }
|
| { error: "url_without_domain" }
|
||||||
| { error: "inbox_timeout" }
|
| { error: "inbox_timeout" }
|
||||||
| { error: "unknown"; message: string }
|
| { error: "unknown"; message: string }
|
||||||
| { error: "cant_delete_site" };
|
| { error: "cant_delete_site" }
|
||||||
|
| { error: "post_schedule_time_must_be_in_future" };
|
||||||
|
|
|
@ -28,4 +28,5 @@ export interface Post {
|
||||||
featured_local: boolean;
|
featured_local: boolean;
|
||||||
url_content_type?: string;
|
url_content_type?: string;
|
||||||
alt_text?: string;
|
alt_text?: string;
|
||||||
|
scheduled_time?: string;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue