Skip to content

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.

getIncomingRelationships

fieldKey: string

Defined in: packages/core/src/collections/validator.ts:19

The field key of the relationship field in that collection.


fromSlug: string

Defined in: packages/core/src/collections/validator.ts:17

The slug of the collection that holds the relationship field.