diff options
author | Dessalines <tyhou13@gmx.com> | 2019-03-28 21:56:23 -0700 |
---|---|---|
committer | Dessalines <tyhou13@gmx.com> | 2019-03-28 21:56:23 -0700 |
commit | 1e12e03cc825237899d09b3bc8afbdb37fa7e507 (patch) | |
tree | 3d60679fe17e5ae3e8318bd7fec2ed8aa33189bf /ui/src/interfaces.ts | |
parent | 03a2f67d57552c712565522423ee425890f460cf (diff) |
Adding comment editing
- Fixes #8
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; } |