( schema: TResponseBodySchema, url: string, requestInit?: RequestInit, options?: ZodFetchOptions )
| 35 | } |
| 36 | |
| 37 | export function zodfetch<TResponseBodySchema extends z.ZodTypeAny>( |
| 38 | schema: TResponseBodySchema, |
| 39 | url: string, |
| 40 | requestInit?: RequestInit, |
| 41 | options?: ZodFetchOptions |
| 42 | ): ApiPromise<z.output<TResponseBodySchema>> { |
| 43 | return new ApiPromise(_doZodFetch(schema, url, requestInit, options)); |
| 44 | } |
| 45 | |
| 46 | export function zodfetchCursorPage<TItemSchema extends z.ZodTypeAny>( |
| 47 | schema: TItemSchema, |
no test coverage detected
searching dependent graphs…