Spaces:
Running
Running
Download src/types.ts from arasuezofis/pr-agent: direct link, hf CLI and curl.
- Browser
- Download file 548 Bytes
-
https://huggingface.co/spaces/arasuezofis/pr-agent/resolve/main/src/types.ts
- Command line
-
hf download hf://spaces/arasuezofis/pr-agent/src/types.ts
-
curl -L -o types.ts https://huggingface.co/spaces/arasuezofis/pr-agent/resolve/main/src/types.ts
548 Bytes
| import type { AnalysisRow, Candidate, SelectedDetails } from "./api/chat"; | |
| export type ThreadItem = | |
| | { id: string; type: "user"; text: string } | |
| | { | |
| id: string; | |
| type: "analysis"; | |
| rows: AnalysisRow[]; | |
| heading?: string; | |
| } | |
| | { | |
| id: string; | |
| type: "pick"; | |
| summary: string; | |
| candidates: Candidate[]; | |
| } | |
| | { | |
| id: string; | |
| type: "form"; | |
| commodityCode: number; | |
| intro: string; | |
| catalogPath?: string; | |
| codeSummary?: string; | |
| selected?: SelectedDetails; | |
| }; | |