gatsby-core-theme 44.9.5 → 44.10.0
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/CHANGELOG.md +10 -0
- package/package.json +1 -1
- package/src/resolver/index.mjs +9 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
# [44.10.0](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/compare/v44.9.5...v44.10.0) (2025-12-08)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
* Merge branch 'en-125-search-oneliner' into 'master' ([ded8e55](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/ded8e558dc06b7398f8c58ccfa8bcd90768730bc))
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* oneliner on search json files ([7177c11](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/7177c11e0cfbf87020e7901fcdb4da9ce2348884))
|
|
10
|
+
|
|
1
11
|
## [44.9.5](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/compare/v44.9.4...v44.9.5) (2025-12-05)
|
|
2
12
|
|
|
3
13
|
|
package/package.json
CHANGED
package/src/resolver/index.mjs
CHANGED
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
import { processRelations } from "./relations.mjs";
|
|
37
37
|
import { processSportsRelations } from "./sports-relations.mjs";
|
|
38
38
|
import { zeroPadding } from "../helpers/schedule.mjs";
|
|
39
|
-
import { getRoundMinutes } from "../helpers/getters.mjs";
|
|
39
|
+
import { getBonusData, getRoundMinutes } from "../helpers/getters.mjs";
|
|
40
40
|
import checkForInactiveOperatorToplist from "../helpers/validateData.mjs";
|
|
41
41
|
|
|
42
42
|
const { cloneDeep, pick } = loadash;
|
|
@@ -527,7 +527,7 @@ export default {
|
|
|
527
527
|
author,
|
|
528
528
|
extra_fields,
|
|
529
529
|
} = transformedPages[market][pageType][index];
|
|
530
|
-
|
|
530
|
+
const oneLiner = getBonusData(relation, "main");
|
|
531
531
|
const filteredRelation = filterRelation(
|
|
532
532
|
relation,
|
|
533
533
|
searchReleationPickKeys[type]
|
|
@@ -557,9 +557,15 @@ export default {
|
|
|
557
557
|
};
|
|
558
558
|
|
|
559
559
|
if (status === "active") {
|
|
560
|
-
searchSimpleData[page.market].push(
|
|
560
|
+
searchSimpleData[page.market].push(
|
|
561
|
+
cloneDeep({
|
|
562
|
+
...minimalPage,
|
|
563
|
+
...(oneLiner && { oneliner: oneLiner }),
|
|
564
|
+
})
|
|
565
|
+
);
|
|
561
566
|
searchData[page.market].push(
|
|
562
567
|
cloneDeep({
|
|
568
|
+
...(oneLiner && { oneliner: oneLiner }),
|
|
563
569
|
...minimalPage,
|
|
564
570
|
...(filteredRelation && { relation: filteredRelation }),
|
|
565
571
|
...(filteredAuthorRelation && {
|