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
This commit is contained in:
23
src/types.ts
Normal file
23
src/types.ts
Normal file
@@ -0,0 +1,23 @@
|
||||
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;
|
||||
}
|
||||
Reference in New Issue
Block a user