Skip to content

Function: clientQuery() ​

clientQuery<Type, Args>(type, definition): ClientQuery<Type, Args>

Defined in: fate/lib/refetch-DpAsTpqi.d.mts:945

Define a client root that selects a record by its ID. Return null when there is no match.

Type Parameters ​

Type ​

Type extends string

Args ​

Args extends AnyRecord = Record<never, never>

Parameters ​

type ​

Type

definition ​

Omit<ClientQuery<Type, Args>, "type">

Returns ​

ClientQuery<Type, Args>

Released under the MIT License