replaced per-endpoint helpers with ts-rest contract and typed client

This commit is contained in:
2026-01-28 13:01:28 +00:00
parent aa24de2e8e
commit d6af2032db
71 changed files with 1042 additions and 1075 deletions

View File

@@ -1,4 +1,4 @@
import type { IssueResponse, SprintRecord, UserRecord } from "@sprint/shared";
import type { IssueResponse, SprintRecord, UserResponse } from "@sprint/shared";
import { useEffect, useRef, useState } from "react";
import { toast } from "sonner";
import { IssueComments } from "@/components/issue-comments";
@@ -51,7 +51,7 @@ export function IssueDetails({
issueData: IssueResponse;
projectKey: string;
sprints: SprintRecord[];
members: UserRecord[];
members: UserResponse[];
statuses: Record<string, string>;
onClose: () => void;
onDelete?: () => void;