@types/pouchdb-adapter-idb
Advanced tools
Comparing version 6.1.3 to 6.1.4
@@ -12,3 +12,3 @@ // Type definitions for pouchdb-adapter-idb 6.1 | ||
interface DatabaseInfo { | ||
idb_attachment_format?: 'base64' | 'binary'; | ||
idb_attachment_format?: 'base64' | 'binary' | undefined; | ||
} | ||
@@ -25,3 +25,3 @@ } | ||
*/ | ||
storage?: 'persistent' | 'temporary'; | ||
storage?: 'persistent' | 'temporary' | undefined; | ||
adapter: 'idb'; | ||
@@ -28,0 +28,0 @@ } |
{ | ||
"name": "@types/pouchdb-adapter-idb", | ||
"version": "6.1.3", | ||
"version": "6.1.4", | ||
"description": "TypeScript definitions for pouchdb-adapter-idb", | ||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/pouchdb-adapter-idb", | ||
"license": "MIT", | ||
@@ -24,6 +25,7 @@ "contributors": [ | ||
"main": "", | ||
"types": "index", | ||
"types": "index.d.ts", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git" | ||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", | ||
"directory": "types/pouchdb-adapter-idb" | ||
}, | ||
@@ -34,4 +36,4 @@ "scripts": {}, | ||
}, | ||
"typesPublisherContentHash": "dad52f9cd7292dc8c300b851b40ff8e37e0f61922677bb528412bd638d521f93", | ||
"typeScriptVersion": "2.3" | ||
"typesPublisherContentHash": "f00169a967c0d9ea27e1dbfaad673168845e172c6ff60bfb59341aab81a3e9b1", | ||
"typeScriptVersion": "3.6" | ||
} |
@@ -5,13 +5,56 @@ # Installation | ||
# Summary | ||
This package contains type definitions for pouchdb-adapter-idb ( https://pouchdb.com/ ). | ||
This package contains type definitions for pouchdb-adapter-idb (https://pouchdb.com/). | ||
# Details | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/pouchdb-adapter-idb | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/pouchdb-adapter-idb. | ||
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/pouchdb-adapter-idb/index.d.ts) | ||
````ts | ||
// Type definitions for pouchdb-adapter-idb 6.1 | ||
// Project: https://pouchdb.com/, https://github.com/pouchdb/pouchdb | ||
// Definitions by: Simon Paulger <https://github.com/spaulg>, Brian Geppert <https://github.com/geppy>, Frederico Galvão <https://github.com/fredgalvao> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
// TypeScript Version: 2.3 | ||
Additional Details | ||
* Last updated: Wed, 13 Feb 2019 21:04:43 GMT | ||
* Dependencies: @types/pouchdb-core | ||
/// <reference types="pouchdb-core" /> | ||
declare namespace PouchDB { | ||
namespace Core { | ||
interface DatabaseInfo { | ||
idb_attachment_format?: 'base64' | 'binary' | undefined; | ||
} | ||
} | ||
namespace IdbAdapter { | ||
interface IdbAdapterConfiguration | ||
extends Configuration.LocalDatabaseConfiguration { | ||
/** | ||
* Configures storage persistence. | ||
* | ||
* Only works in Firefox 26+. | ||
*/ | ||
storage?: 'persistent' | 'temporary' | undefined; | ||
adapter: 'idb'; | ||
} | ||
} | ||
interface Static { | ||
new<Content extends {}>(name: string | null, | ||
options: IdbAdapter.IdbAdapterConfiguration | ||
): Database<Content>; | ||
} | ||
} | ||
declare module 'pouchdb-adapter-idb' { | ||
const plugin: PouchDB.Plugin; | ||
export = plugin; | ||
} | ||
```` | ||
### Additional Details | ||
* Last updated: Thu, 08 Jul 2021 20:19:46 GMT | ||
* Dependencies: [@types/pouchdb-core](https://npmjs.com/package/@types/pouchdb-core) | ||
* Global values: none | ||
# Credits | ||
These definitions were written by Simon Paulger <https://github.com/spaulg>, Brian Geppert <https://github.com/geppy>, Frederico Galvão <https://github.com/fredgalvao>. | ||
These definitions were written by [Simon Paulger](https://github.com/spaulg), [Brian Geppert](https://github.com/geppy), and [Frederico Galvão](https://github.com/fredgalvao). |
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
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
5645
0
60