@websolutespa/payload-plugin-bowl
Version:
Bowl PayloadCms plugin of the BOM Repository
84 lines (83 loc) • 1.65 kB
JavaScript
import { withBlockOption, withSelectOption } from '../blocks/blocks';
export const FieldCollection = {
type: 'withCollection',
slug: 'field_collection',
fields: [
{
type: 'withAbstract'
},
{
type: 'withCategory'
},
{
type: 'withCheckbox'
},
{
type: 'withComponents',
blocks: [
withBlockOption
]
},
{
type: 'withDate'
},
{
type: 'withDescription'
},
{
type: 'withId'
},
{
type: 'withIsActive'
},
{
type: 'withIsDefault'
},
{
type: 'withMarkets'
},
{
type: 'withMedia'
},
{
type: 'withMedias'
},
{
type: 'withName'
},
{
type: 'withOrder',
slug: 'field_collection'
},
{
type: 'withRelated',
blocks: [
withBlockOption
]
},
{
type: 'withRichText'
},
{
type: 'withSelect',
options: [
withSelectOption
]
},
{
type: 'withTitle'
},
{
type: 'withSlug',
fieldToUse: 'title'
},
{
type: 'withTemplate',
slugToUse: 'field_collection'
},
{
type: 'withText'
}
]
};
//# sourceMappingURL=FieldCollection.js.map