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:
13
src/models/request/cipherCreateRequest.ts
Normal file
13
src/models/request/cipherCreateRequest.ts
Normal 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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user