add missing files

This commit is contained in:
Felix Ableitner 2024-10-08 11:05:22 +02:00
parent c89eebf182
commit a3b77b217f
6 changed files with 40 additions and 0 deletions

View file

@ -0,0 +1,8 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { CommunityId } from "./CommunityId";
import type { PersonId } from "./PersonId";
export interface ApproveCommunityPendingFollows {
community_id: CommunityId;
follower_id: PersonId;
}

View file

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

View file

@ -0,0 +1,6 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { CommunityId } from "./CommunityId";
export interface GetCommunityPendingFollowsCount {
community_id: CommunityId;
}

View file

@ -0,0 +1,5 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
export interface GetCommunityPendingFollowsCountResponse {
count: number;
}

View file

@ -0,0 +1,9 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { CommunityId } from "./CommunityId";
export interface ListCommunityPendingFollows {
community_id: CommunityId;
pending_only: boolean | null;
page: number | null;
limit: number | null;
}

View file

@ -0,0 +1,6 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { Person } from "./Person";
export interface ListCommunityPendingFollowsResponse {
items: Array<Person>;
}