1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 08:43:33 +00:00

apis for new create with collections

This commit is contained in:
Kyle Spearrin
2018-10-19 09:14:11 -04:00
parent d1f7a97011
commit bf48b45010
5 changed files with 34 additions and 7 deletions

View File

@@ -0,0 +1,13 @@
import { CipherRequest } from './cipherRequest';
import { Cipher } from '../domain/cipher';
export class CipherCreateRequest {
cipher: CipherRequest;
collectionIds: string[];
constructor(cipher: Cipher, collectionIds: string[]) {
this.cipher = new CipherRequest(cipher);
this.collectionIds = collectionIds;
}
}