@sitecore/sc-contenthub-webclient-sdk
Version:
Sitecore Content Hub WebClient SDK.
20 lines (19 loc) • 426 B
TypeScript
/**
* Describes the cardinality of a relation.
* All values are from Parent =\> Child.
*/
export declare enum RelationCardinality {
/**
* One parent to many children.
*/
OneToMany = 0,
/**
* Many parents to many children.
*/
ManyToMany = 1,
/**
* One parent to one child.
*/
OneToOne = 2
}
export type RelationCardinalityType = "OneToMany" | "ManyToMany" | "OneToOne";