couchdb-web-node-plugin 1.0.819 → 1.0.820
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/databaseHelper.js +1 -1
- package/helper.js +1 -1
- package/index.js +1 -1
- package/package.json +3 -3
- package/type.d.ts +3 -3
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.820",
|
|
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",
|
|
@@ -372,7 +372,7 @@
|
|
|
372
372
|
}
|
|
373
373
|
},
|
|
374
374
|
"_materializedView": {
|
|
375
|
-
"
|
|
375
|
+
"_roles": []
|
|
376
376
|
},
|
|
377
377
|
"_stringMapping": {
|
|
378
378
|
"_additional": {
|
|
@@ -438,7 +438,7 @@
|
|
|
438
438
|
"reserved": [],
|
|
439
439
|
"special": {
|
|
440
440
|
"additional": "_additional",
|
|
441
|
-
"
|
|
441
|
+
"role": "_roles",
|
|
442
442
|
"attachment": "_attachments",
|
|
443
443
|
"conflict": "_conflicts",
|
|
444
444
|
"constraint": {
|
package/type.d.ts
CHANGED
|
@@ -84,7 +84,7 @@ export type NormalizedSelection = Array<SelectionOption>;
|
|
|
84
84
|
export type Selection = Array<SelectionOption> | Array<Primitive> | Mapping;
|
|
85
85
|
export type Pattern = Array<RegExp | string> | RegExp | string;
|
|
86
86
|
export interface BasePropertySpecification<Type, AdditionalSpecifications extends object> {
|
|
87
|
-
|
|
87
|
+
roles?: Roles;
|
|
88
88
|
updateStrategy?: UpdateStrategy;
|
|
89
89
|
preventVersionCreation?: boolean;
|
|
90
90
|
arrayConstraintExecution?: Constraint;
|
|
@@ -136,7 +136,7 @@ export interface FileSpecification<Type extends Attachment = Attachment, Additio
|
|
|
136
136
|
}
|
|
137
137
|
export interface BaseModel<AttachmentType extends Attachment = Attachment, AdditionalSpecifications extends object = object, AdditionalPropertiesType = unknown> {
|
|
138
138
|
_additional?: PropertySpecification<AdditionalPropertiesType, AdditionalSpecifications>;
|
|
139
|
-
|
|
139
|
+
_roles?: Roles;
|
|
140
140
|
_attachments?: Mapping<FileSpecification<AttachmentType, AdditionalSpecifications>> | null;
|
|
141
141
|
_constraintExecutions?: Array<Constraint> | Constraint;
|
|
142
142
|
_constraintExpressions?: Array<Constraint> | Constraint;
|
|
@@ -172,7 +172,7 @@ export type FullDocument<Type extends object = object, AdditionalPropertyTypes =
|
|
|
172
172
|
export type PartialFullDocument<Type extends object = object, AdditionalPropertyTypes = unknown> = Partial<BaseDocument> & Partial<Document<Type>> & Mapping<AdditionalPropertyTypes>;
|
|
173
173
|
export interface SpecialPropertyNames {
|
|
174
174
|
additional: '_additional';
|
|
175
|
-
|
|
175
|
+
role: '_roles';
|
|
176
176
|
attachment: '_attachments';
|
|
177
177
|
conflict: '_conflicts';
|
|
178
178
|
deleted: '_deleted';
|