couchdb-web-node-plugin 1.0.570 → 1.0.572

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 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "couchdb-web-node-plugin",
3
- "version": "1.0.570",
3
+ "version": "1.0.572",
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
@@ -140,7 +140,7 @@ export interface SpecialPropertyNames {
140
140
  revisions: '_revisions';
141
141
  revisionsInformation: '_revs_info';
142
142
  strategy: '_updateStrategy';
143
- type: keyof DocumentTypeMeta;
143
+ type: '-type';
144
144
  constraint: {
145
145
  execution: string;
146
146
  expression: string;
@@ -325,7 +325,7 @@ export interface CommonScope {
325
325
  checkPropertyContent: (newValue: unknown, name: string, propertySpecification: PropertySpecification, oldValue: unknown) => CheckedPropertyResult;
326
326
  model: Model;
327
327
  modelName: string;
328
- type: string;
328
+ type: Array<string> | string;
329
329
  newDocument: Attachments | PartialFullDocument;
330
330
  oldDocument: Attachments | null | PartialFullDocument;
331
331
  parentNames: Array<string>;