export enum UserOperation {
Login, Register, CreateCommunity
}
export interface User {
id: number;
username: string;
export interface Community {
name: string;
published: Date;
updated?: Date;
export interface LoginForm {
username_or_email: string;
password: string;
export interface RegisterForm {
email?: string;
password_verify: string;
export interface CommunityForm {
export interface PostForm {
url: string;
attributed_to: string;
updated?: number