Genesis
@beta

filterParams

packages/ui/src/components/data/resource-view/view-list.tsx

Import
Subpath export: @marktiderman/genesis-ui/data
import { filterParams } from "@marktiderman/genesis-ui/data";
Components
Auto-generated from TypeScript source via react-docgen-typescript.

filterParams

No declared props.

useViewListParams

The filters, select, enabled and live a screen's options make for a view's list: the viewer's scope, the preset's filter and the screen's own, as provider params. Every view type (the table's `useResourceViewProps`, the board, the calendar) and every custom view (`useViewList`, `useViewBoard`, `useViewCalendarRange`, `<CustomView>`) starts from it, so they ask the same.

PropTypeDefaultDescription
view*ResourceView<ResourceContract<any>, any>—
filterReadonly<Record<string, Scalar | readonly (string | number)[]>>—
liveboolean | LiveOptions—
presetstring—
resourceOptions{ defaultFilters?: FilterParam[]; select?: string; enabled?: boolean | undefined; live?: boolean | LiveOptions | undefined; } | undefined—
scopedboolean—

useViewDetailFields

The peek's fields: the view's full column list, drawn like the cells (so `when` hides there too, and the screen's `cells` apply), never every key of the row. Shared by the list and the calendar.

No declared props.