tango-app-api-store-builder 1.0.0-beta-80 → 1.0.0-beta-81
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tango-app-api-store-builder",
|
|
3
|
-
"version": "1.0.0-beta-
|
|
3
|
+
"version": "1.0.0-beta-81",
|
|
4
4
|
"description": "storeBuilder",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"jszip": "^3.10.1",
|
|
25
25
|
"mongodb": "^6.12.0",
|
|
26
26
|
"nodemon": "^3.1.9",
|
|
27
|
-
"tango-api-schema": "^2.2.
|
|
27
|
+
"tango-api-schema": "^2.2.102",
|
|
28
28
|
"tango-app-api-middleware": "^3.1.48",
|
|
29
29
|
"winston": "^3.17.0",
|
|
30
30
|
"winston-daily-rotate-file": "^5.0.0",
|
|
@@ -559,7 +559,7 @@ export async function storeFixturesv1( req, res ) {
|
|
|
559
559
|
{ storeId: { $in: req.body.id } },
|
|
560
560
|
],
|
|
561
561
|
},
|
|
562
|
-
{ storeId: 1, storeName: 1, planoId: '$_id', productResolutionLevel: 1, scanType: 1, clientId: 1 },
|
|
562
|
+
{ storeId: 1, storeName: 1, planoId: '$_id', productResolutionLevel: 1, scanType: 1, clientId: 1, validateShelfSections: 1 },
|
|
563
563
|
);
|
|
564
564
|
|
|
565
565
|
if ( !planograms?.length ) return res.sendError( 'No data found', 204 );
|
|
@@ -2005,7 +2005,7 @@ export async function storeFixturesTask( req, res ) {
|
|
|
2005
2005
|
{ storeId: { $in: req.body.id } },
|
|
2006
2006
|
],
|
|
2007
2007
|
},
|
|
2008
|
-
{ storeId: 1, storeName: 1, planoId: '$_id', productResolutionLevel: 1, scanType: 1 },
|
|
2008
|
+
{ storeId: 1, storeName: 1, planoId: '$_id', productResolutionLevel: 1, scanType: 1, validateShelfSections: 1 },
|
|
2009
2009
|
);
|
|
2010
2010
|
|
|
2011
2011
|
if ( !planograms?.length ) return res.sendError( 'No data found', 204 );
|
|
@@ -2864,4 +2864,3 @@ export async function storeLayoutElements( req, res ) {
|
|
|
2864
2864
|
return res.sendError( e, 500 );
|
|
2865
2865
|
}
|
|
2866
2866
|
}
|
|
2867
|
-
|
|
@@ -596,7 +596,7 @@ export async function getFixtureDetails( req, res ) {
|
|
|
596
596
|
|
|
597
597
|
export async function getVmDetails( req, res ) {
|
|
598
598
|
try {
|
|
599
|
-
let getVms = await planoProductService.find( { type: 'vm' }, { productName: 1 } );
|
|
599
|
+
let getVms = await planoProductService.find( { type: 'vm', productName: { $ne: ' ' } }, { productName: 1 } );
|
|
600
600
|
if ( !getVms.length ) {
|
|
601
601
|
return res.sendError( 'No data found', 204 );
|
|
602
602
|
}
|