mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 10:26:08 +01:00 
			
		
		
		
	refactor(react/dialogs): deduplicate data types
This commit is contained in:
		| @@ -1,4 +1,4 @@ | ||||
| import { AttributeRow } from "./rows.js"; | ||||
| import { AttributeRow, NoteType } from "./rows.js"; | ||||
|  | ||||
| export interface AppInfo { | ||||
|     appVersion: string; | ||||
| @@ -17,3 +17,14 @@ export interface DeleteNotesPreview { | ||||
|     noteIdsToBeDeleted: string[]; | ||||
|     brokenRelations: AttributeRow[]; | ||||
| } | ||||
|  | ||||
| export interface RevisionItem { | ||||
|     noteId: string; | ||||
|     revisionId?: string; | ||||
|     dateLastEdited?: string; | ||||
|     contentLength?: number; | ||||
|     type: NoteType; | ||||
|     title: string; | ||||
|     isProtected?: boolean; | ||||
|     mime: string; | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user