From 555c2aa1ee966152fbc4f63fcbd56856c444b02a Mon Sep 17 00:00:00 2001 From: Gilbert Consellado Date: Fri, 14 Dec 2018 00:26:52 +0800 Subject: [PATCH] Add the LocalDatabaseConfiguration prefix option --- types/pouchdb-core/index.d.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/types/pouchdb-core/index.d.ts b/types/pouchdb-core/index.d.ts index 221b5984b6..5bed38348b 100644 --- a/types/pouchdb-core/index.d.ts +++ b/types/pouchdb-core/index.d.ts @@ -573,6 +573,11 @@ declare namespace PouchDB { * ex_ new PouchDB("dbName", {size:100}); */ size?: number; + /** + * A special constructor option, which appends a prefix to the database name + * and can be helpful for URL-based or file-based LevelDOWN path names. + */ + prefix?: string; } interface RemoteDatabaseConfiguration extends CommonDatabaseConfiguration {