Module

x/wmill/gen/core/ApiRequestOptions.ts>ApiRequestOptions

Open-source developer platform to power your entire infra and turn scripts into webhooks, workflows and UIs. Fastest workflow engine (13x vs Airflow). Open-source alternative to Retool and Temporal.
Latest
type alias ApiRequestOptions
import { type ApiRequestOptions } from "https://dotland.deno.dev/x/wmill@v1.423.1/gen/core/ApiRequestOptions.ts";

Type Parameters

optional
T = unknown
definition: { readonly body?: any; readonly cookies?: Record<string, unknown>; readonly errors?: Record<number | string, string>; readonly formData?:
| Record<string, unknown>
| any[]
| Blob
| File
; readonly headers?: Record<string, unknown>; readonly mediaType?: string; readonly method:
| "DELETE"
| "GET"
| "HEAD"
| "OPTIONS"
| "PATCH"
| "POST"
| "PUT"
; readonly path?: Record<string, unknown>; readonly query?: Record<string, unknown>; readonly responseHeader?: string; readonly responseTransformer?: (data: unknown) => Promise<T>; readonly url: string; }