@types/pouchdb-adapter-leveldb
Advanced tools
Comparing version 6.1.3 to 6.1.4
@@ -12,3 +12,3 @@ // Type definitions for pouchdb-adapter-leveldb 6.1 | ||
interface LevelDbAdapterConfiguration extends Configuration.LocalDatabaseConfiguration { | ||
adapter: 'leveldb'; | ||
adapter: "leveldb"; | ||
} | ||
@@ -18,11 +18,12 @@ } | ||
interface Static { | ||
new<Content extends {}>(name: string | null, | ||
options: LevelDbAdapter.LevelDbAdapterConfiguration | ||
): Database<Content>; | ||
new<Content extends {}>( | ||
name: string | null, | ||
options: LevelDbAdapter.LevelDbAdapterConfiguration, | ||
): Database<Content>; | ||
} | ||
} | ||
declare module 'pouchdb-adapter-leveldb' { | ||
declare module "pouchdb-adapter-leveldb" { | ||
const plugin: PouchDB.Plugin; | ||
export = plugin; | ||
} |
{ | ||
"name": "@types/pouchdb-adapter-leveldb", | ||
"version": "6.1.3", | ||
"version": "6.1.4", | ||
"description": "TypeScript definitions for pouchdb-adapter-leveldb", | ||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/pouchdb-adapter-leveldb", | ||
"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-leveldb" | ||
}, | ||
@@ -34,4 +36,4 @@ "scripts": {}, | ||
}, | ||
"typesPublisherContentHash": "f993c61c806295d0662f5eb0c8054757a2a7c0dadd9499e75455f2616d87cb9d", | ||
"typeScriptVersion": "2.3" | ||
"typesPublisherContentHash": "a54fbe4752ba4fd625f14c0d1fad64bc7fe38f1e65d6c92ece44cb62077c5f20", | ||
"typeScriptVersion": "4.5" | ||
} |
@@ -5,13 +5,44 @@ # Installation | ||
# Summary | ||
This package contains type definitions for pouchdb-adapter-leveldb ( https://pouchdb.com/ ). | ||
This package contains type definitions for pouchdb-adapter-leveldb (https://pouchdb.com/). | ||
# Details | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/pouchdb-adapter-leveldb | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/pouchdb-adapter-leveldb. | ||
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/pouchdb-adapter-leveldb/index.d.ts) | ||
````ts | ||
// Type definitions for pouchdb-adapter-leveldb 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 LevelDbAdapter { | ||
interface LevelDbAdapterConfiguration extends Configuration.LocalDatabaseConfiguration { | ||
adapter: "leveldb"; | ||
} | ||
} | ||
interface Static { | ||
new<Content extends {}>( | ||
name: string | null, | ||
options: LevelDbAdapter.LevelDbAdapterConfiguration, | ||
): Database<Content>; | ||
} | ||
} | ||
declare module "pouchdb-adapter-leveldb" { | ||
const plugin: PouchDB.Plugin; | ||
export = plugin; | ||
} | ||
```` | ||
### Additional Details | ||
* Last updated: Sun, 24 Sep 2023 06:37:28 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
4967
23
0
48