lemmy-js-client 0.20.0-move-community-hidden.2 → 0.20.0-move-community-hidden.3

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.
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-move-community-hidden.2",
4
+ "version": "0.20.0-move-community-hidden.3",
5
5
  "author": "Dessalines",
6
6
  "license": "AGPL-3.0",
7
7
  "main": "./dist/index.js",
@@ -1,12 +0,0 @@
1
- import type { CommunityId } from "./CommunityId";
2
- import type { CommunityVisibility } from "./CommunityVisibility";
3
- import type { ModChangeCommunityVisibilityId } from "./ModChangeCommunityVisibilityId";
4
- import type { PersonId } from "./PersonId";
5
- export type ModChangeCommunityVisibility = {
6
- id: ModChangeCommunityVisibilityId;
7
- community_id: CommunityId;
8
- mod_person_id: PersonId;
9
- published: string;
10
- reason?: string;
11
- new_visibility: CommunityVisibility;
12
- };
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1 +0,0 @@
1
- export type ModChangeCommunityVisibilityId = number;
@@ -1,3 +0,0 @@
1
- "use strict";
2
- // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
3
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,11 +0,0 @@
1
- import type { Community } from "./Community";
2
- import type { ModChangeCommunityVisibility } from "./ModChangeCommunityVisibility";
3
- import type { Person } from "./Person";
4
- /**
5
- * When the visibility of a community is changed
6
- */
7
- export type ModChangeCommunityVisibilityView = {
8
- mod_change_community_visibility: ModChangeCommunityVisibility;
9
- moderator?: Person;
10
- community: Community;
11
- };
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,7 +0,0 @@
1
- import type { CommentView } from "./CommentView";
2
- import type { PostView } from "./PostView";
3
- export type PersonSavedCombinedView = ({
4
- type_: "Post";
5
- } & PostView) | ({
6
- type_: "Comment";
7
- } & CommentView);
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,7 +0,0 @@
1
- /**
2
- * currently this is just a wrapper around post id, but should be seen as opaque from the client's
3
- * perspective. stringified since we might want to use arbitrary info later, with a P prepended to
4
- * prevent ossification (api users love to make assumptions (e.g. parse stuff that looks like
5
- * numbers as numbers) about apis that aren't part of the spec
6
- */
7
- export type PostPaginationCursor = string;
@@ -1,3 +0,0 @@
1
- "use strict";
2
- // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
3
- Object.defineProperty(exports, "__esModule", { value: true });