Skip to content

AdminTableMeta

AdminTableMeta = object

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

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

Introspected column metadata for every column in this table.


defaultSort: object

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

Default sort order for the list view.

column: string

direction: "asc" | "desc"


drizzleTable: SQLiteTable

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

The original Drizzle table object, used for queries and form generation.


label: string

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

Human-readable label for display in the sidebar and views (e.g., "Blog Posts").


listColumns: string[]

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

Column names shown in the list view.


name: string

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

The Drizzle table name (e.g., "posts").


overrides: TableOverrides

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

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


primaryKey: string

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

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


searchableColumns: string[]

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

Column names that support text search in the list view.