lemmy-js-client 0.20.0-alpha.11 → 0.20.0-alpha.13

Sign up to get free protection for your applications and to get access to all the features.
@@ -10,4 +10,5 @@ export interface CreatePost {
10
10
  nsfw?: boolean;
11
11
  language_id?: LanguageId;
12
12
  custom_thumbnail?: string;
13
+ scheduled_publish_time?: number;
13
14
  }
@@ -9,4 +9,5 @@ export interface EditPost {
9
9
  nsfw?: boolean;
10
10
  language_id?: LanguageId;
11
11
  custom_thumbnail?: string;
12
+ scheduled_publish_time?: number;
12
13
  }
@@ -321,6 +321,10 @@ export type LemmyErrorType = {
321
321
  message: string;
322
322
  } | {
323
323
  error: "cant_delete_site";
324
+ } | {
325
+ error: "post_schedule_time_must_be_in_future";
326
+ } | {
327
+ error: "too_many_scheduled_posts";
324
328
  } | {
325
329
  error: "url_length_overflow";
326
330
  } | {
@@ -26,4 +26,5 @@ export interface Post {
26
26
  featured_local: boolean;
27
27
  url_content_type?: string;
28
28
  alt_text?: string;
29
+ scheduled_publish_time?: number;
29
30
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "lemmy-js-client",
3
3
  "description": "A javascript / typescript client for Lemmy",
4
- "version": "0.20.0-alpha.11",
4
+ "version": "0.20.0-alpha.13",
5
5
  "author": "Dessalines <tyhou13@gmx.com>",
6
6
  "license": "AGPL-3.0",
7
7
  "main": "./dist/index.js",