refactor(react/dialogs): solve some type errors

This commit is contained in:
Elian Doran
2025-08-06 18:10:02 +03:00
parent 2ad4b26c9e
commit edd18b53d0
4 changed files with 36 additions and 15 deletions

View File

@@ -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;
}