Sin Descripción

GroupDetailRepository.swift 480B

1234567891011121314151617181920212223
  1. //
  2. // GroupDetailRepository.swift
  3. // PaiaiDataKit
  4. //
  5. // Created by ffib on 2019/1/3.
  6. // Copyright © 2019 yb. All rights reserved.
  7. //
  8. import Foundation
  9. import RxSwift
  10. protocol GroupDetailRepository {
  11. init(groupId: String)
  12. func load() -> Single<GroupDetailItem>
  13. func update(name: String) -> Completable
  14. func quit() -> Completable
  15. func lock() -> Completable
  16. func unlock() -> Completable
  17. func removeMember(userId: String) -> Completable
  18. }