BatchRequestDescriptor<T>
type BatchRequestDescriptor<T> = {
method: "GET" | "POST";
params?: Record<string, unknown>;
schema?: z.ZodSchema<T>;
url: string;
};
Descriptor for a batch request that captures the API call details without executing it.
Type Parameters
Type Parameter |
---|
T |
Properties
method
method: "GET" | "POST";
params?
optional params: Record<string, unknown>;
schema?
optional schema: z.ZodSchema<T>;
url
url: string;