mirror of
https://github.com/bitwarden/browser
synced 2025-12-22 11:13:46 +00:00
getNested tree object by node id
This commit is contained in:
@@ -15,6 +15,7 @@ export abstract class CollectionService {
|
||||
getAll: () => Promise<Collection[]>;
|
||||
getAllDecrypted: () => Promise<CollectionView[]>;
|
||||
getAllNested: (collections?: CollectionView[]) => Promise<Array<TreeNode<CollectionView>>>;
|
||||
getNested: (id: string) => Promise<TreeNode<CollectionView>>;
|
||||
upsert: (collection: CollectionData | CollectionData[]) => Promise<any>;
|
||||
replace: (collections: { [id: string]: CollectionData; }) => Promise<any>;
|
||||
clear: (userId: string) => Promise<any>;
|
||||
|
||||
Reference in New Issue
Block a user