| 
									
										
										
										
											2025-08-06 17:10:18 +03:00
										 |  |  | import { AttributeRow, NoteType } from "./rows.js"; | 
					
						
							| 
									
										
										
										
											2025-08-05 18:05:41 +03:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-03 16:22:54 +03:00
										 |  |  | export interface AppInfo { | 
					
						
							|  |  |  |     appVersion: string; | 
					
						
							|  |  |  |     dbVersion: number; | 
					
						
							|  |  |  |     nodeVersion: string; | 
					
						
							|  |  |  |     syncVersion: number; | 
					
						
							|  |  |  |     buildDate: string; | 
					
						
							|  |  |  |     buildRevision: string; | 
					
						
							|  |  |  |     dataDirectory: string; | 
					
						
							|  |  |  |     clipperProtocolVersion: string; | 
					
						
							|  |  |  |     /** for timezone inference */ | 
					
						
							|  |  |  |     utcDateTime: string; | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2025-08-05 18:05:41 +03:00
										 |  |  | 
 | 
					
						
							|  |  |  | export interface DeleteNotesPreview { | 
					
						
							|  |  |  |     noteIdsToBeDeleted: string[]; | 
					
						
							|  |  |  |     brokenRelations: AttributeRow[]; | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2025-08-06 17:10:18 +03:00
										 |  |  | 
 | 
					
						
							|  |  |  | export interface RevisionItem { | 
					
						
							|  |  |  |     noteId: string; | 
					
						
							|  |  |  |     revisionId?: string; | 
					
						
							|  |  |  |     dateLastEdited?: string; | 
					
						
							|  |  |  |     contentLength?: number; | 
					
						
							|  |  |  |     type: NoteType; | 
					
						
							|  |  |  |     title: string; | 
					
						
							|  |  |  |     isProtected?: boolean; | 
					
						
							|  |  |  |     mime: string; | 
					
						
							|  |  |  | } |