lemmy-js-client/src/index.ts

247 lines
14 KiB
TypeScript
Raw Normal View History

export * from "./http";
export { AddAdmin } from "./types/AddAdmin";
export { AddAdminResponse } from "./types/AddAdminResponse";
export { AddModToCommunity } from "./types/AddModToCommunity";
export { AddModToCommunityResponse } from "./types/AddModToCommunityResponse";
export { AdminPurgeComment } from "./types/AdminPurgeComment";
export { AdminPurgeCommentView } from "./types/AdminPurgeCommentView";
export { AdminPurgeCommunity } from "./types/AdminPurgeCommunity";
export { AdminPurgeCommunityView } from "./types/AdminPurgeCommunityView";
export { AdminPurgePerson } from "./types/AdminPurgePerson";
export { AdminPurgePersonView } from "./types/AdminPurgePersonView";
export { AdminPurgePost } from "./types/AdminPurgePost";
export { AdminPurgePostView } from "./types/AdminPurgePostView";
export { ApproveRegistrationApplication } from "./types/ApproveRegistrationApplication";
export { BanFromCommunity } from "./types/BanFromCommunity";
export { BanFromCommunityResponse } from "./types/BanFromCommunityResponse";
export { BanPerson } from "./types/BanPerson";
export { BanPersonResponse } from "./types/BanPersonResponse";
export { BannedPersonsResponse } from "./types/BannedPersonsResponse";
export { BlockCommunity } from "./types/BlockCommunity";
export { BlockCommunityResponse } from "./types/BlockCommunityResponse";
export { BlockInstance } from "./types/BlockInstance";
export { BlockInstanceResponse } from "./types/BlockInstanceResponse";
export { BlockPerson } from "./types/BlockPerson";
export { BlockPersonResponse } from "./types/BlockPersonResponse";
export { CaptchaResponse } from "./types/CaptchaResponse";
export { ChangePassword } from "./types/ChangePassword";
export { Comment } from "./types/Comment";
export { CommentAggregates } from "./types/CommentAggregates";
export { CommentId } from "./types/CommentId";
export { CommentReply } from "./types/CommentReply";
export { CommentReplyId } from "./types/CommentReplyId";
export { CommentReplyResponse } from "./types/CommentReplyResponse";
export { CommentReplyView } from "./types/CommentReplyView";
export { CommentReport } from "./types/CommentReport";
export { CommentReportId } from "./types/CommentReportId";
export { CommentReportResponse } from "./types/CommentReportResponse";
export { CommentReportView } from "./types/CommentReportView";
export { CommentResponse } from "./types/CommentResponse";
export { CommentSortType } from "./types/CommentSortType";
export { CommentView } from "./types/CommentView";
export { Community } from "./types/Community";
export { CommunityAggregates } from "./types/CommunityAggregates";
export { CommunityBlockId } from "./types/CommunityBlockId";
export { CommunityBlockView } from "./types/CommunityBlockView";
export { CommunityFollowerView } from "./types/CommunityFollowerView";
export { CommunityId } from "./types/CommunityId";
export { CommunityModeratorView } from "./types/CommunityModeratorView";
export { CommunityResponse } from "./types/CommunityResponse";
export { CommunityView } from "./types/CommunityView";
export { CreateComment } from "./types/CreateComment";
export { CreateCommentLike } from "./types/CreateCommentLike";
export { CreateCommentReport } from "./types/CreateCommentReport";
export { CreateCommunity } from "./types/CreateCommunity";
export { CreateCustomEmoji } from "./types/CreateCustomEmoji";
export { CreatePost } from "./types/CreatePost";
export { CreatePostLike } from "./types/CreatePostLike";
export { CreatePostReport } from "./types/CreatePostReport";
export { CreatePrivateMessage } from "./types/CreatePrivateMessage";
export { CreatePrivateMessageReport } from "./types/CreatePrivateMessageReport";
export { CreateSite } from "./types/CreateSite";
export { CustomEmoji } from "./types/CustomEmoji";
export { CustomEmojiId } from "./types/CustomEmojiId";
export { CustomEmojiKeyword } from "./types/CustomEmojiKeyword";
export { CustomEmojiResponse } from "./types/CustomEmojiResponse";
export { CustomEmojiView } from "./types/CustomEmojiView";
export { DeleteAccount } from "./types/DeleteAccount";
export { DeleteComment } from "./types/DeleteComment";
export { DeleteCommunity } from "./types/DeleteCommunity";
export { DeleteCustomEmoji } from "./types/DeleteCustomEmoji";
export { DeletePost } from "./types/DeletePost";
export { DeletePrivateMessage } from "./types/DeletePrivateMessage";
export { DistinguishComment } from "./types/DistinguishComment";
export { EditComment } from "./types/EditComment";
export { EditCommunity } from "./types/EditCommunity";
export { EditCustomEmoji } from "./types/EditCustomEmoji";
export { EditPost } from "./types/EditPost";
export { EditPrivateMessage } from "./types/EditPrivateMessage";
export { EditSite } from "./types/EditSite";
export { FeaturePost } from "./types/FeaturePost";
export { FederatedInstances } from "./types/FederatedInstances";
export { FollowCommunity } from "./types/FollowCommunity";
2023-09-22 23:13:26 +00:00
export { GenerateTotpSecretResponse } from "./types/GenerateTotpSecretResponse";
export { GetCaptchaResponse } from "./types/GetCaptchaResponse";
export { GetComment } from "./types/GetComment";
export { GetComments } from "./types/GetComments";
export { GetCommentsResponse } from "./types/GetCommentsResponse";
export { GetCommunity } from "./types/GetCommunity";
export { GetCommunityResponse } from "./types/GetCommunityResponse";
export { GetFederatedInstancesResponse } from "./types/GetFederatedInstancesResponse";
export { GetModlog } from "./types/GetModlog";
export { GetModlogResponse } from "./types/GetModlogResponse";
export { GetPersonDetails } from "./types/GetPersonDetails";
export { GetPersonDetailsResponse } from "./types/GetPersonDetailsResponse";
export { GetPersonMentions } from "./types/GetPersonMentions";
export { GetPersonMentionsResponse } from "./types/GetPersonMentionsResponse";
export { GetPost } from "./types/GetPost";
export { GetPostResponse } from "./types/GetPostResponse";
export { GetPosts } from "./types/GetPosts";
export { GetPostsResponse } from "./types/GetPostsResponse";
export { GetPrivateMessages } from "./types/GetPrivateMessages";
export { GetReplies } from "./types/GetReplies";
export { GetRepliesResponse } from "./types/GetRepliesResponse";
export { GetReportCount } from "./types/GetReportCount";
export { GetReportCountResponse } from "./types/GetReportCountResponse";
export { GetSiteMetadata } from "./types/GetSiteMetadata";
export { GetSiteMetadataResponse } from "./types/GetSiteMetadataResponse";
export { GetSiteResponse } from "./types/GetSiteResponse";
export { GetUnreadCountResponse } from "./types/GetUnreadCountResponse";
export { GetUnreadRegistrationApplicationCountResponse } from "./types/GetUnreadRegistrationApplicationCountResponse";
export { HideCommunity } from "./types/HideCommunity";
2023-09-22 23:13:26 +00:00
export { ImageUpload } from "./types/ImageUpload";
export { ImageUploadId } from "./types/ImageUploadId";
export { Instance } from "./types/Instance";
export { InstanceBlockView } from "./types/InstanceBlockView";
export { InstanceId } from "./types/InstanceId";
export { Language } from "./types/Language";
export { LanguageId } from "./types/LanguageId";
export { LemmyErrorType } from "./types/LemmyErrorType";
export { ListCommentReports } from "./types/ListCommentReports";
export { ListCommentReportsResponse } from "./types/ListCommentReportsResponse";
export { ListCommunities } from "./types/ListCommunities";
export { ListCommunitiesResponse } from "./types/ListCommunitiesResponse";
export { ListPostReports } from "./types/ListPostReports";
export { ListPostReportsResponse } from "./types/ListPostReportsResponse";
export { ListPrivateMessageReports } from "./types/ListPrivateMessageReports";
export { ListPrivateMessageReportsResponse } from "./types/ListPrivateMessageReportsResponse";
export { ListRegistrationApplications } from "./types/ListRegistrationApplications";
export { ListRegistrationApplicationsResponse } from "./types/ListRegistrationApplicationsResponse";
export { ListingType } from "./types/ListingType";
export { LocalSite } from "./types/LocalSite";
export { LocalSiteId } from "./types/LocalSiteId";
export { LocalSiteRateLimit } from "./types/LocalSiteRateLimit";
export { LocalUser } from "./types/LocalUser";
export { LocalUserId } from "./types/LocalUserId";
export { LocalUserView } from "./types/LocalUserView";
export { LockPost } from "./types/LockPost";
export { Login } from "./types/Login";
export { LoginResponse } from "./types/LoginResponse";
export { LoginToken } from "./types/LoginToken";
export { MarkCommentReplyAsRead } from "./types/MarkCommentReplyAsRead";
export { MarkPersonMentionAsRead } from "./types/MarkPersonMentionAsRead";
export { MarkPostAsRead } from "./types/MarkPostAsRead";
export { MarkPrivateMessageAsRead } from "./types/MarkPrivateMessageAsRead";
export { ModAdd } from "./types/ModAdd";
export { ModAddCommunity } from "./types/ModAddCommunity";
export { ModAddCommunityView } from "./types/ModAddCommunityView";
export { ModAddView } from "./types/ModAddView";
export { ModBan } from "./types/ModBan";
export { ModBanFromCommunity } from "./types/ModBanFromCommunity";
export { ModBanFromCommunityView } from "./types/ModBanFromCommunityView";
export { ModBanView } from "./types/ModBanView";
export { ModFeaturePost } from "./types/ModFeaturePost";
export { ModFeaturePostView } from "./types/ModFeaturePostView";
export { ModHideCommunity } from "./types/ModHideCommunity";
export { ModHideCommunityView } from "./types/ModHideCommunityView";
export { ModLockPost } from "./types/ModLockPost";
export { ModLockPostView } from "./types/ModLockPostView";
export { ModRemoveComment } from "./types/ModRemoveComment";
export { ModRemoveCommentView } from "./types/ModRemoveCommentView";
export { ModRemoveCommunity } from "./types/ModRemoveCommunity";
export { ModRemoveCommunityView } from "./types/ModRemoveCommunityView";
export { ModRemovePost } from "./types/ModRemovePost";
export { ModRemovePostView } from "./types/ModRemovePostView";
export { ModTransferCommunity } from "./types/ModTransferCommunity";
export { ModTransferCommunityView } from "./types/ModTransferCommunityView";
export { ModlogActionType } from "./types/ModlogActionType";
export { ModlogListParams } from "./types/ModlogListParams";
export { MyUserInfo } from "./types/MyUserInfo";
2023-09-22 23:13:26 +00:00
export { PaginationCursor } from "./types/PaginationCursor";
export { PasswordChangeAfterReset } from "./types/PasswordChangeAfterReset";
export { PasswordReset } from "./types/PasswordReset";
export { Person } from "./types/Person";
export { PersonAggregates } from "./types/PersonAggregates";
export { PersonBlockId } from "./types/PersonBlockId";
export { PersonBlockView } from "./types/PersonBlockView";
export { PersonId } from "./types/PersonId";
export { PersonMention } from "./types/PersonMention";
export { PersonMentionId } from "./types/PersonMentionId";
export { PersonMentionResponse } from "./types/PersonMentionResponse";
export { PersonMentionView } from "./types/PersonMentionView";
export { PersonSortType } from "./types/PersonSortType";
export { PersonView } from "./types/PersonView";
export { Post } from "./types/Post";
export { PostAggregates } from "./types/PostAggregates";
export { PostFeatureType } from "./types/PostFeatureType";
export { PostId } from "./types/PostId";
export { PostListingMode } from "./types/PostListingMode";
export { PostReport } from "./types/PostReport";
export { PostReportId } from "./types/PostReportId";
export { PostReportResponse } from "./types/PostReportResponse";
export { PostReportView } from "./types/PostReportView";
export { PostResponse } from "./types/PostResponse";
export { PostView } from "./types/PostView";
export { PrivateMessage } from "./types/PrivateMessage";
export { PrivateMessageId } from "./types/PrivateMessageId";
export { PrivateMessageReport } from "./types/PrivateMessageReport";
export { PrivateMessageReportId } from "./types/PrivateMessageReportId";
export { PrivateMessageReportResponse } from "./types/PrivateMessageReportResponse";
export { PrivateMessageReportView } from "./types/PrivateMessageReportView";
export { PrivateMessageResponse } from "./types/PrivateMessageResponse";
export { PrivateMessageView } from "./types/PrivateMessageView";
export { PrivateMessagesResponse } from "./types/PrivateMessagesResponse";
export { PurgeComment } from "./types/PurgeComment";
export { PurgeCommunity } from "./types/PurgeCommunity";
export { PurgePerson } from "./types/PurgePerson";
export { PurgePost } from "./types/PurgePost";
export { Register } from "./types/Register";
export { RegistrationApplication } from "./types/RegistrationApplication";
export { RegistrationApplicationResponse } from "./types/RegistrationApplicationResponse";
export { RegistrationApplicationView } from "./types/RegistrationApplicationView";
export { RegistrationMode } from "./types/RegistrationMode";
export { RemoveComment } from "./types/RemoveComment";
export { RemoveCommunity } from "./types/RemoveCommunity";
export { RemovePost } from "./types/RemovePost";
export { ResolveCommentReport } from "./types/ResolveCommentReport";
export { ResolveObject } from "./types/ResolveObject";
export { ResolveObjectResponse } from "./types/ResolveObjectResponse";
export { ResolvePostReport } from "./types/ResolvePostReport";
export { ResolvePrivateMessageReport } from "./types/ResolvePrivateMessageReport";
export { SaveComment } from "./types/SaveComment";
export { SavePost } from "./types/SavePost";
export { SaveUserSettings } from "./types/SaveUserSettings";
export { Search } from "./types/Search";
export { SearchResponse } from "./types/SearchResponse";
export { SearchType } from "./types/SearchType";
export { Site } from "./types/Site";
export { SiteAggregates } from "./types/SiteAggregates";
export { SiteId } from "./types/SiteId";
export { SiteMetadata } from "./types/SiteMetadata";
export { SiteResponse } from "./types/SiteResponse";
export { SiteView } from "./types/SiteView";
export { SortType } from "./types/SortType";
export { SubscribedType } from "./types/SubscribedType";
2023-10-09 16:42:35 +00:00
export { SuccessResponse } from "./types/SuccessResponse";
export { Tagline } from "./types/Tagline";
export { TransferCommunity } from "./types/TransferCommunity";
2023-09-22 23:13:26 +00:00
export { UpdateTotp } from "./types/UpdateTotp";
export { UpdateTotpResponse } from "./types/UpdateTotpResponse";
export { VerifyEmail } from "./types/VerifyEmail";
2023-10-09 16:42:35 +00:00
export {
UploadImage,
UploadImageResponse,
ImageFile,
DeleteImage,
} from "./types/others";