@websolutespa/payload-plugin-bowl
Version:
Bowl PayloadCms plugin of the BOM Repository
22 lines (21 loc) • 517 B
JavaScript
import { isTenant } from '@/core';
import { TypeACollection } from './TypeACollection';
export const TenantCollection = {
type: 'withCollection',
slug: 'tenant_collection',
access: {
read: isTenant('tenant_collection')
},
fields: [
{
type: 'withName'
},
{
name: 'typeA',
type: 'relationship',
relationTo: TypeACollection.slug,
hasMany: true
}
]
};
//# sourceMappingURL=TenantCollection.js.map