← Về thư mục
frontend/src/features/execution/api.ts
- FetchFn · type · L9-L9 — type FetchFn = (input: string, init?: RequestInit) => Promise;
- setExecutionFetch · function · L13-L15 — function setExecutionFetch(fn: FetchFn | null): void
- executionFetch · function · L17-L21 — function executionFetch(input: string, init?: RequestInit): Promise
- ApiError · class · L23-L38 — class ApiError extends Error
- constructor · method · L30-L37 — constructor(body: unknown, httpStatus: number)
- apiErrorText · function · L40-L44 — function apiErrorText(e: unknown): string
- api · function · L46-L63 — async function api(p: string, o: RequestInit = {}): Promise