tango-api-schema 2.5.3 → 2.5.4
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 +2 -0
- package/package.json +1 -1
- package/schema/sangeethaCamData.model.js +34 -0
package/index.js
CHANGED
|
@@ -117,6 +117,7 @@ import planoMappingDuplicateModel from "./schema/planoMappingDuplicate.model.js"
|
|
|
117
117
|
import planoVmDetailDuplicateModel from "./schema/planoVmDetailDuplicate.model.js";
|
|
118
118
|
import planoProductDetailDuplicateModel from "./schema/planoProductDetailDuplicate.model.js";
|
|
119
119
|
import vmsStoreRequestModel from './schema/vmsStoreRequest.model.js'
|
|
120
|
+
import sangeethaCamDataModel from "./schema/sangeethaCamData.model.js"
|
|
120
121
|
import storeAccuracyIssuesModel from "./schema/storeAccuracyIssues.model.js";
|
|
121
122
|
|
|
122
123
|
|
|
@@ -237,5 +238,6 @@ export default {
|
|
|
237
238
|
planoVmDetailDuplicateModel,
|
|
238
239
|
planoProductDetailDuplicateModel,
|
|
239
240
|
vmsStoreRequestModel,
|
|
241
|
+
sangeethaCamDataModel,
|
|
240
242
|
storeAccuracyIssuesModel
|
|
241
243
|
};
|
package/package.json
CHANGED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @name sangeethaCamDataModel
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
// NPM Modules
|
|
6
|
+
import mongoose from 'mongoose';
|
|
7
|
+
|
|
8
|
+
// Schema
|
|
9
|
+
const sangeethaCamDataSchema = new mongoose.Schema( {
|
|
10
|
+
clientId: {
|
|
11
|
+
type: String,
|
|
12
|
+
},
|
|
13
|
+
storeId: {
|
|
14
|
+
type: String,
|
|
15
|
+
},
|
|
16
|
+
event:{
|
|
17
|
+
type: String,
|
|
18
|
+
},
|
|
19
|
+
event_type:{
|
|
20
|
+
type: String,
|
|
21
|
+
},
|
|
22
|
+
camera_rtsp: {
|
|
23
|
+
type: String,
|
|
24
|
+
},
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
timestamps: true,
|
|
28
|
+
strict: true,
|
|
29
|
+
versionKey: false,
|
|
30
|
+
} );
|
|
31
|
+
|
|
32
|
+
sangeethaCamDataSchema.index({clientId:1, storeId: 1,event:1});
|
|
33
|
+
|
|
34
|
+
export default mongoose.model( 'sangeethaCamData', sangeethaCamDataSchema, 'sangeethaCamData' );
|