← Về thư mục
frontend/src/features/timeline/api.ts
- ApiError · class · L9-L25 — class ApiError extends Error
- constructor · method · L14-L24 — constructor( body: { error?: string; detail?: string; code?: string; status?: number; request_id?: string } | null, httpStatus: number, )
- apiErrorText · function · L27-L31 — function apiErrorText(e: unknown): string
- api · function · L33-L53 — async function api(p: string, o: RequestInit = {}): Promise
- optionalApi · function · L55-L64 — async function optionalApi(paths: string[]): Promise
- hint · function · L66-L69 — function hint(message: string, isError?: boolean): void
- laneCall · function · L71-L75 — function laneCall(name: string, ...args: unknown[]): unknown