mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 10:26:08 +01:00 
			
		
		
		
	Merge branch 'main' into feat/cleanup-logs
This commit is contained in:
		| @@ -146,7 +146,7 @@ export interface OptionDefinitions extends KeyboardShortcutsOptions<KeyboardActi | ||||
|     ollamaDefaultModel: string; | ||||
|     codeOpenAiModel: string; | ||||
|     aiSelectedProvider: string; | ||||
|  | ||||
|     seenCallToActions: string; | ||||
| } | ||||
|  | ||||
| export type OptionNames = keyof OptionDefinitions; | ||||
|   | ||||
| @@ -28,10 +28,10 @@ export interface RevisionRow { | ||||
|     title: string; | ||||
|     blobId?: string; | ||||
|     dateLastEdited?: string; | ||||
|     dateCreated: string; | ||||
|     dateCreated?: string; | ||||
|     utcDateLastEdited?: string; | ||||
|     utcDateCreated: string; | ||||
|     utcDateModified: string; | ||||
|     utcDateModified?: string; | ||||
|     contentLength?: number; | ||||
| } | ||||
|  | ||||
|   | ||||
| @@ -1,3 +1,5 @@ | ||||
| import { AttributeRow, NoteType } from "./rows.js"; | ||||
|  | ||||
| export interface AppInfo { | ||||
|     appVersion: string; | ||||
|     dbVersion: number; | ||||
| @@ -10,3 +12,52 @@ export interface AppInfo { | ||||
|     /** for timezone inference */ | ||||
|     utcDateTime: string; | ||||
| } | ||||
|  | ||||
| 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; | ||||
| } | ||||
|  | ||||
| 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; | ||||
| } | ||||
|  | ||||
| export interface RecentChangeRow { | ||||
|     noteId: string; | ||||
|     current_isDeleted: boolean; | ||||
|     current_deleteId: string; | ||||
|     current_title: string; | ||||
|     current_isProtected: boolean; | ||||
|     title: string; | ||||
|     utcDate: string; | ||||
|     date: string; | ||||
|     canBeUndeleted?: boolean; | ||||
| } | ||||
|  | ||||
| export interface BulkActionAffectedNotes { | ||||
|     affectedNoteCount: number; | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user