//
//  GroupDetailRepository.swift
//  PaiaiDataKit
//
//  Created by ffib on 2019/1/3.
//  Copyright © 2019 yb. All rights reserved.
//

import Foundation
import RxSwift

protocol GroupDetailRepository {
    
    init(groupId: String)
    
    func load() -> Single<GroupDetailItem>
    func update(name: String) -> Completable
    func quit() -> Completable
    func lock() -> Completable
    func unlock() -> Completable
    func removeMember(userId: String) -> Completable
}