tango-api-schema 2.2.73 → 2.2.75

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tango-api-schema",
3
- "version": "2.2.73",
3
+ "version": "2.2.75",
4
4
  "description": "tangoEye model schema",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -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);
@@ -199,7 +199,6 @@ const processedTaskSchema = new mongoose.Schema(
199
199
  },
200
200
  planoType:{
201
201
  type: String,
202
- enum: ['fixture', 'vm', 'product', 'layout']
203
202
  },
204
203
  planoId:{
205
204
  type:mongoose.SchemaTypes.ObjectId,