Files
vibe-kanban/shared/types.ts
Louis Knight-Webb 752c76fa9d Add review column
2025-06-15 11:16:49 -04:00

29 lines
1.2 KiB
TypeScript

// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
// Auto-generated from Rust backend types using ts-rs
type ApiResponse<T> = { success: boolean, data: T | null, message: string | null, };
type CreateProject = { name: string, };
type Project = { id: string, name: string, owner_id: string, created_at: Date, updated_at: Date, };
type UpdateProject = { name: string | null, };
type CreateTask = { project_id: string, title: string, description: string | null, };
type Task = { id: string, project_id: string, title: string, description: string | null, status: TaskStatus, created_at: string, updated_at: string, };
type TaskStatus = "todo" | "inprogress" | "inreview" | "done" | "cancelled";
type UpdateTask = { title: string | null, description: string | null, status: TaskStatus | null, };
type CreateUser = { email: string, password: string, is_admin: boolean | null, };
type LoginRequest = { email: string, password: string, };
type LoginResponse = { user: User, token: string, };
type UpdateUser = { email: string | null, password: string | null, is_admin: boolean | null, };
type User = { id: string, email: string, is_admin: boolean, created_at: Date, updated_at: Date, };