lemmy-js-client 1.0.0-api-updates-4.1 → 1.0.0-api-updates-6.0
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/dist/http.d.ts +43 -46
- package/dist/http.js +25 -25
- package/dist/index.d.ts +8 -79
- package/dist/index.js +3 -0
- package/dist/types/AdminListUsers.d.ts +0 -1
- package/dist/types/GetComments.d.ts +0 -1
- package/dist/types/GetFederatedInstances.d.ts +0 -1
- package/dist/types/GetModlog.d.ts +2 -3
- package/dist/types/GetPersonDetailsResponse.d.ts +2 -0
- package/dist/types/GetPosts.d.ts +1 -1
- package/dist/types/GetSiteResponse.d.ts +6 -0
- package/dist/types/ListCommentLikes.d.ts +0 -1
- package/dist/types/ListCommunities.d.ts +0 -1
- package/dist/types/ListCommunityPendingFollows.d.ts +0 -1
- package/dist/types/ListMedia.d.ts +0 -1
- package/dist/types/ListMultiCommunities.d.ts +12 -1
- package/dist/types/ListNotifications.d.ts +0 -1
- package/dist/types/ListPersonContent.d.ts +0 -1
- package/dist/types/ListPersonHidden.d.ts +0 -1
- package/dist/types/ListPersonLiked.d.ts +0 -1
- package/dist/types/ListPersonRead.d.ts +0 -1
- package/dist/types/ListPersonSaved.d.ts +0 -1
- package/dist/types/ListPostLikes.d.ts +0 -1
- package/dist/types/ListRegistrationApplications.d.ts +0 -1
- package/dist/types/ListReports.d.ts +0 -1
- package/dist/types/ListTaglines.d.ts +0 -1
- package/dist/types/Modlog.d.ts +10 -0
- package/dist/types/ModlogId.d.ts +1 -0
- package/dist/types/ModlogKind.d.ts +4 -0
- package/dist/types/ModlogView.d.ts +15 -0
- package/dist/types/MultiCommunity.d.ts +3 -0
- package/dist/types/MultiCommunityListingType.d.ts +4 -0
- package/dist/types/MultiCommunitySortType.d.ts +1 -0
- package/dist/types/MyUserInfo.d.ts +2 -0
- package/dist/types/Notification.d.ts +2 -20
- package/dist/types/NotificationData.d.ts +3 -30
- package/dist/types/NotificationDataType.d.ts +1 -1
- package/dist/types/PagedResponse.d.ts +11 -0
- package/dist/types/PaginationCursor.d.ts +5 -1
- package/dist/types/PluginMetadata.d.ts +2 -2
- package/dist/types/RegistrationApplication.d.ts +1 -0
- package/dist/types/Search.d.ts +4 -1
- package/dist/types/SearchResponse.d.ts +11 -1
- package/package.json +4 -4
- package/dist/types/AdminAdd.d.ts +0 -12
- package/dist/types/AdminAddId.d.ts +0 -1
- package/dist/types/AdminAddView.d.ts +0 -10
- package/dist/types/AdminAllowInstance.d.ts +0 -11
- package/dist/types/AdminAllowInstanceId.d.ts +0 -1
- package/dist/types/AdminAllowInstanceView.d.ts +0 -11
- package/dist/types/AdminAllowInstanceView.js +0 -2
- package/dist/types/AdminBan.d.ts +0 -16
- package/dist/types/AdminBan.js +0 -2
- package/dist/types/AdminBanId.d.ts +0 -1
- package/dist/types/AdminBanView.d.ts +0 -10
- package/dist/types/AdminBanView.js +0 -2
- package/dist/types/AdminBlockInstance.d.ts +0 -12
- package/dist/types/AdminBlockInstance.js +0 -2
- package/dist/types/AdminBlockInstanceId.d.ts +0 -1
- package/dist/types/AdminBlockInstanceView.d.ts +0 -11
- package/dist/types/AdminBlockInstanceView.js +0 -2
- package/dist/types/AdminListUsersResponse.d.ts +0 -10
- package/dist/types/AdminListUsersResponse.js +0 -2
- package/dist/types/AdminPurgeComment.d.ts +0 -13
- package/dist/types/AdminPurgeComment.js +0 -2
- package/dist/types/AdminPurgeCommentId.d.ts +0 -1
- package/dist/types/AdminPurgeCommentId.js +0 -3
- package/dist/types/AdminPurgeCommentView.d.ts +0 -11
- package/dist/types/AdminPurgeCommentView.js +0 -2
- package/dist/types/AdminPurgeCommunity.d.ts +0 -11
- package/dist/types/AdminPurgeCommunity.js +0 -2
- package/dist/types/AdminPurgeCommunityId.d.ts +0 -1
- package/dist/types/AdminPurgeCommunityId.js +0 -3
- package/dist/types/AdminPurgeCommunityView.d.ts +0 -9
- package/dist/types/AdminPurgeCommunityView.js +0 -2
- package/dist/types/AdminPurgePerson.d.ts +0 -11
- package/dist/types/AdminPurgePerson.js +0 -2
- package/dist/types/AdminPurgePersonId.d.ts +0 -1
- package/dist/types/AdminPurgePersonId.js +0 -3
- package/dist/types/AdminPurgePersonView.d.ts +0 -9
- package/dist/types/AdminPurgePersonView.js +0 -2
- package/dist/types/AdminPurgePost.d.ts +0 -13
- package/dist/types/AdminPurgePost.js +0 -2
- package/dist/types/AdminPurgePostId.d.ts +0 -1
- package/dist/types/AdminPurgePostId.js +0 -3
- package/dist/types/AdminPurgePostView.d.ts +0 -11
- package/dist/types/AdminPurgePostView.js +0 -2
- package/dist/types/AdminRemoveCommunity.d.ts +0 -14
- package/dist/types/AdminRemoveCommunity.js +0 -2
- package/dist/types/AdminRemoveCommunityId.d.ts +0 -1
- package/dist/types/AdminRemoveCommunityId.js +0 -3
- package/dist/types/AdminRemoveCommunityView.d.ts +0 -11
- package/dist/types/AdminRemoveCommunityView.js +0 -2
- package/dist/types/BanFromCommunityResponse.d.ts +0 -8
- package/dist/types/BanFromCommunityResponse.js +0 -2
- package/dist/types/GetCommentsResponse.d.ts +0 -10
- package/dist/types/GetCommentsResponse.js +0 -2
- package/dist/types/GetCommentsSlimResponse.d.ts +0 -10
- package/dist/types/GetCommentsSlimResponse.js +0 -2
- package/dist/types/GetFederatedInstancesResponse.d.ts +0 -10
- package/dist/types/GetFederatedInstancesResponse.js +0 -2
- package/dist/types/GetModlogResponse.d.ts +0 -13
- package/dist/types/GetModlogResponse.js +0 -2
- package/dist/types/GetPostsResponse.d.ts +0 -13
- package/dist/types/GetPostsResponse.js +0 -2
- package/dist/types/ListCommentLikesResponse.d.ts +0 -13
- package/dist/types/ListCommentLikesResponse.js +0 -2
- package/dist/types/ListCommunitiesResponse.d.ts +0 -13
- package/dist/types/ListCommunitiesResponse.js +0 -2
- package/dist/types/ListCommunityPendingFollowsResponse.d.ts +0 -10
- package/dist/types/ListCommunityPendingFollowsResponse.js +0 -2
- package/dist/types/ListMediaResponse.d.ts +0 -10
- package/dist/types/ListMediaResponse.js +0 -2
- package/dist/types/ListMultiCommunitiesResponse.d.ts +0 -4
- package/dist/types/ListMultiCommunitiesResponse.js +0 -2
- package/dist/types/ListNotificationsResponse.d.ts +0 -13
- package/dist/types/ListNotificationsResponse.js +0 -2
- package/dist/types/ListPersonContentResponse.d.ts +0 -13
- package/dist/types/ListPersonContentResponse.js +0 -2
- package/dist/types/ListPersonHiddenResponse.d.ts +0 -13
- package/dist/types/ListPersonHiddenResponse.js +0 -2
- package/dist/types/ListPersonLikedResponse.d.ts +0 -13
- package/dist/types/ListPersonLikedResponse.js +0 -2
- package/dist/types/ListPersonReadResponse.d.ts +0 -13
- package/dist/types/ListPersonReadResponse.js +0 -2
- package/dist/types/ListPersonSavedResponse.d.ts +0 -13
- package/dist/types/ListPersonSavedResponse.js +0 -2
- package/dist/types/ListPostLikesResponse.d.ts +0 -13
- package/dist/types/ListPostLikesResponse.js +0 -2
- package/dist/types/ListRegistrationApplicationsResponse.d.ts +0 -13
- package/dist/types/ListRegistrationApplicationsResponse.js +0 -2
- package/dist/types/ListReportsResponse.d.ts +0 -13
- package/dist/types/ListReportsResponse.js +0 -2
- package/dist/types/ListTaglinesResponse.d.ts +0 -13
- package/dist/types/ListTaglinesResponse.js +0 -2
- package/dist/types/ModAddToCommunity.d.ts +0 -14
- package/dist/types/ModAddToCommunity.js +0 -2
- package/dist/types/ModAddToCommunityId.d.ts +0 -1
- package/dist/types/ModAddToCommunityId.js +0 -3
- package/dist/types/ModAddToCommunityView.d.ts +0 -12
- package/dist/types/ModAddToCommunityView.js +0 -2
- package/dist/types/ModBanFromCommunity.d.ts +0 -16
- package/dist/types/ModBanFromCommunity.js +0 -2
- package/dist/types/ModBanFromCommunityId.d.ts +0 -1
- package/dist/types/ModBanFromCommunityId.js +0 -3
- package/dist/types/ModBanFromCommunityView.d.ts +0 -12
- package/dist/types/ModBanFromCommunityView.js +0 -2
- package/dist/types/ModChangeCommunityVisibility.d.ts +0 -11
- 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/ModFeaturePost.d.ts +0 -14
- package/dist/types/ModFeaturePost.js +0 -2
- package/dist/types/ModFeaturePostId.d.ts +0 -1
- package/dist/types/ModFeaturePostId.js +0 -3
- package/dist/types/ModFeaturePostView.d.ts +0 -14
- package/dist/types/ModFeaturePostView.js +0 -2
- package/dist/types/ModLockComment.d.ts +0 -14
- package/dist/types/ModLockComment.js +0 -2
- package/dist/types/ModLockCommentId.d.ts +0 -1
- package/dist/types/ModLockCommentId.js +0 -3
- package/dist/types/ModLockCommentView.d.ts +0 -16
- package/dist/types/ModLockCommentView.js +0 -2
- package/dist/types/ModLockPost.d.ts +0 -14
- package/dist/types/ModLockPost.js +0 -2
- package/dist/types/ModLockPostId.d.ts +0 -1
- package/dist/types/ModLockPostId.js +0 -3
- package/dist/types/ModLockPostView.d.ts +0 -14
- package/dist/types/ModLockPostView.js +0 -2
- package/dist/types/ModRemoveComment.d.ts +0 -14
- package/dist/types/ModRemoveComment.js +0 -2
- package/dist/types/ModRemoveCommentId.d.ts +0 -1
- package/dist/types/ModRemoveCommentId.js +0 -3
- package/dist/types/ModRemoveCommentView.d.ts +0 -16
- package/dist/types/ModRemoveCommentView.js +0 -2
- package/dist/types/ModRemovePost.d.ts +0 -14
- package/dist/types/ModRemovePost.js +0 -2
- package/dist/types/ModRemovePostId.d.ts +0 -1
- package/dist/types/ModRemovePostId.js +0 -3
- package/dist/types/ModRemovePostView.d.ts +0 -14
- package/dist/types/ModRemovePostView.js +0 -2
- package/dist/types/ModTransferCommunity.d.ts +0 -13
- package/dist/types/ModTransferCommunity.js +0 -2
- package/dist/types/ModTransferCommunityId.d.ts +0 -1
- package/dist/types/ModTransferCommunityId.js +0 -3
- package/dist/types/ModTransferCommunityView.d.ts +0 -12
- package/dist/types/ModTransferCommunityView.js +0 -2
- package/dist/types/ModlogActionType.d.ts +0 -4
- package/dist/types/ModlogActionType.js +0 -3
- package/dist/types/ModlogCombinedView.d.ts +0 -55
- package/dist/types/ModlogCombinedView.js +0 -2
- /package/dist/types/{AdminAdd.js → Modlog.js} +0 -0
- /package/dist/types/{AdminAddId.js → ModlogId.js} +0 -0
- /package/dist/types/{AdminAllowInstanceId.js → ModlogKind.js} +0 -0
- /package/dist/types/{AdminAddView.js → ModlogView.js} +0 -0
- /package/dist/types/{AdminBanId.js → MultiCommunityListingType.js} +0 -0
- /package/dist/types/{AdminBlockInstanceId.js → MultiCommunitySortType.js} +0 -0
- /package/dist/types/{AdminAllowInstance.js → PagedResponse.js} +0 -0
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import type { AdminAddView } from "./AdminAddView";
|
|
2
|
-
import type { AdminAllowInstanceView } from "./AdminAllowInstanceView";
|
|
3
|
-
import type { AdminBanView } from "./AdminBanView";
|
|
4
|
-
import type { AdminBlockInstanceView } from "./AdminBlockInstanceView";
|
|
5
|
-
import type { AdminPurgeCommentView } from "./AdminPurgeCommentView";
|
|
6
|
-
import type { AdminPurgeCommunityView } from "./AdminPurgeCommunityView";
|
|
7
|
-
import type { AdminPurgePersonView } from "./AdminPurgePersonView";
|
|
8
|
-
import type { AdminPurgePostView } from "./AdminPurgePostView";
|
|
9
|
-
import type { AdminRemoveCommunityView } from "./AdminRemoveCommunityView";
|
|
10
|
-
import type { ModAddToCommunityView } from "./ModAddToCommunityView";
|
|
11
|
-
import type { ModBanFromCommunityView } from "./ModBanFromCommunityView";
|
|
12
|
-
import type { ModChangeCommunityVisibilityView } from "./ModChangeCommunityVisibilityView";
|
|
13
|
-
import type { ModFeaturePostView } from "./ModFeaturePostView";
|
|
14
|
-
import type { ModLockCommentView } from "./ModLockCommentView";
|
|
15
|
-
import type { ModLockPostView } from "./ModLockPostView";
|
|
16
|
-
import type { ModRemoveCommentView } from "./ModRemoveCommentView";
|
|
17
|
-
import type { ModRemovePostView } from "./ModRemovePostView";
|
|
18
|
-
import type { ModTransferCommunityView } from "./ModTransferCommunityView";
|
|
19
|
-
export type ModlogCombinedView = ({
|
|
20
|
-
type_: "admin_allow_instance";
|
|
21
|
-
} & AdminAllowInstanceView) | ({
|
|
22
|
-
type_: "admin_block_instance";
|
|
23
|
-
} & AdminBlockInstanceView) | ({
|
|
24
|
-
type_: "admin_purge_comment";
|
|
25
|
-
} & AdminPurgeCommentView) | ({
|
|
26
|
-
type_: "admin_purge_community";
|
|
27
|
-
} & AdminPurgeCommunityView) | ({
|
|
28
|
-
type_: "admin_purge_person";
|
|
29
|
-
} & AdminPurgePersonView) | ({
|
|
30
|
-
type_: "admin_purge_post";
|
|
31
|
-
} & AdminPurgePostView) | ({
|
|
32
|
-
type_: "admin_add";
|
|
33
|
-
} & AdminAddView) | ({
|
|
34
|
-
type_: "mod_add_to_community";
|
|
35
|
-
} & ModAddToCommunityView) | ({
|
|
36
|
-
type_: "admin_ban";
|
|
37
|
-
} & AdminBanView) | ({
|
|
38
|
-
type_: "mod_ban_from_community";
|
|
39
|
-
} & ModBanFromCommunityView) | ({
|
|
40
|
-
type_: "mod_feature_post";
|
|
41
|
-
} & ModFeaturePostView) | ({
|
|
42
|
-
type_: "mod_change_community_visibility";
|
|
43
|
-
} & ModChangeCommunityVisibilityView) | ({
|
|
44
|
-
type_: "mod_lock_post";
|
|
45
|
-
} & ModLockPostView) | ({
|
|
46
|
-
type_: "mod_remove_comment";
|
|
47
|
-
} & ModRemoveCommentView) | ({
|
|
48
|
-
type_: "admin_remove_community";
|
|
49
|
-
} & AdminRemoveCommunityView) | ({
|
|
50
|
-
type_: "mod_remove_post";
|
|
51
|
-
} & ModRemovePostView) | ({
|
|
52
|
-
type_: "mod_transfer_community";
|
|
53
|
-
} & ModTransferCommunityView) | ({
|
|
54
|
-
type_: "mod_lock_comment";
|
|
55
|
-
} & ModLockCommentView);
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|