@livetiles/reach-plugin-types 0.4.139 → 0.4.140
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/lib/index.d.ts +25 -22
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -7073,7 +7073,7 @@ declare module "libs/reach/feature/content/src/news/NewsApiService" {
|
|
|
7073
7073
|
getBookmarks: (filterDefinition?: NewsFilterDefinition) => Observable<PaginatedList<NewsItem>>;
|
|
7074
7074
|
private getNewsFromCache;
|
|
7075
7075
|
get: (newsId: string) => Observable<NewsItem>;
|
|
7076
|
-
getImageUrlWithToken: (token: string, itemId: string, subscriptionId: string, resourceType: ItemResourceTypes, imageIdentifier: string, width: number | 'default', height?: number) => string;
|
|
7076
|
+
getImageUrlWithToken: (token: string, itemId: string, subscriptionId: string, resourceType: ItemResourceTypes, imageIdentifier: string, width: number | 'default', height?: number, shouldCropImage?: boolean) => string;
|
|
7077
7077
|
getStatistics: (newsId: string) => Promise<ItemStatistics>;
|
|
7078
7078
|
refreshStatistics: (itemId: string, delta: Partial<ItemStatistics>) => Promise<void>;
|
|
7079
7079
|
private static getUpdatedStatistics;
|
|
@@ -8255,19 +8255,20 @@ declare module "libs/reach/feature/content/src/common/banner/PublishableItemBann
|
|
|
8255
8255
|
import { BannerInfo, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8256
8256
|
import { BannerImageLoading } from "libs/reach/feature/content/src/common/banner/banner-image/BannerImage";
|
|
8257
8257
|
interface Props {
|
|
8258
|
-
itemId: string;
|
|
8259
8258
|
bannerInfo: BannerInfo;
|
|
8260
|
-
useEditorRoutes?: boolean;
|
|
8261
|
-
width: number;
|
|
8262
|
-
resourceType: ItemResourceTypes;
|
|
8263
|
-
token?: string;
|
|
8264
8259
|
canOpenImage?: boolean;
|
|
8265
|
-
onPlayButtonClick?: () => unknown;
|
|
8266
|
-
height?: number;
|
|
8267
|
-
hidePlayerIfActive?: boolean;
|
|
8268
8260
|
className?: string;
|
|
8269
8261
|
documentIconName?: string;
|
|
8262
|
+
height?: number;
|
|
8263
|
+
hidePlayerIfActive?: boolean;
|
|
8270
8264
|
imageLoading?: BannerImageLoading;
|
|
8265
|
+
itemId: string;
|
|
8266
|
+
onPlayButtonClick?: () => unknown;
|
|
8267
|
+
resourceType: ItemResourceTypes;
|
|
8268
|
+
shouldCropImage?: boolean;
|
|
8269
|
+
token?: string;
|
|
8270
|
+
width: number;
|
|
8271
|
+
useEditorRoutes?: boolean;
|
|
8271
8272
|
}
|
|
8272
8273
|
export const PublishableItemBanner: FC<Props>;
|
|
8273
8274
|
}
|
|
@@ -8350,25 +8351,26 @@ declare module "libs/reach/feature/content/src/common/item-tile/PageItemTile" {
|
|
|
8350
8351
|
contentPadding?: string;
|
|
8351
8352
|
}
|
|
8352
8353
|
interface Props {
|
|
8353
|
-
item: PageItem;
|
|
8354
|
-
baseRoute: string;
|
|
8355
|
-
targetUrl?: string;
|
|
8356
|
-
layoutMode?: ItemTileLayoutMode;
|
|
8357
|
-
filterBaseUrl?: string;
|
|
8358
|
-
styleDefinition?: StyleDefinition;
|
|
8359
|
-
readOnly?: boolean;
|
|
8360
8354
|
additionalMetadata?: ReactNode;
|
|
8361
|
-
buttons?: ReactNode;
|
|
8362
8355
|
additionalContent?: ReactNode;
|
|
8363
|
-
|
|
8364
|
-
|
|
8365
|
-
|
|
8356
|
+
baseRoute: string;
|
|
8357
|
+
buttons?: ReactNode;
|
|
8358
|
+
contentGap?: number;
|
|
8359
|
+
className?: string;
|
|
8360
|
+
enableModalRouting?: boolean;
|
|
8361
|
+
filterBaseUrl?: string;
|
|
8362
|
+
item: PageItem;
|
|
8363
|
+
layoutMode?: ItemTileLayoutMode;
|
|
8366
8364
|
onClick?: (event: React.MouseEvent<unknown>, isTitleClicked?: boolean) => unknown;
|
|
8367
8365
|
onKeywordClick?: (keywordId: string, keywordItem?: Keyword) => unknown;
|
|
8368
8366
|
openTargetInNewWindow?: boolean;
|
|
8369
|
-
|
|
8367
|
+
readOnly?: boolean;
|
|
8370
8368
|
showBanner?: boolean;
|
|
8371
|
-
|
|
8369
|
+
showBannerPlaceholder?: boolean;
|
|
8370
|
+
showBreadcrumb?: boolean;
|
|
8371
|
+
showIntro?: boolean;
|
|
8372
|
+
styleDefinition?: StyleDefinition;
|
|
8373
|
+
targetUrl?: string;
|
|
8372
8374
|
}
|
|
8373
8375
|
export const PageItemTile: FC<Props>;
|
|
8374
8376
|
}
|
|
@@ -9138,6 +9140,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/EventItemTile" {
|
|
|
9138
9140
|
baseRoute: string;
|
|
9139
9141
|
buttons?: ReactNode;
|
|
9140
9142
|
className?: string;
|
|
9143
|
+
contentGap?: number;
|
|
9141
9144
|
item: EventItem;
|
|
9142
9145
|
layoutMode?: ItemTileLayoutMode;
|
|
9143
9146
|
onChannelClick?: (channelName: string, channelItem?: Channel) => unknown;
|