This commit is contained in:
Mads Rasmussen
2023-03-20 13:10:15 +01:00
parent de517ff935
commit 8a7724efa7

View File

@@ -2,7 +2,7 @@ import type { UmbWorkspaceContextInterface } from './workspace-context.interface
export interface UmbEntityWorkspaceContextInterface<T = unknown> extends UmbWorkspaceContextInterface<T> {
getEntityKey(): string | undefined; // COnsider if this should go away now that we have getUnique()
getEntityType(): string;
getEntityType(): string; // TODO: consider of this should be on the repository because a repo is responsible for one entity type
getData(): T;
save(): Promise<void>;
}