UNPKG

@websolutespa/payload-plugin-bowl

Version:

Bowl PayloadCms plugin of the BOM Repository

24 lines (23 loc) 655 B
import { hasRole } from '../core'; import { roles } from '../types'; export const CountryZone = (options)=>({ type: 'withStatic', src: 'https://actarian.github.io/cms-i18n-react/api/countryZone.json', slug: options.slug.countryZone, admin: { hidden: (args)=>!hasRole(args.user, roles.Admin) }, fields: [ { name: 'id', label: 'ID', type: 'text' }, { name: 'name', label: 'Name', type: 'text' } ] }); //# sourceMappingURL=CountryZone.js.map