mirror of
https://github.com/LemmyNet/lemmy-js-client.git
synced 2024-11-01 01:59:55 +00:00
update
This commit is contained in:
parent
ebd4080bfe
commit
58f59ec9c5
3 changed files with 7 additions and 1 deletions
|
@ -5,4 +5,5 @@ import type { PersonId } from "./PersonId";
|
||||||
export interface ApproveCommunityPendingFollows {
|
export interface ApproveCommunityPendingFollows {
|
||||||
community_id: CommunityId;
|
community_id: CommunityId;
|
||||||
follower_id: PersonId;
|
follower_id: PersonId;
|
||||||
|
approve: boolean;
|
||||||
}
|
}
|
||||||
|
|
|
@ -66,6 +66,7 @@ export type LemmyErrorType =
|
||||||
| { error: "federation_forbidden_by_strict_allow_list" }
|
| { error: "federation_forbidden_by_strict_allow_list" }
|
||||||
| { error: "person_is_banned_from_community" }
|
| { error: "person_is_banned_from_community" }
|
||||||
| { error: "object_is_not_public" }
|
| { error: "object_is_not_public" }
|
||||||
|
| { error: "object_is_not_private" }
|
||||||
| { error: "invalid_community" }
|
| { error: "invalid_community" }
|
||||||
| { error: "cannot_create_post_or_comment_in_deleted_or_removed_community" }
|
| { error: "cannot_create_post_or_comment_in_deleted_or_removed_community" }
|
||||||
| { error: "cannot_receive_page" }
|
| { error: "cannot_receive_page" }
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
// 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";
|
||||||
|
|
Loading…
Reference in a new issue