Package-level declarations
Types
Link copied to clipboard
@Serializable
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class IndexedDBRepositoryTransactionManager(database: IDBDatabase, allObjectStores: Array<String>, testMode: Boolean = false) : RepositoryTransactionManager
Link copied to clipboard
class IndexedDbWriteOperation(val objectStoreName: String, val operation: suspend WrappedTransaction.(WrappedObjectStore) -> Unit)
Link copied to clipboard
class IndexedDBWriteTransaction(val database: IDBDatabase, val testMode: Boolean) : CoroutineContext.Element
Functions
Link copied to clipboard
fun WrappedTransaction.createIndexedDBMinimalStoreRepository(database: IDBDatabase, objectStoreName: String, block: WrappedTransaction.(WrappedObjectStore) -> Unit = {})
Link copied to clipboard
fun WrappedTransaction.createIndexedDBTwoDimensionsStoreRepository(database: IDBDatabase, objectStoreName: String, keyPath: KeyPath?, firstKeyIndexName: String, firstKeyIndexKeyPath: KeyPath, block: WrappedTransaction.(WrappedObjectStore) -> Unit = {})
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
suspend fun <T> IndexedDBRepository.withIndexedDBRead(block: suspend WrappedTransaction.(WrappedObjectStore) -> T): T
Link copied to clipboard
suspend fun IndexedDBRepository.withIndexedDBWrite(block: suspend WrappedTransaction.(WrappedObjectStore) -> Unit)