import {
  createColumnLoader,
  ColumnMetadata,
} from '../DataGrid/configBuilderFactory';

const PERMISSIONS_COLUMNS: ColumnMetadata[] = [
  { field: 'name', headerName: 'Name', type: 'text', editable: true },
  { field: 'actions', headerName: '', type: 'actions' },
];

export const loadColumns = createColumnLoader({
  entityName: 'permissions',
  columns: PERMISSIONS_COLUMNS,
});
