toggle Note Pin
Toggles the pinned state of a note with offline-first support.
Changes are immediately applied to local storage and queued for server synchronization. This operation flips the current pinned state of the note.
Features:
Immediate local toggle
Automatic background sync
State preservation across offline/online transitions
Smart conflict resolution for concurrent pin operations
Return
ToggleNotePinResult containing the updated pin state or error information
Parameters
note Uid
Unique identifier of the note to toggle pin state for