interface IDBTransaction implements EventTargetimport { type IDBTransaction } from "https://deno.land/x/windmill@v1.361.1/node_modules/evt/src/lib/types/lib.dom.ts"; Propertiesreadonlydb: IDBDatabaseReturns the transaction's connection. readonlyerror: DOMExceptionIf the transaction was aborted, returns the error (a DOMException) providing the reason. readonlymode: IDBTransactionModeReturns the mode the transaction was created with ("readonly" or "readwrite"), or "versionchange" for an upgrade transaction. readonlyobjectStoreNames: DOMStringListReturns a list of the names of object stores in the transaction's scope. For an upgrade transaction this is all object stores in the database. onabort: ((this: IDBTransaction, ev: Event) => any) | nulloncomplete: ((this: IDBTransaction, ev: Event) => any) | nullonerror: ((this: IDBTransaction, ev: Event) => any) | nullMethodsabort(): voidAborts the transaction. All pending requests will fail with a "AbortError" DOMException and all changes made to the database will be reverted. objectStore(name: string): IDBObjectStoreReturns an IDBObjectStore in the transaction's scope. addEventListener<K extends keyof IDBTransactionEventMap>(type: K,listener: (this: IDBTransaction, ev: IDBTransactionEventMap[K]) => any,options?: boolean | AddEventListenerOptions,): voidaddEventListener(type: string,listener: EventListenerOrEventListenerObject,options?: boolean | AddEventListenerOptions,): voidremoveEventListener<K extends keyof IDBTransactionEventMap>(type: K,listener: (this: IDBTransaction, ev: IDBTransactionEventMap[K]) => any,options?: boolean | EventListenerOptions,): voidremoveEventListener(type: string,listener: EventListenerOrEventListenerObject,options?: boolean | EventListenerOptions,): void