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 +1 -1
- package/dist/types/ModChangeCommunityVisibility.d.ts +0 -12
- package/dist/types/ModChangeCommunityVisibility.js +0 -2
- package/dist/types/ModChangeCommunityVisibilityId.d.ts +0 -1
- package/dist/types/ModChangeCommunityVisibilityId.js +0 -3
- package/dist/types/ModChangeCommunityVisibilityView.d.ts +0 -11
- package/dist/types/ModChangeCommunityVisibilityView.js +0 -2
- package/dist/types/PersonSavedCombinedView.d.ts +0 -7
- package/dist/types/PersonSavedCombinedView.js +0 -2
- package/dist/types/PostPaginationCursor.d.ts +0 -7
- package/dist/types/PostPaginationCursor.js +0 -3
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.
|
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 +0,0 @@
|
|
1
|
-
export type ModChangeCommunityVisibilityId = number;
|
@@ -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,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;
|