/** * Bidirectional manyToMany links share a join-table row and are kept on publish; they become * visible on the live site once the related entry is published. xToOne-style links are stripped. */ const isBidirectionalManyToMany = (attribute)=>attribute.relation === 'manyToMany' && Boolean(attribute.inversedBy || attribute.mappedBy); export { isBidirectionalManyToMany }; //# sourceMappingURL=draft-relations.mjs.map