SignInViewModel
ViewModel for the sign-in screen, managing authentication state and validation.
This ViewModel demonstrates form validation with TextFiledData and uses updateState for synchronous field updates and updateWith for async authentication operations. Field validation uses extension functions from core module (isEmailValid, isPasswordValid).
Parameters
authRepository
Repository providing authentication operations.
See also
Immutable data class representing form state
State wrapper with loading and error handling
Extension function for synchronous state updates
Extension function for async operations
Data class for text field state with validation
Data layer interface for authentication