sass-template-common 0.5.5 → 0.5.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.
|
@@ -730,13 +730,14 @@ export declare const formatDateJournalistArticule: (date: number) => string;
|
|
|
730
730
|
|
|
731
731
|
export declare const formatDateTimeline: (date: number) => string;
|
|
732
732
|
|
|
733
|
-
export declare const formatNewsMeta: (news: NewListResponseData | undefined, config: Config, schemasImages?: {
|
|
733
|
+
export declare const formatNewsMeta: (meta: any, news: NewListResponseData | undefined, config: Config, schemasImages?: {
|
|
734
734
|
preview: {
|
|
735
735
|
format: string;
|
|
736
736
|
width: string;
|
|
737
737
|
height: string;
|
|
738
738
|
url: string;
|
|
739
739
|
}[];
|
|
740
|
+
description: string;
|
|
740
741
|
}) => {
|
|
741
742
|
title?: undefined;
|
|
742
743
|
robots?: undefined;
|
|
@@ -768,6 +769,7 @@ export declare const formatNewsMeta: (news: NewListResponseData | undefined, con
|
|
|
768
769
|
url: string;
|
|
769
770
|
width: string | number;
|
|
770
771
|
height: string | number;
|
|
772
|
+
alt: string;
|
|
771
773
|
}[];
|
|
772
774
|
siteName: string;
|
|
773
775
|
locale: string;
|
|
@@ -775,12 +777,13 @@ export declare const formatNewsMeta: (news: NewListResponseData | undefined, con
|
|
|
775
777
|
twitter: {
|
|
776
778
|
title: string;
|
|
777
779
|
card: string;
|
|
778
|
-
site:
|
|
780
|
+
site: any;
|
|
779
781
|
description: string;
|
|
780
782
|
images: {
|
|
781
783
|
url: string;
|
|
782
784
|
width: string | number;
|
|
783
785
|
height: string | number;
|
|
786
|
+
alt: string;
|
|
784
787
|
}[];
|
|
785
788
|
};
|
|
786
789
|
article: {
|
|
@@ -794,7 +797,7 @@ export declare const formatNewsMeta: (news: NewListResponseData | undefined, con
|
|
|
794
797
|
|
|
795
798
|
export declare const FormatScripts: (props: ScriptProps) => JSX.Element | null;
|
|
796
799
|
|
|
797
|
-
export declare const formatVideoData: (news: VideoResponseData, config: Config) => {
|
|
800
|
+
export declare const formatVideoData: (meta: any, news: VideoResponseData, config: Config) => {
|
|
798
801
|
title?: undefined;
|
|
799
802
|
robots?: undefined;
|
|
800
803
|
alternates?: undefined;
|
|
@@ -828,7 +831,7 @@ export declare const formatVideoData: (news: VideoResponseData, config: Config)
|
|
|
828
831
|
twitter: {
|
|
829
832
|
title: string;
|
|
830
833
|
card: string;
|
|
831
|
-
site:
|
|
834
|
+
site: any;
|
|
832
835
|
description: string;
|
|
833
836
|
images: {
|
|
834
837
|
url: string;
|
|
@@ -1694,6 +1697,7 @@ declare type NewsDescriptionProps = {
|
|
|
1694
1697
|
isTitle?: boolean;
|
|
1695
1698
|
paths: RoutePathConfig;
|
|
1696
1699
|
useNewHeaderFormat?: boolean;
|
|
1700
|
+
newsDescriptionSectionTag?: 'span' | 'h3';
|
|
1697
1701
|
} & NewListResponseData;
|
|
1698
1702
|
|
|
1699
1703
|
export declare interface NewsResponse {
|
|
@@ -1869,6 +1873,7 @@ declare type Props_10 = {
|
|
|
1869
1873
|
liveblogs: CSSProperties;
|
|
1870
1874
|
};
|
|
1871
1875
|
readestCustomStyles?: CSSProperties;
|
|
1876
|
+
newsDescriptionSectionTag?: 'span' | 'h3';
|
|
1872
1877
|
};
|
|
1873
1878
|
|
|
1874
1879
|
declare type Props_11 = {
|