@20minutes/tyr 2.40.5 → 2.40.6
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.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CardExtraLargeProps, CardExtraSmallProps, CardLargeProps, CardMediumProps, CardSideImageProps, LayoutType } from '@20minutes/hela';
|
|
2
2
|
import { TGetTagArticlesWithCursorQuery } from '../../types/graphql';
|
|
3
|
-
export declare const
|
|
3
|
+
export declare const excludedRubricsForReactions: string[];
|
|
4
4
|
export declare const transformArticlesForTagPage: ({ pageEndpoint, imgEndpoint, data, hasSummary, layout, }: {
|
|
5
5
|
pageEndpoint: string;
|
|
6
6
|
imgEndpoint: string;
|
package/dist/index.es.js
CHANGED
|
@@ -71630,15 +71630,7 @@ const SZ = () => {
|
|
|
71630
71630
|
component: Tn,
|
|
71631
71631
|
expiration: 3600 * 24 * 30
|
|
71632
71632
|
}
|
|
71633
|
-
], TY = [
|
|
71634
|
-
"sport",
|
|
71635
|
-
"football",
|
|
71636
|
-
"basketball",
|
|
71637
|
-
"rugby",
|
|
71638
|
-
"biathlon",
|
|
71639
|
-
"arts-stars",
|
|
71640
|
-
"tempo"
|
|
71641
|
-
], vk = ({
|
|
71633
|
+
], TY = ["actu-generale", "locales"], vk = ({
|
|
71642
71634
|
pageEndpoint: t,
|
|
71643
71635
|
imgEndpoint: n,
|
|
71644
71636
|
data: a,
|
|
@@ -71657,7 +71649,7 @@ const SZ = () => {
|
|
|
71657
71649
|
legend: c.node.photo.node?.caption
|
|
71658
71650
|
}
|
|
71659
71651
|
]);
|
|
71660
|
-
const p = c?.node?.editorial_model === X0.Article && TY.includes(c?.node?.rubric?.node?.slug || "");
|
|
71652
|
+
const p = c?.node?.editorial_model === X0.Article && !TY.includes(c?.node?.rubric?.node?.slug || "");
|
|
71661
71653
|
return l.push({
|
|
71662
71654
|
link: new URL(c.node.url, t).href,
|
|
71663
71655
|
title: c.node.short_title || c.node.title,
|
|
@@ -80649,10 +80641,10 @@ export {
|
|
|
80649
80641
|
bQ as WeatherPage,
|
|
80650
80642
|
yQ as WhyCreateAccountPage,
|
|
80651
80643
|
FW as YearsList,
|
|
80652
|
-
TY as allowedRubricsForReactions,
|
|
80653
80644
|
TX as displayContentDate,
|
|
80654
80645
|
qv as draftToHTML,
|
|
80655
80646
|
op as draftToReact,
|
|
80647
|
+
TY as excludedRubricsForReactions,
|
|
80656
80648
|
xR as formatDateWithSlash,
|
|
80657
80649
|
RX as formatTimestampToYYYYMMDD,
|
|
80658
80650
|
PO as fromGlobalId,
|