dont use store, use context
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user