mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-13 21:06:14 +08:00
master: adding size option to LocalDatabaseConfiguration
This commit is contained in:
6
types/pouchdb-core/index.d.ts
vendored
6
types/pouchdb-core/index.d.ts
vendored
@@ -514,6 +514,12 @@ declare namespace PouchDB {
|
||||
* How many old revisions we keep track (not a copy) of.
|
||||
*/
|
||||
revs_limit?: number;
|
||||
/**
|
||||
* Size of the database (Most significant for Safari)
|
||||
* option to set the max size in MB that Safari will grant to the local database. Valid options are: 10, 50, 100, 500 and 1000
|
||||
* ex_ new PouchDB("dbName", {size:100});
|
||||
*/
|
||||
size?: number;
|
||||
}
|
||||
|
||||
interface RemoteRequesterConfiguration {
|
||||
|
||||
Reference in New Issue
Block a user