import 'package:freezed_annotation/freezed_annotation.dart';
import 'package:legacy_shared/legacy_shared.dart';

part 'delete_account_view_state.freezed.dart';

@freezed
abstract class DeleteAccountViewState with _$DeleteAccountViewState {
  const factory DeleteAccountViewState({
    UserEntity? loggedUser,
    @Default('') String password,
    @Default(false) bool isLoading,
    @Default(false) bool isDeleted,
    @Default(0) int confirmStep,
    @Default([]) List<DeviceEntity> devices,
    @Default([]) List<bool> deleteDevices,
    @Default('') String errorMessage,
  }) = _DeleteAccountViewState;
}
