mirror of
https://github.com/LemmyNet/lemmy-js-client.git
synced 2024-11-29 15:51:12 +00:00
add missing files
This commit is contained in:
parent
c89eebf182
commit
a3b77b217f
6 changed files with 40 additions and 0 deletions
8
src/types/ApproveCommunityPendingFollows.ts
Normal file
8
src/types/ApproveCommunityPendingFollows.ts
Normal 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;
|
||||||
|
}
|
6
src/types/CommunityFollowerState.ts
Normal file
6
src/types/CommunityFollowerState.ts
Normal 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";
|
6
src/types/GetCommunityPendingFollowsCount.ts
Normal file
6
src/types/GetCommunityPendingFollowsCount.ts
Normal 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;
|
||||||
|
}
|
5
src/types/GetCommunityPendingFollowsCountResponse.ts
Normal file
5
src/types/GetCommunityPendingFollowsCountResponse.ts
Normal 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;
|
||||||
|
}
|
9
src/types/ListCommunityPendingFollows.ts
Normal file
9
src/types/ListCommunityPendingFollows.ts
Normal 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;
|
||||||
|
}
|
6
src/types/ListCommunityPendingFollowsResponse.ts
Normal file
6
src/types/ListCommunityPendingFollowsResponse.ts
Normal 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>;
|
||||||
|
}
|
Loading…
Reference in a new issue