av6-core 1.5.3 → 1.5.4
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/dist/index.js +8 -4
- package/dist/index.mjs +8 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -724,7 +724,8 @@ var commonRepository = (serviceDeps) => {
|
|
|
724
724
|
fixedNotSearch,
|
|
725
725
|
// same structure
|
|
726
726
|
shortCodeData,
|
|
727
|
-
includes
|
|
727
|
+
includes,
|
|
728
|
+
logic
|
|
728
729
|
}) {
|
|
729
730
|
logger.info("entering::fixedSearch::repository");
|
|
730
731
|
const tableName = shortCodeData.tableName;
|
|
@@ -736,7 +737,8 @@ var commonRepository = (serviceDeps) => {
|
|
|
736
737
|
fixedNotSearch,
|
|
737
738
|
fixedSearch,
|
|
738
739
|
includes,
|
|
739
|
-
sortDir
|
|
740
|
+
sortDir,
|
|
741
|
+
logic
|
|
740
742
|
});
|
|
741
743
|
const skip = (pageNo - 1) * pageSize;
|
|
742
744
|
const take = pageSize;
|
|
@@ -795,7 +797,8 @@ var commonRepository = (serviceDeps) => {
|
|
|
795
797
|
fixedNotSearch,
|
|
796
798
|
// same structure
|
|
797
799
|
shortCodeData,
|
|
798
|
-
includes
|
|
800
|
+
includes,
|
|
801
|
+
logic
|
|
799
802
|
}) {
|
|
800
803
|
logger.info("entering::fixedSearchWoPagination::repository");
|
|
801
804
|
const tableName = shortCodeData.tableName;
|
|
@@ -807,7 +810,8 @@ var commonRepository = (serviceDeps) => {
|
|
|
807
810
|
fixedNotSearch,
|
|
808
811
|
fixedSearch,
|
|
809
812
|
includes,
|
|
810
|
-
sortDir
|
|
813
|
+
sortDir,
|
|
814
|
+
logic
|
|
811
815
|
});
|
|
812
816
|
const model = db[tableName];
|
|
813
817
|
if (!model) {
|
package/dist/index.mjs
CHANGED
|
@@ -674,7 +674,8 @@ var commonRepository = (serviceDeps) => {
|
|
|
674
674
|
fixedNotSearch,
|
|
675
675
|
// same structure
|
|
676
676
|
shortCodeData,
|
|
677
|
-
includes
|
|
677
|
+
includes,
|
|
678
|
+
logic
|
|
678
679
|
}) {
|
|
679
680
|
logger.info("entering::fixedSearch::repository");
|
|
680
681
|
const tableName = shortCodeData.tableName;
|
|
@@ -686,7 +687,8 @@ var commonRepository = (serviceDeps) => {
|
|
|
686
687
|
fixedNotSearch,
|
|
687
688
|
fixedSearch,
|
|
688
689
|
includes,
|
|
689
|
-
sortDir
|
|
690
|
+
sortDir,
|
|
691
|
+
logic
|
|
690
692
|
});
|
|
691
693
|
const skip = (pageNo - 1) * pageSize;
|
|
692
694
|
const take = pageSize;
|
|
@@ -745,7 +747,8 @@ var commonRepository = (serviceDeps) => {
|
|
|
745
747
|
fixedNotSearch,
|
|
746
748
|
// same structure
|
|
747
749
|
shortCodeData,
|
|
748
|
-
includes
|
|
750
|
+
includes,
|
|
751
|
+
logic
|
|
749
752
|
}) {
|
|
750
753
|
logger.info("entering::fixedSearchWoPagination::repository");
|
|
751
754
|
const tableName = shortCodeData.tableName;
|
|
@@ -757,7 +760,8 @@ var commonRepository = (serviceDeps) => {
|
|
|
757
760
|
fixedNotSearch,
|
|
758
761
|
fixedSearch,
|
|
759
762
|
includes,
|
|
760
|
-
sortDir
|
|
763
|
+
sortDir,
|
|
764
|
+
logic
|
|
761
765
|
});
|
|
762
766
|
const model = db[tableName];
|
|
763
767
|
if (!model) {
|