chore(repo): initialize planarchy workspace
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
type PlanningEntryIdentity = {
|
||||
id: string;
|
||||
entityId?: string | null;
|
||||
sourceAllocationId?: string | null;
|
||||
};
|
||||
|
||||
export function getPlanningEntryMutationId(entry: PlanningEntryIdentity): string {
|
||||
return entry.entityId ?? entry.sourceAllocationId ?? entry.id;
|
||||
}
|
||||
Reference in New Issue
Block a user