mirror of
https://github.com/zadam/trilium.git
synced 2025-11-04 20:36:13 +01:00
server-ts: Convert a few classes in becca
This commit is contained in:
36
src/becca/entities/rows.ts
Normal file
36
src/becca/entities/rows.ts
Normal file
@@ -0,0 +1,36 @@
|
||||
export interface AttachmentRow {
|
||||
attachmentId?: string;
|
||||
ownerId: string;
|
||||
role: string;
|
||||
mime: string;
|
||||
title?: string;
|
||||
position?: number;
|
||||
blobId: string;
|
||||
isProtected?: boolean;
|
||||
dateModified?: string;
|
||||
utcDateModified?: string;
|
||||
utcDateScheduledForErasureSince?: string;
|
||||
contentLength?: number;
|
||||
}
|
||||
|
||||
export interface RevisionRow {
|
||||
revisionId: string;
|
||||
noteId: string;
|
||||
type: string;
|
||||
mime: string;
|
||||
isProtected: boolean;
|
||||
title: string;
|
||||
blobId: string;
|
||||
dateLastEdited: string;
|
||||
dateCreated: string;
|
||||
utcDateLastEdited: string;
|
||||
utcDateCreated: string;
|
||||
utcDateModified: string;
|
||||
contentLength?: number;
|
||||
}
|
||||
|
||||
export interface RecentNoteRow {
|
||||
noteId: string;
|
||||
notePath: string;
|
||||
utcDateCreated?: string;
|
||||
}
|
||||
Reference in New Issue
Block a user