lemmy-js-client 0.19.4-alpha.17 → 0.19.4-alpha.18

Sign up to get free protection for your applications and to get access to all the features.
@@ -66,6 +66,26 @@ export type LemmyErrorType = {
66
66
  error: "couldnt_find_community";
67
67
  } | {
68
68
  error: "couldnt_find_person";
69
+ } | {
70
+ error: "couldnt_find_comment";
71
+ } | {
72
+ error: "couldnt_find_comment_report";
73
+ } | {
74
+ error: "couldnt_find_post_report";
75
+ } | {
76
+ error: "couldnt_find_private_message_report";
77
+ } | {
78
+ error: "couldnt_find_local_user";
79
+ } | {
80
+ error: "couldnt_find_person_mention";
81
+ } | {
82
+ error: "couldnt_find_registration_application";
83
+ } | {
84
+ error: "couldnt_find_comment_reply";
85
+ } | {
86
+ error: "couldnt_find_private_message";
87
+ } | {
88
+ error: "couldnt_find_activity";
69
89
  } | {
70
90
  error: "person_is_blocked";
71
91
  } | {
@@ -163,6 +183,8 @@ export type LemmyErrorType = {
163
183
  error: "no_community_found_in_cc";
164
184
  } | {
165
185
  error: "no_email_setup";
186
+ } | {
187
+ error: "local_site_not_setup";
166
188
  } | {
167
189
  error: "email_smtp_server_needs_a_port";
168
190
  } | {
@@ -1,8 +1,6 @@
1
1
  import type { LocalImage } from "./LocalImage";
2
- import type { LocalUser } from "./LocalUser";
3
2
  import type { Person } from "./Person";
4
3
  export interface LocalImageView {
5
4
  local_image: LocalImage;
6
- local_user: LocalUser;
7
5
  person: Person;
8
6
  }
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.19.4-alpha.17",
4
+ "version": "0.19.4-alpha.18",
5
5
  "author": "Dessalines <tyhou13@gmx.com>",
6
6
  "license": "AGPL-3.0",
7
7
  "main": "./dist/index.js",