// Path: app/src/main/java/info/izumin/android/sunazuri/domain/repository/OauthRepository.java
// public interface OauthRepository {
//     Single<AuthorizedUser> getToken(String code);
// }
// 
// Path: app/src/main/java/info/izumin/android/sunazuri/domain/repository/TeamsRepository.java
// public interface TeamsRepository {
//     Single<List<Team>> get(AuthorizedUser user);
// }
// 
// Path: app/src/main/java/info/izumin/android/sunazuri/domain/repository/UsersRepository.java
// public interface UsersRepository {
//     Observable<AuthorizedUser> getCurrentUser();
//     Single<List<AuthorizedUser>> getAuthorizedUsers();
//     Observable<LoginInfo> getLoginInfo();
// }


import dagger.Module;
import dagger.Provides;
import info.izumin.android.sunazuri.data.action.team.TeamActionCreator;
import info.izumin.android.sunazuri.data.action.user.UserActionCreator;
import info.izumin.android.sunazuri.domain.repository.OauthRepository;
import info.izumin.android.sunazuri.domain.repository.TeamsRepository;
import info.izumin.android.sunazuri.domain.repository.UsersRepository;
package info.izumin.android.sunazuri.data.action;


/**
 * Created by izumin on 5/22/2016 AD.
 */
@Module
public class ActionModule {
    public static final String TAG = ActionModule.class.getSimpleName();

    @Provides
    UserActionCreator userActionCreator(OauthRepository oauthRepo,
// Path: app/src/main/java/info/izumin/android/sunazuri/domain/repository/OauthRepository.java
// public interface OauthRepository {
//     Single<AuthorizedUser> getToken(String code);
// }
// 
// Path: app/src/main/java/info/izumin/android/sunazuri/domain/repository/TeamsRepository.java
// public interface TeamsRepository {
//     Single<List<Team>> get(AuthorizedUser user);
// }
// 
// Path: app/src/main/java/info/izumin/android/sunazuri/domain/repository/UsersRepository.java
// public interface UsersRepository {
//     Observable<AuthorizedUser> getCurrentUser();
//     Single<List<AuthorizedUser>> getAuthorizedUsers();
//     Observable<LoginInfo> getLoginInfo();
// }


// Path: app/src/main/java/info/izumin/android/sunazuri/data/action/ActionModule.java
import dagger.Module;
import dagger.Provides;
import info.izumin.android.sunazuri.data.action.team.TeamActionCreator;
import info.izumin.android.sunazuri.data.action.user.UserActionCreator;
import info.izumin.android.sunazuri.domain.repository.OauthRepository;
import info.izumin.android.sunazuri.domain.repository.TeamsRepository;
import info.izumin.android.sunazuri.domain.repository.UsersRepository;

package info.izumin.android.sunazuri.data.action;


/**
 * Created by izumin on 5/22/2016 AD.
 */
@Module
public class ActionModule {
    public static final String TAG = ActionModule.class.getSimpleName();

    @Provides
    UserActionCreator userActionCreator(OauthRepository oauthRepo,
                                        UsersRepository usersRepo,