Package-level declarations

Types

Link copied to clipboard
@Serializable
data class IndexedDBInboundMegolmSession(val value: StoredInboundMegolmSession, val hasBeenBackedUp: Int)
Link copied to clipboard
@Serializable
data class IndexedDBKeyChainLink(val signingUserId: String, val signingKeyId: String, val signingKeyValue: String, val signedUserId: String, val signedKeyId: String, val signedKeyValue: String)
Link copied to clipboard
class IndexedDBReadTransaction(val database: Database) : CoroutineContext.Element
Link copied to clipboard
abstract class IndexedDBRepository(val objectStoreName: String)
Link copied to clipboard
class IndexedDBRepositoryTransactionManager(database: Database, allObjectStores: Array<String>, testMode: Boolean = false) : RepositoryTransactionManager
Link copied to clipboard
class IndexedDbWriteOperation(val objectStoreName: String, val operation: suspend WriteTransaction.(ObjectStore) -> Unit)
Link copied to clipboard
class IndexedDBWriteTransaction(val database: Database, val testMode: Boolean) : CoroutineContext.Element

Functions

Link copied to clipboard
fun VersionChangeTransaction.createIndexedDBMinimalStoreRepository(database: Database, objectStoreName: String, block: ObjectStore.() -> Unit = {})
Link copied to clipboard
suspend fun createIndexedDBRepositoriesModule(databaseName: String = "trixnity"): Module
fun VersionChangeTransaction.createIndexedDBTwoDimensionsStoreRepository(database: Database, objectStoreName: String, keyPath: KeyPath, firstKeyIndexName: String, firstKeyIndexKeyPath: KeyPath, block: ObjectStore.() -> Unit = {})
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
suspend fun <T> IndexedDBRepository.withIndexedDBRead(block: suspend Transaction.(ObjectStore) -> T): <Error class: unknown class>
Link copied to clipboard
suspend fun IndexedDBRepository.withIndexedDBWrite(block: suspend WriteTransaction.(ObjectStore) -> Unit)