mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-26 14:54:55 +00:00
15 lines
502 B
Lua
15 lines
502 B
Lua
--- Get user table column definitions
|
|
---@return TableColumn[] Column definitions
|
|
local function get_columns()
|
|
return {
|
|
{ id = "username", label = "Username", sortable = true },
|
|
{ id = "email", label = "Email", sortable = true },
|
|
{ id = "role", label = "Role", sortable = true },
|
|
{ id = "level", label = "Level", sortable = true },
|
|
{ id = "active", label = "Status", type = "badge" },
|
|
{ id = "actions", label = "", type = "actions" }
|
|
}
|
|
end
|
|
|
|
return get_columns
|