lemmy-js-client 0.20.0-alpha.16 → 0.20.0-alpha.17
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 +8 -0
- package/dist/http.js +8 -0
- package/package.json +1 -1
package/dist/http.d.ts
CHANGED
@@ -146,6 +146,8 @@ import { UpdateTagline } from "./types/UpdateTagline";
|
|
146
146
|
import { DeleteTagline } from "./types/DeleteTagline";
|
147
147
|
import { ListTaglines } from "./types/ListTaglines";
|
148
148
|
import { ListTaglinesResponse } from "./types/ListTaglinesResponse";
|
149
|
+
import { ListCustomEmojis } from "./types/ListCustomEmojis";
|
150
|
+
import { ListCustomEmojisResponse } from "./types/ListCustomEmojisResponse";
|
149
151
|
/**
|
150
152
|
* Helps build lemmy HTTP requests.
|
151
153
|
*/
|
@@ -757,6 +759,12 @@ export declare class LemmyHttp {
|
|
757
759
|
* `HTTP.Post /custom_emoji/delete`
|
758
760
|
*/
|
759
761
|
deleteCustomEmoji(form: DeleteCustomEmoji): Promise<SuccessResponse>;
|
762
|
+
/**
|
763
|
+
* List custom emojis
|
764
|
+
*
|
765
|
+
* `HTTP.GET /custom_emoji/list`
|
766
|
+
*/
|
767
|
+
listCustomEmojis(form: ListCustomEmojis): Promise<ListCustomEmojisResponse>;
|
760
768
|
/**
|
761
769
|
* Create a new tagline
|
762
770
|
*
|
package/dist/http.js
CHANGED
@@ -844,6 +844,14 @@ class LemmyHttp {
|
|
844
844
|
deleteCustomEmoji(form) {
|
845
845
|
return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/custom_emoji/delete", form);
|
846
846
|
}
|
847
|
+
/**
|
848
|
+
* List custom emojis
|
849
|
+
*
|
850
|
+
* `HTTP.GET /custom_emoji/list`
|
851
|
+
*/
|
852
|
+
listCustomEmojis(form) {
|
853
|
+
return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Get, "/custom_emoji/list", form);
|
854
|
+
}
|
847
855
|
/**
|
848
856
|
* Create a new tagline
|
849
857
|
*
|
package/package.json
CHANGED