@websolutespa/payload-plugin-bowl
Version:
Bowl PayloadCms plugin of the BOM Repository
26 lines (25 loc) • 635 B
JavaScript
export const Label = (options)=>({
type: 'withCollection',
slug: options.slug.label,
admin: {
group: options.group.config,
useAsTitle: 'id',
defaultColumns: [
'id',
'text'
]
},
fields: [
// inherited fields: id, createdAt, updatedAt
{
type: 'withId',
required: true
},
{
type: 'withText',
required: true,
localized: true
}
]
});
//# sourceMappingURL=Label.js.map