forked from LeenkxTeam/LNXSDK
Update Files
This commit is contained in:
88
Kha/Tools/linux_arm64/std/js/html/idb/Cursor.hx
Normal file
88
Kha/Tools/linux_arm64/std/js/html/idb/Cursor.hx
Normal file
@ -0,0 +1,88 @@
|
||||
/*
|
||||
* Copyright (C)2005-2019 Haxe Foundation
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
* DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
// This file is generated from mozilla\IDBCursor.webidl. Do not edit!
|
||||
|
||||
package js.html.idb;
|
||||
|
||||
/**
|
||||
The `IDBCursor` interface of the IndexedDB API represents a cursor for traversing or iterating over multiple records in a database.
|
||||
|
||||
Documentation [IDBCursor](https://developer.mozilla.org/en-US/docs/Web/API/IDBCursor) by [Mozilla Contributors](https://developer.mozilla.org/en-US/docs/Web/API/IDBCursor$history), licensed under [CC-BY-SA 2.5](https://creativecommons.org/licenses/by-sa/2.5/).
|
||||
|
||||
@see <https://developer.mozilla.org/en-US/docs/Web/API/IDBCursor>
|
||||
**/
|
||||
@:native("IDBCursor")
|
||||
extern class Cursor {
|
||||
|
||||
/**
|
||||
Returns the `IDBObjectStore` or `IDBIndex` that the cursor is iterating. This function never returns null or throws an exception, even if the cursor is currently being iterated, has iterated past its end, or its transaction is not active.
|
||||
**/
|
||||
var source(default,null) : haxe.extern.EitherType<ObjectStore,Index>;
|
||||
|
||||
/**
|
||||
Returns the direction of traversal of the cursor. See Constants for possible values.
|
||||
**/
|
||||
var direction(default,null) : CursorDirection;
|
||||
|
||||
/**
|
||||
Returns the key for the record at the cursor's position. If the cursor is outside its range, this is set to `undefined`. The cursor's key can be any data type.
|
||||
**/
|
||||
var key(default,null) : Dynamic;
|
||||
|
||||
/**
|
||||
Returns the cursor's current effective primary key. If the cursor is currently being iterated or has iterated outside its range, this is set to `undefined`. The cursor's primary key can be any data type.
|
||||
**/
|
||||
var primaryKey(default,null) : Dynamic;
|
||||
|
||||
|
||||
/**
|
||||
Returns an `IDBRequest` object, and, in a separate thread, updates the value at the current position of the cursor in the object store. This can be used to update specific records.
|
||||
@throws DOMError
|
||||
**/
|
||||
function update( value : Dynamic ) : Request;
|
||||
|
||||
/**
|
||||
Sets the number times a cursor should move its position forward.
|
||||
@throws DOMError
|
||||
**/
|
||||
function advance( count : Int ) : Void;
|
||||
|
||||
/**
|
||||
Advances the cursor to the next position along its direction, to the item whose key matches the optional `key` parameter.
|
||||
@throws DOMError
|
||||
**/
|
||||
@:native("continue")
|
||||
function continue_( ?key : Dynamic ) : Void;
|
||||
|
||||
/**
|
||||
Sets the cursor to the given index key and primary key given as arguments.
|
||||
@throws DOMError
|
||||
**/
|
||||
function continuePrimaryKey( key : Dynamic, primaryKey : Dynamic ) : Void;
|
||||
|
||||
/**
|
||||
Returns an `IDBRequest` object, and, in a separate thread, deletes the record at the cursor's position, without changing the cursor's position. This can be used to delete specific records.
|
||||
@throws DOMError
|
||||
**/
|
||||
function delete() : Request;
|
||||
}
|
32
Kha/Tools/linux_arm64/std/js/html/idb/CursorDirection.hx
Normal file
32
Kha/Tools/linux_arm64/std/js/html/idb/CursorDirection.hx
Normal file
@ -0,0 +1,32 @@
|
||||
/*
|
||||
* Copyright (C)2005-2019 Haxe Foundation
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
* DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
// This file is generated from mozilla\IDBCursor.webidl. Do not edit!
|
||||
|
||||
package js.html.idb;
|
||||
|
||||
enum abstract CursorDirection(String) {
|
||||
var NEXT = "next";
|
||||
var NEXTUNIQUE = "nextunique";
|
||||
var PREV = "prev";
|
||||
var PREVUNIQUE = "prevunique";
|
||||
}
|
40
Kha/Tools/linux_arm64/std/js/html/idb/CursorWithValue.hx
Normal file
40
Kha/Tools/linux_arm64/std/js/html/idb/CursorWithValue.hx
Normal file
@ -0,0 +1,40 @@
|
||||
/*
|
||||
* Copyright (C)2005-2019 Haxe Foundation
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
* DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
// This file is generated from mozilla\IDBCursor.webidl. Do not edit!
|
||||
|
||||
package js.html.idb;
|
||||
|
||||
/**
|
||||
Documentation [IDBCursorWithValue](https://developer.mozilla.org/en-US/docs/Web/API/IDBCursorWithValue) by [Mozilla Contributors](https://developer.mozilla.org/en-US/docs/Web/API/IDBCursorWithValue$history), licensed under [CC-BY-SA 2.5](https://creativecommons.org/licenses/by-sa/2.5/).
|
||||
|
||||
@see <https://developer.mozilla.org/en-US/docs/Web/API/IDBCursorWithValue>
|
||||
**/
|
||||
@:native("IDBCursorWithValue")
|
||||
extern class CursorWithValue extends Cursor {
|
||||
|
||||
/**
|
||||
Returns the value of the current cursor.
|
||||
**/
|
||||
var value(default,null) : Dynamic;
|
||||
|
||||
}
|
100
Kha/Tools/linux_arm64/std/js/html/idb/Database.hx
Normal file
100
Kha/Tools/linux_arm64/std/js/html/idb/Database.hx
Normal file
@ -0,0 +1,100 @@
|
||||
/*
|
||||
* Copyright (C)2005-2019 Haxe Foundation
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
* DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
// This file is generated from mozilla\IDBDatabase.webidl. Do not edit!
|
||||
|
||||
package js.html.idb;
|
||||
|
||||
/**
|
||||
The `IDBDatabase` interface of the IndexedDB API provides a connection to a database; you can use an `IDBDatabase` object to open a transaction on your database then create, manipulate, and delete objects (data) in that database. The interface provides the only way to get and manage versions of the database.
|
||||
|
||||
Documentation [IDBDatabase](https://developer.mozilla.org/en-US/docs/Web/API/IDBDatabase) by [Mozilla Contributors](https://developer.mozilla.org/en-US/docs/Web/API/IDBDatabase$history), licensed under [CC-BY-SA 2.5](https://creativecommons.org/licenses/by-sa/2.5/).
|
||||
|
||||
@see <https://developer.mozilla.org/en-US/docs/Web/API/IDBDatabase>
|
||||
**/
|
||||
@:native("IDBDatabase")
|
||||
extern class Database extends js.html.EventTarget {
|
||||
|
||||
/**
|
||||
A `DOMString` that contains the name of the connected database.
|
||||
**/
|
||||
var name(default,null) : String;
|
||||
|
||||
/**
|
||||
A 64-bit integer that contains the version of the connected database. When a database is first created, this attribute is an empty string.
|
||||
**/
|
||||
var version(default,null) : Int;
|
||||
|
||||
/**
|
||||
A `DOMStringList` that contains a list of the names of the object stores currently in the connected database.
|
||||
**/
|
||||
var objectStoreNames(default,null) : js.html.DOMStringList;
|
||||
|
||||
/**
|
||||
Fires when access of the database is aborted.
|
||||
**/
|
||||
var onabort : haxe.Constraints.Function;
|
||||
|
||||
/**
|
||||
Fires when the `close` event occurs; this happens when the database is unexpectedly closed, such as during application shutdown.
|
||||
**/
|
||||
var onclose : haxe.Constraints.Function;
|
||||
|
||||
/**
|
||||
Fires when access to the database fails.
|
||||
**/
|
||||
var onerror : haxe.Constraints.Function;
|
||||
|
||||
/**
|
||||
|
||||
Fires when a database structure change (`IDBOpenDBRequest.onupgradeneeded` event or` ``IDBFactory.deleteDatabase()` was requested elsewhere (most probably in another window/tab on the same computer). This is different from the version change transaction (see `IDBVersionChangeEvent`), but it is related.
|
||||
|
||||
**/
|
||||
var onversionchange : haxe.Constraints.Function;
|
||||
|
||||
|
||||
/**
|
||||
Creates and returns a new object store or index.
|
||||
@throws DOMError
|
||||
**/
|
||||
function createObjectStore( name : String, ?optionalParameters : ObjectStoreParameters ) : ObjectStore;
|
||||
|
||||
/**
|
||||
Destroys the object store with the given name in the connected database, along with any indexes that reference it.
|
||||
@throws DOMError
|
||||
**/
|
||||
function deleteObjectStore( name : String ) : Void;
|
||||
|
||||
/**
|
||||
Immediately returns a transaction object (`IDBTransaction`) containing the `IDBTransaction.objectStore` method, which you can use to access your object store. Runs in a separate thread.
|
||||
@throws DOMError
|
||||
**/
|
||||
@:overload( function( storeNames : Array<String>, mode : TransactionMode = READONLY) : Transaction {} )
|
||||
function transaction( storeNames : String, mode : TransactionMode = READONLY ) : Transaction;
|
||||
|
||||
/**
|
||||
Returns immediately and closes the connection to a database in a separate thread.
|
||||
**/
|
||||
function close() : Void;
|
||||
/** @throws DOMError */
|
||||
function createMutableFile( name : String, ?type : String ) : Request;
|
||||
}
|
43
Kha/Tools/linux_arm64/std/js/html/idb/Factory.hx
Normal file
43
Kha/Tools/linux_arm64/std/js/html/idb/Factory.hx
Normal file
@ -0,0 +1,43 @@
|
||||
/*
|
||||
* Copyright (C)2005-2019 Haxe Foundation
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
* DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
// This file is generated from mozilla\IDBFactory.webidl. Do not edit!
|
||||
|
||||
package js.html.idb;
|
||||
|
||||
/**
|
||||
In the following code snippet, we make a request to open a database, and include handlers for the success and error cases. For a full working example, see our To-do Notifications app (view example live.)
|
||||
|
||||
Documentation [IDBFactory](https://developer.mozilla.org/en-US/docs/Web/API/IDBFactory) by [Mozilla Contributors](https://developer.mozilla.org/en-US/docs/Web/API/IDBFactory$history), licensed under [CC-BY-SA 2.5](https://creativecommons.org/licenses/by-sa/2.5/).
|
||||
|
||||
@see <https://developer.mozilla.org/en-US/docs/Web/API/IDBFactory>
|
||||
**/
|
||||
@:native("IDBFactory")
|
||||
extern class Factory {
|
||||
/** @throws DOMError */
|
||||
@:overload( function( name : String, version : Int ) : OpenDBRequest {} )
|
||||
function open( name : String, ?options : OpenDBOptions ) : OpenDBRequest;
|
||||
/** @throws DOMError */
|
||||
function deleteDatabase( name : String, ?options : OpenDBOptions ) : OpenDBRequest;
|
||||
/** @throws DOMError */
|
||||
function cmp( first : Dynamic, second : Dynamic ) : Int;
|
||||
}
|
60
Kha/Tools/linux_arm64/std/js/html/idb/FileHandle.hx
Normal file
60
Kha/Tools/linux_arm64/std/js/html/idb/FileHandle.hx
Normal file
@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright (C)2005-2019 Haxe Foundation
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
* DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
// This file is generated from mozilla\IDBFileHandle.webidl. Do not edit!
|
||||
|
||||
package js.html.idb;
|
||||
|
||||
@:native("IDBFileHandle")
|
||||
extern class FileHandle extends js.html.EventTarget {
|
||||
var mutableFile(default,null) : MutableFile;
|
||||
var fileHandle(default,null) : MutableFile;
|
||||
var mode(default,null) : js.html.FileMode;
|
||||
var active(default,null) : Bool;
|
||||
var location : Int;
|
||||
var oncomplete : haxe.Constraints.Function;
|
||||
var onabort : haxe.Constraints.Function;
|
||||
var onerror : haxe.Constraints.Function;
|
||||
|
||||
/** @throws DOMError */
|
||||
function getMetadata( ?parameters : FileMetadataParameters ) : FileRequest;
|
||||
/** @throws DOMError */
|
||||
function readAsArrayBuffer( size : Int ) : FileRequest;
|
||||
/** @throws DOMError */
|
||||
function readAsText( size : Int, ?encoding : String ) : FileRequest;
|
||||
/** @throws DOMError */
|
||||
@:overload( function( value : js.lib.ArrayBuffer) : FileRequest {} )
|
||||
@:overload( function( value : js.lib.ArrayBufferView) : FileRequest {} )
|
||||
@:overload( function( value : js.html.Blob) : FileRequest {} )
|
||||
function write( value : String ) : FileRequest;
|
||||
/** @throws DOMError */
|
||||
@:overload( function( value : js.lib.ArrayBuffer) : FileRequest {} )
|
||||
@:overload( function( value : js.lib.ArrayBufferView) : FileRequest {} )
|
||||
@:overload( function( value : js.html.Blob) : FileRequest {} )
|
||||
function append( value : String ) : FileRequest;
|
||||
/** @throws DOMError */
|
||||
function truncate( ?size : Int ) : FileRequest;
|
||||
/** @throws DOMError */
|
||||
function flush() : FileRequest;
|
||||
/** @throws DOMError */
|
||||
function abort() : Void;
|
||||
}
|
@ -0,0 +1,30 @@
|
||||
/*
|
||||
* Copyright (C)2005-2019 Haxe Foundation
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
* DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
// This file is generated from mozilla\IDBFileHandle.webidl. Do not edit!
|
||||
|
||||
package js.html.idb;
|
||||
|
||||
typedef FileMetadataParameters = {
|
||||
var ?lastModified : Bool;
|
||||
var ?size : Bool;
|
||||
}
|
33
Kha/Tools/linux_arm64/std/js/html/idb/FileRequest.hx
Normal file
33
Kha/Tools/linux_arm64/std/js/html/idb/FileRequest.hx
Normal file
@ -0,0 +1,33 @@
|
||||
/*
|
||||
* Copyright (C)2005-2019 Haxe Foundation
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
* DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
// This file is generated from mozilla\IDBFileRequest.webidl. Do not edit!
|
||||
|
||||
package js.html.idb;
|
||||
|
||||
@:native("IDBFileRequest")
|
||||
extern class FileRequest extends js.html.DOMRequest {
|
||||
var fileHandle(default,null) : FileHandle;
|
||||
var lockedFile(default,null) : FileHandle;
|
||||
var onprogress : haxe.Constraints.Function;
|
||||
|
||||
}
|
104
Kha/Tools/linux_arm64/std/js/html/idb/Index.hx
Normal file
104
Kha/Tools/linux_arm64/std/js/html/idb/Index.hx
Normal file
@ -0,0 +1,104 @@
|
||||
/*
|
||||
* Copyright (C)2005-2019 Haxe Foundation
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
* DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
// This file is generated from mozilla\IDBIndex.webidl. Do not edit!
|
||||
|
||||
package js.html.idb;
|
||||
|
||||
/**
|
||||
`IDBIndex` interface of the IndexedDB API provides asynchronous access to an index in a database. An index is a kind of object store for looking up records in another object store, called the referenced object store. You use this interface to retrieve data.
|
||||
|
||||
Documentation [IDBIndex](https://developer.mozilla.org/en-US/docs/Web/API/IDBIndex) by [Mozilla Contributors](https://developer.mozilla.org/en-US/docs/Web/API/IDBIndex$history), licensed under [CC-BY-SA 2.5](https://creativecommons.org/licenses/by-sa/2.5/).
|
||||
|
||||
@see <https://developer.mozilla.org/en-US/docs/Web/API/IDBIndex>
|
||||
**/
|
||||
@:native("IDBIndex")
|
||||
extern class Index {
|
||||
|
||||
/**
|
||||
The name of this index.
|
||||
**/
|
||||
var name : String;
|
||||
|
||||
/**
|
||||
The name of the object store referenced by this index.
|
||||
**/
|
||||
var objectStore(default,null) : ObjectStore;
|
||||
|
||||
/**
|
||||
The key path of this index. If null, this index is not auto-populated.
|
||||
**/
|
||||
var keyPath(default,null) : Dynamic;
|
||||
|
||||
/**
|
||||
Affects how the index behaves when the result of evaluating the index's key path yields an array. If `true`, there is one record in the index for each item in an array of keys. If `false`, then there is one record for each key that is an array.
|
||||
**/
|
||||
var multiEntry(default,null) : Bool;
|
||||
|
||||
/**
|
||||
If `true`, this index does not allow duplicate values for a key.
|
||||
**/
|
||||
var unique(default,null) : Bool;
|
||||
|
||||
|
||||
/**
|
||||
Returns an `IDBRequest` object, and, in a separate thread, creates a cursor over the specified key range.
|
||||
@throws DOMError
|
||||
**/
|
||||
function openCursor( ?range : Dynamic, direction : CursorDirection = NEXT ) : Request;
|
||||
|
||||
/**
|
||||
Returns an `IDBRequest` object, and, in a separate thread, creates a cursor over the specified key range, as arranged by this index.
|
||||
@throws DOMError
|
||||
**/
|
||||
function openKeyCursor( ?range : Dynamic, direction : CursorDirection = NEXT ) : Request;
|
||||
|
||||
/**
|
||||
Returns an `IDBRequest` object, and, in a separate thread, finds either the value in the referenced object store that corresponds to the given key or the first corresponding value, if `key` is an `IDBKeyRange`.
|
||||
@throws DOMError
|
||||
**/
|
||||
function get( key : Dynamic ) : Request;
|
||||
|
||||
/**
|
||||
Returns an `IDBRequest` object, and, in a separate thread, finds either the given key or the primary key, if `key` is an `IDBKeyRange`.
|
||||
@throws DOMError
|
||||
**/
|
||||
function getKey( key : Dynamic ) : Request;
|
||||
|
||||
/**
|
||||
Returns an `IDBRequest` object, and in a separate thread, returns the number of records within a key range.
|
||||
@throws DOMError
|
||||
**/
|
||||
function count( ?key : Dynamic ) : Request;
|
||||
|
||||
/**
|
||||
Returns an `IDBRequest` object, in a separate thread, finds all matching values in the referenced object store that correspond to the given key or are in range, if `key` is an `IDBKeyRange`.
|
||||
@throws DOMError
|
||||
**/
|
||||
function getAll( ?key : Dynamic, ?limit : Int ) : Request;
|
||||
|
||||
/**
|
||||
Returns an `IDBRequest` object, in a separate thread, finds all matching keys in the referenced object store that correspond to the given key or are in range, if `key` is an `IDBKeyRange`.
|
||||
@throws DOMError
|
||||
**/
|
||||
function getAllKeys( ?key : Dynamic, ?limit : Int ) : Request;
|
||||
}
|
31
Kha/Tools/linux_arm64/std/js/html/idb/IndexParameters.hx
Normal file
31
Kha/Tools/linux_arm64/std/js/html/idb/IndexParameters.hx
Normal file
@ -0,0 +1,31 @@
|
||||
/*
|
||||
* Copyright (C)2005-2019 Haxe Foundation
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
* DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
// This file is generated from mozilla\IDBIndex.webidl. Do not edit!
|
||||
|
||||
package js.html.idb;
|
||||
|
||||
typedef IndexParameters = {
|
||||
var ?locale : String;
|
||||
var ?multiEntry : Bool;
|
||||
var ?unique : Bool;
|
||||
}
|
87
Kha/Tools/linux_arm64/std/js/html/idb/KeyRange.hx
Normal file
87
Kha/Tools/linux_arm64/std/js/html/idb/KeyRange.hx
Normal file
@ -0,0 +1,87 @@
|
||||
/*
|
||||
* Copyright (C)2005-2019 Haxe Foundation
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
* DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
// This file is generated from mozilla\IDBKeyRange.webidl. Do not edit!
|
||||
|
||||
package js.html.idb;
|
||||
|
||||
/**
|
||||
A key range can be a single value or a range with upper and lower bounds or endpoints. If the key range has both upper and lower bounds, then it is bounded; if it has no bounds, it is unbounded. A bounded key range can either be open (the endpoints are excluded) or closed (the endpoints are included). To retrieve all keys within a certain range, you can use the following code constructs:
|
||||
|
||||
Documentation [IDBKeyRange](https://developer.mozilla.org/en-US/docs/Web/API/IDBKeyRange) by [Mozilla Contributors](https://developer.mozilla.org/en-US/docs/Web/API/IDBKeyRange$history), licensed under [CC-BY-SA 2.5](https://creativecommons.org/licenses/by-sa/2.5/).
|
||||
|
||||
@see <https://developer.mozilla.org/en-US/docs/Web/API/IDBKeyRange>
|
||||
**/
|
||||
@:native("IDBKeyRange")
|
||||
extern class KeyRange {
|
||||
|
||||
/**
|
||||
Creates a new key range containing a single value.
|
||||
@throws DOMError
|
||||
**/
|
||||
static function only( value : Dynamic ) : KeyRange;
|
||||
|
||||
/**
|
||||
Creates a new key range with only a lower bound.
|
||||
@throws DOMError
|
||||
**/
|
||||
static function lowerBound( lower : Dynamic, open : Bool = false ) : KeyRange;
|
||||
|
||||
/**
|
||||
Creates a new upper-bound key range.
|
||||
@throws DOMError
|
||||
**/
|
||||
static function upperBound( upper : Dynamic, open : Bool = false ) : KeyRange;
|
||||
|
||||
/**
|
||||
Creates a new key range with upper and lower bounds.
|
||||
@throws DOMError
|
||||
**/
|
||||
static function bound( lower : Dynamic, upper : Dynamic, lowerOpen : Bool = false, upperOpen : Bool = false ) : KeyRange;
|
||||
|
||||
/**
|
||||
Lower bound of the key range.
|
||||
**/
|
||||
var lower(default,null) : Dynamic;
|
||||
|
||||
/**
|
||||
Upper bound of the key range.
|
||||
**/
|
||||
var upper(default,null) : Dynamic;
|
||||
|
||||
/**
|
||||
Returns false if the lower-bound value is included in the key range.
|
||||
**/
|
||||
var lowerOpen(default,null) : Bool;
|
||||
|
||||
/**
|
||||
Returns false if the upper-bound value is included in the key range.
|
||||
**/
|
||||
var upperOpen(default,null) : Bool;
|
||||
|
||||
|
||||
/**
|
||||
Returns a boolean indicating whether a specified key is inside the key range.
|
||||
@throws DOMError
|
||||
**/
|
||||
function includes( key : Dynamic ) : Bool;
|
||||
}
|
46
Kha/Tools/linux_arm64/std/js/html/idb/MutableFile.hx
Normal file
46
Kha/Tools/linux_arm64/std/js/html/idb/MutableFile.hx
Normal file
@ -0,0 +1,46 @@
|
||||
/*
|
||||
* Copyright (C)2005-2019 Haxe Foundation
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
* DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
// This file is generated from mozilla\IDBMutableFile.webidl. Do not edit!
|
||||
|
||||
package js.html.idb;
|
||||
|
||||
/**
|
||||
The `IDBMutableFile` interface provides access in read or write mode to a file, dealing with all the necessary locks.
|
||||
|
||||
Documentation [IDBMutableFile](https://developer.mozilla.org/en-US/docs/Web/API/IDBMutableFile) by [Mozilla Contributors](https://developer.mozilla.org/en-US/docs/Web/API/IDBMutableFile$history), licensed under [CC-BY-SA 2.5](https://creativecommons.org/licenses/by-sa/2.5/).
|
||||
|
||||
@see <https://developer.mozilla.org/en-US/docs/Web/API/IDBMutableFile>
|
||||
**/
|
||||
@:native("IDBMutableFile")
|
||||
extern class MutableFile extends js.html.EventTarget {
|
||||
var name(default,null) : String;
|
||||
var type(default,null) : String;
|
||||
var database(default,null) : Database;
|
||||
var onabort : haxe.Constraints.Function;
|
||||
var onerror : haxe.Constraints.Function;
|
||||
|
||||
/** @throws DOMError */
|
||||
function open( mode : js.html.FileMode = READONLY ) : FileHandle;
|
||||
/** @throws DOMError */
|
||||
function getFile() : js.html.DOMRequest;
|
||||
}
|
147
Kha/Tools/linux_arm64/std/js/html/idb/ObjectStore.hx
Normal file
147
Kha/Tools/linux_arm64/std/js/html/idb/ObjectStore.hx
Normal file
@ -0,0 +1,147 @@
|
||||
/*
|
||||
* Copyright (C)2005-2019 Haxe Foundation
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
* DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
// This file is generated from mozilla\IDBObjectStore.webidl. Do not edit!
|
||||
|
||||
package js.html.idb;
|
||||
|
||||
/**
|
||||
This example shows a variety of different uses of object stores, from updating the data structure with `IDBObjectStore.createIndex` inside an `onupgradeneeded` function, to adding a new item to our object store with `IDBObjectStore.add`. For a full working example, see our To-do Notifications app (view example live.)
|
||||
|
||||
Documentation [IDBObjectStore](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore) by [Mozilla Contributors](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore$history), licensed under [CC-BY-SA 2.5](https://creativecommons.org/licenses/by-sa/2.5/).
|
||||
|
||||
@see <https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore>
|
||||
**/
|
||||
@:native("IDBObjectStore")
|
||||
extern class ObjectStore {
|
||||
|
||||
/**
|
||||
The name of this object store.
|
||||
**/
|
||||
var name : String;
|
||||
|
||||
/**
|
||||
The key path of this object store. If this attribute is `null`, the application must provide a key for each modification operation.
|
||||
**/
|
||||
var keyPath(default,null) : Dynamic;
|
||||
|
||||
/**
|
||||
A list of the names of indexes on objects in this object store.
|
||||
**/
|
||||
var indexNames(default,null) : js.html.DOMStringList;
|
||||
|
||||
/**
|
||||
The `IDBTransaction` object to which this object store belongs.
|
||||
**/
|
||||
var transaction(default,null) : Transaction;
|
||||
|
||||
/**
|
||||
The value of the auto increment flag for this object store.
|
||||
**/
|
||||
var autoIncrement(default,null) : Bool;
|
||||
|
||||
|
||||
/**
|
||||
Returns an `IDBRequest` object, and, in a separate thread, creates a structured clone of the `value`, and stores the cloned value in the object store. This is for updating existing records in an object store when the transaction's mode is `readwrite`.
|
||||
@throws DOMError
|
||||
**/
|
||||
function put( value : Dynamic, ?key : Dynamic ) : Request;
|
||||
|
||||
/**
|
||||
Returns an `IDBRequest` object, and, in a separate thread, creates a structured clone of the `value`, and stores the cloned value in the object store. This is for adding new records to an object store.
|
||||
@throws DOMError
|
||||
**/
|
||||
function add( value : Dynamic, ?key : Dynamic ) : Request;
|
||||
|
||||
/**
|
||||
returns an `IDBRequest` object, and, in a separate thread, deletes the store object selected by the specified key. This is for deleting individual records out of an object store.
|
||||
@throws DOMError
|
||||
**/
|
||||
function delete( key : Dynamic ) : Request;
|
||||
|
||||
/**
|
||||
Returns an `IDBRequest` object, and, in a separate thread, returns the store object store selected by the specified key. This is for retrieving specific records from an object store.
|
||||
@throws DOMError
|
||||
**/
|
||||
function get( key : Dynamic ) : Request;
|
||||
|
||||
/**
|
||||
Returns an `IDBRequest` object, and, in a separate thread retrieves and returns the record key for the object in the object stored matching the specified parameter.
|
||||
@throws DOMError
|
||||
**/
|
||||
function getKey( key : Dynamic ) : Request;
|
||||
|
||||
/**
|
||||
Creates and immediately returns an `IDBRequest` object, and clears this object store in a separate thread. This is for deleting all current records out of an object store.
|
||||
@throws DOMError
|
||||
**/
|
||||
function clear() : Request;
|
||||
|
||||
/**
|
||||
Returns an `IDBRequest` object, and, in a separate thread, returns a new `IDBCursorWithValue` object. Used for iterating through an object store by primary key with a cursor.
|
||||
@throws DOMError
|
||||
**/
|
||||
function openCursor( ?range : Dynamic, direction : CursorDirection = NEXT ) : Request;
|
||||
|
||||
/**
|
||||
Creates a new index during a version upgrade, returning a new `IDBIndex` object in the connected database.
|
||||
@throws DOMError
|
||||
**/
|
||||
@:overload( function( name : String, keyPath : Array<String>, ?optionalParameters : IndexParameters) : Index {} )
|
||||
function createIndex( name : String, keyPath : String, ?optionalParameters : IndexParameters ) : Index;
|
||||
|
||||
/**
|
||||
Opens an index from this object store after which it can, for example, be used to return a sequence of records sorted by that index using a cursor.
|
||||
@throws DOMError
|
||||
**/
|
||||
function index( name : String ) : Index;
|
||||
|
||||
/**
|
||||
Destroys the specified index in the connected database, used during a version upgrade.
|
||||
@throws DOMError
|
||||
**/
|
||||
function deleteIndex( indexName : String ) : Void;
|
||||
|
||||
/**
|
||||
Returns an `IDBRequest` object, and, in a separate thread, returns the total number of records that match the provided key or `IDBKeyRange`. If no arguments are provided, it returns the total number of records in the store.
|
||||
@throws DOMError
|
||||
**/
|
||||
function count( ?key : Dynamic ) : Request;
|
||||
|
||||
/**
|
||||
Returns an `IDBRequest` object retrieves all objects in the object store matching the specified parameter or all objects in the store if no parameters are given.
|
||||
@throws DOMError
|
||||
**/
|
||||
function getAll( ?key : Dynamic, ?limit : Int ) : Request;
|
||||
|
||||
/**
|
||||
Returns an `IDBRequest` object retrieves record keys for all objects in the object store matching the specified parameter or all objects in the store if no parameters are given.
|
||||
@throws DOMError
|
||||
**/
|
||||
function getAllKeys( ?key : Dynamic, ?limit : Int ) : Request;
|
||||
|
||||
/**
|
||||
Returns an `IDBRequest` object, and, in a separate thread, returns a new `IDBCursor`. Used for iterating through an object store with a key.
|
||||
@throws DOMError
|
||||
**/
|
||||
function openKeyCursor( ?range : Dynamic, direction : CursorDirection = NEXT ) : Request;
|
||||
}
|
@ -0,0 +1,30 @@
|
||||
/*
|
||||
* Copyright (C)2005-2019 Haxe Foundation
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
* DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
// This file is generated from mozilla\IDBObjectStore.webidl. Do not edit!
|
||||
|
||||
package js.html.idb;
|
||||
|
||||
typedef ObjectStoreParameters = {
|
||||
var ?autoIncrement : Bool;
|
||||
var ?keyPath : haxe.extern.EitherType<String,Array<String>>;
|
||||
}
|
30
Kha/Tools/linux_arm64/std/js/html/idb/OpenDBOptions.hx
Normal file
30
Kha/Tools/linux_arm64/std/js/html/idb/OpenDBOptions.hx
Normal file
@ -0,0 +1,30 @@
|
||||
/*
|
||||
* Copyright (C)2005-2019 Haxe Foundation
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
* DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
// This file is generated from mozilla\IDBFactory.webidl. Do not edit!
|
||||
|
||||
package js.html.idb;
|
||||
|
||||
typedef OpenDBOptions = {
|
||||
var ?storage : js.html.StorageType;
|
||||
var ?version : Int;
|
||||
}
|
47
Kha/Tools/linux_arm64/std/js/html/idb/OpenDBRequest.hx
Normal file
47
Kha/Tools/linux_arm64/std/js/html/idb/OpenDBRequest.hx
Normal file
@ -0,0 +1,47 @@
|
||||
/*
|
||||
* Copyright (C)2005-2019 Haxe Foundation
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
* DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
// This file is generated from mozilla\IDBOpenDBRequest.webidl. Do not edit!
|
||||
|
||||
package js.html.idb;
|
||||
|
||||
/**
|
||||
Also inherits methods from its parents `IDBRequest` and `EventTarget`.
|
||||
|
||||
Documentation [IDBOpenDBRequest](https://developer.mozilla.org/en-US/docs/Web/API/IDBOpenDBRequest) by [Mozilla Contributors](https://developer.mozilla.org/en-US/docs/Web/API/IDBOpenDBRequest$history), licensed under [CC-BY-SA 2.5](https://creativecommons.org/licenses/by-sa/2.5/).
|
||||
|
||||
@see <https://developer.mozilla.org/en-US/docs/Web/API/IDBOpenDBRequest>
|
||||
**/
|
||||
@:native("IDBOpenDBRequest")
|
||||
extern class OpenDBRequest extends Request {
|
||||
|
||||
/**
|
||||
The event handler for the blocked event. This event is triggered when the `upgradeneeded` event should be triggered because of a version change but the database is still in use (i.e. not closed) somewhere, even after the `versionchange` event was sent.
|
||||
**/
|
||||
var onblocked : haxe.Constraints.Function;
|
||||
|
||||
/**
|
||||
The event handler for the `upgradeneeded` event, fired when a database of a bigger version number than the existing stored database is loaded.
|
||||
**/
|
||||
var onupgradeneeded : haxe.Constraints.Function;
|
||||
|
||||
}
|
74
Kha/Tools/linux_arm64/std/js/html/idb/Request.hx
Normal file
74
Kha/Tools/linux_arm64/std/js/html/idb/Request.hx
Normal file
@ -0,0 +1,74 @@
|
||||
/*
|
||||
* Copyright (C)2005-2019 Haxe Foundation
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
* DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
// This file is generated from mozilla\IDBRequest.webidl. Do not edit!
|
||||
|
||||
package js.html.idb;
|
||||
|
||||
/**
|
||||
The request object does not initially contain any information about the result of the operation, but once information becomes available, an event is fired on the request, and the information becomes available through the properties of the `IDBRequest` instance.
|
||||
|
||||
Documentation [IDBRequest](https://developer.mozilla.org/en-US/docs/Web/API/IDBRequest) by [Mozilla Contributors](https://developer.mozilla.org/en-US/docs/Web/API/IDBRequest$history), licensed under [CC-BY-SA 2.5](https://creativecommons.org/licenses/by-sa/2.5/).
|
||||
|
||||
@see <https://developer.mozilla.org/en-US/docs/Web/API/IDBRequest>
|
||||
**/
|
||||
@:native("IDBRequest")
|
||||
extern class Request extends js.html.EventTarget {
|
||||
|
||||
/**
|
||||
|
||||
Returns the result of the request. If the the request failed and the result is not available, an InvalidStateError exception is thrown.
|
||||
|
||||
**/
|
||||
var result(default,null) : Dynamic;
|
||||
|
||||
/**
|
||||
Returns a `DOMException` in the event of an unsuccessful request, indicating what went wrong.
|
||||
**/
|
||||
var error(default,null) : js.html.DOMException;
|
||||
|
||||
/**
|
||||
The source of the request, such as an `IDBIndex` or an `IDBObjectStore`. If no source exists (such as when calling `IDBFactory.open`), it returns null.
|
||||
**/
|
||||
var source(default,null) : haxe.extern.EitherType<ObjectStore,haxe.extern.EitherType<Index,Cursor>>;
|
||||
|
||||
/**
|
||||
The transaction for the request. This property can be null for certain requests, for example those returned from `IDBFactory.open` unless an upgrade is needed. (You're just connecting to a database, so there is no transaction to return).
|
||||
**/
|
||||
var transaction(default,null) : Transaction;
|
||||
|
||||
/**
|
||||
The state of the request. Every request starts in the `pending` state. The state changes to `done` when the request completes successfully or when an error occurs.
|
||||
**/
|
||||
var readyState(default,null) : RequestReadyState;
|
||||
|
||||
/**
|
||||
The event handler for the success event.
|
||||
**/
|
||||
var onsuccess : haxe.Constraints.Function;
|
||||
|
||||
/**
|
||||
The event handler for the error event.
|
||||
**/
|
||||
var onerror : haxe.Constraints.Function;
|
||||
|
||||
}
|
30
Kha/Tools/linux_arm64/std/js/html/idb/RequestReadyState.hx
Normal file
30
Kha/Tools/linux_arm64/std/js/html/idb/RequestReadyState.hx
Normal file
@ -0,0 +1,30 @@
|
||||
/*
|
||||
* Copyright (C)2005-2019 Haxe Foundation
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
* DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
// This file is generated from mozilla\IDBRequest.webidl. Do not edit!
|
||||
|
||||
package js.html.idb;
|
||||
|
||||
enum abstract RequestReadyState(String) {
|
||||
var PENDING = "pending";
|
||||
var DONE = "done";
|
||||
}
|
84
Kha/Tools/linux_arm64/std/js/html/idb/Transaction.hx
Normal file
84
Kha/Tools/linux_arm64/std/js/html/idb/Transaction.hx
Normal file
@ -0,0 +1,84 @@
|
||||
/*
|
||||
* Copyright (C)2005-2019 Haxe Foundation
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
* DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
// This file is generated from mozilla\IDBTransaction.webidl. Do not edit!
|
||||
|
||||
package js.html.idb;
|
||||
|
||||
/**
|
||||
Note that as of Firefox 40, IndexedDB transactions have relaxed durability guarantees to increase performance (see bug 1112702.) Previously in a `readwrite` transaction `IDBTransaction.oncomplete` was fired only when all data was guaranteed to have been flushed to disk. In Firefox 40+ the `complete` event is fired after the OS has been told to write the data but potentially before that data has actually been flushed to disk. The `complete` event may thus be delivered quicker than before, however, there exists a small chance that the entire transaction will be lost if the OS crashes or there is a loss of system power before the data is flushed to disk. Since such catastrophic events are rare most consumers should not need to concern themselves further.
|
||||
|
||||
Documentation [IDBTransaction](https://developer.mozilla.org/en-US/docs/Web/API/IDBTransaction) by [Mozilla Contributors](https://developer.mozilla.org/en-US/docs/Web/API/IDBTransaction$history), licensed under [CC-BY-SA 2.5](https://creativecommons.org/licenses/by-sa/2.5/).
|
||||
|
||||
@see <https://developer.mozilla.org/en-US/docs/Web/API/IDBTransaction>
|
||||
**/
|
||||
@:native("IDBTransaction")
|
||||
extern class Transaction extends js.html.EventTarget {
|
||||
|
||||
/**
|
||||
The mode for isolating access to data in the object stores that are in the scope of the transaction. For possible values, see the Constants section below. The default value is `readonly`.
|
||||
**/
|
||||
var mode(default,null) : TransactionMode;
|
||||
|
||||
/**
|
||||
The database connection with which this transaction is associated.
|
||||
**/
|
||||
var db(default,null) : Database;
|
||||
|
||||
/**
|
||||
Returns a `DOMException` indicating the type of error that occured when there is an unsuccessful transaction. This property is `null` if the transaction is not finished, is finished and successfully committed, or was aborted with `IDBTransaction.abort` function.
|
||||
**/
|
||||
var error(default,null) : js.html.DOMException;
|
||||
|
||||
/**
|
||||
The event handler for the `abort` event, fired when the transaction is aborted. This can happen due to:
|
||||
|
||||
bad requests, e.g. trying to add() the same key twice, or put() with the same index key with a uniqueness constraint and there is no error handler on the request to call preventDefault() on the event,
|
||||
an explicit abort() call from script
|
||||
uncaught exception in request's success/error handler,
|
||||
an I/O error (actual failure to write to disk, e.g. disk detached, or other OS/hardware failure), or
|
||||
quota exceeded.
|
||||
|
||||
|
||||
**/
|
||||
var onabort : haxe.Constraints.Function;
|
||||
|
||||
/**
|
||||
The event handler for the `complete` event, thrown when the transaction completes successfully.
|
||||
**/
|
||||
var oncomplete : haxe.Constraints.Function;
|
||||
|
||||
/**
|
||||
The event handler for the `error` event, thrown when the transaction fails to complete.
|
||||
**/
|
||||
var onerror : haxe.Constraints.Function;
|
||||
|
||||
/**
|
||||
Returns a `DOMStringList` of the names of `IDBObjectStore` objects.
|
||||
**/
|
||||
var objectStoreNames(default,null) : js.html.DOMStringList;
|
||||
|
||||
/** @throws DOMError */
|
||||
function objectStore( name : String ) : ObjectStore;
|
||||
/** @throws DOMError */
|
||||
function abort() : Void;
|
||||
}
|
33
Kha/Tools/linux_arm64/std/js/html/idb/TransactionMode.hx
Normal file
33
Kha/Tools/linux_arm64/std/js/html/idb/TransactionMode.hx
Normal file
@ -0,0 +1,33 @@
|
||||
/*
|
||||
* Copyright (C)2005-2019 Haxe Foundation
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
* DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
// This file is generated from mozilla\IDBTransaction.webidl. Do not edit!
|
||||
|
||||
package js.html.idb;
|
||||
|
||||
enum abstract TransactionMode(String) {
|
||||
var READONLY = "readonly";
|
||||
var READWRITE = "readwrite";
|
||||
var READWRITEFLUSH = "readwriteflush";
|
||||
var CLEANUP = "cleanup";
|
||||
var VERSIONCHANGE = "versionchange";
|
||||
}
|
49
Kha/Tools/linux_arm64/std/js/html/idb/VersionChangeEvent.hx
Normal file
49
Kha/Tools/linux_arm64/std/js/html/idb/VersionChangeEvent.hx
Normal file
@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright (C)2005-2019 Haxe Foundation
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
* DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
// This file is generated from mozilla\IDBVersionChangeEvent.webidl. Do not edit!
|
||||
|
||||
package js.html.idb;
|
||||
|
||||
/**
|
||||
The `IDBVersionChangeEvent` interface of the IndexedDB API indicates that the version of the database has changed, as the result of an `IDBOpenDBRequest.onupgradeneeded` event handler function.
|
||||
|
||||
Documentation [IDBVersionChangeEvent](https://developer.mozilla.org/en-US/docs/Web/API/IDBVersionChangeEvent) by [Mozilla Contributors](https://developer.mozilla.org/en-US/docs/Web/API/IDBVersionChangeEvent$history), licensed under [CC-BY-SA 2.5](https://creativecommons.org/licenses/by-sa/2.5/).
|
||||
|
||||
@see <https://developer.mozilla.org/en-US/docs/Web/API/IDBVersionChangeEvent>
|
||||
**/
|
||||
@:native("IDBVersionChangeEvent")
|
||||
extern class VersionChangeEvent extends js.html.Event {
|
||||
|
||||
/**
|
||||
Returns the old version of the database.
|
||||
**/
|
||||
var oldVersion(default,null) : Int;
|
||||
|
||||
/**
|
||||
Returns the new version of the database.
|
||||
**/
|
||||
var newVersion(default,null) : Int;
|
||||
|
||||
/** @throws DOMError */
|
||||
function new( type : String, ?eventInitDict : VersionChangeEventInit ) : Void;
|
||||
}
|
@ -0,0 +1,30 @@
|
||||
/*
|
||||
* Copyright (C)2005-2019 Haxe Foundation
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
* DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
// This file is generated from mozilla\IDBVersionChangeEvent.webidl. Do not edit!
|
||||
|
||||
package js.html.idb;
|
||||
|
||||
typedef VersionChangeEventInit = EventInit & {
|
||||
var ?newVersion : Int;
|
||||
var ?oldVersion : Int;
|
||||
}
|
Reference in New Issue
Block a user