couchdb-web-node-plugin 1.0.588 → 1.0.589

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/type.d.ts +2 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "couchdb-web-node-plugin",
3
- "version": "1.0.588",
3
+ "version": "1.0.589",
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",
package/type.d.ts CHANGED
@@ -32,6 +32,8 @@ export type DocumentIDMeta = PouchDB.Core.IdMeta;
32
32
  export type DocumentRevisionIDMeta = PouchDB.Core.RevisionIdMeta;
33
33
  export type FindRequest<Type extends Mapping<unknown>> = PouchDB.Find.FindRequest<Type>;
34
34
  export type GetOptions = PouchDB.Core.GetOptions;
35
+ export type PutOptions = PouchDB.Core.Options;
36
+ export type PutDocument<Type extends Mapping<unknown>> = PouchDB.Core.PutDocument<Type>;
35
37
  export type Index = PouchDB.Find.Index;
36
38
  export type DatabasePlugin = AnyFunction;
37
39
  export type AllowedRoles = (Array<string> | string | {