@livetiles/reach-plugin-types 0.4.86 → 0.4.88
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 +118 -121
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -220,7 +220,7 @@ declare module "libs/shared/util/environment/src/AnalyticsConfig" {
|
|
|
220
220
|
export interface DashboardConfig {
|
|
221
221
|
name: string;
|
|
222
222
|
title: string;
|
|
223
|
-
id:
|
|
223
|
+
id: string;
|
|
224
224
|
params?: string;
|
|
225
225
|
}
|
|
226
226
|
export interface AnalyticsConfig {
|
|
@@ -2924,18 +2924,6 @@ declare module "libs/reach/util/common/src/analytics/AnalyticsContextProvider" {
|
|
|
2924
2924
|
}>;
|
|
2925
2925
|
export const AnalyticsContextProvider: FC;
|
|
2926
2926
|
}
|
|
2927
|
-
declare module "libs/reach/util/common/src/PagingService" {
|
|
2928
|
-
import { Observable } from 'rxjs';
|
|
2929
|
-
export const onPageScroll: Observable<number>;
|
|
2930
|
-
export function handlePageScroll(availableScrollSpace: number): void;
|
|
2931
|
-
export function setPageTitle(subscriptionName: string, title?: string): void;
|
|
2932
|
-
export function usePageScrollListener(onScroll: (availableScrollSpace: number) => void): void;
|
|
2933
|
-
}
|
|
2934
|
-
declare module "libs/reach/util/common/src/analytics/useAnalyticsViewTrack" {
|
|
2935
|
-
import { BaseItem, ItemResourceTypes } from "libs/reach/util/common/src/content/index";
|
|
2936
|
-
export function useAnalyticsViewTrackWithPagination(startTracking: boolean, items: BaseItem[], itemResourceType: ItemResourceTypes): void;
|
|
2937
|
-
export function useAnalyticsViewTrack(startTracking: boolean, itemResourceType?: ItemResourceTypes, thresholdPercentageOverride?: number): void;
|
|
2938
|
-
}
|
|
2939
2927
|
declare module "libs/reach/util/common/src/useModalRouting" {
|
|
2940
2928
|
export interface ModalRouting {
|
|
2941
2929
|
isActive: boolean;
|
|
@@ -2966,11 +2954,7 @@ declare module "libs/reach/util/common/src/useModalRouting" {
|
|
|
2966
2954
|
};
|
|
2967
2955
|
}
|
|
2968
2956
|
declare module "libs/reach/util/common/src/analytics/useAnalyticsActivityTrack" {
|
|
2969
|
-
|
|
2970
|
-
export function useAnalyticsActivityTrack(scrollContainer?: HTMLElement): {
|
|
2971
|
-
trackActivity: () => Activity;
|
|
2972
|
-
sendActivity: () => void;
|
|
2973
|
-
};
|
|
2957
|
+
export function useAnalyticsActivityTrack(shouldGetMainScrollableContainer?: boolean): void;
|
|
2974
2958
|
}
|
|
2975
2959
|
declare module "libs/reach/util/common/src/analytics/useAnalyticsNavigateTrack" {
|
|
2976
2960
|
export function useAnalyticsNavigateTrack(): void;
|
|
@@ -2978,7 +2962,6 @@ declare module "libs/reach/util/common/src/analytics/useAnalyticsNavigateTrack"
|
|
|
2978
2962
|
declare module "libs/reach/util/common/src/analytics/index" {
|
|
2979
2963
|
export * from "libs/reach/util/common/src/analytics/AnalyticsContextProvider";
|
|
2980
2964
|
export * from "libs/reach/util/common/src/analytics/analyticsUtils";
|
|
2981
|
-
export * from "libs/reach/util/common/src/analytics/useAnalyticsViewTrack";
|
|
2982
2965
|
export * from "libs/reach/util/common/src/analytics/useAnalyticsActivityTrack";
|
|
2983
2966
|
export * from "libs/reach/util/common/src/analytics/useAnalyticsNavigateTrack";
|
|
2984
2967
|
export * from "libs/reach/util/common/src/analytics/AnalyticsModuleContextProvider";
|
|
@@ -3731,6 +3714,13 @@ declare module "libs/reach/util/common/src/MainContentPanelContext" {
|
|
|
3731
3714
|
}
|
|
3732
3715
|
export const MainContentPanelContext: import("react").Context<MainPanelContextType>;
|
|
3733
3716
|
}
|
|
3717
|
+
declare module "libs/reach/util/common/src/PagingService" {
|
|
3718
|
+
import { Observable } from 'rxjs';
|
|
3719
|
+
export const onPageScroll: Observable<number>;
|
|
3720
|
+
export function handlePageScroll(availableScrollSpace: number): void;
|
|
3721
|
+
export function setPageTitle(subscriptionName: string, title?: string): void;
|
|
3722
|
+
export function usePageScrollListener(onScroll: (availableScrollSpace: number) => void): void;
|
|
3723
|
+
}
|
|
3734
3724
|
declare module "libs/reach/util/common/src/keyword-utils" {
|
|
3735
3725
|
import { Keyword } from "libs/reach/util/common/src/content/KeywordGroup";
|
|
3736
3726
|
import { SchedulableItem } from "libs/reach/util/common/src/content/NewsItem";
|
|
@@ -4204,11 +4194,10 @@ declare module "libs/reach/ui/common/src/common/UiUtils" {
|
|
|
4204
4194
|
export function getFileIconByExtension(extension: string): "Page" | "Video" | "MusicInCollectionFill" | "VisioDocument" | "ZipFolder" | "PDF" | "WordDocument" | "ExcelDocument" | "PowerPointDocument" | "FileImage";
|
|
4205
4195
|
}
|
|
4206
4196
|
declare module "libs/reach/ui/common/src/common/useFileAccessTokenApi" {
|
|
4207
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
4208
4197
|
export function useFileAccessTokenApi(): {
|
|
4209
4198
|
exchangeShortLivedToken: (fileAccessToken: string) => Promise<string>;
|
|
4210
4199
|
getPublishableItemShortLivedToken: (basePath: string, itemId: string) => Promise<string>;
|
|
4211
|
-
createDownloadClickHandler: (target: string, getUrl: () => Promise<string>, fileId?: string,
|
|
4200
|
+
createDownloadClickHandler: (target: string, getUrl: () => Promise<string>, fileId?: string, parentId?: string) => () => Promise<void>;
|
|
4212
4201
|
};
|
|
4213
4202
|
}
|
|
4214
4203
|
declare module "libs/reach/ui/common/src/common/FileAttachmentList" {
|
|
@@ -7751,6 +7740,7 @@ declare module "libs/reach/feature/content/src/forms/videos/VideoView" {
|
|
|
7751
7740
|
videoInfo: VideoInfo;
|
|
7752
7741
|
autoplay?: boolean;
|
|
7753
7742
|
width?: string;
|
|
7743
|
+
parentId?: string;
|
|
7754
7744
|
className?: string;
|
|
7755
7745
|
}>;
|
|
7756
7746
|
}
|
|
@@ -7776,6 +7766,7 @@ declare module "libs/reach/feature/content/src/forms/videos/VideoWithThumbnailVi
|
|
|
7776
7766
|
export const VideoWithThumbnailView: FC<{
|
|
7777
7767
|
videoInfo: VideoInfo;
|
|
7778
7768
|
videoThumbnailUrl: string;
|
|
7769
|
+
parentId: string;
|
|
7779
7770
|
className?: string;
|
|
7780
7771
|
}>;
|
|
7781
7772
|
}
|
|
@@ -7784,6 +7775,7 @@ declare module "libs/reach/feature/content/src/posts/VideoList" {
|
|
|
7784
7775
|
import { Attachment } from "libs/reach/util/common/src/index";
|
|
7785
7776
|
export const VideoList: FC<{
|
|
7786
7777
|
attachments: Attachment[];
|
|
7778
|
+
parentId?: string;
|
|
7787
7779
|
onDeleteClick?: (video: Attachment) => void;
|
|
7788
7780
|
className?: string;
|
|
7789
7781
|
}>;
|
|
@@ -10119,10 +10111,9 @@ declare module "libs/reach/feature/content/src/feedback/ConfirmationStatistics"
|
|
|
10119
10111
|
}
|
|
10120
10112
|
declare module "libs/reach/feature/content/src/feedback/ConfirmationStatisticsExport" {
|
|
10121
10113
|
import { FC } from 'react';
|
|
10122
|
-
import {
|
|
10114
|
+
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
10123
10115
|
export const ConfirmationStatisticsExport: FC<{
|
|
10124
10116
|
item: PublishableItem;
|
|
10125
|
-
resourceType: ItemResourceTypes;
|
|
10126
10117
|
isReadOnly?: boolean;
|
|
10127
10118
|
}>;
|
|
10128
10119
|
}
|
|
@@ -10423,6 +10414,14 @@ declare module "libs/reach/feature/content/src/posts/PostEditor" {
|
|
|
10423
10414
|
};
|
|
10424
10415
|
}>;
|
|
10425
10416
|
}
|
|
10417
|
+
declare module "libs/reach/feature/content/src/common/ContentWithShowMoreButton" {
|
|
10418
|
+
import { FC } from 'react';
|
|
10419
|
+
export const ContentWithShowMoreButton: FC<{
|
|
10420
|
+
domIdentifier: string;
|
|
10421
|
+
trimContent?: boolean;
|
|
10422
|
+
className?: string;
|
|
10423
|
+
}>;
|
|
10424
|
+
}
|
|
10426
10425
|
declare module "libs/reach/feature/content/src/posts/PostFollowButton" {
|
|
10427
10426
|
import { FC } from 'react';
|
|
10428
10427
|
export const PostFollowButton: FC<{
|
|
@@ -10560,7 +10559,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10560
10559
|
import { AttachmentType, BaseAttachment, Channel, Comment, ConversationScope, EventCancelInformation, EventItem, EventResponse, GraphQLAttachmentType, ItemResourceTypes, Keyword, KnownNewsState, NewsItem, PageItem, PageNavigationContext, PageNavigationNode, PageType, PaginatedList } from "libs/reach/util/common/src/index";
|
|
10561
10560
|
import { Post } from "libs/reach/feature/content/src/posts/index";
|
|
10562
10561
|
import { StreamEventResponse } from "libs/reach/feature/content/src/stream/useStreamItemsQuery";
|
|
10563
|
-
enum StreamItemTypes {
|
|
10562
|
+
export enum StreamItemTypes {
|
|
10564
10563
|
Post = "POST",
|
|
10565
10564
|
News = "NEWS",
|
|
10566
10565
|
Event = "EVENT",
|
|
@@ -11389,6 +11388,100 @@ declare module "libs/reach/feature/content/src/common/hooks/useAnalyticsSearchTr
|
|
|
11389
11388
|
export function useAnalyticsSearchTracking(items?: (PublishableItem | Post | StreamItem)[], disableTracking?: boolean, itemType?: ItemResourceTypes): void;
|
|
11390
11389
|
export function useClearSearchSessionOnLeave(): void;
|
|
11391
11390
|
}
|
|
11391
|
+
declare module "libs/reach/feature/content/src/stream/StreamPostItemCard" {
|
|
11392
|
+
import { FC } from 'react';
|
|
11393
|
+
import { PostStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11394
|
+
export const StreamPostItemCard: FC<{
|
|
11395
|
+
post: PostStreamItem;
|
|
11396
|
+
onPostDelete: (id: string) => unknown;
|
|
11397
|
+
}>;
|
|
11398
|
+
}
|
|
11399
|
+
declare module "libs/reach/feature/content/src/stream/StreamNewsItemCard" {
|
|
11400
|
+
import { FC } from 'react';
|
|
11401
|
+
import { NewsStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11402
|
+
export const StreamNewsItemCard: FC<{
|
|
11403
|
+
news: NewsStreamItem;
|
|
11404
|
+
}>;
|
|
11405
|
+
}
|
|
11406
|
+
declare module "libs/reach/feature/content/src/stream/StreamEventItemCard" {
|
|
11407
|
+
import { FC } from 'react';
|
|
11408
|
+
import { EventStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11409
|
+
export const StreamEventItemCard: FC<{
|
|
11410
|
+
event: EventStreamItem;
|
|
11411
|
+
}>;
|
|
11412
|
+
}
|
|
11413
|
+
declare module "libs/reach/feature/content/src/search/GlobalSearchButton" {
|
|
11414
|
+
import { FC } from 'react';
|
|
11415
|
+
export const GlobalSearchButton: FC<{
|
|
11416
|
+
className?: string;
|
|
11417
|
+
}>;
|
|
11418
|
+
}
|
|
11419
|
+
declare module "libs/reach/feature/content/src/stream/StreamList" {
|
|
11420
|
+
import { FC, ReactNode } from 'react';
|
|
11421
|
+
export const StreamList: FC<{
|
|
11422
|
+
emptySearchResultButton?: ReactNode;
|
|
11423
|
+
}>;
|
|
11424
|
+
}
|
|
11425
|
+
declare module "libs/reach/feature/content/src/stream/useNewsStreamDataLoader" {
|
|
11426
|
+
import { ItemLoader } from "libs/reach/ui/common/src/index";
|
|
11427
|
+
import { NewsFilterDefinition } from "libs/reach/feature/content/src/filter/index";
|
|
11428
|
+
import { NewsStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11429
|
+
export function useNewsStreamDataLoader(filter?: NewsFilterDefinition, searchText?: string, includeAllItems?: boolean): ItemLoader<NewsStreamItem, number>;
|
|
11430
|
+
}
|
|
11431
|
+
declare module "libs/reach/feature/content/src/stream/useEventsStreamDataLoader" {
|
|
11432
|
+
import { EventStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11433
|
+
import { EventView, ItemLoader } from "libs/reach/ui/common/src/index";
|
|
11434
|
+
import { EventFilterDefinition } from "libs/reach/feature/content/src/filter/EventFilterDefinition";
|
|
11435
|
+
export function useEventsStreamDataLoader(filter?: EventFilterDefinition, searchText?: string, view?: EventView): ItemLoader<EventStreamItem, number>;
|
|
11436
|
+
export function getEventsFilterByView(filter: EventFilterDefinition, view: EventView): EventFilterDefinition;
|
|
11437
|
+
export const CONTACTS_CONDITION: (contacts: string[]) => string;
|
|
11438
|
+
}
|
|
11439
|
+
declare module "libs/reach/feature/content/src/stream/useMarkStreamItemsAsRead" {
|
|
11440
|
+
import { StreamFilterDefinition } from "libs/reach/feature/content/src/stream/useStreamItemsQuery";
|
|
11441
|
+
import { ItemTypeFilterFlag } from "libs/reach/feature/content/src/filter/index";
|
|
11442
|
+
export interface onMarkAsReadHandlers {
|
|
11443
|
+
onStarted?: () => unknown;
|
|
11444
|
+
onFinished?: () => unknown;
|
|
11445
|
+
}
|
|
11446
|
+
export function useMarkStreamItemsAsRead(itemTypes: ItemTypeFilterFlag, filter?: StreamFilterDefinition, searchText?: string, handlers?: onMarkAsReadHandlers, unreadCount?: number): () => Promise<void>;
|
|
11447
|
+
}
|
|
11448
|
+
declare module "libs/reach/feature/content/src/stream/PostStreamFilterDefinition" {
|
|
11449
|
+
import { AuthorFilterDefinition, BeforePublishingDateFilterDefinition, PostFilterDefinition } from "libs/reach/feature/content/src/index";
|
|
11450
|
+
export interface PostStreamFilterDefinition extends PostFilterDefinition, BeforePublishingDateFilterDefinition, AuthorFilterDefinition {
|
|
11451
|
+
}
|
|
11452
|
+
}
|
|
11453
|
+
declare module "libs/reach/feature/content/src/stream/usePostsStreamDataLoader" {
|
|
11454
|
+
import { PostStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11455
|
+
import { ItemLoader } from "libs/reach/ui/common/src/index";
|
|
11456
|
+
import { PostStreamFilterDefinition } from "libs/reach/feature/content/src/stream/PostStreamFilterDefinition";
|
|
11457
|
+
export function usePostsStreamDataLoader(groupId?: string, filter?: PostStreamFilterDefinition, searchText?: string): ItemLoader<PostStreamItem, number>;
|
|
11458
|
+
export const POSTS_QUERY: (whereConditions?: string) => import("@apollo/client").DocumentNode;
|
|
11459
|
+
}
|
|
11460
|
+
declare module "libs/reach/feature/content/src/stream/usePagesStreamDataLoader" {
|
|
11461
|
+
import { ItemLoader } from "libs/reach/ui/common/src/index";
|
|
11462
|
+
import { PageStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11463
|
+
import { PageFilterDefinition } from "libs/reach/feature/content/src/pages/PageFilterDefinition";
|
|
11464
|
+
export function usePagesStreamDataLoader(filter?: PageFilterDefinition, searchText?: string): ItemLoader<PageStreamItem, number>;
|
|
11465
|
+
}
|
|
11466
|
+
declare module "libs/reach/feature/content/src/stream/index" {
|
|
11467
|
+
export * from "libs/reach/feature/content/src/stream/StreamList";
|
|
11468
|
+
export * from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11469
|
+
export * from "libs/reach/feature/content/src/stream/useStreamItemsQuery";
|
|
11470
|
+
export * from "libs/reach/feature/content/src/stream/StreamEventItemCard";
|
|
11471
|
+
export * from "libs/reach/feature/content/src/stream/StreamNewsItemCard";
|
|
11472
|
+
export * from "libs/reach/feature/content/src/stream/StreamPostItemCard";
|
|
11473
|
+
export * from "libs/reach/feature/content/src/stream/useNewsStreamDataLoader";
|
|
11474
|
+
export * from "libs/reach/feature/content/src/stream/useEventsStreamDataLoader";
|
|
11475
|
+
export * from "libs/reach/feature/content/src/stream/useMarkStreamItemsAsRead";
|
|
11476
|
+
export * from "libs/reach/feature/content/src/stream/usePostsStreamDataLoader";
|
|
11477
|
+
export * from "libs/reach/feature/content/src/stream/PostStreamFilterDefinition";
|
|
11478
|
+
export * from "libs/reach/feature/content/src/stream/usePagesStreamDataLoader";
|
|
11479
|
+
}
|
|
11480
|
+
declare module "libs/reach/feature/content/src/common/hooks/useAnalyticsViewTrack" {
|
|
11481
|
+
import { BaseItem, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
11482
|
+
export function useAnalyticsViewTrackWithPagination(startTracking: boolean, items: BaseItem[], itemResourceType: ItemResourceTypes): void;
|
|
11483
|
+
export function useAnalyticsViewTrack(startTracking: boolean, itemResourceType?: ItemResourceTypes, thresholdPercentageOverride?: number): void;
|
|
11484
|
+
}
|
|
11392
11485
|
declare module "libs/reach/feature/content/src/common/hooks/useClickOutside" {
|
|
11393
11486
|
interface IClickHandles {
|
|
11394
11487
|
onInsideClick: () => void;
|
|
@@ -11414,6 +11507,7 @@ declare module "libs/reach/feature/content/src/common/hooks/useContainerDimensio
|
|
|
11414
11507
|
}
|
|
11415
11508
|
declare module "libs/reach/feature/content/src/common/hooks/index" {
|
|
11416
11509
|
export * from "libs/reach/feature/content/src/common/hooks/useAnalyticsSearchTracking";
|
|
11510
|
+
export * from "libs/reach/feature/content/src/common/hooks/useAnalyticsViewTrack";
|
|
11417
11511
|
export * from "libs/reach/feature/content/src/common/hooks/useClickOutside";
|
|
11418
11512
|
export * from "libs/reach/feature/content/src/common/hooks/useCommonEditorApi";
|
|
11419
11513
|
export * from "libs/reach/feature/content/src/common/hooks/useContainerDimensions";
|
|
@@ -11521,14 +11615,6 @@ declare module "libs/reach/feature/content/src/common/sidebar/SidebarGroup" {
|
|
|
11521
11615
|
className?: string;
|
|
11522
11616
|
}>;
|
|
11523
11617
|
}
|
|
11524
|
-
declare module "libs/reach/feature/content/src/common/ContentWithShowMoreButton" {
|
|
11525
|
-
import { FC } from 'react';
|
|
11526
|
-
export const ContentWithShowMoreButton: FC<{
|
|
11527
|
-
domIdentifier: string;
|
|
11528
|
-
trimContent?: boolean;
|
|
11529
|
-
className?: string;
|
|
11530
|
-
}>;
|
|
11531
|
-
}
|
|
11532
11618
|
declare module "libs/reach/feature/content/src/common/channels/ChannelSelector" {
|
|
11533
11619
|
import { FC } from 'react';
|
|
11534
11620
|
import { Channel } from "libs/reach/util/common/src/index";
|
|
@@ -11975,95 +12061,6 @@ declare module "libs/reach/feature/content/src/editor/index" {
|
|
|
11975
12061
|
declare module "libs/reach/feature/content/src/public-user/index" {
|
|
11976
12062
|
export * from "libs/reach/feature/content/src/public-user/PublicUserFullAccessButton";
|
|
11977
12063
|
}
|
|
11978
|
-
declare module "libs/reach/feature/content/src/stream/StreamPostItemCard" {
|
|
11979
|
-
import { FC } from 'react';
|
|
11980
|
-
import { PostStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11981
|
-
export const StreamPostItemCard: FC<{
|
|
11982
|
-
post: PostStreamItem;
|
|
11983
|
-
onPostDelete: (id: string) => unknown;
|
|
11984
|
-
}>;
|
|
11985
|
-
}
|
|
11986
|
-
declare module "libs/reach/feature/content/src/stream/StreamNewsItemCard" {
|
|
11987
|
-
import { FC } from 'react';
|
|
11988
|
-
import { NewsStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11989
|
-
export const StreamNewsItemCard: FC<{
|
|
11990
|
-
news: NewsStreamItem;
|
|
11991
|
-
}>;
|
|
11992
|
-
}
|
|
11993
|
-
declare module "libs/reach/feature/content/src/stream/StreamEventItemCard" {
|
|
11994
|
-
import { FC } from 'react';
|
|
11995
|
-
import { EventStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11996
|
-
export const StreamEventItemCard: FC<{
|
|
11997
|
-
event: EventStreamItem;
|
|
11998
|
-
}>;
|
|
11999
|
-
}
|
|
12000
|
-
declare module "libs/reach/feature/content/src/search/GlobalSearchButton" {
|
|
12001
|
-
import { FC } from 'react';
|
|
12002
|
-
export const GlobalSearchButton: FC<{
|
|
12003
|
-
className?: string;
|
|
12004
|
-
}>;
|
|
12005
|
-
}
|
|
12006
|
-
declare module "libs/reach/feature/content/src/stream/StreamList" {
|
|
12007
|
-
import { FC, ReactNode } from 'react';
|
|
12008
|
-
export const StreamList: FC<{
|
|
12009
|
-
emptySearchResultButton?: ReactNode;
|
|
12010
|
-
}>;
|
|
12011
|
-
}
|
|
12012
|
-
declare module "libs/reach/feature/content/src/stream/useNewsStreamDataLoader" {
|
|
12013
|
-
import { ItemLoader } from "libs/reach/ui/common/src/index";
|
|
12014
|
-
import { NewsFilterDefinition } from "libs/reach/feature/content/src/filter/index";
|
|
12015
|
-
import { NewsStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
12016
|
-
export function useNewsStreamDataLoader(filter?: NewsFilterDefinition, searchText?: string, includeAllItems?: boolean): ItemLoader<NewsStreamItem, number>;
|
|
12017
|
-
}
|
|
12018
|
-
declare module "libs/reach/feature/content/src/stream/useEventsStreamDataLoader" {
|
|
12019
|
-
import { EventStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
12020
|
-
import { EventView, ItemLoader } from "libs/reach/ui/common/src/index";
|
|
12021
|
-
import { EventFilterDefinition } from "libs/reach/feature/content/src/filter/EventFilterDefinition";
|
|
12022
|
-
export function useEventsStreamDataLoader(filter?: EventFilterDefinition, searchText?: string, view?: EventView): ItemLoader<EventStreamItem, number>;
|
|
12023
|
-
export function getEventsFilterByView(filter: EventFilterDefinition, view: EventView): EventFilterDefinition;
|
|
12024
|
-
export const CONTACTS_CONDITION: (contacts: string[]) => string;
|
|
12025
|
-
}
|
|
12026
|
-
declare module "libs/reach/feature/content/src/stream/useMarkStreamItemsAsRead" {
|
|
12027
|
-
import { StreamFilterDefinition } from "libs/reach/feature/content/src/stream/useStreamItemsQuery";
|
|
12028
|
-
import { ItemTypeFilterFlag } from "libs/reach/feature/content/src/filter/index";
|
|
12029
|
-
export interface onMarkAsReadHandlers {
|
|
12030
|
-
onStarted?: () => unknown;
|
|
12031
|
-
onFinished?: () => unknown;
|
|
12032
|
-
}
|
|
12033
|
-
export function useMarkStreamItemsAsRead(itemTypes: ItemTypeFilterFlag, filter?: StreamFilterDefinition, searchText?: string, handlers?: onMarkAsReadHandlers, unreadCount?: number): () => Promise<void>;
|
|
12034
|
-
}
|
|
12035
|
-
declare module "libs/reach/feature/content/src/stream/PostStreamFilterDefinition" {
|
|
12036
|
-
import { AuthorFilterDefinition, BeforePublishingDateFilterDefinition, PostFilterDefinition } from "libs/reach/feature/content/src/index";
|
|
12037
|
-
export interface PostStreamFilterDefinition extends PostFilterDefinition, BeforePublishingDateFilterDefinition, AuthorFilterDefinition {
|
|
12038
|
-
}
|
|
12039
|
-
}
|
|
12040
|
-
declare module "libs/reach/feature/content/src/stream/usePostsStreamDataLoader" {
|
|
12041
|
-
import { PostStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
12042
|
-
import { ItemLoader } from "libs/reach/ui/common/src/index";
|
|
12043
|
-
import { PostStreamFilterDefinition } from "libs/reach/feature/content/src/stream/PostStreamFilterDefinition";
|
|
12044
|
-
export function usePostsStreamDataLoader(groupId?: string, filter?: PostStreamFilterDefinition, searchText?: string): ItemLoader<PostStreamItem, number>;
|
|
12045
|
-
export const POSTS_QUERY: (whereConditions?: string) => import("@apollo/client").DocumentNode;
|
|
12046
|
-
}
|
|
12047
|
-
declare module "libs/reach/feature/content/src/stream/usePagesStreamDataLoader" {
|
|
12048
|
-
import { ItemLoader } from "libs/reach/ui/common/src/index";
|
|
12049
|
-
import { PageStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
12050
|
-
import { PageFilterDefinition } from "libs/reach/feature/content/src/pages/PageFilterDefinition";
|
|
12051
|
-
export function usePagesStreamDataLoader(filter?: PageFilterDefinition, searchText?: string): ItemLoader<PageStreamItem, number>;
|
|
12052
|
-
}
|
|
12053
|
-
declare module "libs/reach/feature/content/src/stream/index" {
|
|
12054
|
-
export * from "libs/reach/feature/content/src/stream/StreamList";
|
|
12055
|
-
export * from "libs/reach/feature/content/src/stream/streamUtils";
|
|
12056
|
-
export * from "libs/reach/feature/content/src/stream/useStreamItemsQuery";
|
|
12057
|
-
export * from "libs/reach/feature/content/src/stream/StreamEventItemCard";
|
|
12058
|
-
export * from "libs/reach/feature/content/src/stream/StreamNewsItemCard";
|
|
12059
|
-
export * from "libs/reach/feature/content/src/stream/StreamPostItemCard";
|
|
12060
|
-
export * from "libs/reach/feature/content/src/stream/useNewsStreamDataLoader";
|
|
12061
|
-
export * from "libs/reach/feature/content/src/stream/useEventsStreamDataLoader";
|
|
12062
|
-
export * from "libs/reach/feature/content/src/stream/useMarkStreamItemsAsRead";
|
|
12063
|
-
export * from "libs/reach/feature/content/src/stream/usePostsStreamDataLoader";
|
|
12064
|
-
export * from "libs/reach/feature/content/src/stream/PostStreamFilterDefinition";
|
|
12065
|
-
export * from "libs/reach/feature/content/src/stream/usePagesStreamDataLoader";
|
|
12066
|
-
}
|
|
12067
12064
|
declare module "libs/reach/feature/content/src/search/index" {
|
|
12068
12065
|
export * from "libs/reach/feature/content/src/search/GlobalSearchButton";
|
|
12069
12066
|
}
|