@livetiles/reach-plugin-types 0.4.0-preview.253 → 0.4.0-preview.256

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 +1263 -201
  2. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -416,6 +416,7 @@ declare module "libs/reach/util/common/src/PaginatedList" {
416
416
  paginationToken?: any;
417
417
  nextItem?: TItem;
418
418
  hasMoreUnreadComments?: boolean;
419
+ hasNextPage?: boolean;
419
420
  }
420
421
  }
421
422
  declare module "libs/reach/util/common/src/SortDirection" {
@@ -2066,7 +2067,7 @@ declare module "libs/reach/util/common/src/content/Comment" {
2066
2067
  hasUnreadReplies?: boolean;
2067
2068
  isDemoContent?: boolean;
2068
2069
  }
2069
- interface CommentStatistics {
2070
+ export interface CommentStatistics {
2070
2071
  likeCount?: number;
2071
2072
  replyCount?: number;
2072
2073
  }
@@ -4169,7 +4170,7 @@ declare module "libs/reach/ui/common/src/common/paging/VerticalPager" {
4169
4170
  declare module "libs/reach/ui/common/src/common/paging/useItemLoaderWithPreFetch" {
4170
4171
  import { DependencyList } from 'react';
4171
4172
  import { PaginatedList } from "libs/reach/util/common/src/index";
4172
- export function useItemLoaderWithPreFetch(pageSize: number, handler: (pageSize: number, paginationToken?: string) => Promise<PaginatedList<unknown>>, deps?: DependencyList): {
4173
+ export function useItemLoaderWithPreFetch<TItem, TTokenType>(pageSize: number, handler: (pageSize: number, token?: TTokenType) => Promise<PaginatedList<TItem>>, deps?: DependencyList): {
4173
4174
  items: any[];
4174
4175
  isInitialLoading: boolean;
4175
4176
  isLoadingNextPage: boolean;
@@ -8701,8 +8702,8 @@ declare module "libs/reach/feature/content/src/common/detail/pages/controls/Page
8701
8702
  export const PageDetailViewTableOfContentsButton: FC;
8702
8703
  }
8703
8704
  declare module "libs/reach/feature/content/src/pages/useLoadPublishedItemsByKeywords" {
8704
- import { PageType } from "libs/reach/util/common/src/index";
8705
- export function useLoadPublishedItemsByKeywords(keywords: string[], showPagesAndDocuments: boolean, pageType?: PageType): (pageSize: number, token: string) => Promise<import("@livetiles/reach/util/common").PaginatedList<import("@livetiles/reach/util/common").PageItem>>;
8705
+ import { PageItem, PageType, PaginatedList } from "libs/reach/util/common/src/index";
8706
+ export function useLoadPublishedItemsByKeywords(keywords: string[], showPagesAndDocuments: boolean, pageType?: PageType): (pageSize: number, token: string) => Promise<PaginatedList<PageItem>>;
8706
8707
  }
8707
8708
  declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListByKeywords" {
8708
8709
  import { FC } from 'react';
@@ -8713,8 +8714,8 @@ declare module "libs/reach/feature/content/src/common/body/inline-page-list/Inli
8713
8714
  }>;
8714
8715
  }
8715
8716
  declare module "libs/reach/feature/content/src/pages/useLoadPublishedItemsByPageId" {
8716
- import { PageType } from "libs/reach/util/common/src/index";
8717
- export function useLoadPublishedItemsByPageId(pageId: string, showPagesAndDocuments: boolean, pageType?: PageType): (pageSize: number, token: string) => Promise<import("@livetiles/reach/util/common").PaginatedList<import("@livetiles/reach/util/common").PageItem>>;
8717
+ import { PageItem, PageType, PaginatedList } from "libs/reach/util/common/src/index";
8718
+ export function useLoadPublishedItemsByPageId(pageId: string, showPagesAndDocuments: boolean, pageType?: PageType): (pageSize: number, token: string) => Promise<PaginatedList<PageItem>>;
8718
8719
  }
8719
8720
  declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListByPageId" {
8720
8721
  import { FC } from 'react';
@@ -9610,7 +9611,7 @@ declare module "libs/reach/feature/content/src/posts/PostWithSelfThreadHandling"
9610
9611
  }>;
9611
9612
  }
9612
9613
  declare module "libs/reach/feature/content/src/stream/streamUtils" {
9613
- import { BaseAttachment, Comment, EventItem, GraphQLAttachmentType, Keyword, NewsItem, PageItem, PageNavigationNode, PaginatedList } from "libs/reach/util/common/src/index";
9614
+ import { AttachmentType, BaseAttachment, Channel, Comment, ConversationScope, CurrentUser, EventItem, EventResponse, GraphQLAttachmentType, Keyword, KnownNewsState, NewsItem, PageItem, PageNavigationContext, PageNavigationNode, PageType, PaginatedList } from "libs/reach/util/common/src/index";
9614
9615
  import { Post } from "libs/reach/feature/content/src/posts/index";
9615
9616
  import { StreamEventResponse } from "libs/reach/feature/content/src/stream/useStreamItemsQuery";
9616
9617
  enum StreamItemTypes {
@@ -9682,202 +9683,1262 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
9682
9683
  export function isNews(item: StreamItem): item is NewsStreamItem;
9683
9684
  export function isEvent(item: StreamItem): item is EventStreamItem;
9684
9685
  export function isPage(item: StreamItem): item is PageStreamItem;
9685
- }
9686
- declare module "libs/reach/feature/content/src/stream/useStreamItemsQuery" {
9687
- import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
9688
- import { DocumentNode } from '@apollo/client';
9689
- import { Channel } from "libs/reach/util/common/src/index";
9690
- import { BeforePublishingDateFilterDefinition, ChannelsFilterDefinition, ItemTypeFilterDefinition, KeywordsFilterDefinition, OwnerFilterDefinition } from "libs/reach/feature/content/src/filter/index";
9691
- export enum StreamEventResponse {
9692
- NotSet = "NOTSET",
9693
- Registered = "REGISTERED",
9694
- Declined = "DECLINED"
9695
- }
9696
- export interface StreamFilterDefinition extends BeforePublishingDateFilterDefinition, OwnerFilterDefinition, ChannelsFilterDefinition, KeywordsFilterDefinition, ItemTypeFilterDefinition {
9697
- }
9698
- export function useStreamItemsQuery(query: DocumentNode, searchText?: string, defaultPageSize?: number, doNotLoadOnEmpty?: boolean): {
9699
- items: StreamItem[];
9700
- setItems: import("react").Dispatch<import("react").SetStateAction<StreamItem[]>>;
9701
- loadMore: () => Promise<void>;
9702
- pageInfo: {
9703
- errors?: any;
9704
- hasNextPage: boolean;
9705
- skip: number;
9686
+ export function convertProperties(items: StreamItem[], user: CurrentUser, subscriptionChannels: Channel[]): ({
9687
+ groupId: string;
9688
+ attachments: {
9689
+ type: AttachmentType;
9690
+ id: string;
9691
+ filename?: string;
9692
+ previewUrl?: string;
9693
+ url?: string;
9694
+ isUploadInProgress?: boolean;
9695
+ hasError?: boolean;
9696
+ width?: number;
9697
+ height?: number;
9698
+ }[];
9699
+ comments: {
9700
+ items: {
9701
+ conversationScope: ConversationScope;
9702
+ fileAccessToken: string;
9703
+ attachments: {
9704
+ type: AttachmentType;
9705
+ id: string;
9706
+ filename?: string;
9707
+ previewUrl?: string;
9708
+ url?: string;
9709
+ isUploadInProgress?: boolean;
9710
+ hasError?: boolean;
9711
+ width?: number;
9712
+ height?: number;
9713
+ }[];
9714
+ postCommentAttachments?: StreamAttachment[];
9715
+ streamConversationScope?: StreamConversationScope;
9716
+ id: string;
9717
+ parentItemId: string;
9718
+ content: string;
9719
+ contentLanguageCode?: string;
9720
+ receivedDateTime: string;
9721
+ sender: import("@livetiles/reach/util/common").Account;
9722
+ modified?: string;
9723
+ statistics?: import("@livetiles/reach/util/common").CommentStatistics;
9724
+ isLiked?: boolean;
9725
+ threadId?: string;
9726
+ isUnread?: boolean;
9727
+ hasUnreadReplies?: boolean;
9728
+ isDemoContent?: boolean;
9729
+ attachmentContainerId?: string;
9730
+ }[];
9731
+ paginationToken?: any;
9732
+ nextItem?: StreamPostComment;
9733
+ hasMoreUnreadComments?: boolean;
9734
+ hasNextPage?: boolean;
9706
9735
  };
9707
- refresh: () => Promise<void>;
9708
- };
9709
- export const getStreamQuery: () => DocumentNode;
9710
- export const getSearchQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
9711
- export const CHANNELS_OR_CONDITION: (channels: string[]) => string;
9712
- export const KEYWORDS_OR_CONDITION: (keywords: string[]) => string;
9713
- export const NEWS_QUERY: (includeAllItems: boolean, whereConditions?: string) => DocumentNode;
9714
- export const STREAM_QUERY: (includeAllItems: boolean, additionalWhereConditions?: string) => DocumentNode;
9715
- export const MARK_STREAM_AS_READ_MUTATION: DocumentNode;
9716
- export const MARK_ITEMS_AS_READ_MUTATION: DocumentNode;
9717
- }
9718
- declare module "libs/reach/feature/content/src/posts/useMarkPostsAndCommentsAsRead" {
9719
- import { Post } from "libs/reach/feature/content/src/posts/utils";
9720
- import { DependencyList } from 'react';
9721
- export function useMarkPostsAndCommentsAsRead(area: 'CACHE_ONLY' | 'CACHE_AND_SERVER', posts: Post[], deps?: DependencyList): void;
9722
- }
9723
- declare module "libs/reach/feature/content/src/posts/usePostKeywordSettings" {
9724
- import { UserGroup } from "libs/reach/util/common/src/index";
9725
- export function usePostKeywordSettings(): (group: UserGroup) => {
9726
- availableKeywords: import("@livetiles/reach/util/common").Keyword[];
9727
- defaultKeywords: import("@livetiles/reach/util/common").Keyword[];
9728
- mandatoryKeywords: import("@livetiles/reach/util/common").Keyword[];
9729
- };
9730
- }
9731
- declare module "libs/reach/feature/content/src/posts/index" {
9732
- export * from "libs/reach/feature/content/src/posts/GroupNotificationsSettings";
9733
- export * from "libs/reach/feature/content/src/posts/PostCreator";
9734
- export * from "libs/reach/feature/content/src/posts/PostDisplay";
9735
- export * from "libs/reach/feature/content/src/posts/PostGroupsSelector";
9736
- export * from "libs/reach/feature/content/src/posts/PostListItem";
9737
- export * from "libs/reach/feature/content/src/posts/PostWithSelfThreadHandling";
9738
- export * from "libs/reach/feature/content/src/posts/useAttachmentUploader";
9739
- export * from "libs/reach/feature/content/src/posts/useMarkPostsAndCommentsAsRead";
9740
- export * from "libs/reach/feature/content/src/posts/usePostKeywordSettings";
9741
- export * from "libs/reach/feature/content/src/posts/usePostsApi";
9742
- export * from "libs/reach/feature/content/src/posts/utils";
9743
- }
9744
- declare module "libs/reach/feature/content/src/editor/EditorListItem" {
9745
- import { FC, ReactNode } from 'react';
9746
- import { PublishableItem } from "libs/reach/util/common/src/index";
9747
- interface Props {
9748
- item: PublishableItem;
9749
- isPublishedItem?: boolean;
9750
- allowSelection: boolean;
9751
- language: string;
9752
- onSelect?: (item: PublishableItem, selected: boolean) => void;
9753
- isSelected: boolean;
9754
- highlighted: boolean;
9755
- basePath: string;
9756
- onClick?: (event: React.MouseEvent<unknown>, ref: React.RefObject<Element>, item: PublishableItem, title: string) => unknown;
9757
- onRenderContent: (item: PublishableItem, title: string, isSelected?: boolean) => ReactNode;
9758
- className?: string;
9759
- useExternalLink?: boolean;
9760
- }
9761
- export const EditorListItem: FC<Props>;
9762
- export const EditorItemTitle: import("styled-components").StyledComponent<"h2", import("styled-components").DefaultTheme, {}, never>;
9763
- }
9764
- declare module "libs/reach/feature/content/src/editor/NewsEditorItem" {
9765
- import { FC } from 'react';
9766
- import { NewsItem } from "libs/reach/util/common/src/index";
9767
- export const NewsEditorItem: FC<{
9768
- title: string;
9769
- item: NewsItem;
9770
- isSelected?: boolean;
9771
- }>;
9772
- }
9773
- declare module "libs/reach/feature/content/src/editor/EventEditorItem" {
9774
- import { FC } from 'react';
9775
- import { EventItem } from "libs/reach/util/common/src/index";
9776
- export const EventEditorItem: FC<{
9777
- item: EventItem;
9778
- title: string;
9779
- className?: string;
9780
- }>;
9781
- }
9782
- declare module "libs/reach/feature/content/src/editor/CreateNewItemButton" {
9783
- import { FC } from 'react';
9784
- import { ItemResourceTypes } from "libs/reach/util/common/src/index";
9785
- export const CreateNewItemButton: FC<{
9786
- type: ItemResourceTypes;
9787
- groupId?: string;
9788
- onClick?: (groupId?: string) => void;
9789
- className?: string;
9790
- }>;
9791
- }
9792
- declare module "libs/reach/feature/content/src/editor/editorUtils" {
9793
- import { Account } from "libs/reach/util/common/src/index";
9794
- export interface MissingLeaseError {
9795
- account: Account;
9796
- }
9797
- export interface KeepAliveHandle {
9798
- destroy: () => void;
9799
- cancel: () => void;
9800
- }
9801
- }
9802
- declare module "libs/reach/feature/content/src/editor/useEditorApi" {
9803
- import { ItemResourceTypes, ItemVersionSummary, PaginatedList, PublishableItem, PublishableItemContent, PublishableItemVersion, ResponseItem, WorkflowStatus } from "libs/reach/util/common/src/index";
9804
- import { NewsFilterDefinition } from "libs/reach/feature/content/src/index";
9805
- import { Observable } from 'rxjs';
9806
- import { KeepAliveHandle } from "libs/reach/feature/content/src/editor/editorUtils";
9807
- export function useEditorApi(): {
9808
- cloneItem: (itemType: ItemResourceTypes, itemId: string) => Promise<PublishableItem>;
9809
- getDeletedItems: <T>(type: ItemResourceTypes, filter?: NewsFilterDefinition, token?: string) => Promise<PaginatedList<T>>;
9810
- getVersion: (type: ItemResourceTypes, itemId: string, versionId: string) => Promise<PublishableItemVersion>;
9811
- getVersions: (type: ItemResourceTypes, itemId: string) => Observable<ItemVersionSummary[]>;
9812
- deleteDraft: (leaseId: string, itemId: number | string, type: ItemResourceTypes) => Promise<unknown>;
9813
- deleteRange: (type: ItemResourceTypes, ids: string[]) => Promise<ResponseItem[]>;
9814
- deletePermanently: (type: ItemResourceTypes, ids: string[]) => Promise<any>;
9815
- bulkSetStatus: (type: ItemResourceTypes, items: {
9736
+ keywords: {
9737
+ [key: string]: Keyword[];
9738
+ };
9739
+ type: StreamItemTypes.Post;
9740
+ isUnread: boolean;
9741
+ keywordsList?: Keyword[];
9742
+ groupIds?: string[];
9743
+ postAttachments?: StreamAttachment[];
9744
+ postComments?: PaginatedList<StreamPostComment>;
9745
+ hasMoreUnreadComments: boolean;
9746
+ id: string;
9747
+ content: string;
9748
+ permalink?: string;
9749
+ author: import("@livetiles/reach/util/common").Account;
9750
+ publishingDate: string;
9751
+ modified?: string;
9752
+ statistics: import("@livetiles/reach/util/common").ItemStatistics;
9753
+ contentLanguageCode?: string;
9754
+ isLiked?: boolean;
9755
+ isDemoContent?: boolean;
9756
+ poll?: import("@livetiles/reach/util/common").Poll;
9757
+ searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
9758
+ fileAccessToken?: string;
9759
+ attachmentContainerId?: string;
9760
+ } | {
9761
+ groupId: string;
9762
+ attachments: {
9763
+ type: AttachmentType;
9816
9764
  id: string;
9817
- status: WorkflowStatus;
9818
- }[]) => Promise<ResponseItem[]>;
9819
- setStatus: (type: ItemResourceTypes, itemId: number | string, status: WorkflowStatus, leaseId: string | null) => Promise<PublishableItem>;
9820
- removeLease: (itemId: string, leaseId: string) => Promise<any>;
9821
- keepLeaseAlive: (itemId: string, leaseId: string, token: string, subscriptionId: string) => KeepAliveHandle;
9822
- saveItem: (subscriptionId: string, type: ItemResourceTypes | null, item: PublishableItem, createLease?: boolean) => Observable<any>;
9823
- updateGroups: (itemType: ItemResourceTypes, itemId: string, groupIds: string[]) => Promise<PublishableItem>;
9824
- translateContent: (itemId: string, translateFrom: string, translateTo: string[]) => Promise<PublishableItemContent[]>;
9825
- };
9826
- }
9827
- declare module "libs/reach/feature/content/src/editor/useNewsEditorApi" {
9828
- import { NewsItem } from "libs/reach/util/common/src/index";
9829
- import { Observable } from 'rxjs';
9830
- export function useNewsEditorApi(): {
9831
- getNews: (newsId: number | string) => Promise<NewsItem>;
9832
- unpublish: (id: string, leaseId: string) => Observable<any>;
9833
- save: (item: NewsItem, subscriptionId: string) => Observable<NewsItem>;
9834
- };
9835
- }
9836
- declare module "libs/reach/feature/content/src/editor/index" {
9837
- export * from "libs/reach/feature/content/src/editor/EditorListItem";
9838
- export * from "libs/reach/feature/content/src/editor/NewsEditorItem";
9839
- export * from "libs/reach/feature/content/src/editor/EventEditorItem";
9840
- export * from "libs/reach/feature/content/src/editor/CreateNewItemButton";
9841
- export * from "libs/reach/feature/content/src/editor/editorUtils";
9842
- export * from "libs/reach/feature/content/src/editor/useEditorApi";
9843
- export * from "libs/reach/feature/content/src/editor/useNewsEditorApi";
9844
- }
9845
- declare module "libs/reach/feature/content/src/public-user/index" {
9846
- export * from "libs/reach/feature/content/src/public-user/PublicUserFullAccessButton";
9847
- }
9848
- declare module "libs/reach/feature/content/src/stream/StreamPostItemCard" {
9849
- import { FC } from 'react';
9850
- import { PostStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
9851
- export const StreamPostItemCard: FC<{
9852
- post: PostStreamItem;
9853
- onPostDelete: (id: string) => unknown;
9854
- }>;
9855
- }
9856
- declare module "libs/reach/feature/content/src/stream/StreamNewsItemCard" {
9857
- import { FC } from 'react';
9858
- import { NewsStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
9859
- export const StreamNewsItemCard: FC<{
9860
- news: NewsStreamItem;
9861
- }>;
9862
- }
9863
- declare module "libs/reach/feature/content/src/stream/StreamEventItemCard" {
9864
- import { FC } from 'react';
9865
- import { EventStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
9866
- export const StreamEventItemCard: FC<{
9867
- event: EventStreamItem;
9868
- }>;
9869
- }
9870
- declare module "libs/reach/feature/content/src/search/GlobalSearchButton" {
9871
- import { FC } from 'react';
9872
- export const GlobalSearchButton: FC;
9873
- }
9874
- declare module "libs/reach/feature/content/src/stream/StreamList" {
9875
- import { FC } from 'react';
9876
- import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
9877
- export type StreamQueryResult = {
9878
- items: StreamItem[];
9879
- };
9880
- export const StreamList: FC;
9765
+ filename?: string;
9766
+ previewUrl?: string;
9767
+ url?: string;
9768
+ isUploadInProgress?: boolean;
9769
+ hasError?: boolean;
9770
+ width?: number;
9771
+ height?: number;
9772
+ }[];
9773
+ comments: {
9774
+ items: {
9775
+ conversationScope: ConversationScope;
9776
+ fileAccessToken: string;
9777
+ attachments: {
9778
+ type: AttachmentType;
9779
+ id: string;
9780
+ filename?: string;
9781
+ previewUrl?: string;
9782
+ url?: string;
9783
+ isUploadInProgress?: boolean;
9784
+ hasError?: boolean;
9785
+ width?: number;
9786
+ height?: number;
9787
+ }[];
9788
+ postCommentAttachments?: StreamAttachment[];
9789
+ streamConversationScope?: StreamConversationScope;
9790
+ id: string;
9791
+ parentItemId: string;
9792
+ content: string;
9793
+ contentLanguageCode?: string;
9794
+ receivedDateTime: string;
9795
+ sender: import("@livetiles/reach/util/common").Account;
9796
+ modified?: string;
9797
+ statistics?: import("@livetiles/reach/util/common").CommentStatistics;
9798
+ isLiked?: boolean;
9799
+ threadId?: string;
9800
+ isUnread?: boolean;
9801
+ hasUnreadReplies?: boolean;
9802
+ isDemoContent?: boolean;
9803
+ attachmentContainerId?: string;
9804
+ }[];
9805
+ paginationToken?: any;
9806
+ nextItem?: StreamPostComment;
9807
+ hasMoreUnreadComments?: boolean;
9808
+ hasNextPage?: boolean;
9809
+ };
9810
+ keywords: {
9811
+ [key: string]: Keyword[];
9812
+ };
9813
+ type: StreamItemTypes.News;
9814
+ contentsList: StreamPublishableItemContents[];
9815
+ channelsList: string[];
9816
+ isUnread: boolean;
9817
+ keywordsList?: Keyword[];
9818
+ knownNewsState?: StreamKnownNewsState[];
9819
+ source?: string;
9820
+ alertOptions?: import("@livetiles/reach/util/common").NewsItemAlertOptions;
9821
+ expiryDate?: string;
9822
+ knownState: KnownNewsState;
9823
+ hasNewComments?: boolean;
9824
+ isLiked?: boolean;
9825
+ metadata?: import("@livetiles/reach/util/common").NewsMetadata;
9826
+ channels?: import("@livetiles/reach/util/common").SchedulableItemChannel[];
9827
+ lease: import("@livetiles/reach/util/common").LeaseInfo;
9828
+ id?: string;
9829
+ versionId?: string;
9830
+ publishingDate?: string;
9831
+ deleted?: string;
9832
+ author?: import("@livetiles/reach/util/common").Account;
9833
+ owner?: import("@livetiles/reach/util/common").Account;
9834
+ onBehalfOf?: import("@livetiles/reach/util/common").Account;
9835
+ contents?: import("@livetiles/reach/util/common").PublishableItemContents;
9836
+ status?: import("@livetiles/reach/util/common").WorkflowStatus;
9837
+ fileAccessToken?: string;
9838
+ bannerInfo?: import("@livetiles/reach/util/common").BannerInfo;
9839
+ customProperties?: {
9840
+ [key: string]: any;
9841
+ };
9842
+ modifiedBy: import("@livetiles/reach/util/common").Account;
9843
+ modified: string;
9844
+ created: string;
9845
+ publishedVersionId?: string;
9846
+ isCurrentPublishedVersion?: boolean;
9847
+ isLatestVersion?: boolean;
9848
+ permalink?: string;
9849
+ groupIds: string[];
9850
+ statistics?: import("@livetiles/reach/util/common").ItemStatistics;
9851
+ useExternalContent?: boolean;
9852
+ isDemoContent?: boolean;
9853
+ poll?: import("@livetiles/reach/util/common").Poll;
9854
+ searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
9855
+ } | {
9856
+ groupId: string;
9857
+ attachments: {
9858
+ type: AttachmentType;
9859
+ id: string;
9860
+ filename?: string;
9861
+ previewUrl?: string;
9862
+ url?: string;
9863
+ isUploadInProgress?: boolean;
9864
+ hasError?: boolean;
9865
+ width?: number;
9866
+ height?: number;
9867
+ }[];
9868
+ comments: {
9869
+ items: {
9870
+ conversationScope: ConversationScope;
9871
+ fileAccessToken: string;
9872
+ attachments: {
9873
+ type: AttachmentType;
9874
+ id: string;
9875
+ filename?: string;
9876
+ previewUrl?: string;
9877
+ url?: string;
9878
+ isUploadInProgress?: boolean;
9879
+ hasError?: boolean;
9880
+ width?: number;
9881
+ height?: number;
9882
+ }[];
9883
+ postCommentAttachments?: StreamAttachment[];
9884
+ streamConversationScope?: StreamConversationScope;
9885
+ id: string;
9886
+ parentItemId: string;
9887
+ content: string;
9888
+ contentLanguageCode?: string;
9889
+ receivedDateTime: string;
9890
+ sender: import("@livetiles/reach/util/common").Account;
9891
+ modified?: string;
9892
+ statistics?: import("@livetiles/reach/util/common").CommentStatistics;
9893
+ isLiked?: boolean;
9894
+ threadId?: string;
9895
+ isUnread?: boolean;
9896
+ hasUnreadReplies?: boolean;
9897
+ isDemoContent?: boolean;
9898
+ attachmentContainerId?: string;
9899
+ }[];
9900
+ paginationToken?: any;
9901
+ nextItem?: StreamPostComment;
9902
+ hasMoreUnreadComments?: boolean;
9903
+ hasNextPage?: boolean;
9904
+ };
9905
+ keywords: {
9906
+ [key: string]: Keyword[];
9907
+ };
9908
+ type: StreamItemTypes.Event;
9909
+ contentsList: StreamPublishableItemContents[];
9910
+ channelsList: string[];
9911
+ isUnread: boolean;
9912
+ keywordsList?: Keyword[];
9913
+ userResponseType?: StreamEventResponse;
9914
+ startDate?: string;
9915
+ endDate?: string;
9916
+ timeZone?: string;
9917
+ contacts?: import("@livetiles/reach/util/common").Account[];
9918
+ registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
9919
+ userResponse?: EventResponse;
9920
+ cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
9921
+ locations?: import("@livetiles/reach/util/common").EventLocation[];
9922
+ hasNewComments?: boolean;
9923
+ isLiked?: boolean;
9924
+ recurrenceSettings?: import("@livetiles/reach/util/common").EventRecurrenceSettings;
9925
+ recurrenceSeriesId?: string;
9926
+ isSeriesMaster?: string;
9927
+ isVirtual?: boolean;
9928
+ metadata?: import("@livetiles/reach/util/common").NewsMetadata;
9929
+ channels?: import("@livetiles/reach/util/common").SchedulableItemChannel[];
9930
+ lease: import("@livetiles/reach/util/common").LeaseInfo;
9931
+ id?: string;
9932
+ versionId?: string;
9933
+ publishingDate?: string;
9934
+ deleted?: string;
9935
+ author?: import("@livetiles/reach/util/common").Account;
9936
+ owner?: import("@livetiles/reach/util/common").Account;
9937
+ onBehalfOf?: import("@livetiles/reach/util/common").Account;
9938
+ contents?: import("@livetiles/reach/util/common").PublishableItemContents;
9939
+ status?: import("@livetiles/reach/util/common").WorkflowStatus;
9940
+ fileAccessToken?: string;
9941
+ bannerInfo?: import("@livetiles/reach/util/common").BannerInfo;
9942
+ customProperties?: {
9943
+ [key: string]: any;
9944
+ };
9945
+ modifiedBy: import("@livetiles/reach/util/common").Account;
9946
+ modified: string;
9947
+ created: string;
9948
+ publishedVersionId?: string;
9949
+ isCurrentPublishedVersion?: boolean;
9950
+ isLatestVersion?: boolean;
9951
+ permalink?: string;
9952
+ groupIds: string[];
9953
+ statistics?: import("@livetiles/reach/util/common").ItemStatistics;
9954
+ useExternalContent?: boolean;
9955
+ isDemoContent?: boolean;
9956
+ poll?: import("@livetiles/reach/util/common").Poll;
9957
+ searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
9958
+ } | {
9959
+ groupId: string;
9960
+ attachments: {
9961
+ type: AttachmentType;
9962
+ id: string;
9963
+ filename?: string;
9964
+ previewUrl?: string;
9965
+ url?: string;
9966
+ isUploadInProgress?: boolean;
9967
+ hasError?: boolean;
9968
+ width?: number;
9969
+ height?: number;
9970
+ }[];
9971
+ comments: {
9972
+ items: {
9973
+ conversationScope: ConversationScope;
9974
+ fileAccessToken: string;
9975
+ attachments: {
9976
+ type: AttachmentType;
9977
+ id: string;
9978
+ filename?: string;
9979
+ previewUrl?: string;
9980
+ url?: string;
9981
+ isUploadInProgress?: boolean;
9982
+ hasError?: boolean;
9983
+ width?: number;
9984
+ height?: number;
9985
+ }[];
9986
+ postCommentAttachments?: StreamAttachment[];
9987
+ streamConversationScope?: StreamConversationScope;
9988
+ id: string;
9989
+ parentItemId: string;
9990
+ content: string;
9991
+ contentLanguageCode?: string;
9992
+ receivedDateTime: string;
9993
+ sender: import("@livetiles/reach/util/common").Account;
9994
+ modified?: string;
9995
+ statistics?: import("@livetiles/reach/util/common").CommentStatistics;
9996
+ isLiked?: boolean;
9997
+ threadId?: string;
9998
+ isUnread?: boolean;
9999
+ hasUnreadReplies?: boolean;
10000
+ isDemoContent?: boolean;
10001
+ attachmentContainerId?: string;
10002
+ }[];
10003
+ paginationToken?: any;
10004
+ nextItem?: StreamPostComment;
10005
+ hasMoreUnreadComments?: boolean;
10006
+ hasNextPage?: boolean;
10007
+ };
10008
+ keywords: {
10009
+ [key: string]: Keyword[];
10010
+ };
10011
+ type: StreamItemTypes.Page;
10012
+ contentsList: StreamPublishableItemContents[];
10013
+ channelsList: string[];
10014
+ isUnread: boolean;
10015
+ keywordsList?: Keyword[];
10016
+ streamPageType?: string;
10017
+ path?: (PageNavigationNode & {
10018
+ parentId?: string;
10019
+ })[];
10020
+ feedbackSettings?: import("@livetiles/reach/util/common").FeedbackSettings;
10021
+ parentId?: string;
10022
+ pathIds?: string[];
10023
+ position?: number;
10024
+ navigationContext?: PageNavigationContext;
10025
+ hasHiddenAncestor?: boolean;
10026
+ isUnlinked?: boolean;
10027
+ pageType?: PageType;
10028
+ firstChildId?: string;
10029
+ lease: import("@livetiles/reach/util/common").LeaseInfo;
10030
+ id?: string;
10031
+ versionId?: string;
10032
+ publishingDate?: string;
10033
+ deleted?: string;
10034
+ author?: import("@livetiles/reach/util/common").Account;
10035
+ owner?: import("@livetiles/reach/util/common").Account;
10036
+ onBehalfOf?: import("@livetiles/reach/util/common").Account;
10037
+ contents?: import("@livetiles/reach/util/common").PublishableItemContents;
10038
+ status?: import("@livetiles/reach/util/common").WorkflowStatus;
10039
+ fileAccessToken?: string;
10040
+ bannerInfo?: import("@livetiles/reach/util/common").BannerInfo;
10041
+ customProperties?: {
10042
+ [key: string]: any;
10043
+ };
10044
+ modifiedBy: import("@livetiles/reach/util/common").Account;
10045
+ modified: string;
10046
+ created: string;
10047
+ publishedVersionId?: string;
10048
+ isCurrentPublishedVersion?: boolean;
10049
+ isLatestVersion?: boolean;
10050
+ permalink?: string;
10051
+ groupIds: string[];
10052
+ statistics?: import("@livetiles/reach/util/common").ItemStatistics;
10053
+ useExternalContent?: boolean;
10054
+ isDemoContent?: boolean;
10055
+ poll?: import("@livetiles/reach/util/common").Poll;
10056
+ searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
10057
+ } | {
10058
+ knownState?: undefined;
10059
+ pageType?: undefined;
10060
+ navigationContext?: undefined;
10061
+ userResponse: EventResponse;
10062
+ channels: {
10063
+ name: string;
10064
+ }[];
10065
+ contents: {};
10066
+ bannerInfo: {
10067
+ videoSource: import("@livetiles/reach/util/common").VideoSource;
10068
+ type: "video" | "image";
10069
+ videoId?: string;
10070
+ videoUrl?: string;
10071
+ isDirectVideoUrl?: boolean;
10072
+ imageId?: string;
10073
+ };
10074
+ keywords: {
10075
+ [key: string]: Keyword[];
10076
+ };
10077
+ type: StreamItemTypes.Post;
10078
+ isUnread: boolean;
10079
+ keywordsList?: Keyword[];
10080
+ groupIds?: string[];
10081
+ postAttachments?: StreamAttachment[];
10082
+ postComments?: PaginatedList<StreamPostComment>;
10083
+ hasMoreUnreadComments: boolean;
10084
+ id: string;
10085
+ comments?: PaginatedList<Comment>;
10086
+ groupId: string;
10087
+ content: string;
10088
+ permalink?: string;
10089
+ author: import("@livetiles/reach/util/common").Account;
10090
+ publishingDate: string;
10091
+ modified?: string;
10092
+ statistics: import("@livetiles/reach/util/common").ItemStatistics;
10093
+ contentLanguageCode?: string;
10094
+ isLiked?: boolean;
10095
+ isDemoContent?: boolean;
10096
+ poll?: import("@livetiles/reach/util/common").Poll;
10097
+ searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
10098
+ attachments?: import("@livetiles/reach/util/common").Attachment[];
10099
+ fileAccessToken?: string;
10100
+ attachmentContainerId?: string;
10101
+ } | {
10102
+ knownState: KnownNewsState;
10103
+ pageType?: undefined;
10104
+ navigationContext?: undefined;
10105
+ userResponse: EventResponse;
10106
+ channels: {
10107
+ name: string;
10108
+ }[];
10109
+ contents: {};
10110
+ bannerInfo: {
10111
+ videoSource: import("@livetiles/reach/util/common").VideoSource;
10112
+ type: "video" | "image";
10113
+ videoId?: string;
10114
+ videoUrl?: string;
10115
+ isDirectVideoUrl?: boolean;
10116
+ imageId?: string;
10117
+ };
10118
+ keywords: {
10119
+ [key: string]: Keyword[];
10120
+ };
10121
+ type: StreamItemTypes.Post;
10122
+ isUnread: boolean;
10123
+ keywordsList?: Keyword[];
10124
+ groupIds?: string[];
10125
+ postAttachments?: StreamAttachment[];
10126
+ postComments?: PaginatedList<StreamPostComment>;
10127
+ hasMoreUnreadComments: boolean;
10128
+ id: string;
10129
+ comments?: PaginatedList<Comment>;
10130
+ groupId: string;
10131
+ content: string;
10132
+ permalink?: string;
10133
+ author: import("@livetiles/reach/util/common").Account;
10134
+ publishingDate: string;
10135
+ modified?: string;
10136
+ statistics: import("@livetiles/reach/util/common").ItemStatistics;
10137
+ contentLanguageCode?: string;
10138
+ isLiked?: boolean;
10139
+ isDemoContent?: boolean;
10140
+ poll?: import("@livetiles/reach/util/common").Poll;
10141
+ searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
10142
+ attachments?: import("@livetiles/reach/util/common").Attachment[];
10143
+ fileAccessToken?: string;
10144
+ attachmentContainerId?: string;
10145
+ } | {
10146
+ knownState?: undefined;
10147
+ pageType: PageType;
10148
+ navigationContext: PageNavigationContext;
10149
+ userResponse: EventResponse;
10150
+ channels: {
10151
+ name: string;
10152
+ }[];
10153
+ contents: {};
10154
+ bannerInfo: {
10155
+ videoSource: import("@livetiles/reach/util/common").VideoSource;
10156
+ type: "video" | "image";
10157
+ videoId?: string;
10158
+ videoUrl?: string;
10159
+ isDirectVideoUrl?: boolean;
10160
+ imageId?: string;
10161
+ };
10162
+ keywords: {
10163
+ [key: string]: Keyword[];
10164
+ };
10165
+ type: StreamItemTypes.Post;
10166
+ isUnread: boolean;
10167
+ keywordsList?: Keyword[];
10168
+ groupIds?: string[];
10169
+ postAttachments?: StreamAttachment[];
10170
+ postComments?: PaginatedList<StreamPostComment>;
10171
+ hasMoreUnreadComments: boolean;
10172
+ id: string;
10173
+ comments?: PaginatedList<Comment>;
10174
+ groupId: string;
10175
+ content: string;
10176
+ permalink?: string;
10177
+ author: import("@livetiles/reach/util/common").Account;
10178
+ publishingDate: string;
10179
+ modified?: string;
10180
+ statistics: import("@livetiles/reach/util/common").ItemStatistics;
10181
+ contentLanguageCode?: string;
10182
+ isLiked?: boolean;
10183
+ isDemoContent?: boolean;
10184
+ poll?: import("@livetiles/reach/util/common").Poll;
10185
+ searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
10186
+ attachments?: import("@livetiles/reach/util/common").Attachment[];
10187
+ fileAccessToken?: string;
10188
+ attachmentContainerId?: string;
10189
+ } | {
10190
+ knownState: KnownNewsState;
10191
+ pageType: PageType;
10192
+ navigationContext: PageNavigationContext;
10193
+ userResponse: EventResponse;
10194
+ channels: {
10195
+ name: string;
10196
+ }[];
10197
+ contents: {};
10198
+ bannerInfo: {
10199
+ videoSource: import("@livetiles/reach/util/common").VideoSource;
10200
+ type: "video" | "image";
10201
+ videoId?: string;
10202
+ videoUrl?: string;
10203
+ isDirectVideoUrl?: boolean;
10204
+ imageId?: string;
10205
+ };
10206
+ keywords: {
10207
+ [key: string]: Keyword[];
10208
+ };
10209
+ type: StreamItemTypes.Post;
10210
+ isUnread: boolean;
10211
+ keywordsList?: Keyword[];
10212
+ groupIds?: string[];
10213
+ postAttachments?: StreamAttachment[];
10214
+ postComments?: PaginatedList<StreamPostComment>;
10215
+ hasMoreUnreadComments: boolean;
10216
+ id: string;
10217
+ comments?: PaginatedList<Comment>;
10218
+ groupId: string;
10219
+ content: string;
10220
+ permalink?: string;
10221
+ author: import("@livetiles/reach/util/common").Account;
10222
+ publishingDate: string;
10223
+ modified?: string;
10224
+ statistics: import("@livetiles/reach/util/common").ItemStatistics;
10225
+ contentLanguageCode?: string;
10226
+ isLiked?: boolean;
10227
+ isDemoContent?: boolean;
10228
+ poll?: import("@livetiles/reach/util/common").Poll;
10229
+ searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
10230
+ attachments?: import("@livetiles/reach/util/common").Attachment[];
10231
+ fileAccessToken?: string;
10232
+ attachmentContainerId?: string;
10233
+ } | {
10234
+ knownState: KnownNewsState;
10235
+ pageType?: undefined;
10236
+ navigationContext?: undefined;
10237
+ userResponse: EventResponse;
10238
+ channels: {
10239
+ name: string;
10240
+ }[];
10241
+ contents: {};
10242
+ bannerInfo: {
10243
+ videoSource: import("@livetiles/reach/util/common").VideoSource;
10244
+ type: "video" | "image";
10245
+ videoId?: string;
10246
+ videoUrl?: string;
10247
+ isDirectVideoUrl?: boolean;
10248
+ imageId?: string;
10249
+ };
10250
+ keywords: {
10251
+ [key: string]: Keyword[];
10252
+ };
10253
+ type: StreamItemTypes.News;
10254
+ contentsList: StreamPublishableItemContents[];
10255
+ channelsList: string[];
10256
+ isUnread: boolean;
10257
+ keywordsList?: Keyword[];
10258
+ knownNewsState?: StreamKnownNewsState[];
10259
+ source?: string;
10260
+ alertOptions?: import("@livetiles/reach/util/common").NewsItemAlertOptions;
10261
+ expiryDate?: string;
10262
+ hasNewComments?: boolean;
10263
+ isLiked?: boolean;
10264
+ metadata?: import("@livetiles/reach/util/common").NewsMetadata;
10265
+ lease: import("@livetiles/reach/util/common").LeaseInfo;
10266
+ id?: string;
10267
+ versionId?: string;
10268
+ publishingDate?: string;
10269
+ deleted?: string;
10270
+ author?: import("@livetiles/reach/util/common").Account;
10271
+ owner?: import("@livetiles/reach/util/common").Account;
10272
+ onBehalfOf?: import("@livetiles/reach/util/common").Account;
10273
+ status?: import("@livetiles/reach/util/common").WorkflowStatus;
10274
+ fileAccessToken?: string;
10275
+ customProperties?: {
10276
+ [key: string]: any;
10277
+ };
10278
+ modifiedBy: import("@livetiles/reach/util/common").Account;
10279
+ modified: string;
10280
+ created: string;
10281
+ publishedVersionId?: string;
10282
+ isCurrentPublishedVersion?: boolean;
10283
+ isLatestVersion?: boolean;
10284
+ permalink?: string;
10285
+ groupIds: string[];
10286
+ statistics?: import("@livetiles/reach/util/common").ItemStatistics;
10287
+ useExternalContent?: boolean;
10288
+ isDemoContent?: boolean;
10289
+ poll?: import("@livetiles/reach/util/common").Poll;
10290
+ searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
10291
+ } | {
10292
+ knownState: KnownNewsState;
10293
+ pageType: PageType;
10294
+ navigationContext: PageNavigationContext;
10295
+ userResponse: EventResponse;
10296
+ channels: {
10297
+ name: string;
10298
+ }[];
10299
+ contents: {};
10300
+ bannerInfo: {
10301
+ videoSource: import("@livetiles/reach/util/common").VideoSource;
10302
+ type: "video" | "image";
10303
+ videoId?: string;
10304
+ videoUrl?: string;
10305
+ isDirectVideoUrl?: boolean;
10306
+ imageId?: string;
10307
+ };
10308
+ keywords: {
10309
+ [key: string]: Keyword[];
10310
+ };
10311
+ type: StreamItemTypes.News;
10312
+ contentsList: StreamPublishableItemContents[];
10313
+ channelsList: string[];
10314
+ isUnread: boolean;
10315
+ keywordsList?: Keyword[];
10316
+ knownNewsState?: StreamKnownNewsState[];
10317
+ source?: string;
10318
+ alertOptions?: import("@livetiles/reach/util/common").NewsItemAlertOptions;
10319
+ expiryDate?: string;
10320
+ hasNewComments?: boolean;
10321
+ isLiked?: boolean;
10322
+ metadata?: import("@livetiles/reach/util/common").NewsMetadata;
10323
+ lease: import("@livetiles/reach/util/common").LeaseInfo;
10324
+ id?: string;
10325
+ versionId?: string;
10326
+ publishingDate?: string;
10327
+ deleted?: string;
10328
+ author?: import("@livetiles/reach/util/common").Account;
10329
+ owner?: import("@livetiles/reach/util/common").Account;
10330
+ onBehalfOf?: import("@livetiles/reach/util/common").Account;
10331
+ status?: import("@livetiles/reach/util/common").WorkflowStatus;
10332
+ fileAccessToken?: string;
10333
+ customProperties?: {
10334
+ [key: string]: any;
10335
+ };
10336
+ modifiedBy: import("@livetiles/reach/util/common").Account;
10337
+ modified: string;
10338
+ created: string;
10339
+ publishedVersionId?: string;
10340
+ isCurrentPublishedVersion?: boolean;
10341
+ isLatestVersion?: boolean;
10342
+ permalink?: string;
10343
+ groupIds: string[];
10344
+ statistics?: import("@livetiles/reach/util/common").ItemStatistics;
10345
+ useExternalContent?: boolean;
10346
+ isDemoContent?: boolean;
10347
+ poll?: import("@livetiles/reach/util/common").Poll;
10348
+ searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
10349
+ } | {
10350
+ knownState?: undefined;
10351
+ pageType?: undefined;
10352
+ navigationContext?: undefined;
10353
+ userResponse: EventResponse;
10354
+ channels: {
10355
+ name: string;
10356
+ }[];
10357
+ contents: {};
10358
+ bannerInfo: {
10359
+ videoSource: import("@livetiles/reach/util/common").VideoSource;
10360
+ type: "video" | "image";
10361
+ videoId?: string;
10362
+ videoUrl?: string;
10363
+ isDirectVideoUrl?: boolean;
10364
+ imageId?: string;
10365
+ };
10366
+ keywords: {
10367
+ [key: string]: Keyword[];
10368
+ };
10369
+ type: StreamItemTypes.Event;
10370
+ contentsList: StreamPublishableItemContents[];
10371
+ channelsList: string[];
10372
+ isUnread: boolean;
10373
+ keywordsList?: Keyword[];
10374
+ userResponseType?: StreamEventResponse;
10375
+ startDate?: string;
10376
+ endDate?: string;
10377
+ timeZone?: string;
10378
+ contacts?: import("@livetiles/reach/util/common").Account[];
10379
+ registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
10380
+ cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
10381
+ locations?: import("@livetiles/reach/util/common").EventLocation[];
10382
+ hasNewComments?: boolean;
10383
+ isLiked?: boolean;
10384
+ recurrenceSettings?: import("@livetiles/reach/util/common").EventRecurrenceSettings;
10385
+ recurrenceSeriesId?: string;
10386
+ isSeriesMaster?: string;
10387
+ isVirtual?: boolean;
10388
+ metadata?: import("@livetiles/reach/util/common").NewsMetadata;
10389
+ lease: import("@livetiles/reach/util/common").LeaseInfo;
10390
+ id?: string;
10391
+ versionId?: string;
10392
+ publishingDate?: string;
10393
+ deleted?: string;
10394
+ author?: import("@livetiles/reach/util/common").Account;
10395
+ owner?: import("@livetiles/reach/util/common").Account;
10396
+ onBehalfOf?: import("@livetiles/reach/util/common").Account;
10397
+ status?: import("@livetiles/reach/util/common").WorkflowStatus;
10398
+ fileAccessToken?: string;
10399
+ customProperties?: {
10400
+ [key: string]: any;
10401
+ };
10402
+ modifiedBy: import("@livetiles/reach/util/common").Account;
10403
+ modified: string;
10404
+ created: string;
10405
+ publishedVersionId?: string;
10406
+ isCurrentPublishedVersion?: boolean;
10407
+ isLatestVersion?: boolean;
10408
+ permalink?: string;
10409
+ groupIds: string[];
10410
+ statistics?: import("@livetiles/reach/util/common").ItemStatistics;
10411
+ useExternalContent?: boolean;
10412
+ isDemoContent?: boolean;
10413
+ poll?: import("@livetiles/reach/util/common").Poll;
10414
+ searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
10415
+ } | {
10416
+ knownState: KnownNewsState;
10417
+ pageType?: undefined;
10418
+ navigationContext?: undefined;
10419
+ userResponse: EventResponse;
10420
+ channels: {
10421
+ name: string;
10422
+ }[];
10423
+ contents: {};
10424
+ bannerInfo: {
10425
+ videoSource: import("@livetiles/reach/util/common").VideoSource;
10426
+ type: "video" | "image";
10427
+ videoId?: string;
10428
+ videoUrl?: string;
10429
+ isDirectVideoUrl?: boolean;
10430
+ imageId?: string;
10431
+ };
10432
+ keywords: {
10433
+ [key: string]: Keyword[];
10434
+ };
10435
+ type: StreamItemTypes.Event;
10436
+ contentsList: StreamPublishableItemContents[];
10437
+ channelsList: string[];
10438
+ isUnread: boolean;
10439
+ keywordsList?: Keyword[];
10440
+ userResponseType?: StreamEventResponse;
10441
+ startDate?: string;
10442
+ endDate?: string;
10443
+ timeZone?: string;
10444
+ contacts?: import("@livetiles/reach/util/common").Account[];
10445
+ registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
10446
+ cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
10447
+ locations?: import("@livetiles/reach/util/common").EventLocation[];
10448
+ hasNewComments?: boolean;
10449
+ isLiked?: boolean;
10450
+ recurrenceSettings?: import("@livetiles/reach/util/common").EventRecurrenceSettings;
10451
+ recurrenceSeriesId?: string;
10452
+ isSeriesMaster?: string;
10453
+ isVirtual?: boolean;
10454
+ metadata?: import("@livetiles/reach/util/common").NewsMetadata;
10455
+ lease: import("@livetiles/reach/util/common").LeaseInfo;
10456
+ id?: string;
10457
+ versionId?: string;
10458
+ publishingDate?: string;
10459
+ deleted?: string;
10460
+ author?: import("@livetiles/reach/util/common").Account;
10461
+ owner?: import("@livetiles/reach/util/common").Account;
10462
+ onBehalfOf?: import("@livetiles/reach/util/common").Account;
10463
+ status?: import("@livetiles/reach/util/common").WorkflowStatus;
10464
+ fileAccessToken?: string;
10465
+ customProperties?: {
10466
+ [key: string]: any;
10467
+ };
10468
+ modifiedBy: import("@livetiles/reach/util/common").Account;
10469
+ modified: string;
10470
+ created: string;
10471
+ publishedVersionId?: string;
10472
+ isCurrentPublishedVersion?: boolean;
10473
+ isLatestVersion?: boolean;
10474
+ permalink?: string;
10475
+ groupIds: string[];
10476
+ statistics?: import("@livetiles/reach/util/common").ItemStatistics;
10477
+ useExternalContent?: boolean;
10478
+ isDemoContent?: boolean;
10479
+ poll?: import("@livetiles/reach/util/common").Poll;
10480
+ searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
10481
+ } | {
10482
+ knownState?: undefined;
10483
+ pageType: PageType;
10484
+ navigationContext: PageNavigationContext;
10485
+ userResponse: EventResponse;
10486
+ channels: {
10487
+ name: string;
10488
+ }[];
10489
+ contents: {};
10490
+ bannerInfo: {
10491
+ videoSource: import("@livetiles/reach/util/common").VideoSource;
10492
+ type: "video" | "image";
10493
+ videoId?: string;
10494
+ videoUrl?: string;
10495
+ isDirectVideoUrl?: boolean;
10496
+ imageId?: string;
10497
+ };
10498
+ keywords: {
10499
+ [key: string]: Keyword[];
10500
+ };
10501
+ type: StreamItemTypes.Event;
10502
+ contentsList: StreamPublishableItemContents[];
10503
+ channelsList: string[];
10504
+ isUnread: boolean;
10505
+ keywordsList?: Keyword[];
10506
+ userResponseType?: StreamEventResponse;
10507
+ startDate?: string;
10508
+ endDate?: string;
10509
+ timeZone?: string;
10510
+ contacts?: import("@livetiles/reach/util/common").Account[];
10511
+ registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
10512
+ cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
10513
+ locations?: import("@livetiles/reach/util/common").EventLocation[];
10514
+ hasNewComments?: boolean;
10515
+ isLiked?: boolean;
10516
+ recurrenceSettings?: import("@livetiles/reach/util/common").EventRecurrenceSettings;
10517
+ recurrenceSeriesId?: string;
10518
+ isSeriesMaster?: string;
10519
+ isVirtual?: boolean;
10520
+ metadata?: import("@livetiles/reach/util/common").NewsMetadata;
10521
+ lease: import("@livetiles/reach/util/common").LeaseInfo;
10522
+ id?: string;
10523
+ versionId?: string;
10524
+ publishingDate?: string;
10525
+ deleted?: string;
10526
+ author?: import("@livetiles/reach/util/common").Account;
10527
+ owner?: import("@livetiles/reach/util/common").Account;
10528
+ onBehalfOf?: import("@livetiles/reach/util/common").Account;
10529
+ status?: import("@livetiles/reach/util/common").WorkflowStatus;
10530
+ fileAccessToken?: string;
10531
+ customProperties?: {
10532
+ [key: string]: any;
10533
+ };
10534
+ modifiedBy: import("@livetiles/reach/util/common").Account;
10535
+ modified: string;
10536
+ created: string;
10537
+ publishedVersionId?: string;
10538
+ isCurrentPublishedVersion?: boolean;
10539
+ isLatestVersion?: boolean;
10540
+ permalink?: string;
10541
+ groupIds: string[];
10542
+ statistics?: import("@livetiles/reach/util/common").ItemStatistics;
10543
+ useExternalContent?: boolean;
10544
+ isDemoContent?: boolean;
10545
+ poll?: import("@livetiles/reach/util/common").Poll;
10546
+ searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
10547
+ } | {
10548
+ knownState: KnownNewsState;
10549
+ pageType: PageType;
10550
+ navigationContext: PageNavigationContext;
10551
+ userResponse: EventResponse;
10552
+ channels: {
10553
+ name: string;
10554
+ }[];
10555
+ contents: {};
10556
+ bannerInfo: {
10557
+ videoSource: import("@livetiles/reach/util/common").VideoSource;
10558
+ type: "video" | "image";
10559
+ videoId?: string;
10560
+ videoUrl?: string;
10561
+ isDirectVideoUrl?: boolean;
10562
+ imageId?: string;
10563
+ };
10564
+ keywords: {
10565
+ [key: string]: Keyword[];
10566
+ };
10567
+ type: StreamItemTypes.Event;
10568
+ contentsList: StreamPublishableItemContents[];
10569
+ channelsList: string[];
10570
+ isUnread: boolean;
10571
+ keywordsList?: Keyword[];
10572
+ userResponseType?: StreamEventResponse;
10573
+ startDate?: string;
10574
+ endDate?: string;
10575
+ timeZone?: string;
10576
+ contacts?: import("@livetiles/reach/util/common").Account[];
10577
+ registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
10578
+ cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
10579
+ locations?: import("@livetiles/reach/util/common").EventLocation[];
10580
+ hasNewComments?: boolean;
10581
+ isLiked?: boolean;
10582
+ recurrenceSettings?: import("@livetiles/reach/util/common").EventRecurrenceSettings;
10583
+ recurrenceSeriesId?: string;
10584
+ isSeriesMaster?: string;
10585
+ isVirtual?: boolean;
10586
+ metadata?: import("@livetiles/reach/util/common").NewsMetadata;
10587
+ lease: import("@livetiles/reach/util/common").LeaseInfo;
10588
+ id?: string;
10589
+ versionId?: string;
10590
+ publishingDate?: string;
10591
+ deleted?: string;
10592
+ author?: import("@livetiles/reach/util/common").Account;
10593
+ owner?: import("@livetiles/reach/util/common").Account;
10594
+ onBehalfOf?: import("@livetiles/reach/util/common").Account;
10595
+ status?: import("@livetiles/reach/util/common").WorkflowStatus;
10596
+ fileAccessToken?: string;
10597
+ customProperties?: {
10598
+ [key: string]: any;
10599
+ };
10600
+ modifiedBy: import("@livetiles/reach/util/common").Account;
10601
+ modified: string;
10602
+ created: string;
10603
+ publishedVersionId?: string;
10604
+ isCurrentPublishedVersion?: boolean;
10605
+ isLatestVersion?: boolean;
10606
+ permalink?: string;
10607
+ groupIds: string[];
10608
+ statistics?: import("@livetiles/reach/util/common").ItemStatistics;
10609
+ useExternalContent?: boolean;
10610
+ isDemoContent?: boolean;
10611
+ poll?: import("@livetiles/reach/util/common").Poll;
10612
+ searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
10613
+ } | {
10614
+ knownState?: undefined;
10615
+ pageType?: PageType;
10616
+ navigationContext?: PageNavigationContext;
10617
+ userResponse: EventResponse;
10618
+ channels: {
10619
+ name: string;
10620
+ }[];
10621
+ contents: {};
10622
+ bannerInfo: {
10623
+ videoSource: import("@livetiles/reach/util/common").VideoSource;
10624
+ type: "video" | "image";
10625
+ videoId?: string;
10626
+ videoUrl?: string;
10627
+ isDirectVideoUrl?: boolean;
10628
+ imageId?: string;
10629
+ };
10630
+ keywords: {
10631
+ [key: string]: Keyword[];
10632
+ };
10633
+ type: StreamItemTypes.Page;
10634
+ contentsList: StreamPublishableItemContents[];
10635
+ channelsList: string[];
10636
+ isUnread: boolean;
10637
+ keywordsList?: Keyword[];
10638
+ streamPageType?: string;
10639
+ path?: (PageNavigationNode & {
10640
+ parentId?: string;
10641
+ })[];
10642
+ feedbackSettings?: import("@livetiles/reach/util/common").FeedbackSettings;
10643
+ parentId?: string;
10644
+ pathIds?: string[];
10645
+ position?: number;
10646
+ hasHiddenAncestor?: boolean;
10647
+ isUnlinked?: boolean;
10648
+ firstChildId?: string;
10649
+ lease: import("@livetiles/reach/util/common").LeaseInfo;
10650
+ id?: string;
10651
+ versionId?: string;
10652
+ publishingDate?: string;
10653
+ deleted?: string;
10654
+ author?: import("@livetiles/reach/util/common").Account;
10655
+ owner?: import("@livetiles/reach/util/common").Account;
10656
+ onBehalfOf?: import("@livetiles/reach/util/common").Account;
10657
+ status?: import("@livetiles/reach/util/common").WorkflowStatus;
10658
+ fileAccessToken?: string;
10659
+ customProperties?: {
10660
+ [key: string]: any;
10661
+ };
10662
+ modifiedBy: import("@livetiles/reach/util/common").Account;
10663
+ modified: string;
10664
+ created: string;
10665
+ publishedVersionId?: string;
10666
+ isCurrentPublishedVersion?: boolean;
10667
+ isLatestVersion?: boolean;
10668
+ permalink?: string;
10669
+ groupIds: string[];
10670
+ statistics?: import("@livetiles/reach/util/common").ItemStatistics;
10671
+ useExternalContent?: boolean;
10672
+ isDemoContent?: boolean;
10673
+ poll?: import("@livetiles/reach/util/common").Poll;
10674
+ searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
10675
+ } | {
10676
+ knownState: KnownNewsState;
10677
+ pageType?: PageType;
10678
+ navigationContext?: PageNavigationContext;
10679
+ userResponse: EventResponse;
10680
+ channels: {
10681
+ name: string;
10682
+ }[];
10683
+ contents: {};
10684
+ bannerInfo: {
10685
+ videoSource: import("@livetiles/reach/util/common").VideoSource;
10686
+ type: "video" | "image";
10687
+ videoId?: string;
10688
+ videoUrl?: string;
10689
+ isDirectVideoUrl?: boolean;
10690
+ imageId?: string;
10691
+ };
10692
+ keywords: {
10693
+ [key: string]: Keyword[];
10694
+ };
10695
+ type: StreamItemTypes.Page;
10696
+ contentsList: StreamPublishableItemContents[];
10697
+ channelsList: string[];
10698
+ isUnread: boolean;
10699
+ keywordsList?: Keyword[];
10700
+ streamPageType?: string;
10701
+ path?: (PageNavigationNode & {
10702
+ parentId?: string;
10703
+ })[];
10704
+ feedbackSettings?: import("@livetiles/reach/util/common").FeedbackSettings;
10705
+ parentId?: string;
10706
+ pathIds?: string[];
10707
+ position?: number;
10708
+ hasHiddenAncestor?: boolean;
10709
+ isUnlinked?: boolean;
10710
+ firstChildId?: string;
10711
+ lease: import("@livetiles/reach/util/common").LeaseInfo;
10712
+ id?: string;
10713
+ versionId?: string;
10714
+ publishingDate?: string;
10715
+ deleted?: string;
10716
+ author?: import("@livetiles/reach/util/common").Account;
10717
+ owner?: import("@livetiles/reach/util/common").Account;
10718
+ onBehalfOf?: import("@livetiles/reach/util/common").Account;
10719
+ status?: import("@livetiles/reach/util/common").WorkflowStatus;
10720
+ fileAccessToken?: string;
10721
+ customProperties?: {
10722
+ [key: string]: any;
10723
+ };
10724
+ modifiedBy: import("@livetiles/reach/util/common").Account;
10725
+ modified: string;
10726
+ created: string;
10727
+ publishedVersionId?: string;
10728
+ isCurrentPublishedVersion?: boolean;
10729
+ isLatestVersion?: boolean;
10730
+ permalink?: string;
10731
+ groupIds: string[];
10732
+ statistics?: import("@livetiles/reach/util/common").ItemStatistics;
10733
+ useExternalContent?: boolean;
10734
+ isDemoContent?: boolean;
10735
+ poll?: import("@livetiles/reach/util/common").Poll;
10736
+ searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
10737
+ })[];
10738
+ }
10739
+ declare module "libs/reach/feature/content/src/stream/useStreamItemsQuery" {
10740
+ import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
10741
+ import { DocumentNode } from '@apollo/client';
10742
+ import { Channel } from "libs/reach/util/common/src/index";
10743
+ import { BeforePublishingDateFilterDefinition, ChannelsFilterDefinition, ItemTypeFilterDefinition, KeywordsFilterDefinition, OwnerFilterDefinition } from "libs/reach/feature/content/src/filter/index";
10744
+ export enum StreamEventResponse {
10745
+ NotSet = "NOTSET",
10746
+ Registered = "REGISTERED",
10747
+ Declined = "DECLINED"
10748
+ }
10749
+ export interface StreamFilterDefinition extends BeforePublishingDateFilterDefinition, OwnerFilterDefinition, ChannelsFilterDefinition, KeywordsFilterDefinition, ItemTypeFilterDefinition {
10750
+ }
10751
+ export function useStreamItemsQuery(query: DocumentNode, searchText?: string, defaultPageSize?: number, doNotLoadOnEmpty?: boolean): {
10752
+ items: StreamItem[];
10753
+ setItems: import("react").Dispatch<import("react").SetStateAction<StreamItem[]>>;
10754
+ loadMore: () => Promise<void>;
10755
+ pageInfo: {
10756
+ errors?: any;
10757
+ hasNextPage: boolean;
10758
+ skip: number;
10759
+ };
10760
+ refresh: () => Promise<void>;
10761
+ };
10762
+ export const getStreamQuery: () => DocumentNode;
10763
+ export const getSearchQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
10764
+ export const CHANNELS_OR_CONDITION: (channels: string[], allChannels: Channel[]) => string;
10765
+ export const KEYWORDS_OR_CONDITION: (keywords: string[]) => string;
10766
+ export const OWNER_CONDITION: (owner: string) => string;
10767
+ export const PUBLISHING_DATE_CONDITION: (beforeDate: string, afterDate: string) => string;
10768
+ export const STREAM_QUERY: (includeAllItems: boolean, additionalWhereConditions?: string) => DocumentNode;
10769
+ export const MARK_STREAM_AS_READ_MUTATION: DocumentNode;
10770
+ export const MARK_ITEMS_AS_READ_MUTATION: DocumentNode;
10771
+ }
10772
+ declare module "libs/reach/feature/content/src/posts/useMarkPostsAndCommentsAsRead" {
10773
+ import { Post } from "libs/reach/feature/content/src/posts/utils";
10774
+ import { DependencyList } from 'react';
10775
+ export function useMarkPostsAndCommentsAsRead(area: 'CACHE_ONLY' | 'CACHE_AND_SERVER', posts: Post[], deps?: DependencyList): void;
10776
+ }
10777
+ declare module "libs/reach/feature/content/src/posts/usePostKeywordSettings" {
10778
+ import { UserGroup } from "libs/reach/util/common/src/index";
10779
+ export function usePostKeywordSettings(): (group: UserGroup) => {
10780
+ availableKeywords: import("@livetiles/reach/util/common").Keyword[];
10781
+ defaultKeywords: import("@livetiles/reach/util/common").Keyword[];
10782
+ mandatoryKeywords: import("@livetiles/reach/util/common").Keyword[];
10783
+ };
10784
+ }
10785
+ declare module "libs/reach/feature/content/src/posts/index" {
10786
+ export * from "libs/reach/feature/content/src/posts/GroupNotificationsSettings";
10787
+ export * from "libs/reach/feature/content/src/posts/PostCreator";
10788
+ export * from "libs/reach/feature/content/src/posts/PostDisplay";
10789
+ export * from "libs/reach/feature/content/src/posts/PostGroupsSelector";
10790
+ export * from "libs/reach/feature/content/src/posts/PostListItem";
10791
+ export * from "libs/reach/feature/content/src/posts/PostWithSelfThreadHandling";
10792
+ export * from "libs/reach/feature/content/src/posts/useAttachmentUploader";
10793
+ export * from "libs/reach/feature/content/src/posts/useMarkPostsAndCommentsAsRead";
10794
+ export * from "libs/reach/feature/content/src/posts/usePostKeywordSettings";
10795
+ export * from "libs/reach/feature/content/src/posts/usePostsApi";
10796
+ export * from "libs/reach/feature/content/src/posts/utils";
10797
+ }
10798
+ declare module "libs/reach/feature/content/src/editor/EditorListItem" {
10799
+ import { FC, ReactNode } from 'react';
10800
+ import { PublishableItem } from "libs/reach/util/common/src/index";
10801
+ interface Props {
10802
+ item: PublishableItem;
10803
+ isPublishedItem?: boolean;
10804
+ allowSelection: boolean;
10805
+ language: string;
10806
+ onSelect?: (item: PublishableItem, selected: boolean) => void;
10807
+ isSelected: boolean;
10808
+ highlighted: boolean;
10809
+ basePath: string;
10810
+ onClick?: (event: React.MouseEvent<unknown>, ref: React.RefObject<Element>, item: PublishableItem, title: string) => unknown;
10811
+ onRenderContent: (item: PublishableItem, title: string, isSelected?: boolean) => ReactNode;
10812
+ className?: string;
10813
+ useExternalLink?: boolean;
10814
+ }
10815
+ export const EditorListItem: FC<Props>;
10816
+ export const EditorItemTitle: import("styled-components").StyledComponent<"h2", import("styled-components").DefaultTheme, {}, never>;
10817
+ }
10818
+ declare module "libs/reach/feature/content/src/editor/NewsEditorItem" {
10819
+ import { FC } from 'react';
10820
+ import { NewsItem } from "libs/reach/util/common/src/index";
10821
+ export const NewsEditorItem: FC<{
10822
+ title: string;
10823
+ item: NewsItem;
10824
+ isSelected?: boolean;
10825
+ }>;
10826
+ }
10827
+ declare module "libs/reach/feature/content/src/editor/EventEditorItem" {
10828
+ import { FC } from 'react';
10829
+ import { EventItem } from "libs/reach/util/common/src/index";
10830
+ export const EventEditorItem: FC<{
10831
+ item: EventItem;
10832
+ title: string;
10833
+ className?: string;
10834
+ }>;
10835
+ }
10836
+ declare module "libs/reach/feature/content/src/editor/CreateNewItemButton" {
10837
+ import { FC } from 'react';
10838
+ import { ItemResourceTypes } from "libs/reach/util/common/src/index";
10839
+ export const CreateNewItemButton: FC<{
10840
+ type: ItemResourceTypes;
10841
+ groupId?: string;
10842
+ onClick?: (groupId?: string) => void;
10843
+ className?: string;
10844
+ }>;
10845
+ }
10846
+ declare module "libs/reach/feature/content/src/editor/editorUtils" {
10847
+ import { Account } from "libs/reach/util/common/src/index";
10848
+ export interface MissingLeaseError {
10849
+ account: Account;
10850
+ }
10851
+ export interface KeepAliveHandle {
10852
+ destroy: () => void;
10853
+ cancel: () => void;
10854
+ }
10855
+ }
10856
+ declare module "libs/reach/feature/content/src/editor/useEditorApi" {
10857
+ import { ItemResourceTypes, ItemVersionSummary, PaginatedList, PublishableItem, PublishableItemContent, PublishableItemVersion, ResponseItem, WorkflowStatus } from "libs/reach/util/common/src/index";
10858
+ import { NewsFilterDefinition } from "libs/reach/feature/content/src/index";
10859
+ import { Observable } from 'rxjs';
10860
+ import { KeepAliveHandle } from "libs/reach/feature/content/src/editor/editorUtils";
10861
+ export function useEditorApi(): {
10862
+ cloneItem: (itemType: ItemResourceTypes, itemId: string) => Promise<PublishableItem>;
10863
+ getDeletedItems: <T>(type: ItemResourceTypes, filter?: NewsFilterDefinition, token?: string) => Promise<PaginatedList<T>>;
10864
+ getVersion: (type: ItemResourceTypes, itemId: string, versionId: string) => Promise<PublishableItemVersion>;
10865
+ getVersions: (type: ItemResourceTypes, itemId: string) => Observable<ItemVersionSummary[]>;
10866
+ deleteDraft: (leaseId: string, itemId: number | string, type: ItemResourceTypes) => Promise<unknown>;
10867
+ deleteRange: (type: ItemResourceTypes, ids: string[]) => Promise<ResponseItem[]>;
10868
+ deletePermanently: (type: ItemResourceTypes, ids: string[]) => Promise<any>;
10869
+ bulkSetStatus: (type: ItemResourceTypes, items: {
10870
+ id: string;
10871
+ status: WorkflowStatus;
10872
+ }[]) => Promise<ResponseItem[]>;
10873
+ setStatus: (type: ItemResourceTypes, itemId: number | string, status: WorkflowStatus, leaseId: string | null) => Promise<PublishableItem>;
10874
+ removeLease: (itemId: string, leaseId: string) => Promise<any>;
10875
+ keepLeaseAlive: (itemId: string, leaseId: string, token: string, subscriptionId: string) => KeepAliveHandle;
10876
+ saveItem: (subscriptionId: string, type: ItemResourceTypes | null, item: PublishableItem, createLease?: boolean) => Observable<any>;
10877
+ updateGroups: (itemType: ItemResourceTypes, itemId: string, groupIds: string[]) => Promise<PublishableItem>;
10878
+ translateContent: (itemId: string, translateFrom: string, translateTo: string[]) => Promise<PublishableItemContent[]>;
10879
+ };
10880
+ }
10881
+ declare module "libs/reach/feature/content/src/editor/useNewsEditorApi" {
10882
+ import { NewsItem } from "libs/reach/util/common/src/index";
10883
+ import { Observable } from 'rxjs';
10884
+ export function useNewsEditorApi(): {
10885
+ getNews: (newsId: number | string) => Promise<NewsItem>;
10886
+ unpublish: (id: string, leaseId: string) => Observable<any>;
10887
+ save: (item: NewsItem, subscriptionId: string) => Observable<NewsItem>;
10888
+ };
10889
+ }
10890
+ declare module "libs/reach/feature/content/src/editor/index" {
10891
+ export * from "libs/reach/feature/content/src/editor/EditorListItem";
10892
+ export * from "libs/reach/feature/content/src/editor/NewsEditorItem";
10893
+ export * from "libs/reach/feature/content/src/editor/EventEditorItem";
10894
+ export * from "libs/reach/feature/content/src/editor/CreateNewItemButton";
10895
+ export * from "libs/reach/feature/content/src/editor/editorUtils";
10896
+ export * from "libs/reach/feature/content/src/editor/useEditorApi";
10897
+ export * from "libs/reach/feature/content/src/editor/useNewsEditorApi";
10898
+ }
10899
+ declare module "libs/reach/feature/content/src/public-user/index" {
10900
+ export * from "libs/reach/feature/content/src/public-user/PublicUserFullAccessButton";
10901
+ }
10902
+ declare module "libs/reach/feature/content/src/stream/StreamPostItemCard" {
10903
+ import { FC } from 'react';
10904
+ import { PostStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
10905
+ export const StreamPostItemCard: FC<{
10906
+ post: PostStreamItem;
10907
+ onPostDelete: (id: string) => unknown;
10908
+ }>;
10909
+ }
10910
+ declare module "libs/reach/feature/content/src/stream/StreamNewsItemCard" {
10911
+ import { FC } from 'react';
10912
+ import { NewsStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
10913
+ export const StreamNewsItemCard: FC<{
10914
+ news: NewsStreamItem;
10915
+ }>;
10916
+ }
10917
+ declare module "libs/reach/feature/content/src/stream/StreamEventItemCard" {
10918
+ import { FC } from 'react';
10919
+ import { EventStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
10920
+ export const StreamEventItemCard: FC<{
10921
+ event: EventStreamItem;
10922
+ }>;
10923
+ }
10924
+ declare module "libs/reach/feature/content/src/search/GlobalSearchButton" {
10925
+ import { FC } from 'react';
10926
+ export const GlobalSearchButton: FC;
10927
+ }
10928
+ declare module "libs/reach/feature/content/src/stream/StreamList" {
10929
+ import { FC } from 'react';
10930
+ import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
10931
+ export type StreamQueryResult = {
10932
+ items: StreamItem[];
10933
+ };
10934
+ export const StreamList: FC;
10935
+ }
10936
+ declare module "libs/reach/feature/content/src/stream/useNewsStreamDataLoader" {
10937
+ import { PaginatedList } from "libs/reach/util/common/src/index";
10938
+ import { NewsFilterDefinition } from "libs/reach/feature/content/src/filter/NewsFilterDefinition";
10939
+ import { NewsStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
10940
+ export function useNewsStreamDataLoader(filter?: NewsFilterDefinition): (take: number, skip?: number) => Promise<PaginatedList<NewsStreamItem>>;
10941
+ export const NEWS_QUERY: (includeAllItems: boolean, whereConditions?: string) => import("@apollo/client").DocumentNode;
9881
10942
  }
9882
10943
  declare module "libs/reach/feature/content/src/stream/index" {
9883
10944
  export * from "libs/reach/feature/content/src/stream/StreamList";
@@ -9886,6 +10947,7 @@ declare module "libs/reach/feature/content/src/stream/index" {
9886
10947
  export * from "libs/reach/feature/content/src/stream/StreamEventItemCard";
9887
10948
  export * from "libs/reach/feature/content/src/stream/StreamNewsItemCard";
9888
10949
  export * from "libs/reach/feature/content/src/stream/StreamPostItemCard";
10950
+ export * from "libs/reach/feature/content/src/stream/useNewsStreamDataLoader";
9889
10951
  }
9890
10952
  declare module "libs/reach/feature/content/src/search/index" {
9891
10953
  export * from "libs/reach/feature/content/src/search/GlobalSearchButton";