mirror of
https://github.com/bitwarden/browser
synced 2025-12-20 02:03:39 +00:00
* [AC-1174] Add bulk edit collection access event type * [AC-1174] Add bulk edit collection access menu option * [AC-1174] Add initial bulk collections access dialog * [AC-1174] Add logic to open bulk edit collections dialog * [AC-1174] Move AccessItemView helper methods to access selector model to be shared * [AC-1174] Add access selector to bulk collections dialog * [AC-1174] Add bulk assign access method to collection-admin service * [AC-1174] Introduce strongly typed BulkCollectionAccessRequest model * [AC-1174] Update vault item event type name * Update DialogService dependency --------- Co-authored-by: Thomas Rittson <trittson@bitwarden.com>
19 lines
864 B
TypeScript
19 lines
864 B
TypeScript
import { CollectionView } from "@bitwarden/common/src/vault/models/view/collection.view";
|
|
import { CipherView } from "@bitwarden/common/vault/models/view/cipher.view";
|
|
|
|
import { VaultItem } from "./vault-item";
|
|
|
|
export type VaultItemEvent =
|
|
| { type: "viewAttachments"; item: CipherView }
|
|
| { type: "viewCollections"; item: CipherView }
|
|
| { type: "viewAccess"; item: CollectionView }
|
|
| { type: "bulkEditCollectionAccess"; items: CollectionView[] }
|
|
| { type: "viewEvents"; item: CipherView }
|
|
| { type: "edit"; item: CollectionView }
|
|
| { type: "clone"; item: CipherView }
|
|
| { type: "restore"; items: CipherView[] }
|
|
| { type: "delete"; items: VaultItem[] }
|
|
| { type: "copyField"; item: CipherView; field: "username" | "password" | "totp" }
|
|
| { type: "moveToFolder"; items: CipherView[] }
|
|
| { type: "moveToOrganization"; items: CipherView[] };
|