mirror of
https://github.com/zadam/trilium.git
synced 2025-11-17 22:29:19 +08:00
chore(ts): add missing isDeleted and deleteId types to AttachmentRow
This commit is contained in:
parent
bf15192b25
commit
f6785f7980
1 changed files with 3 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue