1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-24 08:33:29 +00:00
Files
browser/libs/common/src/vault/models/request/attachment.request.ts
Nik Gilmore 0ec3f661d5 [PM-22992] Send lastKnownRevisionDate with Attachment API calls (#16862)
* Add lastKnownRevisionDate to Attachment methods.

* Address issues raised by Claude PR

* Fix string errors

* Show error to user in event of attachment upload failure

* Improve error handling for missing cipher

* Add unit tests for attachment lastKnownRevisionDate

* Remove generic title from toast errors

* Move lastKnwonRevisionDate to function input
2025-10-22 16:19:57 -07:00

10 lines
240 B
TypeScript

// FIXME: Update this file to be type safe and remove this and next line
// @ts-strict-ignore
export class AttachmentRequest {
fileName: string;
key: string;
fileSize: number;
adminRequest: boolean;
lastKnownRevisionDate: Date;
}