import { User } from 'domain/users' import { Vote } from 'domain/votes' /** * Vote service interface * * @export * @interface IVoteService */ export interface IVoteService { addVote: (vote: Vote) => Promise getVotes: () => Promise<{[postId: string]: {[voteId: string]: Vote}}> deleteVote: (voteId: string, postId: string) => Promise }