lemmy-js-client 0.20.0-alpha.16 → 0.20.0-alpha.17

Sign up to get free protection for your applications and to get access to all the features.
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
@@ -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-alpha.16",
4
+ "version": "0.20.0-alpha.17",
5
5
  "author": "Dessalines <tyhou13@gmx.com>",
6
6
  "license": "AGPL-3.0",
7
7
  "main": "./dist/index.js",