mirror of
https://github.com/alkimake/paperclip.git
synced 2026-06-15 02:20:38 +09:00
New pages: AgentDetail, GoalDetail, IssueDetail, ProjectDetail, Inbox, MyIssues. New feature components: AgentProperties, GoalProperties, IssueProperties, ProjectProperties, GoalTree, NewIssueDialog. Add heartbeats API client. Restyle all list pages (Agents, Issues, Goals, Projects, Dashboard, Costs, Activity, Org) with EntityRow, FilterBar, and improved layouts. Add routing for detail views. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
9 lines
322 B
TypeScript
9 lines
322 B
TypeScript
import type { HeartbeatRun } from "@paperclip/shared";
|
|
import { api } from "./client";
|
|
|
|
export const heartbeatsApi = {
|
|
list: (companyId: string, agentId?: string) => {
|
|
const params = agentId ? `?agentId=${agentId}` : "";
|
|
return api.get<HeartbeatRun[]>(`/companies/${companyId}/heartbeat-runs${params}`);
|
|
},
|
|
};
|