tango-api-schema 2.2.72 → 2.2.74
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
|
@@ -82,6 +82,7 @@ import fixtureConfigModel from './schema/fixtureConfig.model.js';
|
|
|
82
82
|
import fixtureShelfModel from './schema/fixtureShelf.model.js';
|
|
83
83
|
import planoTaskCompliance from './schema/planoTaskCompliance.model.js';
|
|
84
84
|
import planoQrConversionRequest from './schema/planoQrConversionRequest.model.js';
|
|
85
|
+
import planoStaticBrandCategories from './schema/planoStaticBrandCategories.model.js';
|
|
85
86
|
|
|
86
87
|
|
|
87
88
|
|
|
@@ -169,5 +170,7 @@ export default {
|
|
|
169
170
|
fixtureConfigModel,
|
|
170
171
|
fixtureShelfModel,
|
|
171
172
|
planoTaskCompliance,
|
|
172
|
-
planoQrConversionRequest
|
|
173
|
+
planoQrConversionRequest,
|
|
174
|
+
planoStaticBrandCategories
|
|
175
|
+
|
|
173
176
|
};
|
package/package.json
CHANGED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import mongoose from 'mongoose';
|
|
2
|
+
|
|
3
|
+
const planoStaticBrandCategories = new mongoose.Schema({
|
|
4
|
+
data: {
|
|
5
|
+
type: Array,
|
|
6
|
+
}
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
strict: true,
|
|
10
|
+
versionKey: false,
|
|
11
|
+
timestamps: true,
|
|
12
|
+
},
|
|
13
|
+
);
|
|
14
|
+
|
|
15
|
+
export default mongoose.model( 'planoStaticBrandCategory', planoStaticBrandCategories);
|
|
@@ -20,12 +20,11 @@ const planoTaskCompliance = new mongoose.Schema(
|
|
|
20
20
|
required: true
|
|
21
21
|
},
|
|
22
22
|
fixtureId: {
|
|
23
|
-
type: mongoose.Types.ObjectId
|
|
24
|
-
required: true
|
|
23
|
+
type: mongoose.Types.ObjectId
|
|
25
24
|
},
|
|
26
25
|
type: {
|
|
27
26
|
type: String,
|
|
28
|
-
enum: ['fixture', 'vm', 'product'],
|
|
27
|
+
enum: ['fixture', 'vm', 'product', 'layout'],
|
|
29
28
|
required: true
|
|
30
29
|
},
|
|
31
30
|
},
|
|
@@ -197,9 +197,9 @@ const processedTaskSchema = new mongoose.Schema(
|
|
|
197
197
|
default: 'store',
|
|
198
198
|
enum: ["store", "user", "checklist"]
|
|
199
199
|
},
|
|
200
|
-
|
|
200
|
+
planoType:{
|
|
201
201
|
type: String,
|
|
202
|
-
enum: ['fixture', 'vm', 'product']
|
|
202
|
+
enum: ['fixture', 'vm', 'product', 'layout']
|
|
203
203
|
},
|
|
204
204
|
planoId:{
|
|
205
205
|
type:mongoose.SchemaTypes.ObjectId,
|
|
@@ -208,6 +208,9 @@ const processedTaskSchema = new mongoose.Schema(
|
|
|
208
208
|
type: Boolean,
|
|
209
209
|
default:false
|
|
210
210
|
},
|
|
211
|
+
isPlano:{
|
|
212
|
+
type:Boolean,
|
|
213
|
+
},
|
|
211
214
|
},
|
|
212
215
|
{
|
|
213
216
|
strict: true,
|