Skip to content

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.

columns: AdminColumnConfig[]

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

Introspected column metadata for every column in this table.


defaultSort: object

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

Default sort order for the list view.

column: string

direction: "asc" | "desc"


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: 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: TableOverrides

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

User-provided overrides applied to this table. See TableOverrides.


primaryKey: string

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

The name of the primary key column (e.g., "id").


searchableColumns: string[]

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

Column names that support text search in the list view.