//
//  AppAction.swift
//  PokeMaster
//
//  Created by huangjian on 2020/1/9.
//  Copyright © 2020 huangjian. All rights reserved.
//

import Foundation

enum AppAction {
    case login(email: String, password: String)
    case accountBehaviorDone(result: Result<User, AppError>)
    case logout
    
    case emailValid(valid: Bool)
    
    case loadPokemons
    case loadPokemonsDone(
      result: Result<[PokemonViewModel], AppError>
    )
    
}
