chore: fix conflict map addition/removal

This commit is contained in:
Aman Harwara
2023-06-25 16:05:50 +05:30
parent 74ba220982
commit 195420101a
2 changed files with 19 additions and 2 deletions

View File

@@ -25,6 +25,14 @@ export class UuidMap {
return copy
}
public existsInDirectMap(uuid: string): boolean {
return uuid in this.directMap
}
public existsInInverseMap(uuid: string): boolean {
return uuid in this.inverseMap
}
public getDirectRelationships(uuid: string): string[] {
return this.directMap[uuid] || []
}