couchdb-web-node-plugin 1.0.807 → 1.0.809
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 +6 -6
- 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.
|
|
3
|
+
"version": "1.0.809",
|
|
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",
|
|
@@ -79,13 +79,13 @@
|
|
|
79
79
|
"@types/node": "^25.3.0",
|
|
80
80
|
"@types/pouchdb-adapter-memory": "^6.1.6",
|
|
81
81
|
"@types/pouchdb-node": "^6.1.7",
|
|
82
|
-
"@typescript-eslint/eslint-plugin": "^8.56.
|
|
83
|
-
"@typescript-eslint/parser": "^8.56.
|
|
82
|
+
"@typescript-eslint/eslint-plugin": "^8.56.1",
|
|
83
|
+
"@typescript-eslint/parser": "^8.56.1",
|
|
84
84
|
"clientnode": "^3.0.1347",
|
|
85
85
|
"documentation-website": "^1.0.398",
|
|
86
|
-
"eslint": "^10.0.
|
|
86
|
+
"eslint": "^10.0.2",
|
|
87
87
|
"eslint-config-google": "^0.14.0",
|
|
88
|
-
"eslint-plugin-jsdoc": "^62.7.
|
|
88
|
+
"eslint-plugin-jsdoc": "^62.7.1",
|
|
89
89
|
"express": "^5.2.1",
|
|
90
90
|
"express-pouchdb": "patch:express-pouchdb@npm%3A4.2.0#~/.yarn/patches/express-pouchdb-npm-4.2.0-969036264e.patch",
|
|
91
91
|
"jest": "^30.2.0",
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
"node-fetch": "^3.3.2",
|
|
95
95
|
"pouchdb-adapter-memory": "^9.0.0",
|
|
96
96
|
"rimraf": "^6.1.3",
|
|
97
|
-
"typescript-eslint": "^8.56.
|
|
97
|
+
"typescript-eslint": "^8.56.1",
|
|
98
98
|
"web-node": "^1.0.570",
|
|
99
99
|
"weboptimizer": "^2.0.1648"
|
|
100
100
|
},
|
package/type.d.ts
CHANGED
|
@@ -145,6 +145,7 @@ export interface BaseModel<AttachmentType extends Attachment = Attachment, Addit
|
|
|
145
145
|
_maximumAggregatedSize?: number;
|
|
146
146
|
_minimumAggregatedSize?: number;
|
|
147
147
|
_oldType?: Array<string> | string;
|
|
148
|
+
_type?: Array<string> | string;
|
|
148
149
|
_onUpdateExecution?: string;
|
|
149
150
|
_onUpdateExpression?: string;
|
|
150
151
|
_id: PropertySpecification<string, AdditionalSpecifications>;
|
|
@@ -422,7 +423,7 @@ export interface RuntimeErrorData<S = Mapping<unknown>> extends EvaluationErrorD
|
|
|
422
423
|
}
|
|
423
424
|
export interface BasicScope<Type extends object, AttachmentType extends Attachment, AdditionalSpecifications extends object, AdditionalPropertiesType> {
|
|
424
425
|
attachmentWithPrefixExists: (namePrefix: string) => boolean;
|
|
425
|
-
checkDocument: (newDocument: PartialFullDocument<Type, AdditionalPropertiesType>, oldDocument: PartialFullDocument<Type, AdditionalPropertiesType> | null, parentNames: Array<string>) => CheckedDocumentResult<Type, AdditionalPropertiesType>;
|
|
426
|
+
checkDocument: (newDocument: PartialFullDocument<Type, AdditionalPropertiesType>, oldDocument: PartialFullDocument<Type, AdditionalPropertiesType> | null, modelName: string, model: Model<Type, AttachmentType, AdditionalSpecifications, AdditionalPropertiesType>, parentNames: Array<string>) => CheckedDocumentResult<Type, AdditionalPropertiesType>;
|
|
426
427
|
deepCopy: <T>(data: T) => T;
|
|
427
428
|
getDateTime: (value: number | string) => Date;
|
|
428
429
|
getEffectiveValue: (name: string, newDocument: PartialFullDocument<Type, AdditionalPropertiesType>, oldDocument: (null | PartialFullDocument<Type, AdditionalPropertiesType>)) => unknown;
|