mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 18:12:29 +08:00
chore(ts): add missing isDeleted and deleteId types to AttachmentRow
This commit is contained in:
parent
bf15192b25
commit
f6785f7980
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user