Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions tell-agent/client/agents.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import type { PaseoAgent, PaseoAgentListResult, PaseoApi } from "@getpaseo/client";
import type { PluginClientContext } from "@getpaseo/plugin/client";

export type AgentEntry = PaseoAgentListResult["entries"][number];
type AgentSnapshot = PaseoAgent;
type PaseoApi = PluginClientContext["paseo"];
export type AgentEntry = Awaited<ReturnType<PaseoApi["agents"]["list"]>>["entries"][number];
type AgentSnapshot = AgentEntry["agent"];

export const AGENT_PAGE_LIMIT = 200;
export const MAX_AGENT_PAGES = 10;
Expand Down
Loading