{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "pages-task-feedback",
  "title": "Task feedback page wrapper",
  "description": "Task feedback with the register's routes supplied, so the reconcile button points at the register's own requests list.",
  "registryDependencies": [
    "@registrystack/lib-task-outcome",
    "@registrystack/pages-register-routes"
  ],
  "files": [
    {
      "path": "pages/task-feedback.tsx",
      "content": "import {\n  TaskFeedback as TaskFeedbackBlock,\n  type TaskFeedbackState,\n} from \"@/blocks/lib/task-outcome\";\nimport { useRegisterRoutes } from \"@/blocks/pages/register-routes\";\n\nexport type { TaskFeedbackState };\n\n/**\n * `TaskFeedback` with the register's routes supplied: \"Check current\n * records\" points at the register's own requests list unless the page names\n * another place.\n */\nexport function TaskFeedback({\n  reconcileHref,\n  ...rest\n}: Omit<Parameters<typeof TaskFeedbackBlock>[0], \"reconcileHref\"> & {\n  /** Where \"Check current records\" points; the register's own requests list by default. */\n  reconcileHref?: string;\n}) {\n  const routes = useRegisterRoutes();\n  return (\n    <TaskFeedbackBlock\n      {...rest}\n      reconcileHref={reconcileHref ?? `#${routes.requests}`}\n    />\n  );\n}\n",
      "type": "registry:block",
      "target": "@components/pages/task-feedback.tsx"
    }
  ],
  "type": "registry:block"
}