Files
vibe-kanban/shared/types.ts
Louis Knight-Webb 5dbfc648fe Use autogen types
2025-06-14 17:36:54 -04:00

21 lines
903 B
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
export type ApiResponse<T> = { success: boolean, data: T | null, message: string | null, };
export type CreateProject = { name: string, };
export type CreateUser = { email: string, password: string, is_admin: boolean | null, };
export type LoginRequest = { email: string, password: string, };
export type LoginResponse = { user: User, token: string, };
export type Project = { id: string, name: string, owner_id: string, created_at: string, updated_at: string, };
export type UpdateProject = { name: string | null, };
export type UpdateUser = { email: string | null, password: string | null, is_admin: boolean | null, };
export type User = { id: string, email: string, is_admin: boolean, created_at: string, updated_at: string, };