1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-18 09:13:33 +00:00

[PM-2383] Bulk collection assignment (#8429)

* [PM-2383] Add bulkUpdateCollectionsWithServer method to CipherService

* [PM-2383] Introduce bulk-collection-assignment-dialog.component

* [PM-2383] Add bulk assign collections option to org vault
This commit is contained in:
Shane Melton
2024-03-22 13:16:29 -07:00
committed by GitHub
parent 905d177873
commit bac0874dc0
13 changed files with 443 additions and 2 deletions

View File

@@ -0,0 +1,19 @@
import { CipherId, CollectionId, OrganizationId } from "../../../types/guid";
export class CipherBulkUpdateCollectionsRequest {
organizationId: OrganizationId;
cipherIds: CipherId[];
collectionIds: CollectionId[];
removeCollections: boolean;
constructor(
organizationId: OrganizationId,
cipherIds: CipherId[],
collectionIds: CollectionId[],
removeCollections: boolean = false,
) {
this.organizationId = organizationId;
this.cipherIds = cipherIds;
this.collectionIds = collectionIds;
this.removeCollections = removeCollections;
}
}