lemmy-js-client 1.0.0-multi-community.13 → 1.0.0-multi-community.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -36,5 +36,5 @@ export type CommunityActions = {
36
36
  * True indicates that user is following this community as part of multi-comm (not part of
37
37
  * subscribed feed)
38
38
  */
39
- is_multi_community_follow: boolean | null;
39
+ is_multi_community_follow?: boolean;
40
40
  };
@@ -25,7 +25,6 @@ export type CreateSite = {
25
25
  default_comment_sort_type?: CommentSortType;
26
26
  legal_information?: string;
27
27
  application_email_admins?: boolean;
28
- hide_modlog_mod_names?: boolean;
29
28
  discussion_languages?: Array<LanguageId>;
30
29
  slur_filter_regex?: string;
31
30
  actor_name_max_length?: number;
@@ -360,4 +360,6 @@ export type LemmyErrorType = {
360
360
  error: "multi_community_update_wrong_user";
361
361
  } | {
362
362
  error: "cannot_combine_community_id_and_multi_community_id";
363
+ } | {
364
+ error: "multi_community_entry_limit_reached";
363
365
  };
@@ -1,9 +1,11 @@
1
1
  import type { DbUrl } from "./DbUrl";
2
+ import type { InstanceId } from "./InstanceId";
2
3
  import type { MultiCommunityId } from "./MultiCommunityId";
3
4
  import type { PersonId } from "./PersonId";
4
5
  export type MultiCommunity = {
5
6
  id: MultiCommunityId;
6
7
  creator_id: PersonId;
8
+ instance_id: InstanceId;
7
9
  name: string;
8
10
  title?: string;
9
11
  description?: string;
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": "1.0.0-multi-community.13",
4
+ "version": "1.0.0-multi-community.14",
5
5
  "author": "Dessalines",
6
6
  "license": "AGPL-3.0",
7
7
  "main": "./dist/index.js",