Skip to main content

Function: useFields()

useFields(params): UseQueryResult<{ cursor: undefined | string; fields: FieldSummaryNode[]; hasMore: boolean; total: number; }, Error>

Defined in: web/lib/hooks/use-field.ts:236

Fetches a list of fields with optional filtering.

Parameters​

params​

UseFieldsParams = {}

Returns​

UseQueryResult<{ cursor: undefined | string; fields: FieldSummaryNode[]; hasMore: boolean; total: number; }, Error>