UNPKG

@websolutespa/payload-plugin-bowl

Version:

Bowl PayloadCms plugin of the BOM Repository

29 lines (28 loc) 621 B
import { isRole, options } from '@websolutespa/payload-plugin-bowl'; const { slug, roles } = options; export const NewsletterAction = { type: 'withAction', slug: 'newsletter_action', admin: { defaultColumns: [ 'email' ] }, access: { read: isRole(roles.Admin, roles.Contributor) }, custom: { createEndUser: 'guest' }, fields: [ { name: 'firstName', type: 'withText' }, { name: 'lastName', type: 'withText' } ] }; //# sourceMappingURL=NewsletterAction.js.map