Class: EntityReference
Class used to create a reference to an entity in a different path
Constructors​
new EntityReference()​
new EntityReference(
id
,path
):EntityReference
Parameters​
• id: string
• path: string
Returns​
Defined in​
packages/firecms_core/src/types/entities.ts:53
Properties​
id​
readonly
id:string
ID of the entity
Defined in​
packages/firecms_core/src/types/entities.ts:46
path​
readonly
path:string
A string representing the path of the referenced document (relative to the root of the database).
Defined in​
packages/firecms_core/src/types/entities.ts:51
Accessors​
pathWithId​
get
pathWithId():string
Returns​
string
Defined in​
packages/firecms_core/src/types/entities.ts:58
Methods​
isEntityReference()​
isEntityReference():
boolean
Returns​
boolean