diff --git a/src/lib/api.ts b/src/lib/api.ts index c8e1ad8..1887666 100644 --- a/src/lib/api.ts +++ b/src/lib/api.ts @@ -60,17 +60,23 @@ export interface AgentConfig { model: string | null; } +export interface MemberBrief { + id: string; + slug: string; + name: string; +} + export interface Member { id: string; - name: string; slug: string; - type: "human" | "agent"; + name: string; + type: string; role: string; status: string; avatar_url: string | null; is_active: boolean; - agent_config: AgentConfig | null; token?: string | null; + agent_config?: AgentConfig | null; } export interface MemberCreateResponse extends Member { @@ -92,7 +98,7 @@ export interface ProjectMember { id: string; name: string; slug: string; - type: "human" | "agent"; + type: string; role: string; }