2022-06-14 17:10:53 +02:00
|
|
|
import { CipherType } from "@bitwarden/common/enums/cipherType";
|
2022-10-14 18:25:50 +02:00
|
|
|
import { CipherView } from "@bitwarden/common/models/view/cipher.view";
|
|
|
|
import { CollectionView } from "@bitwarden/common/models/view/collection.view";
|
|
|
|
import { FolderView } from "@bitwarden/common/models/view/folder.view";
|
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;
|
|
|
|
}
|