mirror of
https://github.com/bitwarden/jslib
synced 2025-12-20 18:23:52 +00:00
Split jslib into multiple modules (#363)
* Split jslib into multiple modules
This commit is contained in:
13
common/src/models/request/cipherCreateRequest.ts
Normal file
13
common/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) {
|
||||
this.cipher = new CipherRequest(cipher);
|
||||
this.collectionIds = cipher.collectionIds;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user