couchdb-web-node-plugin 1.0.744 → 1.0.746
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.d.ts +3 -3
- package/databaseHelper.js +1 -1
- package/helper.js +1 -1
- package/index.js +1 -1
- package/package.json +8 -12
- package/type.d.ts +2 -0
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.746",
|
|
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",
|
|
@@ -72,13 +72,13 @@
|
|
|
72
72
|
"@stylistic/eslint-plugin-ts": "^4.2.0",
|
|
73
73
|
"@types/ejs": "^3.1.5",
|
|
74
74
|
"@types/express": "^5.0.1",
|
|
75
|
-
"@types/node": "^22.
|
|
75
|
+
"@types/node": "^22.14.0",
|
|
76
76
|
"@types/pouchdb-node": "^6.1.7",
|
|
77
|
-
"@typescript-eslint/eslint-plugin": "^8.29.
|
|
78
|
-
"@typescript-eslint/parser": "^8.29.
|
|
77
|
+
"@typescript-eslint/eslint-plugin": "^8.29.1",
|
|
78
|
+
"@typescript-eslint/parser": "^8.29.1",
|
|
79
79
|
"clientnode": "^3.0.1274",
|
|
80
80
|
"documentation-website": "^1.0.345",
|
|
81
|
-
"eslint": "^9.
|
|
81
|
+
"eslint": "^9.24.0",
|
|
82
82
|
"eslint-config-google": "^0.14.0",
|
|
83
83
|
"eslint-plugin-jsdoc": "^50.6.9",
|
|
84
84
|
"express": "^5.1.0",
|
|
@@ -87,9 +87,9 @@
|
|
|
87
87
|
"jsdoc": "^4.0.4",
|
|
88
88
|
"node-fetch": "^3.3.2",
|
|
89
89
|
"rimraf": "^6.0.1",
|
|
90
|
-
"typescript-eslint": "^8.29.
|
|
90
|
+
"typescript-eslint": "^8.29.1",
|
|
91
91
|
"web-node": "^1.0.545",
|
|
92
|
-
"weboptimizer": "^2.0.
|
|
92
|
+
"weboptimizer": "^2.0.1576"
|
|
93
93
|
},
|
|
94
94
|
"peerDependencies": {
|
|
95
95
|
"@babel/runtime": "*",
|
|
@@ -383,11 +383,7 @@
|
|
|
383
383
|
}
|
|
384
384
|
},
|
|
385
385
|
"View": {
|
|
386
|
-
"
|
|
387
|
-
"declaration": "Data",
|
|
388
|
-
"description": "Computed data.",
|
|
389
|
-
"type": "any"
|
|
390
|
-
}
|
|
386
|
+
"_allowedRoles": []
|
|
391
387
|
}
|
|
392
388
|
},
|
|
393
389
|
"property": {
|
package/type.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import { ChildProcess } from 'child_process';
|
|
|
2
2
|
import { AnyFunction, Mapping, PlainObject, Primitive, ProcessCloseReason, UTILITY_SCOPE } from 'clientnode';
|
|
3
3
|
import { Configuration as BaseConfiguration, PluginHandler as BasePluginHandler, ServicePromises as BaseServicePromises, Services as BaseServices, ServicePromisesState as BaseServicePromisesState, ServicesState as BaseServicesState } from 'web-node/type';
|
|
4
4
|
import { Server as HTTPServer } from 'http';
|
|
5
|
+
import { Express } from 'express-serve-static-core';
|
|
5
6
|
export type Attachment = PouchDB.Core.Attachment & {
|
|
6
7
|
content_type?: PouchDB.Core.Attachment['content_type'];
|
|
7
8
|
contentType?: PouchDB.Core.Attachment['content_type'];
|
|
@@ -317,6 +318,7 @@ export interface CouchDB<Type extends object = Mapping<unknown>> {
|
|
|
317
318
|
connection: Connection<Type>;
|
|
318
319
|
connector: Connector;
|
|
319
320
|
server: {
|
|
321
|
+
express?: Express;
|
|
320
322
|
process?: ChildProcess | HTTPServer;
|
|
321
323
|
reject: (value: Error | ProcessCloseReason) => void;
|
|
322
324
|
resolve: (reason?: ProcessCloseReason) => void;
|