interface

This commit is contained in:
Niels Lyngsø
2023-01-25 16:23:41 +01:00
parent ba3e616966
commit 1f770840d0

View File

@@ -0,0 +1,25 @@
import { Observable } from "rxjs";
export interface UmbWorkspaceEntityContextInterface<T> {
readonly data:Observable<T>;
readonly name:Observable<string>;
entityKey?: string;
entityType: string;
getData(): T;
load(entityKey: string): void;
create(parentKey: string | null): void;
getStore(): unknown;
setPropertyValue(alias: string, value: unknown): void;
save(): Promise<void>;
destroy(): void;
}