Types
packages/app/src/domain/types.ts
List Tasks
Query tasks for a project with full hydration including assignees, labels, checklists, and attachments.packages/app/src/domain/repositories/supabase.ts
Query Parameters
string
required
Filter by project UUID:
eq.<uuid>string
Sort order:
order_rank.asc or order_rank.descstring
PostgREST select clause for field projection
Response
Returns array of task objects with all embedded data.string
Task UUID
string
Parent project UUID
string
Task title
string
Workflow column UUID
string | null
Task start date (ISO 8601)
string | null
Task due date (ISO 8601)
TaskPriority
Priority level:
p0, p1, or p2number
Position for sorting tasks
string | null
Task description
number | null
Time estimate
boolean
Whether task is a milestone
string | null
Completion timestamp
string
Creation timestamp
string
Last update timestamp
Create Task
Create a new task with assignees.packages/app/src/domain/repositories/supabase.ts
Request Body
string
required
Project UUID
string
required
Task title
string
required
Workflow column UUID
string
required
Start date (ISO 8601 date format)
string
required
Due date (ISO 8601 date format)
TaskPriority
Priority (default:
p1)number
Position for sorting (default: 1000)
string | null
Task description
number | null
Time estimate
boolean
Milestone flag (default: false)
Response
Returns the created task with status 201.Update Task
Update task fields inline.packages/app/src/domain/repositories/supabase.ts
Query Parameters
string
required
Task UUID filter:
eq.<uuid>Request Body
All fields are optional. Only provided fields will be updated.string
Updated task title
string
Updated workflow column UUID
string | null
Updated due date
string | null
Updated start date
TaskPriority
Updated priority
number
Updated position
string | null
Updated description
number | null
Updated estimate
string | null
Completion timestamp
boolean
Milestone flag
Response
Returns status 204 (no content) on success.Delete Task
Delete a task by ID.packages/app/src/domain/repositories/supabase.ts
Query Parameters
string
required
Task UUID filter:
eq.<uuid>Response
Returns status 204 (no content) on success.Manage Task Assignees
Query Assignees
Add Assignees
Remove Assignees
Task Dependencies
List Dependencies
packages/app/src/domain/repositories/supabase.ts
Set Dependencies
Replace all dependencies for a successor task.packages/app/src/domain/repositories/supabase.ts
React Hook Usage
packages/app/src/hooks/use-project-data.ts