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:
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user