mirror of
https://github.com/bitwarden/browser
synced 2025-12-21 18:53:29 +00:00
Update revision date upon cipher restore (#243)
* Update revision date upon cipher restore * Receive and use returned datetimes from restore
This commit is contained in:
@@ -206,9 +206,9 @@ export abstract class ApiService {
|
||||
putDeleteCipherAdmin: (id: string) => Promise<any>;
|
||||
putDeleteManyCiphers: (request: CipherBulkDeleteRequest) => Promise<any>;
|
||||
putDeleteManyCiphersAdmin: (request: CipherBulkDeleteRequest) => Promise<any>;
|
||||
putRestoreCipher: (id: string) => Promise<any>;
|
||||
putRestoreCipherAdmin: (id: string) => Promise<any>;
|
||||
putRestoreManyCiphers: (request: CipherBulkRestoreRequest) => Promise<any>;
|
||||
putRestoreCipher: (id: string) => Promise<CipherResponse>;
|
||||
putRestoreCipherAdmin: (id: string) => Promise<CipherResponse>;
|
||||
putRestoreManyCiphers: (request: CipherBulkRestoreRequest) => Promise<ListResponse<CipherResponse>>;
|
||||
|
||||
postCipherAttachment: (id: string, data: FormData) => Promise<CipherResponse>;
|
||||
postCipherAttachmentAdmin: (id: string, data: FormData) => Promise<CipherResponse>;
|
||||
|
||||
@@ -53,7 +53,7 @@ export abstract class CipherService {
|
||||
softDelete: (id: string | string[]) => Promise<any>;
|
||||
softDeleteWithServer: (id: string) => Promise<any>;
|
||||
softDeleteManyWithServer: (ids: string[]) => Promise<any>;
|
||||
restore: (id: string | string[]) => Promise<any>;
|
||||
restore: (cipher: { id: string, revisionDate: string; } | { id: string, revisionDate: string; }[]) => Promise<any>;
|
||||
restoreWithServer: (id: string) => Promise<any>;
|
||||
restoreManyWithServer: (ids: string[]) => Promise<any>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user