feat: Added a conflict resolution dialog and a Conflicts view for easier management of conflicts (#2337)

This commit is contained in:
Aman Harwara
2023-06-25 14:27:51 +05:30
committed by GitHub
parent 49d43fd14b
commit e0e9249334
48 changed files with 1201 additions and 94 deletions

View File

@@ -10,6 +10,14 @@ export class UuidMap {
/** uuid to uuids that have a relationship with us */
private inverseMap: Partial<Record<string, string[]>> = {}
public get directMapSize(): number {
return Object.keys(this.directMap).length
}
public get inverseMapSize(): number {
return Object.keys(this.inverseMap).length
}
public makeCopy(): UuidMap {
const copy = new UuidMap()
copy.directMap = Object.assign({}, this.directMap)