tango-api-schema 2.0.110 → 2.0.111
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 +1 -1
- package/schema/matLog.model.js +27 -0
- package/schema/store.model.js +8 -0
package/index.js
CHANGED
|
@@ -28,6 +28,7 @@ import auditModel from "./schema/audit.model.js";
|
|
|
28
28
|
import auditLogsModel from "./schema/auditLogs.model.js";
|
|
29
29
|
import assignAuditModel from "./schema/assignAudit.model.js";
|
|
30
30
|
import auditFilesCountModel from "./schema/auditFilesCount.model.js";
|
|
31
|
+
import matLogModel from "./schema/matLog.model.js";
|
|
31
32
|
|
|
32
33
|
export default {
|
|
33
34
|
leadModel,
|
|
@@ -59,5 +60,6 @@ export default {
|
|
|
59
60
|
auditModel,
|
|
60
61
|
assignAuditModel,
|
|
61
62
|
auditLogsModel,
|
|
62
|
-
auditFilesCountModel
|
|
63
|
+
auditFilesCountModel,
|
|
64
|
+
matLogModel
|
|
63
65
|
};
|
package/package.json
CHANGED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import mongoose from "mongoose";
|
|
2
|
+
|
|
3
|
+
const matLogs = new mongoose.Schema(
|
|
4
|
+
{
|
|
5
|
+
|
|
6
|
+
storeId: {
|
|
7
|
+
type: String,
|
|
8
|
+
trim: true,
|
|
9
|
+
},
|
|
10
|
+
date: {
|
|
11
|
+
type: Date,
|
|
12
|
+
trim: true,
|
|
13
|
+
},
|
|
14
|
+
status: {
|
|
15
|
+
type: String,
|
|
16
|
+
trim: true,
|
|
17
|
+
},
|
|
18
|
+
clientId: {
|
|
19
|
+
type: String,
|
|
20
|
+
trim: true,
|
|
21
|
+
},
|
|
22
|
+
|
|
23
|
+
});
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
export default mongoose.model("matLogs", matLogs);
|
|
27
|
+
|
package/schema/store.model.js
CHANGED