Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
chore(ts): add missing isDeleted and deleteId types to AttachmentRow
Panagiotis Papadopoulosf6785f7980ae
diff --git a/src/becca/entities/rows.ts b/src/becca/entities/rows.tsindex ba91891909..b57801e1ec 100644--- a/src/becca/entities/rows.ts+++ b/src/becca/entities/rows.ts@@ -1,4 +1,5 @@// 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 {attachmentId?: string;@@ -12,6 +13,8 @@ export interface AttachmentRow {dateModified?: string;utcDateModified?: string;utcDateScheduledForErasureSince?: string;+ isDeleted?: boolean;+ deleteId?: string;contentLength?: number;content?: Buffer | string;}