diff options
author | Eugene Sokolov <eug-vs@keemail.me> | 2020-06-25 14:41:14 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-25 14:41:14 +0300 |
commit | 9dfc98d5014f91afb45ad4eebbe9f0f704ddfdf5 (patch) | |
tree | b5a47cce16b224dd74625db72f721e5e797a1611 /src/types.d.ts | |
parent | 190916329611704b1035158363302f09152794ee (diff) | |
parent | a3afe917442fb29627aa9deade1baefbea9a60c5 (diff) | |
download | which-ui-9dfc98d5014f91afb45ad4eebbe9f0f704ddfdf5.tar.gz |
Merge pull request #41 from which-ecosystem/votes
Votes
Diffstat (limited to 'src/types.d.ts')
-rw-r--r-- | src/types.d.ts | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/types.d.ts b/src/types.d.ts index a62eec8..73346ce 100644 --- a/src/types.d.ts +++ b/src/types.d.ts @@ -2,23 +2,4 @@ export interface Page { prefix: string; id: string; } -export interface User { - name: string; - avatarUrl: string; - _id: string; -} - -interface ImageData { - url: string; - votes: number; -} - -export interface Poll { - _id: string; - author: User; - contents: { - left: ImageData; - right: ImageData; - }; -} |