tango-api-schema 2.5.4 → 2.5.6

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 CHANGED
@@ -119,6 +119,7 @@ import planoProductDetailDuplicateModel from "./schema/planoProductDetailDuplica
119
119
  import vmsStoreRequestModel from './schema/vmsStoreRequest.model.js'
120
120
  import sangeethaCamDataModel from "./schema/sangeethaCamData.model.js"
121
121
  import storeAccuracyIssuesModel from "./schema/storeAccuracyIssues.model.js";
122
+ import RFIDdataModel from "./schema/RFIDdata.model.js";
122
123
 
123
124
 
124
125
  export default {
@@ -240,4 +241,5 @@ export default {
240
241
  vmsStoreRequestModel,
241
242
  sangeethaCamDataModel,
242
243
  storeAccuracyIssuesModel
244
+ RFIDdataModel
243
245
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tango-api-schema",
3
- "version": "2.5.4",
3
+ "version": "2.5.6",
4
4
  "description": "tangoEye model schema",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -0,0 +1,18 @@
1
+ /**
2
+ * @name api_RFIDdata_models
3
+ * @description RFIDdata Schema
4
+ */
5
+
6
+ import mongoose from "mongoose";
7
+
8
+ // Schema
9
+ const collection = new mongoose.Schema(
10
+ {},
11
+ {
12
+ timestamps: true,
13
+ strict: true,
14
+ versionKey: false,
15
+ }
16
+ );
17
+
18
+ export default mongoose.model("RFIDdata", collection);
@@ -7,10 +7,7 @@ import mongoose from 'mongoose';
7
7
 
8
8
  // Schema
9
9
  const sangeethaCamDataSchema = new mongoose.Schema( {
10
- clientId: {
11
- type: String,
12
- },
13
- storeId: {
10
+ store_id: {
14
11
  type: String,
15
12
  },
16
13
  event:{