tango-api-schema 2.1.79 → 2.1.81
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/index.js +3 -1
- package/package.json +3 -2
- package/schema/webSocketConnection.model.js +1 -1
package/index.js
CHANGED
|
@@ -69,6 +69,7 @@ import taskQuestionModel from './schema/taskQuestion.model.js';
|
|
|
69
69
|
import taskAssignModel from './schema/taskAssign.model.js';
|
|
70
70
|
import taskProcessedModel from './schema/taskProcessed.model.js';
|
|
71
71
|
import taskProcessedConfigModel from './schema/taskProcessedConfig.model.js';
|
|
72
|
+
import webSocketConnectionModel from "./schema/webSocketConnection.model.js";
|
|
72
73
|
|
|
73
74
|
export default {
|
|
74
75
|
leadModel,
|
|
@@ -141,5 +142,6 @@ export default {
|
|
|
141
142
|
taskQuestionModel,
|
|
142
143
|
taskAssignModel,
|
|
143
144
|
taskProcessedModel,
|
|
144
|
-
taskProcessedConfigModel
|
|
145
|
+
taskProcessedConfigModel,
|
|
146
|
+
webSocketConnectionModel
|
|
145
147
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tango-api-schema",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.81",
|
|
4
4
|
"description": "tangoEye model schema",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
"homepage": "https://bitbucket.org/tangoeye-retail/tango-api-schema#readme",
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"express": "^4.21.1",
|
|
23
|
-
"mongoose": "^
|
|
23
|
+
"mongoose": "^8.8.2"
|
|
24
|
+
|
|
24
25
|
}
|
|
25
26
|
}
|
|
@@ -11,7 +11,7 @@ const webSocketConnectionSchema = new mongoose.Schema({
|
|
|
11
11
|
});
|
|
12
12
|
|
|
13
13
|
webSocketConnectionSchema.index({ createdAt: 1 }, { expires: "1d" });
|
|
14
|
-
export default mongoose.model( 'webSocketConnection', webSocketConnectionSchema, '
|
|
14
|
+
export default mongoose.model( 'webSocketConnection', webSocketConnectionSchema, 'webSocketConnection' );
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|