Pular para o conteúdo principal

externalRelation <T>

Represents a Relation entity returned by the API.

Index

Properties

Properties

externalid

id: number

externalobject

object: T

externaltype

type: T extends Entry<never> ? entry : T extends Singleton<never> ? singleton : T extends MediaObject ? media : T extends Collection<string> ? collection : string

The relation type, which is always a string. If the object field of this Relation is an Entry, type will be entry, if it’s a Singleton, type will be singleton, and so on.