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
24 lines
386 B
TypeScript
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;
|
|
}
|