This commit is contained in:
Felix Ableitner 2024-10-14 14:35:57 +02:00
parent ebd4080bfe
commit 58f59ec9c5
3 changed files with 7 additions and 1 deletions

View file

@ -5,4 +5,5 @@ import type { PersonId } from "./PersonId";
export interface ApproveCommunityPendingFollows {
community_id: CommunityId;
follower_id: PersonId;
approve: boolean;
}

View file

@ -66,6 +66,7 @@ export type LemmyErrorType =
| { error: "federation_forbidden_by_strict_allow_list" }
| { error: "person_is_banned_from_community" }
| { error: "object_is_not_public" }
| { error: "object_is_not_private" }
| { error: "invalid_community" }
| { error: "cannot_create_post_or_comment_in_deleted_or_removed_community" }
| { error: "cannot_receive_page" }

View file

@ -1,3 +1,7 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
export type SubscribedType = "Subscribed" | "NotSubscribed" | "Pending";
export type SubscribedType =
| "Subscribed"
| "NotSubscribed"
| "Pending"
| "ApprovalRequired";