Comparing version 4.0.1-alpha.8 to 4.0.1-alpha.10
@@ -7,3 +7,3 @@ /* | ||
* | ||
* Version 4.0.1-alpha.8, Fri Feb 17 2023 | ||
* Version 4.0.1-alpha.10, Wed Mar 29 2023 | ||
* | ||
@@ -588,3 +588,3 @@ * https://dexie.org | ||
} | ||
export interface Table<T = any, TKey = IndexableType, TInsertType = T> { | ||
export interface Table<T = any, TKey = any, TInsertType = T> { | ||
db: Dexie; | ||
@@ -972,6 +972,12 @@ name: string; | ||
} | ||
export interface Subscribable<T> { | ||
subscribe(observer: Partial<Observer<T>>): Unsubscribable; | ||
} | ||
export interface Unsubscribable { | ||
unsubscribe(): void; | ||
} | ||
export interface Observable<T = any> { | ||
subscribe(onNext?: ((value: T) => void) | null, onError?: ((error: any) => void) | null, onComplete?: (() => void) | null): Subscription; | ||
subscribe(observer?: Observer<T> | null): Subscription; | ||
[Symbol.observable]: () => Observable<T>; | ||
subscribe(observerOrNext?: Observer<T> | ((value: T) => void)): Subscription; | ||
subscribe(next?: ((value: T) => void) | null, error?: ((error: any) => void) | null, complete?: (() => void) | null): Subscription; | ||
[Symbol.observable]: () => Subscribable<T>; | ||
} | ||
@@ -978,0 +984,0 @@ export interface Subscription { |
{ | ||
"name": "dexie", | ||
"version": "4.0.1-alpha.8", | ||
"version": "4.0.1-alpha.10", | ||
"description": "A Minimalistic Wrapper for IndexedDB", | ||
@@ -5,0 +5,0 @@ "main": "dist/dexie.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2622708
17261