//
//  GroupRepository.swift
//  PaiaiDataKit
//
//  Created by FFIB on 2019/1/2.
//  Copyright © 2019 FFIB. All rights reserved.
//

import Foundation
import RxSwift

protocol GroupRepository {
    func load(page: Int) -> Single<NetworkArrayData<GroupItem>>
    func remove(groupId: String) -> Completable
    func join(type: QRType, parameter: Parameter) -> Single<GroupItem>
    func create(groupName: String, avatar: String)  -> Single<GroupItem>
}