| 1 | import type { RunOptions } from "../src/types"; |
| 2 | |
| 3 | export interface AssertFileData { |
| 4 | name?: string; |
| 5 | content?: string; |
| 6 | } |
| 7 | |
| 8 | export interface AssertRequest extends Record<string, unknown> { |
| 9 | files?: { |
| 10 | jsSpec?: AssertFileData; |
| 11 | tsSpec?: AssertFileData; |
| 12 | }; |
| 13 | } |
| 14 | |
| 15 | export interface Config { |
| 16 | options: RunOptions; |
| 17 | assert?: AssertRequest; |
| 18 | os?: "Linux" | "Windows" | "MacOS"; |
| 19 | env?: { |
| 20 | APPDATA?: string; |
| 21 | FIG_API_TOKEN?: string; |
| 22 | XDG_DATA_HOME?: string; |
| 23 | HOME?: string; |
| 24 | }; |
| 25 | } |