@infrab4a/connect 4.9.4-beta.0 → 4.9.4-beta.2
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.cjs.js
CHANGED
|
@@ -2682,6 +2682,7 @@ class ProductsIndex {
|
|
|
2682
2682
|
}
|
|
2683
2683
|
const search = await this.adapter.query(this.index, {
|
|
2684
2684
|
size,
|
|
2685
|
+
min_score: 1,
|
|
2685
2686
|
_source: fields,
|
|
2686
2687
|
query: {
|
|
2687
2688
|
bool: query,
|
|
@@ -4928,6 +4929,7 @@ class CategoryHasuraGraphQLRepository extends withCrudHasuraGraphQL(withHasuraGr
|
|
|
4928
4929
|
},
|
|
4929
4930
|
'theme',
|
|
4930
4931
|
{ bannerUrl: { columnName: 'banner_url' } },
|
|
4932
|
+
{ mostRelevant: { columnName: 'most_relevant', type: HasuraGraphQLColumnType.Jsonb } },
|
|
4931
4933
|
],
|
|
4932
4934
|
});
|
|
4933
4935
|
this.productRepository = productRepository;
|
package/index.esm.js
CHANGED
|
@@ -2658,6 +2658,7 @@ class ProductsIndex {
|
|
|
2658
2658
|
}
|
|
2659
2659
|
const search = await this.adapter.query(this.index, {
|
|
2660
2660
|
size,
|
|
2661
|
+
min_score: 1,
|
|
2661
2662
|
_source: fields,
|
|
2662
2663
|
query: {
|
|
2663
2664
|
bool: query,
|
|
@@ -4904,6 +4905,7 @@ class CategoryHasuraGraphQLRepository extends withCrudHasuraGraphQL(withHasuraGr
|
|
|
4904
4905
|
},
|
|
4905
4906
|
'theme',
|
|
4906
4907
|
{ bannerUrl: { columnName: 'banner_url' } },
|
|
4908
|
+
{ mostRelevant: { columnName: 'most_relevant', type: HasuraGraphQLColumnType.Jsonb } },
|
|
4907
4909
|
],
|
|
4908
4910
|
});
|
|
4909
4911
|
this.productRepository = productRepository;
|
package/package.json
CHANGED
|
@@ -26,6 +26,7 @@ export declare class CategoryBase<ChildCategory extends ModelBaseStructure<Child
|
|
|
26
26
|
parentId?: number;
|
|
27
27
|
theme?: string;
|
|
28
28
|
bannerUrl?: string;
|
|
29
|
+
mostRelevant?: string[];
|
|
29
30
|
parent?: CategoryBase;
|
|
30
31
|
filters?: Filter[];
|
|
31
32
|
static get identifiersFields(): GenericIdentifier[];
|