couchdb-web-node-plugin 1.0.733 → 1.0.734

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "couchdb-web-node-plugin",
3
- "version": "1.0.733",
3
+ "version": "1.0.734",
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
@@ -363,9 +363,9 @@ export interface BasicScope<Type extends object, AttachmentType extends Attachme
363
363
  attachmentWithPrefixExists: (namePrefix: string) => boolean;
364
364
  checkDocument: (newDocument: PartialFullDocument<Type, AdditionalPropertiesType>, oldDocument: PartialFullDocument<Type, AdditionalPropertiesType> | null, parentNames: Array<string>) => CheckedDocumentResult<Type, AdditionalPropertiesType>;
365
365
  getDateTime: (value: number | string) => Date;
366
- getEffectiveValue: (newDocument: PartialFullDocument<Type, AdditionalPropertiesType>, oldDocument: (null | PartialFullDocument<Type, AdditionalPropertiesType>), name: string) => unknown;
366
+ getEffectiveValue: (name: string, newDocument: PartialFullDocument<Type, AdditionalPropertiesType>, oldDocument: (null | PartialFullDocument<Type, AdditionalPropertiesType>)) => unknown;
367
367
  getFileNameByPrefix: (prefix?: string, attachments?: Mapping<AttachmentType>) => null | string;
368
- isDefinedPropertyValue: (document: PartialFullDocument<Type, AdditionalPropertiesType>, name: string) => boolean;
368
+ isDefinedPropertyValue: (name: keyof object, document: PartialFullDocument<Type, AdditionalPropertiesType>) => boolean;
369
369
  require: null | typeof require;
370
370
  serialize: (value: unknown) => string;
371
371
  id: string;