2020-11-06 01:41:01 +01:00
|
|
|
import SessionProtocolKit
|
|
|
|
|
|
|
|
public protocol SessionMessagingKitStorageProtocol {
|
|
|
|
|
|
|
|
func with(_ work: (Any) -> Void)
|
|
|
|
|
2020-11-06 09:32:09 +01:00
|
|
|
func getUserPublicKey() -> String?
|
2020-11-06 01:41:01 +01:00
|
|
|
func getOrGenerateRegistrationID(using transaction: Any) -> UInt32
|
2020-11-06 09:32:09 +01:00
|
|
|
func isClosedGroup(_ publicKey: String) -> Bool
|
|
|
|
func getClosedGroupPrivateKey(for publicKey: String) -> String?
|
2020-11-08 03:12:38 +01:00
|
|
|
func persist(_ job: Job, using transaction: Any)
|
2020-11-06 01:41:01 +01:00
|
|
|
}
|