@@ -13534,35 +13534,35 @@ IDBCreateIndexOptions[JT] val locale: js.UndefOr[String]
1353413534IDBCreateIndexOptions[JT] val multiEntry: js.UndefOr[Boolean]
1353513535IDBCreateIndexOptions[JT] val unique: js.UndefOr[Boolean]
1353613536IDBCreateObjectStoreOptions[JT] val autoIncrement: js.UndefOr[Boolean]
13537- IDBCreateObjectStoreOptions[JT] val keyPath: Any
13537+ IDBCreateObjectStoreOptions[JT] val keyPath: IDBKeyPath
1353813538IDBCursor[JC] def advance(count: Int): Unit
13539- IDBCursor[JC] def continue(key: Any ?): Unit
13540- IDBCursor[JC] def delete(): IDBRequest[Unit]
13539+ IDBCursor[JC] def continue(key: IDBKey ?): Unit
13540+ IDBCursor[JC] def delete(): IDBRequest[S, Unit]
1354113541IDBCursor[JC] def direction: IDBCursorDirection
13542- IDBCursor[JC] def key: Any
13543- IDBCursor[JC] def primaryKey: Any
13544- IDBCursor[JC] def source: Any
13545- IDBCursor[JC] def update(value: Any ): IDBRequest[Any ]
13542+ IDBCursor[JC] def key: IDBKey
13543+ IDBCursor[JC] def primaryKey: IDBKey
13544+ IDBCursor[JC] def source: S
13545+ IDBCursor[JC] def update(value: IDBValue ): IDBRequest[S, IDBKey ]
1354613546IDBCursorDirection[JT]
13547- IDBCursorDirection[SO] val NEXT : IDBCursorDirection
13548- IDBCursorDirection[SO] val NEXT_UNIQUE : IDBCursorDirection
13549- IDBCursorDirection[SO] val PREV : IDBCursorDirection
13550- IDBCursorDirection[SO] val PREV_UNIQUE : IDBCursorDirection
13547+ IDBCursorDirection[SO] def next : IDBCursorDirection
13548+ IDBCursorDirection[SO] def nextunique : IDBCursorDirection
13549+ IDBCursorDirection[SO] def prev : IDBCursorDirection
13550+ IDBCursorDirection[SO] def prevunique : IDBCursorDirection
1355113551IDBCursorReadOnly[JC] def advance(count: Int): Unit
13552- IDBCursorReadOnly[JC] def continue(key: Any ?): Unit
13552+ IDBCursorReadOnly[JC] def continue(key: IDBKey ?): Unit
1355313553IDBCursorReadOnly[JC] def direction: IDBCursorDirection
13554- IDBCursorReadOnly[JC] def key: Any
13555- IDBCursorReadOnly[JC] def primaryKey: Any
13556- IDBCursorReadOnly[JC] def source: Any
13554+ IDBCursorReadOnly[JC] def key: IDBKey
13555+ IDBCursorReadOnly[JC] def primaryKey: IDBKey
13556+ IDBCursorReadOnly[JC] def source: S
1355713557IDBCursorWithValue[JC] def advance(count: Int): Unit
13558- IDBCursorWithValue[JC] def continue(key: Any ?): Unit
13559- IDBCursorWithValue[JC] def delete(): IDBRequest[Unit]
13558+ IDBCursorWithValue[JC] def continue(key: IDBKey ?): Unit
13559+ IDBCursorWithValue[JC] def delete(): IDBRequest[S, Unit]
1356013560IDBCursorWithValue[JC] def direction: IDBCursorDirection
13561- IDBCursorWithValue[JC] def key: Any
13562- IDBCursorWithValue[JC] def primaryKey: Any
13563- IDBCursorWithValue[JC] def source: Any
13564- IDBCursorWithValue[JC] def update(value: Any ): IDBRequest[Any ]
13565- IDBCursorWithValue[JC] def value: Any
13561+ IDBCursorWithValue[JC] def key: IDBKey
13562+ IDBCursorWithValue[JC] def primaryKey: IDBKey
13563+ IDBCursorWithValue[JC] def source: S
13564+ IDBCursorWithValue[JC] def update(value: IDBValue ): IDBRequest[S, IDBKey ]
13565+ IDBCursorWithValue[JC] def value: IDBValue
1356613566IDBDatabase[JC] def addEventListener[T <: Event](`type`: String, listener: js.Function1[T, _], options: EventListenerOptions): Unit
1356713567IDBDatabase[JC] def addEventListener[T <: Event](`type`: String, listener: js.Function1[T, _], useCapture: Boolean?): Unit
1356813568IDBDatabase[JC] def close(): Unit
@@ -13576,7 +13576,7 @@ IDBDatabase[JC] var onerror: js.Function1[Event, _]
1357613576IDBDatabase[JC] var onversionchange: js.Function1[IDBVersionChangeEvent, _]
1357713577IDBDatabase[JC] def removeEventListener[T <: Event](`type`: String, listener: js.Function1[T, _], options: EventListenerOptions): Unit
1357813578IDBDatabase[JC] def removeEventListener[T <: Event](`type`: String, listener: js.Function1[T, _], useCapture: Boolean?): Unit
13579- IDBDatabase[JC] def transaction(storeNames: Any , mode: IDBTransactionMode?): IDBTransaction
13579+ IDBDatabase[JC] def transaction(storeNames: String | js.Array[String] , mode: js.UndefOr[ IDBTransactionMode]?, options: js.UndefOr[IDBTransactionOptions] ?): IDBTransaction
1358013580IDBDatabase[JC] def version: Int
1358113581IDBDatabaseInfo[JT] val name: String
1358213582IDBDatabaseInfo[JT] val version: Int
@@ -13601,45 +13601,47 @@ IDBEventTarget[JC] def dispatchEvent(evt: Event): Boolean
1360113601IDBEventTarget[JC] def removeEventListener[T <: Event](`type`: String, listener: js.Function1[T, _], options: EventListenerOptions): Unit
1360213602IDBEventTarget[JC] def removeEventListener[T <: Event](`type`: String, listener: js.Function1[T, _], useCapture: Boolean?): Unit
1360313603IDBEventTarget[JC] def result: A
13604- IDBFactory[JC] def cmp(first: Any , second: Any ): Int
13604+ IDBFactory[JC] def cmp(first: IDBValue , second: IDBValue ): Int
1360513605IDBFactory[JC] def databases(): js.Promise[js.Array[IDBDatabaseInfo]]
1360613606IDBFactory[JC] def deleteDatabase(name: String): IDBOpenDBRequest[Unit]
1360713607IDBFactory[JC] def open(name: String, version: Int?): IDBOpenDBRequest[IDBDatabase]
13608- IDBIndex[JC] def count(): IDBRequest[Int]
13609- IDBIndex[JC] def count(key: Any): IDBRequest[Int]
13610- IDBIndex[JC] def get(key: Any): IDBRequest[Any]
13611- IDBIndex[JC] def getKey(key: Any): IDBRequest[js.UndefOr[Any]]
13612- IDBIndex[JC] def keyPath: String
13608+ IDBIndex[JC] def count(query: IDBKey | IDBKeyRange?): IDBRequest[S, Int]
13609+ IDBIndex[JC] def get(key: IDBKey | IDBKeyRange): IDBRequest[S, IDBValue]
13610+ IDBIndex[JC] def getAll(query: js.UndefOr[IDBKeyRange | IDBKey]?, count: js.UndefOr[Int]?): IDBRequest[S, js.Array[IDBValue]]
13611+ IDBIndex[JC] def getAllKeys(query: js.UndefOr[IDBKeyRange | IDBKey]?, count: js.UndefOr[Int]?): IDBRequest[S, js.Array[IDBKey]]
13612+ IDBIndex[JC] def getKey(key: IDBKey): IDBRequest[S, js.UndefOr[IDBKey]]
13613+ IDBIndex[JC] def keyPath: IDBKeyPath
13614+ IDBIndex[JC] val multiEntry: Boolean
1361313615IDBIndex[JC] def name: String
1361413616IDBIndex[JC] def objectStore: IDBObjectStore
13615- IDBIndex[JC] def openCursor(range: IDBKeyRange?, direction: IDBCursorDirection?): IDBRequest[IDBCursor]
13616- IDBIndex[JC] def openKeyCursor(range: IDBKeyRange?, direction: IDBCursorDirection?): IDBRequest[IDBCursorReadOnly]
13617+ IDBIndex[JC] def openCursor(range: js.UndefOr[ IDBKeyRange | IDBKey] ?, direction: js.UndefOr[ IDBCursorDirection] ?): IDBRequest[S, IDBCursor[S] ]
13618+ IDBIndex[JC] def openKeyCursor(range: js.UndefOr[ IDBKeyRange | IDBKey] ?, direction: js.UndefOr[ IDBCursorDirection] ?): IDBRequest[S, IDBCursorReadOnly[S] ]
1361713619IDBIndex[JC] def unique: Boolean
13618- IDBKeyRange[JC] def lower: Any
13620+ IDBKeyRange[JC] def lower: IDBKey
1361913621IDBKeyRange[JC] def lowerOpen: Boolean
13620- IDBKeyRange[JC] def upper: Any
13622+ IDBKeyRange[JC] def upper: IDBKey
1362113623IDBKeyRange[JC] def upperOpen: Boolean
13622- IDBKeyRange[JO] def bound(lower: Any , upper: Any , lowerOpen: Boolean?, upperOpen: Boolean?): IDBKeyRange
13623- IDBKeyRange[JO] def lowerBound(bound: Any , open: Boolean?): IDBKeyRange
13624- IDBKeyRange[JO] def only(value: Any ): IDBKeyRange
13625- IDBKeyRange[JO] def upperBound(bound: Any , open: Boolean?): IDBKeyRange
13626- IDBObjectStore[JC] def add(value: Any , key: Any ?): IDBRequest[Any ]
13627- IDBObjectStore[JC] def clear(): IDBRequest[Unit]
13628- IDBObjectStore[JC] def count(key: Any ?): IDBRequest[Int]
13629- IDBObjectStore[JC] def createIndex(name: String, keyPath: Any , optionalParameters: IDBCreateIndexOptions?): IDBIndex
13630- IDBObjectStore[JC] def delete(key: Any ): IDBRequest[Unit]
13624+ IDBKeyRange[JO] def bound(lower: IDBKey , upper: IDBKey , lowerOpen: Boolean?, upperOpen: Boolean?): IDBKeyRange
13625+ IDBKeyRange[JO] def lowerBound(bound: IDBKey , open: Boolean?): IDBKeyRange
13626+ IDBKeyRange[JO] def only(value: IDBValue ): IDBKeyRange
13627+ IDBKeyRange[JO] def upperBound(bound: IDBKey , open: Boolean?): IDBKeyRange
13628+ IDBObjectStore[JC] def add(value: IDBValue , key: IDBKey ?): IDBRequest[IDBObjectStore, IDBKey ]
13629+ IDBObjectStore[JC] def clear(): IDBRequest[IDBObjectStore, Unit]
13630+ IDBObjectStore[JC] def count(query: IDBKey | IDBKeyRange ?): IDBRequest[S, Int]
13631+ IDBObjectStore[JC] def createIndex(name: String, keyPath: IDBKeyPath , optionalParameters: IDBCreateIndexOptions?): IDBIndex
13632+ IDBObjectStore[JC] def delete(key: IDBKey | IDBKeyRange ): IDBRequest[IDBObjectStore, Unit]
1363113633IDBObjectStore[JC] def deleteIndex(indexName: String): Unit
13632- IDBObjectStore[JC] def get(key: Any ): IDBRequest[Any ]
13633- IDBObjectStore[JC] def getAll(query: js.UndefOr[IDBKeyRange | Any ]?, count: js.UndefOr[Int]?): IDBRequest[js.Array[Any ]]
13634- IDBObjectStore[JC] def getAllKeys(query: js.UndefOr[IDBKeyRange | Any ]?, count: js.UndefOr[Int]?): IDBRequest[js.Array[Any ]]
13635- IDBObjectStore[JC] def getKey(key: Any ): IDBRequest[js.UndefOr[Any ]]
13634+ IDBObjectStore[JC] def get(key: IDBKey | IDBKeyRange ): IDBRequest[S, IDBValue ]
13635+ IDBObjectStore[JC] def getAll(query: js.UndefOr[IDBKeyRange | IDBKey ]?, count: js.UndefOr[Int]?): IDBRequest[S, js.Array[IDBValue ]]
13636+ IDBObjectStore[JC] def getAllKeys(query: js.UndefOr[IDBKeyRange | IDBKey ]?, count: js.UndefOr[Int]?): IDBRequest[S, js.Array[IDBKey ]]
13637+ IDBObjectStore[JC] def getKey(key: IDBKey ): IDBRequest[S, js.UndefOr[IDBKey ]]
1363613638IDBObjectStore[JC] def index(name: String): IDBIndex
1363713639IDBObjectStore[JC] def indexNames: DOMStringList
13638- IDBObjectStore[JC] def keyPath: String
13640+ IDBObjectStore[JC] def keyPath: IDBKeyPath
1363913641IDBObjectStore[JC] def name: String
13640- IDBObjectStore[JC] def openCursor(range: js.UndefOr[IDBKeyRange | Any ]?, direction: js.UndefOr[IDBCursorDirection]?): IDBRequest[IDBCursor]
13641- IDBObjectStore[JC] def openKeyCursor(range: js.UndefOr[IDBKeyRange | Any ]?, direction: js.UndefOr[IDBCursorDirection]?): IDBRequest[IDBCursorReadOnly]
13642- IDBObjectStore[JC] def put(value: Any , key: Any ?): IDBRequest[Any ]
13642+ IDBObjectStore[JC] def openCursor(range: js.UndefOr[IDBKeyRange | IDBKey ]?, direction: js.UndefOr[IDBCursorDirection]?): IDBRequest[S, IDBCursor[S] ]
13643+ IDBObjectStore[JC] def openKeyCursor(range: js.UndefOr[IDBKeyRange | IDBKey ]?, direction: js.UndefOr[IDBCursorDirection]?): IDBRequest[S, IDBCursorReadOnly[S] ]
13644+ IDBObjectStore[JC] def put(value: IDBValue , key: IDBKey ?): IDBRequest[IDBObjectStore, IDBKey ]
1364313645IDBObjectStore[JC] def transaction: IDBTransaction
1364413646IDBOpenDBRequest[JC] def addEventListener[T <: Event](`type`: String, listener: js.Function1[T, _], options: EventListenerOptions): Unit
1364513647IDBOpenDBRequest[JC] def addEventListener[T <: Event](`type`: String, listener: js.Function1[T, _], useCapture: Boolean?): Unit
@@ -13653,7 +13655,7 @@ IDBOpenDBRequest[JC] def readyState: String
1365313655IDBOpenDBRequest[JC] def removeEventListener[T <: Event](`type`: String, listener: js.Function1[T, _], options: EventListenerOptions): Unit
1365413656IDBOpenDBRequest[JC] def removeEventListener[T <: Event](`type`: String, listener: js.Function1[T, _], useCapture: Boolean?): Unit
1365513657IDBOpenDBRequest[JC] def result: A
13656- IDBOpenDBRequest[JC] def source: Any
13658+ IDBOpenDBRequest[JC] def source: S
1365713659IDBOpenDBRequest[JC] def transaction: IDBTransaction
1365813660IDBRequest[JC] def addEventListener[T <: Event](`type`: String, listener: js.Function1[T, _], options: EventListenerOptions): Unit
1365913661IDBRequest[JC] def addEventListener[T <: Event](`type`: String, listener: js.Function1[T, _], useCapture: Boolean?): Unit
@@ -13665,8 +13667,17 @@ IDBRequest[JC] def readyState: String
1366513667IDBRequest[JC] def removeEventListener[T <: Event](`type`: String, listener: js.Function1[T, _], options: EventListenerOptions): Unit
1366613668IDBRequest[JC] def removeEventListener[T <: Event](`type`: String, listener: js.Function1[T, _], useCapture: Boolean?): Unit
1366713669IDBRequest[JC] def result: A
13668- IDBRequest[JC] def source: Any
13670+ IDBRequest[JC] def source: S
1366913671IDBRequest[JC] def transaction: IDBTransaction
13672+ IDBStoreLike[JT] def count(query: IDBKey | IDBKeyRange?): IDBRequest[S, Int]
13673+ IDBStoreLike[JT] def get(key: IDBKey | IDBKeyRange): IDBRequest[S, IDBValue]
13674+ IDBStoreLike[JT] def getAll(query: js.UndefOr[IDBKeyRange | IDBKey]?, count: js.UndefOr[Int]?): IDBRequest[S, js.Array[IDBValue]]
13675+ IDBStoreLike[JT] def getAllKeys(query: js.UndefOr[IDBKeyRange | IDBKey]?, count: js.UndefOr[Int]?): IDBRequest[S, js.Array[IDBKey]]
13676+ IDBStoreLike[JT] def getKey(key: IDBKey): IDBRequest[S, js.UndefOr[IDBKey]]
13677+ IDBStoreLike[JT] def keyPath: IDBKeyPath
13678+ IDBStoreLike[JT] def name: String
13679+ IDBStoreLike[JT] def openCursor(range: js.UndefOr[IDBKeyRange | IDBKey]?, direction: js.UndefOr[IDBCursorDirection]?): IDBRequest[S, IDBCursor[S]]
13680+ IDBStoreLike[JT] def openKeyCursor(range: js.UndefOr[IDBKeyRange | IDBKey]?, direction: js.UndefOr[IDBCursorDirection]?): IDBRequest[S, IDBCursorReadOnly[S]]
1367013681IDBTransaction[JC] def abort(): Unit
1367113682IDBTransaction[JC] def addEventListener[T <: Event](`type`: String, listener: js.Function1[T, _], options: EventListenerOptions): Unit
1367213683IDBTransaction[JC] def addEventListener[T <: Event](`type`: String, listener: js.Function1[T, _], useCapture: Boolean?): Unit
@@ -13680,10 +13691,15 @@ IDBTransaction[JC] var oncomplete: js.Function1[Event, _]
1368013691IDBTransaction[JC] var onerror: js.Function1[Event, _]
1368113692IDBTransaction[JC] def removeEventListener[T <: Event](`type`: String, listener: js.Function1[T, _], options: EventListenerOptions): Unit
1368213693IDBTransaction[JC] def removeEventListener[T <: Event](`type`: String, listener: js.Function1[T, _], useCapture: Boolean?): Unit
13694+ IDBTransactionDurability[JT]
13695+ IDBTransactionDurability[SO] def default: IDBTransactionDurability
13696+ IDBTransactionDurability[SO] def relaxed: IDBTransactionDurability
13697+ IDBTransactionDurability[SO] def strict: IDBTransactionDurability
1368313698IDBTransactionMode[JT]
13684- IDBTransactionMode[SO] val readonly: IDBTransactionMode
13685- IDBTransactionMode[SO] val readwrite: IDBTransactionMode
13686- IDBTransactionMode[SO] val versionchange: IDBTransactionMode
13699+ IDBTransactionMode[SO] def readonly: IDBTransactionMode
13700+ IDBTransactionMode[SO] def readwrite: IDBTransactionMode
13701+ IDBTransactionMode[SO] def versionchange: IDBTransactionMode
13702+ IDBTransactionOptions[JT] val durability: js.UndefOr[IDBTransactionDurability]
1368713703IDBVersionChangeEvent[JC] def bubbles: Boolean
1368813704IDBVersionChangeEvent[JC] def cancelBubble: Boolean
1368913705IDBVersionChangeEvent[JC] def cancelable: Boolean
@@ -25597,21 +25613,24 @@ html[SO] type Video = HTMLVideoElement
2559725613html[SO] def Media = HTMLMediaElement
2559825614idb[SO] type CreateIndexOptions = IDBCreateIndexOptions
2559925615idb[SO] type CreateObjectStoreOptions = IDBCreateObjectStoreOptions
25600- idb[SO] type Cursor = IDBCursor
25601- idb[SO] type CursorReadOnly = IDBCursorReadOnly
25616+ idb[SO] type CursorReadOnly[+Source] = IDBCursorReadOnly[Source]
2560225617idb[SO] type CursorWithValue = IDBCursorWithValue
25618+ idb[SO] type Cursor[+Source] = IDBCursor[Source]
2560325619idb[SO] type Database = IDBDatabase
2560425620idb[SO] type DatabaseInfo = IDBDatabaseInfo
2560525621idb[SO] type Environment = IDBEnvironment (@deprecated in 1.2.0)
2560625622idb[SO] type EventTarget[+A] = IDBEventTarget[A]
2560725623idb[SO] type Event[+A] = IDBEvent[A]
2560825624idb[SO] type Factory = IDBFactory
2560925625idb[SO] type Index = IDBIndex
25626+ idb[SO] type Key = IDBKey
25627+ idb[SO] type KeyPath = IDBKeyPath
2561025628idb[SO] type KeyRange = IDBKeyRange
2561125629idb[SO] type ObjectStore = IDBObjectStore
2561225630idb[SO] type OpenDBRequest[A] = IDBOpenDBRequest[A]
25613- idb[SO] type Request[A] = IDBRequest[A]
25631+ idb[SO] type Request[+Source, A] = IDBRequest[Source, A]
2561425632idb[SO] type Transaction = IDBTransaction
25633+ idb[SO] type Value = IDBValue
2561525634idb[SO] type VersionChangeEvent = IDBVersionChangeEvent
2561625635idb[SO] def CursorDirection = IDBCursorDirection
2561725636idb[SO] def KeyRange = IDBKeyRange
@@ -25622,6 +25641,9 @@ package[SO] type ByteString = String
2562225641package[SO] type ClientRect = DOMRect (@deprecated in 2.0.0)
2562325642package[SO] type ClientRectList = DOMRectList (@deprecated in 2.0.0)
2562425643package[SO] type HeadersInit = Headers | Sequence[Sequence[ByteString]] | OpenEndedDictionary[ByteString]
25644+ package[SO] type IDBKey = Any
25645+ package[SO] type IDBKeyPath = Any
25646+ package[SO] type IDBValue = Any
2562525647package[SO] type NodeListOf[+T <: Node] = NodeList[T] (@deprecated in 2.0.0)
2562625648package[SO] type OpenEndedDictionary[T] = js.Dictionary[T]
2562725649package[SO] type RequestInfo = String | Request
@@ -25776,16 +25798,16 @@ raw[SO] type HTMLUnknownElement = dom.HTMLUnknownElement (@deprecated in 2.0.0)
2577625798raw[SO] type HTMLVideoElement = dom.HTMLVideoElement (@deprecated in 2.0.0)
2577725799raw[SO] type HashChangeEvent = dom.HashChangeEvent (@deprecated in 2.0.0)
2577825800raw[SO] type History = dom.History (@deprecated in 2.0.0)
25779- raw[SO] type IDBCursor = dom.IDBCursor (@deprecated in 2.0.0)
25801+ raw[SO] type IDBCursor = dom.IDBCursor[IDBObjectStore | IDBIndex] (@deprecated in 2.0.0)
2578025802raw[SO] type IDBCursorWithValue = dom.IDBCursorWithValue (@deprecated in 2.0.0)
2578125803raw[SO] type IDBDatabase = dom.IDBDatabase (@deprecated in 2.0.0)
2578225804raw[SO] type IDBEnvironment = dom.IDBEnvironment (@deprecated in 2.0.0)
2578325805raw[SO] type IDBFactory = dom.IDBFactory (@deprecated in 2.0.0)
2578425806raw[SO] type IDBIndex = dom.IDBIndex (@deprecated in 2.0.0)
2578525807raw[SO] type IDBKeyRange = dom.IDBKeyRange (@deprecated in 2.0.0)
2578625808raw[SO] type IDBObjectStore = dom.IDBObjectStore (@deprecated in 2.0.0)
25787- raw[SO] type IDBOpenDBRequest = dom.IDBOpenDBRequest[js. Any] (@deprecated in 2.0.0)
25788- raw[SO] type IDBRequest = dom.IDBRequest[js. Any] (@deprecated in 2.0.0)
25809+ raw[SO] type IDBOpenDBRequest = dom.IDBOpenDBRequest[Any] (@deprecated in 2.0.0)
25810+ raw[SO] type IDBRequest = dom.IDBRequest[Any, Any] (@deprecated in 2.0.0)
2578925811raw[SO] type IDBTransaction = dom.IDBTransaction (@deprecated in 2.0.0)
2579025812raw[SO] type IDBVersionChangeEvent = dom.IDBVersionChangeEvent (@deprecated in 2.0.0)
2579125813raw[SO] type ImageBitmap = dom.ImageBitmap (@deprecated in 2.0.0)
0 commit comments