delete Note
Deletes an existing note using smart deletion strategy.
Smart Delete Logic:
Locally created notes: Immediately removed from database (hard delete)
Server-synced notes: Marked as deleted and synchronized when online (soft delete)
This approach ensures optimal performance and data integrity across different network conditions while maintaining sync consistency.
Return
DeleteNoteResult indicating success, not found, or error status
Parameters
note Uid
Unique identifier of the note to delete