couchdb-web-node-plugin 1.0.610 → 1.0.611

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 +4 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "couchdb-web-node-plugin",
3
- "version": "1.0.610",
3
+ "version": "1.0.611",
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
@@ -130,12 +130,12 @@ export type Model<Type extends object = Mapping<unknown>, AttachmentType extends
130
130
  export type Models<Type extends object = Mapping<unknown>, AttachmentType extends Attachment = Attachment, AdditionalSpecifications extends object = object, AdditionalPropertiesType = unknown> = Mapping<Model<Type, AttachmentType, AdditionalSpecifications, AdditionalPropertiesType>>;
131
131
  export type UpdateStrategy = '' | 'fillUp' | 'incremental' | 'migrate';
132
132
  export type DocumentContent = Array<DocumentContent> | PlainObject | Primitive;
133
- export type DocumentStrategyMeta = {
133
+ export interface DocumentStrategyMeta {
134
134
  _updateStrategy?: UpdateStrategy;
135
- };
136
- export type DocumentTypeMeta = {
135
+ }
136
+ export interface DocumentTypeMeta {
137
137
  '-type': string;
138
- };
138
+ }
139
139
  export type BaseDocument = ChangesMeta & DocumentGetMeta & DocumentIDMeta & DocumentRevisionIDMeta & DocumentStrategyMeta & DocumentTypeMeta;
140
140
  export type FullDocument<Type extends object = object, AdditionalPropertyTypes = unknown> = BaseDocument & Document<Type> & Mapping<AdditionalPropertyTypes>;
141
141
  export type PartialFullDocument<Type extends object = object, AdditionalPropertyTypes = unknown> = Partial<BaseDocument> & Partial<Document<Type>> & Mapping<AdditionalPropertyTypes>;