lemmy-js-client 1.0.0-media-fixes.0 → 1.0.0-media-fixes.1
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 +22 -0
- package/dist/http.js +362 -577
- package/dist/index.d.ts +4 -0
- package/dist/types/CommentReplyView.d.ts +2 -0
- package/dist/types/CommentView.d.ts +2 -0
- package/dist/types/CommunityView.d.ts +2 -0
- package/dist/types/CreateCommunityTag.d.ts +8 -0
- package/dist/types/CreateCommunityTag.js +2 -0
- package/dist/types/DeleteCommunityTag.d.ts +7 -0
- package/dist/types/DeleteCommunityTag.js +2 -0
- package/dist/types/EditPost.d.ts +1 -1
- package/dist/types/LemmyErrorType.d.ts +4 -0
- package/dist/types/PersonPostMentionView.d.ts +2 -0
- package/dist/types/PostView.d.ts +2 -0
- package/dist/types/Tag.d.ts +8 -6
- package/dist/types/TagsView.d.ts +5 -0
- package/dist/types/TagsView.js +2 -0
- package/dist/types/UpdateCommunityTag.d.ts +8 -0
- package/dist/types/UpdateCommunityTag.js +2 -0
- package/package.json +2 -2
package/dist/http.d.ts
CHANGED
@@ -23,6 +23,7 @@ import { CreateComment } from "./types/CreateComment";
|
|
23
23
|
import { CreateCommentLike } from "./types/CreateCommentLike";
|
24
24
|
import { CreateCommentReport } from "./types/CreateCommentReport";
|
25
25
|
import { CreateCommunity } from "./types/CreateCommunity";
|
26
|
+
import { CreateCommunityTag } from "./types/CreateCommunityTag";
|
26
27
|
import { CreateCustomEmoji } from "./types/CreateCustomEmoji";
|
27
28
|
import { CreateOAuthProvider } from "./types/CreateOAuthProvider";
|
28
29
|
import { CreatePost } from "./types/CreatePost";
|
@@ -35,6 +36,7 @@ import { CustomEmojiResponse } from "./types/CustomEmojiResponse";
|
|
35
36
|
import { DeleteAccount } from "./types/DeleteAccount";
|
36
37
|
import { DeleteComment } from "./types/DeleteComment";
|
37
38
|
import { DeleteCommunity } from "./types/DeleteCommunity";
|
39
|
+
import { DeleteCommunityTag } from "./types/DeleteCommunityTag";
|
38
40
|
import { DeleteCustomEmoji } from "./types/DeleteCustomEmoji";
|
39
41
|
import { DeleteOAuthProvider } from "./types/DeleteOAuthProvider";
|
40
42
|
import { DeletePost } from "./types/DeletePost";
|
@@ -96,6 +98,7 @@ import { SaveUserSettings } from "./types/SaveUserSettings";
|
|
96
98
|
import { SearchResponse } from "./types/SearchResponse";
|
97
99
|
import { SiteResponse } from "./types/SiteResponse";
|
98
100
|
import { TransferCommunity } from "./types/TransferCommunity";
|
101
|
+
import { UpdateCommunityTag } from "./types/UpdateCommunityTag";
|
99
102
|
import { VerifyEmail } from "./types/VerifyEmail";
|
100
103
|
import { HideCommunity } from "./types/HideCommunity";
|
101
104
|
import { GenerateTotpSecretResponse } from "./types/GenerateTotpSecretResponse";
|
@@ -129,6 +132,7 @@ import { ListInboxResponse } from "./types/ListInboxResponse";
|
|
129
132
|
import { MarkPersonCommentMentionAsRead } from "./types/MarkPersonCommentMentionAsRead";
|
130
133
|
import { MarkPersonPostMentionAsRead } from "./types/MarkPersonPostMentionAsRead";
|
131
134
|
import { GetCommentsSlimResponse } from "./types/GetCommentsSlimResponse";
|
135
|
+
import { Tag } from "./types/Tag";
|
132
136
|
import { ResendVerificationEmail } from "./types/ResendVerificationEmail";
|
133
137
|
type RequestOptions = Pick<RequestInit, "signal">;
|
134
138
|
/**
|
@@ -601,6 +605,18 @@ export declare class LemmyHttp extends Controller {
|
|
601
605
|
* @summary List taglines.
|
602
606
|
*/
|
603
607
|
listTaglines(form: ListTaglinesI, options?: RequestOptions): Promise<ListTaglinesResponse>;
|
608
|
+
/**
|
609
|
+
* @summary Create a community post tag.
|
610
|
+
*/
|
611
|
+
createCommunityTag(form: CreateCommunityTag, options?: RequestOptions): Promise<Tag>;
|
612
|
+
/**
|
613
|
+
* @summary Update a community post tag.
|
614
|
+
*/
|
615
|
+
updateCommunityTag(form: UpdateCommunityTag, options?: RequestOptions): Promise<Tag>;
|
616
|
+
/**
|
617
|
+
* @summary Delete a post tag in a community.
|
618
|
+
*/
|
619
|
+
deleteCommunityTag(form: DeleteCommunityTag, options?: RequestOptions): Promise<Tag>;
|
604
620
|
/**
|
605
621
|
* @summary Create a new oauth provider method
|
606
622
|
*/
|
@@ -693,6 +709,12 @@ export declare class LemmyHttp extends Controller {
|
|
693
709
|
* @summary Health check for image functionality
|
694
710
|
*/
|
695
711
|
imageHealth(options?: RequestOptions): Promise<SuccessResponse>;
|
712
|
+
/**
|
713
|
+
* Mark donation dialog as shown, so it isn't displayed anymore.
|
714
|
+
*
|
715
|
+
* `HTTP.POST /user/donation_dialog_shown`
|
716
|
+
*/
|
717
|
+
donation_dialog_shown(options?: RequestOptions): Promise<SuccessResponse>;
|
696
718
|
/**
|
697
719
|
* Set the headers (can be used to set the auth header)
|
698
720
|
*/
|