mirror of
https://github.com/bitwarden/browser
synced 2026-02-27 01:53:23 +00:00
* [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
20 lines
578 B
TypeScript
20 lines
578 B
TypeScript
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;
|
|
}
|
|
}
|