couchdb-web-node-plugin 2.0.829 → 2.0.831

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "couchdb-web-node-plugin",
3
- "version": "2.0.829",
3
+ "version": "2.0.831",
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,9 +79,10 @@
79
79
  "@types/node": "^25.5.0",
80
80
  "@types/pouchdb-adapter-memory": "^6.1.6",
81
81
  "@types/pouchdb-node": "^6.1.7",
82
- "@typescript-eslint/eslint-plugin": "^8.57.1",
83
- "@typescript-eslint/parser": "^8.57.1",
84
- "clientnode": "^4.0.1359",
82
+ "@types/webpack-env": "^1.18.8",
83
+ "@typescript-eslint/eslint-plugin": "^8.57.2",
84
+ "@typescript-eslint/parser": "^8.57.2",
85
+ "clientnode": "^4.0.1364",
85
86
  "documentation-website": "^1.0.401",
86
87
  "eslint": "^10.1.0",
87
88
  "eslint-config-google": "^0.14.0",
@@ -94,9 +95,9 @@
94
95
  "node-fetch": "^3.3.2",
95
96
  "pouchdb-adapter-memory": "^9.0.0",
96
97
  "rimraf": "^6.1.3",
97
- "typescript-eslint": "^8.57.1",
98
- "web-node": "^1.0.574",
99
- "weboptimizer": "^3.0.8"
98
+ "typescript-eslint": "^8.57.2",
99
+ "web-node": "^1.0.577",
100
+ "weboptimizer": "^3.0.15"
100
101
  },
101
102
  "peerDependencies": {
102
103
  "@babel/runtime": "*",
@@ -530,7 +531,7 @@
530
531
  "name": "admin",
531
532
  "password": "admin"
532
533
  },
533
- "users": {},
534
+ "users": [],
534
535
  "materializedViews": {}
535
536
  }
536
537
  },
package/type.d.ts CHANGED
@@ -38,6 +38,9 @@ export type DatabaseFetch = PouchDB.Core.Options['fetch'];
38
38
  export type DatabaseResponse = PouchDB.Core.Response;
39
39
  export type Document<Type extends object = PlainObject> = PouchDB.Core.Document<Type>;
40
40
  export type ExistingDocument<Type extends object = PlainObject> = PouchDB.Core.ExistingDocument<Type>;
41
+ export type DocumentDeleteMeta = PouchDB.Core.IdMeta & {
42
+ _deleted: boolean;
43
+ };
41
44
  export type DocumentGetMeta = PouchDB.Core.GetMeta;
42
45
  export type DocumentIDMeta = PouchDB.Core.IdMeta;
43
46
  export type DocumentRevisionIDMeta = PouchDB.Core.RevisionIdMeta;