The models option lets you override behavior per Prisma model, keyed by
model name.
hidden
Fields listed here never appear anywhere in the admin — not in list views, not in create/edit forms. Use this for sensitive fields you don’t want rendered under any circumstance.
readonly
Fields listed here are shown in edit forms but cannot be changed — useful
for id, timestamps, or anything else that should be visible but immutable
through the admin.
listFields
Controls which columns appear in the list view for a model. Without this, sveltekit-admin shows the first six non-hidden fields. Set it explicitly to control column order and which fields matter for at-a-glance scanning.
listFields is also the escape hatch for the automatic sensitive-field
detection described in Field Types — listing a field
here shows it in the list view regardless of what its name looks like.
label
Overrides the display name used for the model throughout the admin UI (navigation, dashboard, page titles). Defaults to the Prisma model name.