diff --git a/src/app/core/cache/models/entities/normalized-relationship.model.ts b/src/app/core/cache/models/entities/normalized-relationship.model.ts index 0f5bb6cf905b4ecd34912a6ec6aaf5d0577c7aa4..598687bbdea4fe19539c657c0f787025301a9069 100644 --- a/src/app/core/cache/models/entities/normalized-relationship.model.ts +++ b/src/app/core/cache/models/entities/normalized-relationship.model.ts @@ -30,6 +30,18 @@ export class NormalizedRelationship extends NormalizedObject { @autoserialize rightId: string; + /** + * The place of the Entity to the left side of this Relationship + */ + @autoserialize + leftPlace: number; + + /** + * The place of the Entity to the right side of this Relationship + */ + @autoserialize + rightPlace: number; + /** * The type of Relationship */ diff --git a/src/app/core/shared/entities/relationship.model.ts b/src/app/core/shared/entities/relationship.model.ts index 62c204925e06b05aff26ec0b2cc21a077001f56b..2106a83f5d4d3821de1c16611326f3648da393b0 100644 --- a/src/app/core/shared/entities/relationship.model.ts +++ b/src/app/core/shared/entities/relationship.model.ts @@ -35,6 +35,16 @@ export class Relationship implements CacheableObject { */ rightId: string; + /** + * The place of the Entity to the left side of this Relationship + */ + leftPlace: number; + + /** + * The place of the Entity to the right side of this Relationship + */ + rightPlace: number; + /** * The type of Relationship */