couchdb-web-node-plugin 1.0.575 → 1.0.577

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 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "couchdb-web-node-plugin",
3
- "version": "1.0.575",
3
+ "version": "1.0.577",
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
@@ -59,6 +59,7 @@ export interface SelectionMapping {
59
59
  }
60
60
  export interface PropertySpecification<Type = unknown> {
61
61
  allowedRoles?: AllowedRoles | null;
62
+ computed?: boolean;
62
63
  arrayConstraintExecution?: Constraint | null;
63
64
  arrayConstraintExpression?: Constraint | null;
64
65
  conflictingConstraintExecution?: Constraint | null;
@@ -98,7 +99,7 @@ export interface PropertySpecification<Type = unknown> {
98
99
  oldName?: Array<string> | null | string;
99
100
  value?: null | Type;
100
101
  }
101
- export interface FileSpecification extends PropertySpecification<Attachment> {
102
+ export interface FileSpecification<Type = Attachment> extends PropertySpecification<Type> {
102
103
  fileName?: PropertySpecification<string>;
103
104
  }
104
105
  export interface BaseModel {