dont use store, use context

This commit is contained in:
Niels Lyngsø
2023-01-27 12:23:45 +01:00
parent 08964bbb13
commit 650f14e8ca
3 changed files with 18 additions and 9 deletions

View File

@@ -18,11 +18,20 @@ export interface UmbTreeStore<T> extends UmbDataStore {
// Notice: this might not be right to put here as only some content items has ability to be trashed.
/**
* @description - Trash data.
* @param {object} data
* @param {string[]} keys
* @return {*} {(Promise<void>)}
* @memberof UmbContentStore
* @memberof UmbTreeStore
*/
trash(keys: string[]): Promise<void>;
// Notice: this might not be right to put here as only some content items has ability to be moved.
/**
* @description - Move data.
* @param {string[]} keys
* @return {*} {(Promise<void>)}
* @memberof UmbTreeStore
*/
move(keys: string[], destination: string): Promise<void>;
}
export interface UmbEntityDetailStore<T> extends UmbDataStore {