chore(ts): add missing isDeleted and deleteId types to AttachmentRow

This commit is contained in:
Panagiotis Papadopoulos 2025-02-22 18:38:00 +01:00
parent bf15192b25
commit f6785f7980

View File

@ -1,4 +1,5 @@
// TODO: Booleans should probably be numbers instead (as SQLite does not have booleans.); // TODO: Booleans should probably be numbers instead (as SQLite does not have booleans.);
// TODO: check against schema.sql which properties really are "optional"
export interface AttachmentRow { export interface AttachmentRow {
attachmentId?: string; attachmentId?: string;
@ -12,6 +13,8 @@ export interface AttachmentRow {
dateModified?: string; dateModified?: string;
utcDateModified?: string; utcDateModified?: string;
utcDateScheduledForErasureSince?: string; utcDateScheduledForErasureSince?: string;
isDeleted?: boolean;
deleteId?: string;
contentLength?: number; contentLength?: number;
content?: Buffer | string; content?: Buffer | string;
} }