UNPKG

@nexo-labs/payload-taxonomies

Version:

Taxonomies for Payload CMS

13 lines (12 loc) 433 B
import "@nexo-labs/hegel"; import { DefaultValue, Field, FilterOptions } from "payload"; export declare const taxonomyRelationship: Field; interface BuildTaxonomyRelationshipFieldProps { name?: string; label?: string; filterOptions?: FilterOptions; defaultValue: DefaultValue; required?: boolean; } export declare const buildTaxonomyRelationship: (field: BuildTaxonomyRelationshipFieldProps) => Field; export {};