AdminTableMeta
AdminTableMeta =
object
Defined in: packages/admin/src/types.ts:351
Complete metadata for a database table, produced by introspectSchema.
Combines introspected column information with user-provided overrides. Used by the admin loader, action, and component to render views.
Properties
Section titled “Properties”columns
Section titled “columns”columns:
AdminColumnConfig[]
Defined in: packages/admin/src/types.ts:359
Introspected column metadata for every column in this table.
defaultSort
Section titled “defaultSort”defaultSort:
object
Defined in: packages/admin/src/types.ts:367
Default sort order for the list view.
column
Section titled “column”column:
string
direction
Section titled “direction”direction:
"asc"|"desc"
drizzleTable
Section titled “drizzleTable”drizzleTable:
SQLiteTable
Defined in: packages/admin/src/types.ts:357
The original Drizzle table object, used for queries and form generation.
label:
string
Defined in: packages/admin/src/types.ts:355
Human-readable label for display in the sidebar and views (e.g., "Blog Posts").
listColumns
Section titled “listColumns”listColumns:
string[]
Defined in: packages/admin/src/types.ts:365
Column names shown in the list view.
name:
string
Defined in: packages/admin/src/types.ts:353
The Drizzle table name (e.g., "posts").
overrides
Section titled “overrides”overrides:
TableOverrides
Defined in: packages/admin/src/types.ts:369
User-provided overrides applied to this table. See TableOverrides.
primaryKey
Section titled “primaryKey”primaryKey:
string
Defined in: packages/admin/src/types.ts:361
The name of the primary key column (e.g., "id").
searchableColumns
Section titled “searchableColumns”searchableColumns:
string[]
Defined in: packages/admin/src/types.ts:363
Column names that support text search in the list view.