"use client" import { ResourcePage } from "@/shared/data-view/resource-page" import { ColumnHeader } from "@/shared/data-view/table-view" import FormDialog from "@/shared/components/form-dialog" import { TaskForm } from "@/modules/tasks/task-form" import { TASK_ROUTES } from "@garage/api" import type { TasksClient } from "@garage/api" export default function TasksPage() { return ( routeKey={TASK_ROUTES.INDEX} getClient={(api) => api.tasks} headerProps={({ selectedItem, invalidateQuery }) => ({ title: "Tasks", actions: ( {(resourceId) => ( )} ), })} columns={({ actionsColumn }) => [ { accessorKey: "task_number", header: ({ column }) => , }, { accessorKey: "subject", header: ({ column }) => , }, { accessorKey: "priority", header: ({ column }) => , }, { accessorKey: "status", header: ({ column }) => , }, { accessorKey: "due_date", header: ({ column }) => , }, actionsColumn(), ]} /> ) }