2022-06-14 17:10:53 +02:00
|
|
|
import { CipherType } from "@bitwarden/common/enums/cipherType";
|
|
|
|
import { CipherView } from "@bitwarden/common/models/view/cipherView";
|
|
|
|
import { CollectionView } from "@bitwarden/common/models/view/collectionView";
|
|
|
|
import { FolderView } from "@bitwarden/common/models/view/folderView";
|
2022-02-24 18:14:04 +01:00
|
|
|
|
2022-01-27 22:22:51 +01:00
|
|
|
import { BrowserComponentState } from "./browserComponentState";
|
|
|
|
|
|
|
|
export class BrowserGroupingsComponentState extends BrowserComponentState {
|
|
|
|
favoriteCiphers: CipherView[];
|
|
|
|
noFolderCiphers: CipherView[];
|
|
|
|
ciphers: CipherView[];
|
|
|
|
collectionCounts: Map<string, number>;
|
|
|
|
folderCounts: Map<string, number>;
|
|
|
|
typeCounts: Map<CipherType, number>;
|
|
|
|
folders: FolderView[];
|
|
|
|
collections: CollectionView[];
|
|
|
|
deletedCount: number;
|
|
|
|
}
|