diff options
Diffstat (limited to 'ui/src/interfaces.ts')
-rw-r--r-- | ui/src/interfaces.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ui/src/interfaces.ts b/ui/src/interfaces.ts index d499eb0a..c89a254e 100644 --- a/ui/src/interfaces.ts +++ b/ui/src/interfaces.ts @@ -1,9 +1,10 @@ export enum UserOperation { - Login, Register, CreateCommunity, CreatePost, ListCommunities, GetPost, GetCommunity, CreateComment, CreateCommentLike + Login, Register, CreateCommunity, CreatePost, ListCommunities, GetPost, GetCommunity, CreateComment, EditComment, CreateCommentLike } export interface User { id: number; + iss: string; username: string; } @@ -73,6 +74,7 @@ export interface CommentForm { content: string; post_id: number; parent_id?: number; + edit_id?: number; auth: string; } |