IncomingRelationship
Defined in: packages/core/src/collections/validator.ts:15
Describes a relationship field in another collection that points to a given collection.
Used by collectionConfigToVexSchema to detect whether a search index should be
auto-generated on the current collection’s useAsTitle field.
Properties
Section titled “Properties”fieldKey
Section titled “fieldKey”fieldKey:
string
Defined in: packages/core/src/collections/validator.ts:19
The field key of the relationship field in that collection.
fromSlug
Section titled “fromSlug”fromSlug:
string
Defined in: packages/core/src/collections/validator.ts:17
The slug of the collection that holds the relationship field.