sass-template-common 0.2.41 → 0.2.42
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.
|
@@ -262,7 +262,7 @@ export declare class CommonServices {
|
|
|
262
262
|
getNewsItemsList: (params: Params) => Promise<AxiosResponse< {
|
|
263
263
|
data: Array<ItemList>;
|
|
264
264
|
}, any, {}>> | undefined;
|
|
265
|
-
getNewsItemsRelated: (path: string) => Promise<AxiosResponse<NewListResponse, any, {}> | {
|
|
265
|
+
getNewsItemsRelated: (path: string, params?: Params) => Promise<AxiosResponse<NewListResponse, any, {}> | {
|
|
266
266
|
data: {
|
|
267
267
|
data: never[];
|
|
268
268
|
};
|
|
@@ -3331,14 +3331,15 @@ class at {
|
|
|
3331
3331
|
}).catch((n) => (console.log(`[/news] Error: ${n.message}`), Promise.reject(n)));
|
|
3332
3332
|
getNewsMultimedia = (t) => this.props?.axiosApi.get("/news-items-multimedia", { params: t }).catch((n) => (console.log(`[/news-items-multimedia] Error: ${n.message}`), Promise.reject(n)));
|
|
3333
3333
|
getNewsItemsList = (t) => this.props?.axiosApi.get("/news-items-list", { params: t }).catch((n) => (console.log(`[/news-items-list] Error: ${n.message}`), Promise.reject(n)));
|
|
3334
|
-
getNewsItemsRelated = (t) => this.props?.axiosApi.get("/news-items-related", {
|
|
3334
|
+
getNewsItemsRelated = (t, n) => this.props?.axiosApi.get("/news-items-related", {
|
|
3335
3335
|
params: {
|
|
3336
3336
|
path: t,
|
|
3337
3337
|
// size: NewsListSizes['Carrusel card'].size,
|
|
3338
3338
|
imagesizes: this.props?.imgSizes.md,
|
|
3339
|
-
exclude: this.exclude
|
|
3339
|
+
exclude: this.exclude,
|
|
3340
|
+
...n
|
|
3340
3341
|
}
|
|
3341
|
-
}).catch((
|
|
3342
|
+
}).catch((r) => (console.log(`[/news-items-related] Error: ${r.message}`), { data: { data: [] } }));
|
|
3342
3343
|
sendEmail = (t) => this.props?.axiosApi.post("/send/email", t, {
|
|
3343
3344
|
headers: {
|
|
3344
3345
|
"Content-Type": "application/x-www-form-urlencoded",
|
|
@@ -9698,7 +9699,7 @@ const $2 = () => /* @__PURE__ */ f("svg", { xmlns: "http://www.w3.org/2000/svg",
|
|
|
9698
9699
|
)
|
|
9699
9700
|
] })
|
|
9700
9701
|
] }) });
|
|
9701
|
-
}, Y2 = "
|
|
9702
|
+
}, Y2 = "_content_g3sds_1", K2 = "_journalistArticleContent_g3sds_15", J2 = "_contentNews_g3sds_35", Z2 = "_noteSource_g3sds_401", tn = {
|
|
9702
9703
|
content: Y2,
|
|
9703
9704
|
journalistArticleContent: K2,
|
|
9704
9705
|
contentNews: J2,
|