Skip to content

RecentItem

RecentItem = object

Defined in: packages/admin/src/types.ts:389

A recent-items section displayed on the admin dashboard.

Produced by the admin loader when processing "recent" type dashboard widgets.

columns: string[]

Defined in: packages/admin/src/types.ts:397

Column names to display for each item in the list.


items: Record<string, unknown>[]

Defined in: packages/admin/src/types.ts:395

The fetched records, as plain key-value objects.


label: string

Defined in: packages/admin/src/types.ts:393

Display label for the section heading (e.g., "Recent Posts").


table: string

Defined in: packages/admin/src/types.ts:391

The table name these items belong to. Used for linking to detail views.