@types/pouchdb-adapter-websql
Advanced tools
Comparing version 6.1.3 to 6.1.4
@@ -12,4 +12,4 @@ // Type definitions for pouchdb-adapter-websql 6.1 | ||
interface DatabaseInfo { | ||
sqlite_plugin?: boolean; | ||
websql_encoding?: 'UTF-8' | 'UTF-16'; | ||
sqlite_plugin?: boolean | undefined; | ||
websql_encoding?: 'UTF-8' | 'UTF-16' | undefined; | ||
} | ||
@@ -24,3 +24,3 @@ } | ||
*/ | ||
size?: number; | ||
size?: number | undefined; | ||
adapter: 'websql'; | ||
@@ -27,0 +27,0 @@ } |
{ | ||
"name": "@types/pouchdb-adapter-websql", | ||
"version": "6.1.3", | ||
"version": "6.1.4", | ||
"description": "TypeScript definitions for pouchdb-adapter-websql", | ||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/pouchdb-adapter-websql", | ||
"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-websql" | ||
}, | ||
@@ -34,4 +36,4 @@ "scripts": {}, | ||
}, | ||
"typesPublisherContentHash": "e0f9bbd2338c5bb80a7a4e571da9ab30b58755548cee80c5bb85db7e19cf3832", | ||
"typeScriptVersion": "2.3" | ||
"typesPublisherContentHash": "2116f665e183631e1e2c8cccc2a17f488005af9a344455da8023ae1572360a6c", | ||
"typeScriptVersion": "3.6" | ||
} |
@@ -5,13 +5,54 @@ # Installation | ||
# Summary | ||
This package contains type definitions for pouchdb-adapter-websql ( https://pouchdb.com/ ). | ||
This package contains type definitions for pouchdb-adapter-websql (https://pouchdb.com/). | ||
# Details | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/pouchdb-adapter-websql | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/pouchdb-adapter-websql. | ||
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/pouchdb-adapter-websql/index.d.ts) | ||
````ts | ||
// Type definitions for pouchdb-adapter-websql 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:44 GMT | ||
* Dependencies: @types/pouchdb-core | ||
/// <reference types="pouchdb-core" /> | ||
declare namespace PouchDB { | ||
namespace Core { | ||
interface DatabaseInfo { | ||
sqlite_plugin?: boolean | undefined; | ||
websql_encoding?: 'UTF-8' | 'UTF-16' | undefined; | ||
} | ||
} | ||
namespace AdapterWebSql { | ||
interface Configuration | ||
extends Configuration.LocalDatabaseConfiguration { | ||
/** | ||
* Amount in MB to request for storage. | ||
*/ | ||
size?: number | undefined; | ||
adapter: 'websql'; | ||
} | ||
} | ||
interface Static { | ||
new<Content extends {}>(name: string | null, | ||
options: AdapterWebSql.Configuration): Database<Content>; | ||
} | ||
} | ||
declare module 'pouchdb-adapter-websql' { | ||
const plugin: PouchDB.Plugin; | ||
export = plugin; | ||
} | ||
```` | ||
### Additional Details | ||
* Last updated: Thu, 08 Jul 2021 20:19:47 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
5529
0
58