@naturalcycles/datastore-lib 4.18.1 → 4.18.2
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 +2 -2
- package/src/datastore.model.ts +3 -2
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@naturalcycles/datastore-lib",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "4.18.
|
|
4
|
+
"version": "4.18.2",
|
|
5
5
|
"description": "Opinionated library to work with Google Datastore, implements CommonDB",
|
|
6
6
|
"dependencies": {
|
|
7
7
|
"@google-cloud/datastore": "^10",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
},
|
|
12
12
|
"devDependencies": {
|
|
13
13
|
"@types/node": "^24",
|
|
14
|
-
"@naturalcycles/dev-lib": "20.
|
|
14
|
+
"@naturalcycles/dev-lib": "20.12.10"
|
|
15
15
|
},
|
|
16
16
|
"exports": {
|
|
17
17
|
".": "./dist/index.js"
|
package/src/datastore.model.ts
CHANGED
|
@@ -113,8 +113,9 @@ export interface DatastoreDBOptions extends CommonDBOptions {}
|
|
|
113
113
|
|
|
114
114
|
export interface DatastoreDBReadOptions extends CommonDBReadOptions {}
|
|
115
115
|
|
|
116
|
-
export interface DatastoreDBSaveOptions<
|
|
117
|
-
extends
|
|
116
|
+
export interface DatastoreDBSaveOptions<
|
|
117
|
+
ROW extends ObjectWithId,
|
|
118
|
+
> extends CommonDBSaveOptions<ROW> {}
|
|
118
119
|
|
|
119
120
|
export interface DatastoreStats {
|
|
120
121
|
composite_index_count: number
|