mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 10:55:55 +01:00
refactor(react/dialogs): solve some type errors
This commit is contained in:
@@ -28,3 +28,20 @@ export interface RevisionItem {
|
||||
isProtected?: boolean;
|
||||
mime: string;
|
||||
}
|
||||
|
||||
export interface RevisionPojo {
|
||||
revisionId?: string;
|
||||
noteId: string;
|
||||
type: NoteType;
|
||||
mime: string;
|
||||
isProtected?: boolean;
|
||||
title: string;
|
||||
blobId?: string;
|
||||
dateLastEdited?: string;
|
||||
dateCreated?: string;
|
||||
utcDateLastEdited?: string;
|
||||
utcDateCreated?: string;
|
||||
utcDateModified?: string;
|
||||
content?: string | Buffer<ArrayBufferLike>;
|
||||
contentLength?: number;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user