@travetto/model-elasticsearch 3.4.5 → 4.0.0-rc.0
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 +5 -5
- package/src/service.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@travetto/model-elasticsearch",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0-rc.0",
|
|
4
4
|
"description": "Elasticsearch backing for the travetto model module, with real-time modeling support for Elasticsearch mappings.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"elasticsearch",
|
|
@@ -28,12 +28,12 @@
|
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@elastic/elasticsearch": "^8.10.0",
|
|
31
|
-
"@travetto/config": "^
|
|
32
|
-
"@travetto/model": "^
|
|
33
|
-
"@travetto/model-query": "^
|
|
31
|
+
"@travetto/config": "^4.0.0-rc.0",
|
|
32
|
+
"@travetto/model": "^4.0.0-rc.0",
|
|
33
|
+
"@travetto/model-query": "^4.0.0-rc.0"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
36
|
-
"@travetto/command": "^
|
|
36
|
+
"@travetto/command": "^4.0.0-rc.0"
|
|
37
37
|
},
|
|
38
38
|
"peerDependenciesMeta": {
|
|
39
39
|
"@travetto/command": {
|
package/src/service.ts
CHANGED
|
@@ -109,7 +109,7 @@ export class ElasticsearchModelService implements
|
|
|
109
109
|
|
|
110
110
|
// eslint-disable-next-line @typescript-eslint/consistent-type-assertions
|
|
111
111
|
await ModelStorageUtil.registerModelChangeListener(this.manager, this.constructor as Class);
|
|
112
|
-
ShutdownManager.
|
|
112
|
+
ShutdownManager.onGracefulShutdown(() => this.client.close(), this);
|
|
113
113
|
ModelExpiryUtil.registerCull(this);
|
|
114
114
|
}
|
|
115
115
|
|