added users admin page + publicId

This commit is contained in:
PxlLoewe
2025-02-16 12:23:31 +01:00
parent 56a695c090
commit 586a747486
8 changed files with 77 additions and 3 deletions

View File

@@ -0,0 +1,31 @@
import { PaginatedTable } from '../../../_components/PaginatedTable';
export default async () => {
return (
<PaginatedTable
prismaModel="user"
columns={[
{
header: 'ID',
accessorKey: 'publicId',
},
{
header: 'Vorname',
accessorKey: 'firstname',
},
{
header: 'Nachname',
accessorKey: 'lastname',
},
{
header: 'Email',
accessorKey: 'email',
},
{
header: 'Role',
accessorKey: 'role',
},
]}
/>
);
};