lemmy-js-client 0.19.2-alpha.4 → 0.19.3-alpha.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -18,6 +18,5 @@ export interface Community {
18
18
  hidden: boolean;
19
19
  posting_restricted_to_mods: boolean;
20
20
  instance_id: InstanceId;
21
- only_followers_can_vote: boolean;
22
21
  visibility: CommunityVisibility;
23
22
  }
@@ -9,6 +9,5 @@ export interface CreateCommunity {
9
9
  nsfw?: boolean;
10
10
  posting_restricted_to_mods?: boolean;
11
11
  discussion_languages?: Array<LanguageId>;
12
- only_followers_can_vote?: boolean;
13
12
  visibility?: CommunityVisibility;
14
13
  }
@@ -41,6 +41,4 @@ export interface CreateSite {
41
41
  blocked_instances?: Array<string>;
42
42
  taglines?: Array<string>;
43
43
  registration_mode?: RegistrationMode;
44
- content_warning?: string;
45
- auto_expand_images?: boolean;
46
44
  }
@@ -10,6 +10,5 @@ export interface EditCommunity {
10
10
  nsfw?: boolean;
11
11
  posting_restricted_to_mods?: boolean;
12
12
  discussion_languages?: Array<LanguageId>;
13
- only_followers_can_vote?: boolean;
14
13
  visibility?: CommunityVisibility;
15
14
  }
@@ -42,6 +42,4 @@ export interface EditSite {
42
42
  taglines?: Array<string>;
43
43
  registration_mode?: RegistrationMode;
44
44
  reports_email_admins?: boolean;
45
- content_warning?: string;
46
- auto_expand_images?: boolean;
47
45
  }
@@ -5,7 +5,7 @@ import type { PostView } from "./PostView";
5
5
  import type { Site } from "./Site";
6
6
  export interface GetPersonDetailsResponse {
7
7
  person_view: PersonView;
8
- site: Site | null;
8
+ site?: Site;
9
9
  comments: Array<CommentView>;
10
10
  posts: Array<PostView>;
11
11
  moderates: Array<CommunityModeratorView>;
@@ -27,6 +27,4 @@ export interface LocalSite {
27
27
  registration_mode: RegistrationMode;
28
28
  reports_email_admins: boolean;
29
29
  federation_signed_fetch: boolean;
30
- content_warning?: string;
31
- auto_expand_images: boolean;
32
30
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lemmy-js-client",
3
- "version": "0.19.2-alpha.4",
3
+ "version": "0.19.3-alpha.2",
4
4
  "description": "A javascript / typescript client for Lemmy",
5
5
  "repository": "https://github.com/LemmyNet/lemmy-js-client",
6
6
  "license": "AGPL-3.0",