tango-app-api-store-builder 1.0.0-beta-5 → 1.0.0-beta-7
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-7",
|
|
4
4
|
"description": "storeBuilder",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"joi": "^17.13.3",
|
|
24
24
|
"mongodb": "^6.12.0",
|
|
25
25
|
"nodemon": "^3.1.9",
|
|
26
|
-
"tango-api-schema": "^2.2.
|
|
26
|
+
"tango-api-schema": "^2.2.28",
|
|
27
27
|
"tango-app-api-middleware": "^3.1.48",
|
|
28
28
|
"winston": "^3.17.0",
|
|
29
29
|
"winston-daily-rotate-file": "^5.0.0"
|
|
@@ -442,7 +442,7 @@ export async function storeList( req, res ) {
|
|
|
442
442
|
$match: {
|
|
443
443
|
$expr: {
|
|
444
444
|
$and: [
|
|
445
|
-
{
|
|
445
|
+
{ date: new Date( dayjs().format( 'YYYY-MM-DD' ) ) },
|
|
446
446
|
{ $eq: [ '$fixtureId', '$$id' ] },
|
|
447
447
|
{ $eq: [ '$compliance', 'proper' ] },
|
|
448
448
|
],
|
|
@@ -581,7 +581,7 @@ export async function fixtureShelfProduct( req, res ) {
|
|
|
581
581
|
...query,
|
|
582
582
|
...( [ 'L3', 'L4' ].includes( planoDetails.productResolutionLevel ) ) ? { shelfId: shelf._id } : {},
|
|
583
583
|
productId: { $in: productIdList },
|
|
584
|
-
|
|
584
|
+
date: new Date( dayjs().format( 'YYYY-MM-DD' ) ),
|
|
585
585
|
};
|
|
586
586
|
let productComplianceDetails = await planoComplianceService.find( query );
|
|
587
587
|
let product = [];
|