Return type for the useAssignmentPersistence hook.
Provides save state tracking, manual save trigger, and error management for assignment persistence operations.
Clear the error state
Last save error
Current file ID (null if not yet saved)
Whether there are unsaved changes
Whether a save is in progress
Last successful save timestamp
Mark that changes need saving
Manually trigger a save, returns file ID
Return type for the useAssignmentPersistence hook.
Remarks
Provides save state tracking, manual save trigger, and error management for assignment persistence operations.