lemmy-js-client 0.20.0-private-community.2 → 0.20.0-private-community.4
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 +2 -2
- package/dist/index.d.ts +1 -1
- package/dist/types/{ApproveCommunityPendingFollows.d.ts → ApproveCommunityPendingFollower.d.ts} +2 -1
- package/dist/types/LemmyErrorType.d.ts +2 -0
- package/dist/types/SubscribedType.d.ts +1 -1
- package/package.json +1 -1
- /package/dist/types/{ApproveCommunityPendingFollows.js → ApproveCommunityPendingFollower.js} +0 -0
    
        package/dist/http.d.ts
    CHANGED
    
    | @@ -149,7 +149,7 @@ import { ListTaglinesResponse } from "./types/ListTaglinesResponse"; | |
| 149 149 | 
             
            import { ListCustomEmojis } from "./types/ListCustomEmojis";
         | 
| 150 150 | 
             
            import { ListCustomEmojisResponse } from "./types/ListCustomEmojisResponse";
         | 
| 151 151 | 
             
            import { GetRandomCommunity } from "./types/GetRandomCommunity";
         | 
| 152 | 
            -
            import {  | 
| 152 | 
            +
            import { ApproveCommunityPendingFollower } from "./types/ApproveCommunityPendingFollower";
         | 
| 153 153 | 
             
            import { GetCommunityPendingFollowsCountResponse } from "./types/GetCommunityPendingFollowsCountResponse";
         | 
| 154 154 | 
             
            import { ListCommunityPendingFollowsResponse } from "./types/ListCommunityPendingFollowsResponse";
         | 
| 155 155 | 
             
            import { ListCommunityPendingFollows } from "./types/ListCommunityPendingFollows";
         | 
| @@ -299,7 +299,7 @@ export declare class LemmyHttp { | |
| 299 299 | 
             
                followCommunity(form: FollowCommunity): Promise<CommunityResponse>;
         | 
| 300 300 | 
             
                getCommunityPendingFollowsCount(community_id: CommunityId): Promise<GetCommunityPendingFollowsCountResponse>;
         | 
| 301 301 | 
             
                listCommunityPendingFollows(form: ListCommunityPendingFollows): Promise<ListCommunityPendingFollowsResponse>;
         | 
| 302 | 
            -
                approveCommunityPendingFollow(form:  | 
| 302 | 
            +
                approveCommunityPendingFollow(form: ApproveCommunityPendingFollower): Promise<SuccessResponse>;
         | 
| 303 303 | 
             
                /**
         | 
| 304 304 | 
             
                 * Block a community.
         | 
| 305 305 | 
             
                 *
         | 
    
        package/dist/index.d.ts
    CHANGED
    
    | @@ -13,7 +13,7 @@ export { AdminPurgePerson } from "./types/AdminPurgePerson"; | |
| 13 13 | 
             
            export { AdminPurgePersonView } from "./types/AdminPurgePersonView";
         | 
| 14 14 | 
             
            export { AdminPurgePost } from "./types/AdminPurgePost";
         | 
| 15 15 | 
             
            export { AdminPurgePostView } from "./types/AdminPurgePostView";
         | 
| 16 | 
            -
            export {  | 
| 16 | 
            +
            export { ApproveCommunityPendingFollower } from "./types/ApproveCommunityPendingFollower";
         | 
| 17 17 | 
             
            export { ApproveRegistrationApplication } from "./types/ApproveRegistrationApplication";
         | 
| 18 18 | 
             
            export { AuthenticateWithOauth } from "./types/AuthenticateWithOauth";
         | 
| 19 19 | 
             
            export { BanFromCommunity } from "./types/BanFromCommunity";
         | 
    
        package/dist/types/{ApproveCommunityPendingFollows.d.ts → ApproveCommunityPendingFollower.d.ts}
    RENAMED
    
    | @@ -1,6 +1,7 @@ | |
| 1 1 | 
             
            import type { CommunityId } from "./CommunityId";
         | 
| 2 2 | 
             
            import type { PersonId } from "./PersonId";
         | 
| 3 | 
            -
            export interface  | 
| 3 | 
            +
            export interface ApproveCommunityPendingFollower {
         | 
| 4 4 | 
             
                community_id: CommunityId;
         | 
| 5 5 | 
             
                follower_id: PersonId;
         | 
| 6 | 
            +
                approve: boolean;
         | 
| 6 7 | 
             
            }
         | 
| @@ -1 +1 @@ | |
| 1 | 
            -
            export type SubscribedType = "Subscribed" | "NotSubscribed" | "Pending";
         | 
| 1 | 
            +
            export type SubscribedType = "Subscribed" | "NotSubscribed" | "Pending" | "ApprovalRequired";
         | 
    
        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-private-community. | 
| 4 | 
            +
              "version": "0.20.0-private-community.4",
         | 
| 5 5 | 
             
              "author": "Dessalines <tyhou13@gmx.com>",
         | 
| 6 6 | 
             
              "license": "AGPL-3.0",
         | 
| 7 7 | 
             
              "main": "./dist/index.js",
         | 
    
        /package/dist/types/{ApproveCommunityPendingFollows.js → ApproveCommunityPendingFollower.js}
    RENAMED
    
    | 
            File without changes
         |