Add site to GetCommunityResponse (#47)
* Add site to GetCommunityResponse * Add new site fields (fixes #44)
This commit is contained in:
parent
72f29cb684
commit
4d6be6e9c2
2 changed files with 6 additions and 0 deletions
|
@ -1,3 +1,4 @@
|
|||
import { Site } from "../source";
|
||||
import {
|
||||
CommunityModeratorView,
|
||||
CommunityView,
|
||||
|
@ -17,6 +18,7 @@ export interface GetCommunity {
|
|||
|
||||
export interface GetCommunityResponse {
|
||||
community_view: CommunityView;
|
||||
site?: Site;
|
||||
moderators: CommunityModeratorView[];
|
||||
online: number;
|
||||
}
|
||||
|
|
|
@ -56,6 +56,10 @@ export interface Site {
|
|||
application_question?: string;
|
||||
private_instance: boolean;
|
||||
default_theme: string;
|
||||
actor_id: string;
|
||||
last_refreshed_at: string;
|
||||
inbox_url: string;
|
||||
public_key: string;
|
||||
}
|
||||
|
||||
export interface PrivateMessage {
|
||||
|
|
Loading…
Reference in a new issue