lemmy-js-client 0.20.0-api-v4.11 → 0.20.0-api-v4.12
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/http.d.ts +2 -2
- package/dist/http.js +4 -4
- package/package.json +1 -1
package/dist/http.d.ts
CHANGED
@@ -858,13 +858,13 @@ export declare class LemmyHttp {
|
|
858
858
|
/**
|
859
859
|
* Globally block an instance as admin.
|
860
860
|
*
|
861
|
-
* `HTTP.Post /admin/
|
861
|
+
* `HTTP.Post /admin/instance/block`
|
862
862
|
*/
|
863
863
|
adminBlockInstance(form: AdminBlockInstanceParams, options?: RequestOptions): Promise<SuccessResponse>;
|
864
864
|
/**
|
865
865
|
* Globally allow an instance as admin.
|
866
866
|
*
|
867
|
-
* `HTTP.Post /admin/
|
867
|
+
* `HTTP.Post /admin/instance/allow`
|
868
868
|
*/
|
869
869
|
adminAllowInstance(form: AdminAllowInstanceParams, options?: RequestOptions): Promise<SuccessResponse>;
|
870
870
|
/**
|
package/dist/http.js
CHANGED
@@ -969,18 +969,18 @@ class LemmyHttp {
|
|
969
969
|
/**
|
970
970
|
* Globally block an instance as admin.
|
971
971
|
*
|
972
|
-
* `HTTP.Post /admin/
|
972
|
+
* `HTTP.Post /admin/instance/block`
|
973
973
|
*/
|
974
974
|
adminBlockInstance(form, options) {
|
975
|
-
return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/admin/
|
975
|
+
return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/admin/instance/block", form, options);
|
976
976
|
}
|
977
977
|
/**
|
978
978
|
* Globally allow an instance as admin.
|
979
979
|
*
|
980
|
-
* `HTTP.Post /admin/
|
980
|
+
* `HTTP.Post /admin/instance/allow`
|
981
981
|
*/
|
982
982
|
adminAllowInstance(form, options) {
|
983
|
-
return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/admin/
|
983
|
+
return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/admin/instance/allow", form, options);
|
984
984
|
}
|
985
985
|
/**
|
986
986
|
* Upload an image to the server.
|
package/package.json
CHANGED