lemmy-js-client 1.0.0-media-fixes.1 → 1.0.0-remove-page-limit.0
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 +6 -10
- package/dist/http.js +139 -152
- package/dist/index.d.ts +0 -1
- package/dist/types/BannedPersonsResponse.d.ts +1 -0
- package/dist/types/GetComments.d.ts +3 -1
- package/dist/types/GetCommentsResponse.d.ts +3 -0
- package/dist/types/GetCommentsSlimResponse.d.ts +3 -0
- package/dist/types/GetModlog.d.ts +1 -0
- package/dist/types/GetModlogResponse.d.ts +1 -0
- package/dist/types/GetPosts.d.ts +3 -9
- package/dist/types/GetPostsResponse.d.ts +3 -2
- package/dist/types/LemmyErrorType.d.ts +82 -18
- package/dist/types/ListCommentLikes.d.ts +3 -1
- package/dist/types/ListCommentLikesResponse.d.ts +6 -0
- package/dist/types/ListCommunities.d.ts +3 -1
- package/dist/types/ListCommunitiesResponse.d.ts +6 -0
- package/dist/types/ListCommunityPendingFollows.d.ts +3 -1
- package/dist/types/ListCommunityPendingFollows.js +0 -1
- package/dist/types/ListCommunityPendingFollowsResponse.d.ts +6 -0
- package/dist/types/ListCustomEmojis.d.ts +0 -3
- package/dist/types/ListInbox.d.ts +1 -0
- package/dist/types/ListInboxResponse.d.ts +1 -0
- package/dist/types/ListMedia.d.ts +3 -1
- package/dist/types/ListMedia.js +0 -1
- package/dist/types/ListMediaResponse.d.ts +6 -0
- package/dist/types/ListPersonContent.d.ts +1 -0
- package/dist/types/ListPersonContentResponse.d.ts +1 -0
- package/dist/types/ListPersonSaved.d.ts +1 -0
- package/dist/types/ListPersonSavedResponse.d.ts +1 -0
- package/dist/types/ListPostLikes.d.ts +3 -1
- package/dist/types/ListPostLikesResponse.d.ts +6 -0
- package/dist/types/ListRegistrationApplications.d.ts +3 -1
- package/dist/types/ListRegistrationApplications.js +0 -1
- package/dist/types/ListRegistrationApplicationsResponse.d.ts +6 -0
- package/dist/types/ListReports.d.ts +1 -0
- package/dist/types/ListReportsResponse.d.ts +1 -0
- package/dist/types/ListTaglines.d.ts +3 -1
- package/dist/types/ListTaglines.js +0 -1
- package/dist/types/ListTaglinesResponse.d.ts +6 -0
- package/dist/types/MyUserInfo.d.ts +1 -0
- package/dist/types/SaveUserSettings.d.ts +1 -0
- package/dist/types/Search.d.ts +1 -0
- package/dist/types/SearchResponse.d.ts +1 -0
- package/dist/types/Tagline.d.ts +2 -1
- package/dist/types/Tagline.js +0 -1
- package/dist/types/VoteView.d.ts +1 -0
- package/package.json +1 -1
- package/dist/types/PostPaginationCursor.d.ts +0 -7
- package/dist/types/PostPaginationCursor.js +0 -3
package/dist/http.d.ts
CHANGED
@@ -198,21 +198,13 @@ export declare class LemmyHttp extends Controller {
|
|
198
198
|
*/
|
199
199
|
validateAuth(options?: RequestOptions): Promise<SuccessResponse>;
|
200
200
|
/**
|
201
|
-
* @summary List all the media for your
|
201
|
+
* @summary List all the media for your user
|
202
202
|
*/
|
203
203
|
listMedia(form?: ListMediaI, options?: RequestOptions): Promise<ListMediaResponse>;
|
204
|
-
/**
|
205
|
-
* @summary Delete media for your account.
|
206
|
-
*/
|
207
|
-
deleteMedia(form: DeleteImageParamsI, options?: RequestOptions): Promise<SuccessResponse>;
|
208
|
-
/**
|
209
|
-
* @summary Delete any media. (Admin only)
|
210
|
-
*/
|
211
|
-
deleteMediaAdmin(form: DeleteImageParamsI, options?: RequestOptions): Promise<SuccessResponse>;
|
212
204
|
/**
|
213
205
|
* @summary List all the media known to your instance.
|
214
206
|
*/
|
215
|
-
|
207
|
+
listAllMedia(form?: ListMediaI, options?: RequestOptions): Promise<ListMediaResponse>;
|
216
208
|
/**
|
217
209
|
* @summary Enable / Disable TOTP / two-factor authentication.
|
218
210
|
*
|
@@ -705,6 +697,10 @@ export declare class LemmyHttp extends Controller {
|
|
705
697
|
* @summary Upload an image to the server.
|
706
698
|
*/
|
707
699
|
uploadImage(image: UploadImage, options?: RequestOptions): Promise<UploadImageResponse>;
|
700
|
+
/**
|
701
|
+
* @summary Delete a pictrs image
|
702
|
+
*/
|
703
|
+
deleteImage(form: DeleteImageParamsI, options?: RequestOptions): Promise<SuccessResponse>;
|
708
704
|
/**
|
709
705
|
* @summary Health check for image functionality
|
710
706
|
*/
|