Skip to content

DefinedDataViews

Defined in: wp-typia-dataviews/src/types.ts:609

TItem extends object

readonly optional actions?: readonly DataViewsAction<TItem>[]

Defined in: wp-typia-dataviews/src/types.ts:610


readonly optional defaultLayouts?: Readonly<Partial<Record<"list" | "grid" | "table" | "activity" | "pickerTable" | "pickerGrid", Readonly<Record<string, unknown>>>>>

Defined in: wp-typia-dataviews/src/types.ts:611


readonly defaultView: DataViewsView<TItem>

Defined in: wp-typia-dataviews/src/types.ts:612


readonly fieldMap: DefinedDataViewsFieldMap<TItem>

Defined in: wp-typia-dataviews/src/types.ts:613


readonly fields: readonly DataViewsResolvedField<TItem>[]

Defined in: wp-typia-dataviews/src/types.ts:614


readonly optional getItemId?: (item) => string

Defined in: wp-typia-dataviews/src/types.ts:615

TItem

string


readonly optional getItemLevel?: (item) => number

Defined in: wp-typia-dataviews/src/types.ts:616

TItem

number


readonly optional idField?: DataViewsItemIdField<TItem>

Defined in: wp-typia-dataviews/src/types.ts:617


readonly optional search?: boolean

Defined in: wp-typia-dataviews/src/types.ts:618


readonly optional searchLabel?: string

Defined in: wp-typia-dataviews/src/types.ts:619


readonly optional titleField?: Extract<keyof TItem, string>

Defined in: wp-typia-dataviews/src/types.ts:620


readonly createConfig: (options) => DataViewsConfig<TItem>

Defined in: wp-typia-dataviews/src/types.ts:621

DefineDataViewsConfigOptions<TItem>

DataViewsConfig<TItem>


readonly toFormConfig: (options?) => DataFormConfig<TItem>

Defined in: wp-typia-dataviews/src/types.ts:622

DataFormConfigOptions<TItem>

DataFormConfig<TItem>


readonly toQueryArgs: <TQuery>(view, …args) => Partial<TQuery>

Defined in: wp-typia-dataviews/src/types.ts:623

TQuery extends object = DataViewsQueryArgs

DataViewsView<TItem>

DataViewsQueryAdapterFactoryArguments<TItem, TQuery>

Partial<TQuery>