mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 08:13:42 +00:00
19 lines
488 B
TypeScript
19 lines
488 B
TypeScript
import { CipherRequest } from './cipherRequest';
|
|
|
|
import { Cipher } from '../domain/cipher';
|
|
|
|
export class CipherBulkShareRequest {
|
|
ciphers: CipherRequest[];
|
|
collectionIds: string[];
|
|
|
|
constructor(ciphers: Cipher[], collectionIds: string[]) {
|
|
if (ciphers != null) {
|
|
this.ciphers = [];
|
|
ciphers.forEach((c) => {
|
|
this.ciphers.push(new CipherRequest(c));
|
|
});
|
|
}
|
|
this.collectionIds = collectionIds;
|
|
}
|
|
}
|