summaryrefslogtreecommitdiffstats
path: root/ui/src/interfaces.ts
diff options
context:
space:
mode:
Diffstat (limited to 'ui/src/interfaces.ts')
-rw-r--r--ui/src/interfaces.ts9
1 files changed, 8 insertions, 1 deletions
diff --git a/ui/src/interfaces.ts b/ui/src/interfaces.ts
index f202f7ac..0505a398 100644
--- a/ui/src/interfaces.ts
+++ b/ui/src/interfaces.ts
@@ -38,15 +38,22 @@ export interface CommunityForm {
title: string;
description?: string,
category_id: number,
+ edit_id?: number;
auth?: string;
}
-export interface CommunityResponse {
+export interface GetCommunityResponse {
op: string;
community: Community;
moderators: Array<CommunityUser>;
}
+
+export interface CommunityResponse {
+ op: string;
+ community: Community;
+}
+
export interface ListCommunitiesResponse {
op: string;
communities: Array<Community>;