couchdb-web-node-plugin 1.0.739 → 1.0.741
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/databaseHelper.js +1 -1
- package/helper.js +1 -1
- package/index.js +1 -1
- package/package.json +5 -5
- package/type.d.ts +2 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "couchdb-web-node-plugin",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.741",
|
|
4
4
|
"description": "A couchdb server, model instance conflict handler, rest api, authentication, session management, schema validator and model relation guarantee for webNode.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"api",
|
|
@@ -182,8 +182,8 @@
|
|
|
182
182
|
"__evaluate__": "`-couch_ini /usr/lib/couchdb/etc/default.ini /usr/lib/couchdb/etc/datadirs.ini /etc/couchdb/local.ini ${path.resolve(self.couchdb.path, 'local.ini')}`"
|
|
183
183
|
}
|
|
184
184
|
},
|
|
185
|
-
"
|
|
186
|
-
"
|
|
185
|
+
"locations": "/usr/lib/couchdb/bin/",
|
|
186
|
+
"names": "couchdb"
|
|
187
187
|
},
|
|
188
188
|
{
|
|
189
189
|
"adminUserConfigurationPath": "_config/admins",
|
|
@@ -206,11 +206,11 @@
|
|
|
206
206
|
"__evaluate__": "`${self.couchdb.backend.configuration['httpd/port']}`"
|
|
207
207
|
}
|
|
208
208
|
],
|
|
209
|
-
"
|
|
209
|
+
"locations": [
|
|
210
210
|
"node_modules/.bin/",
|
|
211
211
|
"../.bin/"
|
|
212
212
|
],
|
|
213
|
-
"
|
|
213
|
+
"names": "pouchdb-server"
|
|
214
214
|
},
|
|
215
215
|
{
|
|
216
216
|
"adminUserConfigurationPath": "_config/admins",
|
package/type.d.ts
CHANGED
|
@@ -16,6 +16,7 @@ export type ChangesResponseChange<Type extends object = Mapping<unknown>> = Pouc
|
|
|
16
16
|
export type ChangesStream<Type extends object = Mapping<unknown>> = PouchDB.Core.Changes<Type>;
|
|
17
17
|
export type ChangesStreamOptions = PouchDB.Core.ChangesOptions;
|
|
18
18
|
export interface Connection<Type extends object = Mapping<unknown>> extends PouchDB.Database<Type> {
|
|
19
|
+
installValidationMethods: () => void;
|
|
19
20
|
bulkDocs<Model>(docs: Array<PutDocument<Type & Model>>, options?: PouchDB.Core.BulkDocsOptions | null): Promise<Array<PouchDB.Core.Response | PouchDB.Core.Error>>;
|
|
20
21
|
post<Model>(doc: PostDocument<Type & Model>, options?: PouchDB.Core.Options | null): Promise<PouchDB.Core.Response>;
|
|
21
22
|
put<Model>(doc: PutDocument<Type & Model>, options?: PouchDB.Core.PutOptions | null): Promise<PouchDB.Core.Response>;
|
|
@@ -222,7 +223,7 @@ export interface Runner {
|
|
|
222
223
|
content: string;
|
|
223
224
|
path: string;
|
|
224
225
|
};
|
|
225
|
-
|
|
226
|
+
names: Array<string> | string;
|
|
226
227
|
}
|
|
227
228
|
export interface BinaryRunner extends Runner {
|
|
228
229
|
arguments?: Array<string> | null | string;
|