mirror of
https://github.com/LemmyNet/lemmy-js-client.git
synced 2024-11-26 06:11:14 +00:00
rename
This commit is contained in:
parent
2ee103e26b
commit
f83d522cbd
3 changed files with 5 additions and 5 deletions
|
@ -154,7 +154,7 @@ import { ListTaglinesResponse } from "./types/ListTaglinesResponse";
|
||||||
import { ListCustomEmojis } from "./types/ListCustomEmojis";
|
import { ListCustomEmojis } from "./types/ListCustomEmojis";
|
||||||
import { ListCustomEmojisResponse } from "./types/ListCustomEmojisResponse";
|
import { ListCustomEmojisResponse } from "./types/ListCustomEmojisResponse";
|
||||||
import { GetRandomCommunity } from "./types/GetRandomCommunity";
|
import { GetRandomCommunity } from "./types/GetRandomCommunity";
|
||||||
import { ApproveCommunityPendingFollows } from "./types/ApproveCommunityPendingFollows";
|
import { ApproveCommunityPendingFollower } from "./types/ApproveCommunityPendingFollower";
|
||||||
import { GetCommunityPendingFollowsCount } from "./types/GetCommunityPendingFollowsCount";
|
import { GetCommunityPendingFollowsCount } from "./types/GetCommunityPendingFollowsCount";
|
||||||
import { GetCommunityPendingFollowsCountResponse } from "./types/GetCommunityPendingFollowsCountResponse";
|
import { GetCommunityPendingFollowsCountResponse } from "./types/GetCommunityPendingFollowsCountResponse";
|
||||||
import { ListCommunityPendingFollowsResponse } from "./types/ListCommunityPendingFollowsResponse";
|
import { ListCommunityPendingFollowsResponse } from "./types/ListCommunityPendingFollowsResponse";
|
||||||
|
@ -469,8 +469,8 @@ export class LemmyHttp {
|
||||||
>(HttpType.Get, "/community/pending_follows/list", form);
|
>(HttpType.Get, "/community/pending_follows/list", form);
|
||||||
}
|
}
|
||||||
|
|
||||||
approveCommunityPendingFollow(form: ApproveCommunityPendingFollows) {
|
approveCommunityPendingFollow(form: ApproveCommunityPendingFollower) {
|
||||||
return this.#wrapper<ApproveCommunityPendingFollows, SuccessResponse>(
|
return this.#wrapper<ApproveCommunityPendingFollower, SuccessResponse>(
|
||||||
HttpType.Post,
|
HttpType.Post,
|
||||||
"/community/pending_follows/approve",
|
"/community/pending_follows/approve",
|
||||||
form,
|
form,
|
||||||
|
|
|
@ -18,7 +18,7 @@ export { AdminPurgePerson } from "./types/AdminPurgePerson";
|
||||||
export { AdminPurgePersonView } from "./types/AdminPurgePersonView";
|
export { AdminPurgePersonView } from "./types/AdminPurgePersonView";
|
||||||
export { AdminPurgePost } from "./types/AdminPurgePost";
|
export { AdminPurgePost } from "./types/AdminPurgePost";
|
||||||
export { AdminPurgePostView } from "./types/AdminPurgePostView";
|
export { AdminPurgePostView } from "./types/AdminPurgePostView";
|
||||||
export { ApproveCommunityPendingFollows } from "./types/ApproveCommunityPendingFollows";
|
export { ApproveCommunityPendingFollower } from "./types/ApproveCommunityPendingFollower";
|
||||||
export { ApproveRegistrationApplication } from "./types/ApproveRegistrationApplication";
|
export { ApproveRegistrationApplication } from "./types/ApproveRegistrationApplication";
|
||||||
export { AuthenticateWithOauth } from "./types/AuthenticateWithOauth";
|
export { AuthenticateWithOauth } from "./types/AuthenticateWithOauth";
|
||||||
export { BanFromCommunity } from "./types/BanFromCommunity";
|
export { BanFromCommunity } from "./types/BanFromCommunity";
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
import type { CommunityId } from "./CommunityId";
|
import type { CommunityId } from "./CommunityId";
|
||||||
import type { PersonId } from "./PersonId";
|
import type { PersonId } from "./PersonId";
|
||||||
|
|
||||||
export interface ApproveCommunityPendingFollows {
|
export interface ApproveCommunityPendingFollower {
|
||||||
community_id: CommunityId;
|
community_id: CommunityId;
|
||||||
follower_id: PersonId;
|
follower_id: PersonId;
|
||||||
approve: boolean;
|
approve: boolean;
|
Loading…
Reference in a new issue