@types/pouchdb-adapter-idb
Advanced tools
Comparing version 6.1.4 to 6.1.5
@@ -12,3 +12,3 @@ // Type definitions for pouchdb-adapter-idb 6.1 | ||
interface DatabaseInfo { | ||
idb_attachment_format?: 'base64' | 'binary' | undefined; | ||
idb_attachment_format?: "base64" | "binary" | undefined; | ||
} | ||
@@ -18,4 +18,3 @@ } | ||
namespace IdbAdapter { | ||
interface IdbAdapterConfiguration | ||
extends Configuration.LocalDatabaseConfiguration { | ||
interface IdbAdapterConfiguration extends Configuration.LocalDatabaseConfiguration { | ||
/** | ||
@@ -26,4 +25,4 @@ * Configures storage persistence. | ||
*/ | ||
storage?: 'persistent' | 'temporary' | undefined; | ||
adapter: 'idb'; | ||
storage?: "persistent" | "temporary" | undefined; | ||
adapter: "idb"; | ||
} | ||
@@ -33,11 +32,9 @@ } | ||
interface Static { | ||
new<Content extends {}>(name: string | null, | ||
options: IdbAdapter.IdbAdapterConfiguration | ||
): Database<Content>; | ||
new<Content extends {}>(name: string | null, options: IdbAdapter.IdbAdapterConfiguration): Database<Content>; | ||
} | ||
} | ||
declare module 'pouchdb-adapter-idb' { | ||
declare module "pouchdb-adapter-idb" { | ||
const plugin: PouchDB.Plugin; | ||
export = plugin; | ||
} |
{ | ||
"name": "@types/pouchdb-adapter-idb", | ||
"version": "6.1.4", | ||
"version": "6.1.5", | ||
"description": "TypeScript definitions for pouchdb-adapter-idb", | ||
@@ -35,4 +35,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/pouchdb-adapter-idb", | ||
}, | ||
"typesPublisherContentHash": "f00169a967c0d9ea27e1dbfaad673168845e172c6ff60bfb59341aab81a3e9b1", | ||
"typeScriptVersion": "3.6" | ||
"typesPublisherContentHash": "25d8afae093f5a0f8d86bc11d5e7ca94016905407735ff715b00cd5fa2bd1db2", | ||
"typeScriptVersion": "4.5" | ||
} |
@@ -22,3 +22,3 @@ # Installation | ||
interface DatabaseInfo { | ||
idb_attachment_format?: 'base64' | 'binary' | undefined; | ||
idb_attachment_format?: "base64" | "binary" | undefined; | ||
} | ||
@@ -28,4 +28,3 @@ } | ||
namespace IdbAdapter { | ||
interface IdbAdapterConfiguration | ||
extends Configuration.LocalDatabaseConfiguration { | ||
interface IdbAdapterConfiguration extends Configuration.LocalDatabaseConfiguration { | ||
/** | ||
@@ -36,4 +35,4 @@ * Configures storage persistence. | ||
*/ | ||
storage?: 'persistent' | 'temporary' | undefined; | ||
adapter: 'idb'; | ||
storage?: "persistent" | "temporary" | undefined; | ||
adapter: "idb"; | ||
} | ||
@@ -43,9 +42,7 @@ } | ||
interface Static { | ||
new<Content extends {}>(name: string | null, | ||
options: IdbAdapter.IdbAdapterConfiguration | ||
): Database<Content>; | ||
new<Content extends {}>(name: string | null, options: IdbAdapter.IdbAdapterConfiguration): Database<Content>; | ||
} | ||
} | ||
declare module 'pouchdb-adapter-idb' { | ||
declare module "pouchdb-adapter-idb" { | ||
const plugin: PouchDB.Plugin; | ||
@@ -58,3 +55,3 @@ export = plugin; | ||
### Additional Details | ||
* Last updated: Thu, 08 Jul 2021 20:19:46 GMT | ||
* Last updated: Sun, 24 Sep 2023 06:37:28 GMT | ||
* Dependencies: [@types/pouchdb-core](https://npmjs.com/package/@types/pouchdb-core) | ||
@@ -61,0 +58,0 @@ * Global values: none |
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
5485
31
57