Files
nextcloud-notes-desktop-app/src/types.ts
drelich 2ad076c052 Initial commit: Nextcloud Notes Tauri app with WYSIWYG editor
Features:
- WYSIWYG markdown editor with TipTap
- Manual save with unsaved changes indicator
- Auto-title derivation from first line (with manual override)
- Manual sync button with visual feedback
- Auto-sync every 5 minutes
- Full formatting toolbar (bold, italic, headings, lists, code)
- Note creation, editing, deletion
- Search and favorites filter
- Cross-platform desktop app built with Tauri + React + TypeScript
2026-03-16 23:49:51 +01:00

24 lines
386 B
TypeScript

export interface Note {
id: number;
etag: string;
readonly: boolean;
content: string;
title: string;
category: string;
favorite: boolean;
modified: number;
}
export interface APIConfig {
serverURL: string;
username: string;
password: string;
}
export interface AppSettings {
serverURL: string;
username: string;
syncInterval: number;
fontSize: number;
}