add EntityRelation.targetRef

Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
Fredrik Adelöw
2022-02-18 13:56:52 +01:00
parent 9f713522e7
commit 4cca190797
@@ -197,8 +197,15 @@ export type EntityRelation = {
/**
* The target entity of this relation.
*
* @deprecated use targetRef instead
*/
target: EntityName;
/**
* The entity ref of the target of this relation.
*/
targetRef: string;
};
/**