import { User } from 'src/types/user';

export enum PostErrorCodes {
  CANNOT_EDIT_POLL_WITH_VOTES = 'CANNOT_EDIT_POLL_WITH_VOTES',
  POLL_HAS_ENDED = 'POLL_HAS_ENDED',
}
export type ReplyState = {
  id: number | null;
  user?: User;
} | null;
