couchdb-web-node-plugin 1.0.602 → 1.0.603
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 +1 -1
- 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.
|
|
3
|
+
"version": "1.0.603",
|
|
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
|
@@ -107,9 +107,9 @@ export interface PropertySpecification<Type = unknown, AdditionalSpecifications
|
|
|
107
107
|
export interface FileSpecification<Type = Attachment, AdditionalSpecifications extends object = Mapping<unknown>> extends PropertySpecification<Type, AdditionalSpecifications> {
|
|
108
108
|
fileName?: PropertySpecification<string, AdditionalSpecifications>;
|
|
109
109
|
}
|
|
110
|
-
export interface BaseModel {
|
|
110
|
+
export interface BaseModel<Type = Attachment, AdditionalSpecifications extends object = Mapping<unknown>> {
|
|
111
111
|
_allowedRoles?: AllowedRoles | null;
|
|
112
|
-
_attachments?: Mapping<FileSpecification
|
|
112
|
+
_attachments?: (Mapping<FileSpecification<Type, AdditionalSpecifications>> | null);
|
|
113
113
|
_constraintExecutions?: Array<Constraint> | Constraint | null;
|
|
114
114
|
_constraintExpressions?: Array<Constraint> | Constraint | null;
|
|
115
115
|
_createExecution?: null | string;
|