Options

Type Alias: Options<TData, ThrowOnError>

Options<TData, ThrowOnError> = Options<TData, ThrowOnError> & object

Defined in: app/api/sdk.gen.ts:7

Type Declaration

client?

optional client?: Client

You can provide a client instance returned by createClient() instead of individual options. This might be also useful if you want to implement a custom client.

meta?

optional meta?: Record<string, unknown>

You can pass arbitrary values through the meta object. This can be used to access values that aren't defined as part of the SDK function.

Type Parameters

TData

TData *extends* TDataShape = TDataShape

ThrowOnError

ThrowOnError *extends* boolean = boolean

On this page