import 'package:freezed_annotation/freezed_annotation.dart';
import 'package:kasy_kit/features/authentication/providers/models/email.dart';
import 'package:kasy_kit/features/authentication/providers/models/password.dart';

part 'signin_state.freezed.dart';

@freezed
sealed class SigninState with _$SigninState {
  const factory SigninState({
    required Email email,
    required Password password,
  }) = SigninStateData;

  const factory SigninState.sending({
    required Email email,
    required Password password,
  }) = SigninStateSending;

  const SigninState._();
}
