@livetiles/reach-plugin-types 0.5.0-preview.639 → 0.5.0-preview.641

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.
Files changed (2) hide show
  1. package/lib/index.d.ts +81 -78
  2. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -1367,6 +1367,33 @@ declare module "libs/reach/util/common/src/content/Language" {
1367
1367
  code: string;
1368
1368
  }
1369
1369
  }
1370
+ declare module "libs/reach/util/common/src/content/KeywordGroup" {
1371
+ export interface KeywordGroup {
1372
+ id: string;
1373
+ name: string;
1374
+ keywords: Keyword[];
1375
+ translations: {
1376
+ [key: string]: string;
1377
+ };
1378
+ }
1379
+ export interface Keyword {
1380
+ id: string;
1381
+ name: string;
1382
+ groupId?: string;
1383
+ translations: {
1384
+ [key: string]: string;
1385
+ };
1386
+ }
1387
+ }
1388
+ declare module "libs/reach/util/common/src/channels/Channel" {
1389
+ export interface Channel {
1390
+ id: string;
1391
+ name: string;
1392
+ translations?: {
1393
+ [key: string]: string;
1394
+ };
1395
+ }
1396
+ }
1370
1397
  declare module "libs/reach/util/common/src/user/Subscription" {
1371
1398
  import { Resources } from "libs/reach/util/context/src/index";
1372
1399
  import { Account } from "libs/reach/util/common/src/user/Account";
@@ -1374,6 +1401,8 @@ declare module "libs/reach/util/common/src/user/Subscription" {
1374
1401
  import { CurrentUser, NotificationType } from "libs/reach/util/common/src/user/User";
1375
1402
  import { IdentityProviderNames, IdentityProviderSettings, SubscriptionInfo as BaseSubscriptionInfo } from "libs/shared/util/authentication/src/index";
1376
1403
  import { Language, LanguageBase } from "libs/reach/util/common/src/content/Language";
1404
+ import { Keyword, KeywordGroup } from "libs/reach/util/common/src/content/KeywordGroup";
1405
+ import { Channel } from "libs/reach/util/common/src/channels/Channel";
1377
1406
  export interface DirectoryConfiguration extends DirectoryConfigurationPatch {
1378
1407
  domains?: string[];
1379
1408
  tenantId: string;
@@ -1434,6 +1463,11 @@ declare module "libs/reach/util/common/src/user/Subscription" {
1434
1463
  termsAndConditionsHash?: string;
1435
1464
  logoInfo: LogoInfo;
1436
1465
  }
1466
+ export interface EssentialSubscriptionData {
1467
+ channels: Channel[];
1468
+ keywords: Keyword[];
1469
+ keywordGroups: KeywordGroup[];
1470
+ }
1437
1471
  export enum LogoSize {
1438
1472
  large = "large",
1439
1473
  small = "small"
@@ -1933,24 +1967,6 @@ declare module "libs/reach/util/common/src/user/RequestUserInformation" {
1933
1967
  organization: Organization;
1934
1968
  }
1935
1969
  }
1936
- declare module "libs/reach/util/common/src/content/KeywordGroup" {
1937
- export interface KeywordGroup {
1938
- id: string;
1939
- name: string;
1940
- keywords: Keyword[];
1941
- translations: {
1942
- [key: string]: string;
1943
- };
1944
- }
1945
- export interface Keyword {
1946
- id: string;
1947
- name: string;
1948
- groupId?: string;
1949
- translations: {
1950
- [key: string]: string;
1951
- };
1952
- }
1953
- }
1954
1970
  declare module "libs/reach/util/common/src/content/ItemStatistics" {
1955
1971
  export interface ItemStatistics {
1956
1972
  commentCount?: number;
@@ -1989,15 +2005,6 @@ declare module "libs/reach/util/common/src/content/KnownNewsState" {
1989
2005
  Alert = 2
1990
2006
  }
1991
2007
  }
1992
- declare module "libs/reach/util/common/src/channels/Channel" {
1993
- export interface Channel {
1994
- id: string;
1995
- name: string;
1996
- translations?: {
1997
- [key: string]: string;
1998
- };
1999
- }
2000
- }
2001
2008
  declare module "libs/reach/util/common/src/content/NewsItem" {
2002
2009
  import { NewsMetadata } from "libs/reach/util/common/src/content/NewsMetadata";
2003
2010
  import { KnownNewsState } from "libs/reach/util/common/src/content/KnownNewsState";
@@ -3643,14 +3650,7 @@ declare module "libs/reach/util/common/src/notification/index" {
3643
3650
  export * from "libs/reach/util/common/src/notification/NotificationContext";
3644
3651
  export * from "libs/reach/util/common/src/notification/ToastNotificationHost";
3645
3652
  }
3646
- declare module "libs/reach/util/common/src/keywords/useCachedKeywordsApi" {
3647
- export function useCachedKeywordsApi(): {
3648
- getAllKeywords: (subscriptionId: string, force?: boolean) => Promise<import("@livetiles/reach/util/common").Keyword[]>;
3649
- getSelectedGroups: (subscriptionId: string) => Promise<import("@livetiles/reach/util/common").KeywordGroup[]>;
3650
- };
3651
- }
3652
3653
  declare module "libs/reach/util/common/src/keywords/index" {
3653
- export * from "libs/reach/util/common/src/keywords/useCachedKeywordsApi";
3654
3654
  export * from "libs/reach/util/common/src/keywords/useKeywordsApi";
3655
3655
  }
3656
3656
  declare module "libs/reach/util/common/src/channels/useChannelsApi" {
@@ -3660,13 +3660,7 @@ declare module "libs/reach/util/common/src/channels/useChannelsApi" {
3660
3660
  getChannelsByItemId: (id: string, route?: string) => Promise<Channel[]>;
3661
3661
  };
3662
3662
  }
3663
- declare module "libs/reach/util/common/src/channels/useCachedChannelsApi" {
3664
- export function useCachedChannelsApi(): {
3665
- getChannels: (subscriptionId: string) => Promise<import("@livetiles/reach/util/common").Channel[]>;
3666
- };
3667
- }
3668
3663
  declare module "libs/reach/util/common/src/channels/index" {
3669
- export * from "libs/reach/util/common/src/channels/useCachedChannelsApi";
3670
3664
  export * from "libs/reach/util/common/src/channels/useChannelsApi";
3671
3665
  export * from "libs/reach/util/common/src/channels/Channel";
3672
3666
  }
@@ -3676,11 +3670,25 @@ declare module "libs/reach/util/common/src/subscription/EnforcedSubscriptionCont
3676
3670
  loadingIndicator?: ReactNode;
3677
3671
  }>;
3678
3672
  }
3673
+ declare module "libs/reach/util/common/src/subscription/useSubscriptionApi" {
3674
+ import { EssentialSubscriptionData, SubscriptionInfo, TermsAndConditions } from "libs/reach/util/common/src/user/Subscription";
3675
+ export function useSubscriptionApi(): {
3676
+ getSubscriptionBySubscriptionIdentifier: (subscriptionIdentifier: string) => Promise<SubscriptionInfo>;
3677
+ getTermsAndConditions: () => Promise<TermsAndConditions>;
3678
+ getEssentialSubscriptionData: () => Promise<EssentialSubscriptionData>;
3679
+ };
3680
+ }
3681
+ declare module "libs/reach/util/common/src/subscription/useCachedEssentialSubscriptionData" {
3682
+ export function useCachedEssentialSubscriptionData(): {
3683
+ getCachedEssentialSubscriptionData: (subscriptionId: string) => Promise<import("@livetiles/reach/util/common").EssentialSubscriptionData>;
3684
+ };
3685
+ }
3679
3686
  declare module "libs/reach/util/common/src/subscription/SubscriptionContext" {
3680
3687
  import { FC } from 'react';
3681
3688
  import { Keyword, KeywordGroup } from "libs/reach/util/common/src/content/KeywordGroup";
3682
3689
  import { Channel } from "libs/reach/util/common/src/channels/Channel";
3683
3690
  import { KeywordsByGroupId } from "libs/reach/util/common/src/keywords/useKeywordsApi";
3691
+ import { EssentialSubscriptionData } from "libs/reach/util/common/src/user/Subscription";
3684
3692
  interface SubscriptionData {
3685
3693
  channels?: Channel[];
3686
3694
  allKeywords?: Keyword[];
@@ -3698,18 +3706,9 @@ declare module "libs/reach/util/common/src/subscription/SubscriptionContext" {
3698
3706
  export const LazySubscriptionContextProvider: FC;
3699
3707
  export const LazyCachedSubscriptionContextProvider: FC;
3700
3708
  export const LazySubscriptionContextProviderBase: FC<{
3701
- getChannels: (subscriptionId: string) => Promise<Channel[]>;
3702
- getAllKeywords: (subscriptionId: string, force?: boolean) => Promise<Keyword[]>;
3703
- getSelectedGroups: (subscriptionId: string) => Promise<KeywordGroup[]>;
3709
+ getEssentialSubscriptionData: (subscriptionId: string) => Promise<EssentialSubscriptionData>;
3704
3710
  }>;
3705
3711
  }
3706
- declare module "libs/reach/util/common/src/subscription/useSubscriptionApi" {
3707
- import { SubscriptionInfo, TermsAndConditions } from "libs/reach/util/common/src/user/Subscription";
3708
- export function useSubscriptionApi(): {
3709
- getSubscriptionBySubscriptionIdentifier: (subscriptionIdentifier: string) => Promise<SubscriptionInfo>;
3710
- getTermsAndConditions: () => Promise<TermsAndConditions>;
3711
- };
3712
- }
3713
3712
  declare module "libs/reach/util/common/src/subscription/useLazySubscriptionContext" {
3714
3713
  export function useLazySubscriptionContext(): import("libs/reach/util/common/src/subscription/SubscriptionContext").LazySubscriptionContextType;
3715
3714
  }
@@ -4534,10 +4533,9 @@ declare module "libs/reach/ui/common/src/common/KeywordTitle" {
4534
4533
  groupName?: string;
4535
4534
  groupId?: string;
4536
4535
  keywordName?: string;
4537
- keywordId?: string;
4538
4536
  language?: string;
4539
4537
  underlined?: boolean;
4540
- onClick?: (keyword: string) => unknown;
4538
+ onClick?: () => unknown;
4541
4539
  tabIndex?: number;
4542
4540
  }
4543
4541
  export const KeywordTitle: FC<Props>;
@@ -4934,7 +4932,7 @@ declare module "libs/reach/ui/common/src/common/channels/ClickableChannelTitles"
4934
4932
  buildChannelFilterUrl?: (channelName: string) => string;
4935
4933
  language?: string;
4936
4934
  channelBackgroundColor?: string;
4937
- onClick?: (channel: string) => unknown;
4935
+ onClick?: (channelName: string, channelItem?: Channel) => unknown;
4938
4936
  className?: string;
4939
4937
  }>;
4940
4938
  }
@@ -6277,8 +6275,8 @@ declare module "libs/reach/feature/content/src/filter/ItemTypeFilterDefinition"
6277
6275
  }
6278
6276
  declare module "libs/reach/feature/content/src/filter/useFilter" {
6279
6277
  import { FC } from 'react';
6280
- import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
6281
6278
  import { CurrentUser } from "libs/reach/util/common/src/index";
6279
+ import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
6282
6280
  export interface InjectedFilterProps {
6283
6281
  filter: IndexableFilterDefinition;
6284
6282
  hasFilter: boolean;
@@ -6295,7 +6293,9 @@ declare module "libs/reach/feature/content/src/filter/useFilter" {
6295
6293
  onSearchChange: (search: string) => void;
6296
6294
  onClearFilter: () => void;
6297
6295
  };
6298
- export const FilterContext: import("react").Context<InjectedFilterProps>;
6296
+ export const FilterContext: import("react").Context<InjectedFilterProps & {
6297
+ hasFilterOnPageLoad: boolean;
6298
+ }>;
6299
6299
  export const FilterContextProvider: FC<{
6300
6300
  addFilters?: (locationParams: {
6301
6301
  [paramName: string]: any;
@@ -6834,7 +6834,7 @@ declare module "libs/reach/feature/content/src/common/keywords/KeywordsInfo" {
6834
6834
  };
6835
6835
  language?: string;
6836
6836
  filterBaseUrl?: string;
6837
- onKeywordClick?: (keywordId: string) => void;
6837
+ onKeywordClick?: (keywordId: string, keyword?: Keyword) => void;
6838
6838
  className?: string;
6839
6839
  }
6840
6840
  export const KeywordsInfo: FC<KeywordsInfoProps>;
@@ -6846,7 +6846,7 @@ declare module "libs/reach/feature/content/src/common/keywords/KeywordsInfo" {
6846
6846
  };
6847
6847
  language?: string;
6848
6848
  filterBaseUrl?: string;
6849
- onKeywordClick?: (keywordId: string) => void;
6849
+ onKeywordClick?: (keywordId: string, keyword?: Keyword) => void;
6850
6850
  className?: string;
6851
6851
  }>;
6852
6852
  export const FlatKeywords: FC<{
@@ -6854,7 +6854,7 @@ declare module "libs/reach/feature/content/src/common/keywords/KeywordsInfo" {
6854
6854
  filterBaseUrl?: string;
6855
6855
  className?: string;
6856
6856
  useGridKeywordTitle?: boolean;
6857
- onClick?: (keyword: string) => unknown;
6857
+ onClick?: (keywordId: string, keywordItem?: Keyword) => unknown;
6858
6858
  showAllKeywordsInCallout?: boolean;
6859
6859
  }>;
6860
6860
  }
@@ -6915,7 +6915,7 @@ declare module "libs/reach/feature/content/src/common/detail/events/EventPathCon
6915
6915
  }
6916
6916
  declare module "libs/reach/feature/content/src/common/detail/events/controls/EventMetaInfo" {
6917
6917
  import { FC } from 'react';
6918
- import { EventItem, EventLocation } from "libs/reach/util/common/src/index";
6918
+ import { Channel, EventItem, EventLocation } from "libs/reach/util/common/src/index";
6919
6919
  export const EventLocationInfo: FC<{
6920
6920
  locations: EventLocation[];
6921
6921
  itemId: string;
@@ -6934,7 +6934,7 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
6934
6934
  className?: string;
6935
6935
  allowFilterByChannels?: boolean;
6936
6936
  channelBackgroundColor?: string;
6937
- onChannelClick?: (channel: string) => unknown;
6937
+ onChannelClick?: (channelName: string, channelItem?: Channel) => unknown;
6938
6938
  }>;
6939
6939
  export const RTLMetaInfoStyles: import("styled-components").FlattenSimpleInterpolation;
6940
6940
  }
@@ -7461,7 +7461,7 @@ declare module "libs/reach/feature/content/src/common/TargetLinkOverrideContext"
7461
7461
  }
7462
7462
  declare module "libs/reach/feature/content/src/common/item-tile/NewsItemTile" {
7463
7463
  import { FC, ReactNode } from 'react';
7464
- import { NewsItem } from "libs/reach/util/common/src/index";
7464
+ import { Channel, Keyword, NewsItem } from "libs/reach/util/common/src/index";
7465
7465
  export enum ItemTileLayoutMode {
7466
7466
  BannerTopMode = "bannerTop",
7467
7467
  BannerLeftMode = "bannerLeft"
@@ -7484,8 +7484,8 @@ declare module "libs/reach/feature/content/src/common/item-tile/NewsItemTile" {
7484
7484
  buttons?: ReactNode;
7485
7485
  openTargetInNewWindow?: boolean;
7486
7486
  onClick?: (event: React.MouseEvent<unknown>, isTitleClicked?: boolean) => unknown;
7487
- onChannelClick?: (channel: string) => unknown;
7488
- onKeywordClick?: (keyword: string) => unknown;
7487
+ onChannelClick?: (channelName: string, channelItem?: Channel) => unknown;
7488
+ onKeywordClick?: (keywordId: string, keywordItem?: Keyword) => unknown;
7489
7489
  styleDefinition?: StyleDefinition;
7490
7490
  readOnly?: boolean;
7491
7491
  enableModalRouting?: boolean;
@@ -7627,7 +7627,7 @@ declare module "libs/reach/feature/content/src/common/breadcrumb/ListItemBreadcr
7627
7627
  }
7628
7628
  declare module "libs/reach/feature/content/src/common/item-tile/PageItemTile" {
7629
7629
  import { FC, ReactNode } from 'react';
7630
- import { PageItem } from "libs/reach/util/common/src/index";
7630
+ import { Keyword, PageItem } from "libs/reach/util/common/src/index";
7631
7631
  import { ItemTileLayoutMode } from "libs/reach/feature/content/src/index";
7632
7632
  interface StyleDefinition {
7633
7633
  backgroundColor?: string;
@@ -7654,7 +7654,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/PageItemTile" {
7654
7654
  showBreadcrumb?: boolean;
7655
7655
  showIntro?: boolean;
7656
7656
  onClick?: (event: React.MouseEvent<unknown>, isTitleClicked?: boolean) => unknown;
7657
- onKeywordClick?: (keyword: string) => unknown;
7657
+ onKeywordClick?: (keywordId: string, keywordItem?: Keyword) => unknown;
7658
7658
  openTargetInNewWindow?: boolean;
7659
7659
  enableModalRouting?: boolean;
7660
7660
  showBanner?: boolean;
@@ -8366,7 +8366,7 @@ declare module "libs/reach/feature/content/src/events/index" {
8366
8366
  }
8367
8367
  declare module "libs/reach/feature/content/src/common/item-tile/EventItemTile" {
8368
8368
  import { FC, MouseEvent, ReactNode } from 'react';
8369
- import { EventItem } from "libs/reach/util/common/src/index";
8369
+ import { Channel, EventItem } from "libs/reach/util/common/src/index";
8370
8370
  import { ItemTileLayoutMode } from "libs/reach/feature/content/src/common/item-tile/NewsItemTile";
8371
8371
  interface StyleDefinition {
8372
8372
  backgroundColor?: string;
@@ -8382,7 +8382,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/EventItemTile" {
8382
8382
  buttons?: ReactNode;
8383
8383
  openTargetInNewWindow?: boolean;
8384
8384
  onClick?: (event: MouseEvent<unknown>) => unknown;
8385
- onChannelClick?: (channel: string) => unknown;
8385
+ onChannelClick?: (channelName: string, channelItem?: Channel) => unknown;
8386
8386
  styleDefinition?: StyleDefinition;
8387
8387
  showBanner?: boolean;
8388
8388
  showBannerAlwaysOnTheLeft?: boolean;
@@ -8654,9 +8654,10 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
8654
8654
  }
8655
8655
  declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewMetaInfo" {
8656
8656
  import { FC } from 'react';
8657
+ import { Channel } from "libs/reach/util/common/src/index";
8657
8658
  export const EventDetailViewMetaInfo: FC<{
8658
8659
  allowFilterByChannels?: boolean;
8659
- onChannelClick?: (channel: string) => unknown;
8660
+ onChannelClick?: (channelName: string, channelItem?: Channel) => unknown;
8660
8661
  }>;
8661
8662
  }
8662
8663
  declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo" {
@@ -9030,7 +9031,7 @@ declare module "libs/reach/feature/content/src/news/ItemMetaInfo" {
9030
9031
  language?: string;
9031
9032
  buildChannelFilterUrl?: (channelName: string) => string;
9032
9033
  clickableAvatar?: boolean;
9033
- onChannelClick?: (channel: string) => unknown;
9034
+ onChannelClick?: (channelName: string, channelItem?: Channel) => unknown;
9034
9035
  }>;
9035
9036
  }
9036
9037
  declare module "libs/reach/feature/content/src/news/list-view/ExternalNewsLinkButton" {
@@ -9447,9 +9448,10 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
9447
9448
  }
9448
9449
  declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords" {
9449
9450
  import { FC } from 'react';
9451
+ import { Keyword } from "libs/reach/util/common/src/index";
9450
9452
  export const DetailViewKeywords: FC<{
9451
9453
  filterBaseUrl: string;
9452
- onKeywordClick?: (keyword: string) => unknown;
9454
+ onKeywordClick?: (keywordId: string, keywordItem?: Keyword) => unknown;
9453
9455
  }>;
9454
9456
  }
9455
9457
  declare module "libs/reach/feature/content/src/common/detail/news/controls/DetailViewConfirmations" {
@@ -9728,9 +9730,10 @@ declare module "libs/reach/feature/content/src/stream/useStreamItemsQuery" {
9728
9730
  export function hasFilter(filter?: StreamFilterDefinition): boolean;
9729
9731
  export const getStreamQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[], includeAllItems?: boolean) => DocumentNode;
9730
9732
  export const getSearchQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
9733
+ export function getSupportedChannelsFilter(channels: FilterWithLogicalOperator, getSubscriptionChannels?: () => Promise<Channel[]>): Promise<FilterWithLogicalOperator>;
9731
9734
  export function getFilterConditionsString(filterConditions?: string[]): string;
9732
9735
  export const GROUPS_CONDITION: (groupIds: string[]) => string;
9733
- export const CHANNELS_CONDITION: (channels: FilterWithLogicalOperator, allChannels: Channel[]) => string;
9736
+ export const CHANNELS_CONDITION: (channels: FilterWithLogicalOperator) => string;
9734
9737
  export const KEYWORDS_CONDITION: (keywords: FilterWithLogicalOperator) => string;
9735
9738
  export const OWNER_CONDITION: (owner: string) => string;
9736
9739
  export const PUBLISHING_DATE_CONDITION: (beforeDate: string, afterDate: string) => string;
@@ -9801,7 +9804,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
9801
9804
  export interface NewsStreamItem extends NewsItem {
9802
9805
  type: StreamItemTypes.News;
9803
9806
  contentsList: StreamPublishableItemContents[];
9804
- channelsList: string[];
9807
+ channelsList: Channel[];
9805
9808
  isUnread: boolean;
9806
9809
  keywordsList?: Keyword[];
9807
9810
  knownNewsState?: StreamKnownNewsState[];
@@ -9813,7 +9816,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
9813
9816
  export interface EventStreamItem extends EventItem {
9814
9817
  type: StreamItemTypes.Event;
9815
9818
  contentsList: StreamPublishableItemContents[];
9816
- channelsList: string[];
9819
+ channelsList: Channel[];
9817
9820
  isUnread: boolean;
9818
9821
  keywordsList?: Keyword[];
9819
9822
  userResponseType?: StreamEventResponse;
@@ -9822,7 +9825,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
9822
9825
  export interface PageStreamItem extends PageItem {
9823
9826
  type: StreamItemTypes.Page;
9824
9827
  contentsList: StreamPublishableItemContents[];
9825
- channelsList: string[];
9828
+ channelsList: Channel[];
9826
9829
  isUnread: boolean;
9827
9830
  keywordsList?: Keyword[];
9828
9831
  streamPageType?: string;
@@ -9882,7 +9885,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
9882
9885
  };
9883
9886
  type: StreamItemTypes.News;
9884
9887
  contentsList: StreamPublishableItemContents[];
9885
- channelsList: string[];
9888
+ channelsList: Channel[];
9886
9889
  isUnread: boolean;
9887
9890
  keywordsList?: Keyword[];
9888
9891
  knownNewsState?: StreamKnownNewsState[];
@@ -9928,7 +9931,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
9928
9931
  };
9929
9932
  type: StreamItemTypes.Event;
9930
9933
  contentsList: StreamPublishableItemContents[];
9931
- channelsList: string[];
9934
+ channelsList: Channel[];
9932
9935
  isUnread: boolean;
9933
9936
  keywordsList?: Keyword[];
9934
9937
  userResponseType?: StreamEventResponse;
@@ -9984,7 +9987,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
9984
9987
  };
9985
9988
  type: StreamItemTypes.Page;
9986
9989
  contentsList: StreamPublishableItemContents[];
9987
- channelsList: string[];
9990
+ channelsList: Channel[];
9988
9991
  isUnread: boolean;
9989
9992
  keywordsList?: Keyword[];
9990
9993
  streamPageType?: string;
@@ -10085,7 +10088,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
10085
10088
  [p: string]: Keyword[];
10086
10089
  };
10087
10090
  })[];
10088
- export function convertProperties<TItem extends StreamItem = StreamItem>(items: TItem[], subscriptionChannels?: Channel[]): ((TItem & {
10091
+ export function convertProperties<TItem extends StreamItem = StreamItem>(items: TItem[]): ((TItem & {
10089
10092
  keywords: {
10090
10093
  [key: string]: Keyword[];
10091
10094
  };
package/package.json CHANGED
@@ -4,6 +4,6 @@
4
4
  "main": "",
5
5
  "types": "./index.d.ts",
6
6
  "license": "ISC",
7
- "version": "0.5.0-preview.639",
7
+ "version": "0.5.0-preview.641",
8
8
  "dependencies": {}
9
9
  }