export const Deals: CollectionConfig = {
slug: 'deals',
views: [board({ groupBy: 'stage' })],
access: { read: isTeam, update: isOwner },
fields: [
{ name: 'company', type: 'text' },
{ name: 'amount', type: 'number' },
],
};Collections become instant UI
Declare fields and access rules once. Get Admin tables, Kanban boards, calendars, REST, and typed Local APIs automatically.