@livetiles/reach-plugin-types 0.5.0-preview.532 → 0.5.0-preview.533
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 +108 -108
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -2952,24 +2952,6 @@ declare module "libs/reach/util/common/src/analytics/AnalyticsContextProvider" {
|
|
|
2952
2952
|
}>;
|
|
2953
2953
|
export const AnalyticsContextProvider: FC;
|
|
2954
2954
|
}
|
|
2955
|
-
declare module "libs/reach/util/common/src/PagingService" {
|
|
2956
|
-
import { Observable } from 'rxjs';
|
|
2957
|
-
export interface ScrollHandlerInfo {
|
|
2958
|
-
availableScrollSpace: number;
|
|
2959
|
-
containerWidth: number;
|
|
2960
|
-
containerHeight: number;
|
|
2961
|
-
}
|
|
2962
|
-
export const onPageScroll: Observable<ScrollHandlerInfo>;
|
|
2963
|
-
export const onPageScrollWithoutDebounce: Observable<ScrollHandlerInfo>;
|
|
2964
|
-
export function handlePageScroll(availableScrollSpace: number, containerWidth: number, containerHeight: number): void;
|
|
2965
|
-
export function setPageTitle(subscriptionName: string, title?: string): void;
|
|
2966
|
-
export function usePageScrollListener(onScroll: (info: ScrollHandlerInfo) => void, doNotDebounce?: boolean): void;
|
|
2967
|
-
}
|
|
2968
|
-
declare module "libs/reach/util/common/src/analytics/useAnalyticsViewTrack" {
|
|
2969
|
-
import { BaseItem, ItemResourceTypes } from "libs/reach/util/common/src/content/index";
|
|
2970
|
-
export function useAnalyticsViewTrackWithPagination(startTracking: boolean, items: BaseItem[], itemResourceType: ItemResourceTypes): void;
|
|
2971
|
-
export function useAnalyticsViewTrack(startTracking: boolean, itemResourceType?: ItemResourceTypes, thresholdPercentageOverride?: number): void;
|
|
2972
|
-
}
|
|
2973
2955
|
declare module "libs/reach/util/common/src/useModalRouting" {
|
|
2974
2956
|
export interface ModalRouting {
|
|
2975
2957
|
isActive: boolean;
|
|
@@ -3012,7 +2994,6 @@ declare module "libs/reach/util/common/src/analytics/useAnalyticsNavigateTrack"
|
|
|
3012
2994
|
declare module "libs/reach/util/common/src/analytics/index" {
|
|
3013
2995
|
export * from "libs/reach/util/common/src/analytics/AnalyticsContextProvider";
|
|
3014
2996
|
export * from "libs/reach/util/common/src/analytics/analyticsUtils";
|
|
3015
|
-
export * from "libs/reach/util/common/src/analytics/useAnalyticsViewTrack";
|
|
3016
2997
|
export * from "libs/reach/util/common/src/analytics/useAnalyticsActivityTrack";
|
|
3017
2998
|
export * from "libs/reach/util/common/src/analytics/useAnalyticsNavigateTrack";
|
|
3018
2999
|
export * from "libs/reach/util/common/src/analytics/AnalyticsModuleContextProvider";
|
|
@@ -3765,6 +3746,19 @@ declare module "libs/reach/util/common/src/MainContentPanelContext" {
|
|
|
3765
3746
|
}
|
|
3766
3747
|
export const MainContentPanelContext: import("react").Context<MainPanelContextType>;
|
|
3767
3748
|
}
|
|
3749
|
+
declare module "libs/reach/util/common/src/PagingService" {
|
|
3750
|
+
import { Observable } from 'rxjs';
|
|
3751
|
+
export interface ScrollHandlerInfo {
|
|
3752
|
+
availableScrollSpace: number;
|
|
3753
|
+
containerWidth: number;
|
|
3754
|
+
containerHeight: number;
|
|
3755
|
+
}
|
|
3756
|
+
export const onPageScroll: Observable<ScrollHandlerInfo>;
|
|
3757
|
+
export const onPageScrollWithoutDebounce: Observable<ScrollHandlerInfo>;
|
|
3758
|
+
export function handlePageScroll(availableScrollSpace: number, containerWidth: number, containerHeight: number): void;
|
|
3759
|
+
export function setPageTitle(subscriptionName: string, title?: string): void;
|
|
3760
|
+
export function usePageScrollListener(onScroll: (info: ScrollHandlerInfo) => void, doNotDebounce?: boolean): void;
|
|
3761
|
+
}
|
|
3768
3762
|
declare module "libs/reach/util/common/src/keyword-utils" {
|
|
3769
3763
|
import { Keyword } from "libs/reach/util/common/src/content/KeywordGroup";
|
|
3770
3764
|
import { SchedulableItem } from "libs/reach/util/common/src/content/NewsItem";
|
|
@@ -9984,6 +9978,100 @@ declare module "libs/reach/feature/content/src/common/hooks/useAnalyticsSearchTr
|
|
|
9984
9978
|
export function useAnalyticsSearchTracking(items?: (PublishableItem | Post | StreamItem)[], disableTracking?: boolean, itemType?: ItemResourceTypes): void;
|
|
9985
9979
|
export function useClearSearchSessionOnLeave(): void;
|
|
9986
9980
|
}
|
|
9981
|
+
declare module "libs/reach/feature/content/src/stream/StreamPostItemCard" {
|
|
9982
|
+
import { FC } from 'react';
|
|
9983
|
+
import { PostStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
9984
|
+
export const StreamPostItemCard: FC<{
|
|
9985
|
+
post: PostStreamItem;
|
|
9986
|
+
onPostDelete: (id: string) => unknown;
|
|
9987
|
+
}>;
|
|
9988
|
+
}
|
|
9989
|
+
declare module "libs/reach/feature/content/src/stream/StreamNewsItemCard" {
|
|
9990
|
+
import { FC } from 'react';
|
|
9991
|
+
import { NewsStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
9992
|
+
export const StreamNewsItemCard: FC<{
|
|
9993
|
+
news: NewsStreamItem;
|
|
9994
|
+
}>;
|
|
9995
|
+
}
|
|
9996
|
+
declare module "libs/reach/feature/content/src/stream/StreamEventItemCard" {
|
|
9997
|
+
import { FC } from 'react';
|
|
9998
|
+
import { EventStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
9999
|
+
export const StreamEventItemCard: FC<{
|
|
10000
|
+
event: EventStreamItem;
|
|
10001
|
+
}>;
|
|
10002
|
+
}
|
|
10003
|
+
declare module "libs/reach/feature/content/src/search/GlobalSearchButton" {
|
|
10004
|
+
import { FC } from 'react';
|
|
10005
|
+
export const GlobalSearchButton: FC<{
|
|
10006
|
+
className?: string;
|
|
10007
|
+
}>;
|
|
10008
|
+
}
|
|
10009
|
+
declare module "libs/reach/feature/content/src/stream/StreamList" {
|
|
10010
|
+
import { FC, ReactNode } from 'react';
|
|
10011
|
+
export const StreamList: FC<{
|
|
10012
|
+
emptySearchResultButton?: ReactNode;
|
|
10013
|
+
}>;
|
|
10014
|
+
}
|
|
10015
|
+
declare module "libs/reach/feature/content/src/stream/useNewsStreamDataLoader" {
|
|
10016
|
+
import { ItemLoader } from "libs/reach/ui/common/src/index";
|
|
10017
|
+
import { NewsFilterDefinition } from "libs/reach/feature/content/src/filter/index";
|
|
10018
|
+
import { NewsStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
10019
|
+
export function useNewsStreamDataLoader(filter?: NewsFilterDefinition, searchText?: string, includeAllItems?: boolean): ItemLoader<NewsStreamItem, number>;
|
|
10020
|
+
}
|
|
10021
|
+
declare module "libs/reach/feature/content/src/stream/useEventsStreamDataLoader" {
|
|
10022
|
+
import { EventStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
10023
|
+
import { EventView, ItemLoader } from "libs/reach/ui/common/src/index";
|
|
10024
|
+
import { EventFilterDefinition } from "libs/reach/feature/content/src/filter/EventFilterDefinition";
|
|
10025
|
+
export function useEventsStreamDataLoader(filter?: EventFilterDefinition, searchText?: string, view?: EventView): ItemLoader<EventStreamItem, number>;
|
|
10026
|
+
export function getEventsFilterByView(filter: EventFilterDefinition, view: EventView): EventFilterDefinition;
|
|
10027
|
+
export const CONTACTS_CONDITION: (contacts: string[]) => string;
|
|
10028
|
+
}
|
|
10029
|
+
declare module "libs/reach/feature/content/src/stream/PostStreamFilterDefinition" {
|
|
10030
|
+
import { AuthorFilterDefinition, BeforePublishingDateFilterDefinition, PostFilterDefinition } from "libs/reach/feature/content/src/index";
|
|
10031
|
+
export interface PostStreamFilterDefinition extends PostFilterDefinition, BeforePublishingDateFilterDefinition, AuthorFilterDefinition {
|
|
10032
|
+
}
|
|
10033
|
+
}
|
|
10034
|
+
declare module "libs/reach/feature/content/src/stream/usePostsStreamDataLoader" {
|
|
10035
|
+
import { PostStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
10036
|
+
import { ItemLoader } from "libs/reach/ui/common/src/index";
|
|
10037
|
+
import { PostStreamFilterDefinition } from "libs/reach/feature/content/src/stream/PostStreamFilterDefinition";
|
|
10038
|
+
export function usePostsStreamDataLoader(groupId?: string, filter?: PostStreamFilterDefinition, searchText?: string): ItemLoader<PostStreamItem, number>;
|
|
10039
|
+
export const POSTS_QUERY: (whereConditions?: string) => import("@apollo/client").DocumentNode;
|
|
10040
|
+
}
|
|
10041
|
+
declare module "libs/reach/feature/content/src/stream/useMarkStreamItemsAsRead" {
|
|
10042
|
+
import { StreamFilterDefinition } from "libs/reach/feature/content/src/stream/useStreamItemsQuery";
|
|
10043
|
+
import { ItemTypeFilterFlag } from "libs/reach/feature/content/src/filter/index";
|
|
10044
|
+
export interface onMarkAsReadHandlers {
|
|
10045
|
+
onStarted?: () => unknown;
|
|
10046
|
+
onFinished?: () => unknown;
|
|
10047
|
+
}
|
|
10048
|
+
export function useMarkStreamItemsAsRead(itemTypes: ItemTypeFilterFlag, filter?: StreamFilterDefinition, searchText?: string, handlers?: onMarkAsReadHandlers, unreadCount?: number): () => Promise<void>;
|
|
10049
|
+
}
|
|
10050
|
+
declare module "libs/reach/feature/content/src/stream/usePagesStreamDataLoader" {
|
|
10051
|
+
import { ItemLoader } from "libs/reach/ui/common/src/index";
|
|
10052
|
+
import { PageStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
10053
|
+
import { PageFilterDefinition } from "libs/reach/feature/content/src/pages/PageFilterDefinition";
|
|
10054
|
+
export function usePagesStreamDataLoader(filter?: PageFilterDefinition, searchText?: string): ItemLoader<PageStreamItem, number>;
|
|
10055
|
+
}
|
|
10056
|
+
declare module "libs/reach/feature/content/src/stream/index" {
|
|
10057
|
+
export * from "libs/reach/feature/content/src/stream/StreamList";
|
|
10058
|
+
export * from "libs/reach/feature/content/src/stream/streamUtils";
|
|
10059
|
+
export * from "libs/reach/feature/content/src/stream/useStreamItemsQuery";
|
|
10060
|
+
export * from "libs/reach/feature/content/src/stream/StreamEventItemCard";
|
|
10061
|
+
export * from "libs/reach/feature/content/src/stream/StreamNewsItemCard";
|
|
10062
|
+
export * from "libs/reach/feature/content/src/stream/StreamPostItemCard";
|
|
10063
|
+
export * from "libs/reach/feature/content/src/stream/useNewsStreamDataLoader";
|
|
10064
|
+
export * from "libs/reach/feature/content/src/stream/useEventsStreamDataLoader";
|
|
10065
|
+
export * from "libs/reach/feature/content/src/stream/usePostsStreamDataLoader";
|
|
10066
|
+
export * from "libs/reach/feature/content/src/stream/useMarkStreamItemsAsRead";
|
|
10067
|
+
export * from "libs/reach/feature/content/src/stream/PostStreamFilterDefinition";
|
|
10068
|
+
export * from "libs/reach/feature/content/src/stream/usePagesStreamDataLoader";
|
|
10069
|
+
}
|
|
10070
|
+
declare module "libs/reach/feature/content/src/common/hooks/useAnalyticsViewTrack" {
|
|
10071
|
+
import { BaseItem, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
10072
|
+
export function useAnalyticsViewTrackWithPagination(startTracking: boolean, items: BaseItem[], itemResourceType: ItemResourceTypes): void;
|
|
10073
|
+
export function useAnalyticsViewTrack(startTracking: boolean, itemResourceType?: ItemResourceTypes, thresholdPercentageOverride?: number): void;
|
|
10074
|
+
}
|
|
9987
10075
|
declare module "libs/reach/feature/content/src/common/hooks/useClickOutside" {
|
|
9988
10076
|
interface IClickHandles {
|
|
9989
10077
|
onInsideClick: () => void;
|
|
@@ -10013,6 +10101,7 @@ declare module "libs/reach/feature/content/src/common/hooks/useEscapeOnClose" {
|
|
|
10013
10101
|
}
|
|
10014
10102
|
declare module "libs/reach/feature/content/src/common/hooks/index" {
|
|
10015
10103
|
export * from "libs/reach/feature/content/src/common/hooks/useAnalyticsSearchTracking";
|
|
10104
|
+
export * from "libs/reach/feature/content/src/common/hooks/useAnalyticsViewTrack";
|
|
10016
10105
|
export * from "libs/reach/feature/content/src/common/hooks/useClickOutside";
|
|
10017
10106
|
export * from "libs/reach/feature/content/src/common/hooks/useCommonEditorApi";
|
|
10018
10107
|
export * from "libs/reach/feature/content/src/common/hooks/useContainerDimensions";
|
|
@@ -10519,95 +10608,6 @@ declare module "libs/reach/feature/content/src/editor/index" {
|
|
|
10519
10608
|
declare module "libs/reach/feature/content/src/public-user/index" {
|
|
10520
10609
|
export * from "libs/reach/feature/content/src/public-user/PublicUserFullAccessButton";
|
|
10521
10610
|
}
|
|
10522
|
-
declare module "libs/reach/feature/content/src/stream/StreamPostItemCard" {
|
|
10523
|
-
import { FC } from 'react';
|
|
10524
|
-
import { PostStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
10525
|
-
export const StreamPostItemCard: FC<{
|
|
10526
|
-
post: PostStreamItem;
|
|
10527
|
-
onPostDelete: (id: string) => unknown;
|
|
10528
|
-
}>;
|
|
10529
|
-
}
|
|
10530
|
-
declare module "libs/reach/feature/content/src/stream/StreamNewsItemCard" {
|
|
10531
|
-
import { FC } from 'react';
|
|
10532
|
-
import { NewsStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
10533
|
-
export const StreamNewsItemCard: FC<{
|
|
10534
|
-
news: NewsStreamItem;
|
|
10535
|
-
}>;
|
|
10536
|
-
}
|
|
10537
|
-
declare module "libs/reach/feature/content/src/stream/StreamEventItemCard" {
|
|
10538
|
-
import { FC } from 'react';
|
|
10539
|
-
import { EventStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
10540
|
-
export const StreamEventItemCard: FC<{
|
|
10541
|
-
event: EventStreamItem;
|
|
10542
|
-
}>;
|
|
10543
|
-
}
|
|
10544
|
-
declare module "libs/reach/feature/content/src/search/GlobalSearchButton" {
|
|
10545
|
-
import { FC } from 'react';
|
|
10546
|
-
export const GlobalSearchButton: FC<{
|
|
10547
|
-
className?: string;
|
|
10548
|
-
}>;
|
|
10549
|
-
}
|
|
10550
|
-
declare module "libs/reach/feature/content/src/stream/StreamList" {
|
|
10551
|
-
import { FC, ReactNode } from 'react';
|
|
10552
|
-
export const StreamList: FC<{
|
|
10553
|
-
emptySearchResultButton?: ReactNode;
|
|
10554
|
-
}>;
|
|
10555
|
-
}
|
|
10556
|
-
declare module "libs/reach/feature/content/src/stream/useNewsStreamDataLoader" {
|
|
10557
|
-
import { ItemLoader } from "libs/reach/ui/common/src/index";
|
|
10558
|
-
import { NewsFilterDefinition } from "libs/reach/feature/content/src/filter/index";
|
|
10559
|
-
import { NewsStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
10560
|
-
export function useNewsStreamDataLoader(filter?: NewsFilterDefinition, searchText?: string, includeAllItems?: boolean): ItemLoader<NewsStreamItem, number>;
|
|
10561
|
-
}
|
|
10562
|
-
declare module "libs/reach/feature/content/src/stream/useEventsStreamDataLoader" {
|
|
10563
|
-
import { EventStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
10564
|
-
import { EventView, ItemLoader } from "libs/reach/ui/common/src/index";
|
|
10565
|
-
import { EventFilterDefinition } from "libs/reach/feature/content/src/filter/EventFilterDefinition";
|
|
10566
|
-
export function useEventsStreamDataLoader(filter?: EventFilterDefinition, searchText?: string, view?: EventView): ItemLoader<EventStreamItem, number>;
|
|
10567
|
-
export function getEventsFilterByView(filter: EventFilterDefinition, view: EventView): EventFilterDefinition;
|
|
10568
|
-
export const CONTACTS_CONDITION: (contacts: string[]) => string;
|
|
10569
|
-
}
|
|
10570
|
-
declare module "libs/reach/feature/content/src/stream/PostStreamFilterDefinition" {
|
|
10571
|
-
import { AuthorFilterDefinition, BeforePublishingDateFilterDefinition, PostFilterDefinition } from "libs/reach/feature/content/src/index";
|
|
10572
|
-
export interface PostStreamFilterDefinition extends PostFilterDefinition, BeforePublishingDateFilterDefinition, AuthorFilterDefinition {
|
|
10573
|
-
}
|
|
10574
|
-
}
|
|
10575
|
-
declare module "libs/reach/feature/content/src/stream/usePostsStreamDataLoader" {
|
|
10576
|
-
import { PostStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
10577
|
-
import { ItemLoader } from "libs/reach/ui/common/src/index";
|
|
10578
|
-
import { PostStreamFilterDefinition } from "libs/reach/feature/content/src/stream/PostStreamFilterDefinition";
|
|
10579
|
-
export function usePostsStreamDataLoader(groupId?: string, filter?: PostStreamFilterDefinition, searchText?: string): ItemLoader<PostStreamItem, number>;
|
|
10580
|
-
export const POSTS_QUERY: (whereConditions?: string) => import("@apollo/client").DocumentNode;
|
|
10581
|
-
}
|
|
10582
|
-
declare module "libs/reach/feature/content/src/stream/useMarkStreamItemsAsRead" {
|
|
10583
|
-
import { StreamFilterDefinition } from "libs/reach/feature/content/src/stream/useStreamItemsQuery";
|
|
10584
|
-
import { ItemTypeFilterFlag } from "libs/reach/feature/content/src/filter/index";
|
|
10585
|
-
export interface onMarkAsReadHandlers {
|
|
10586
|
-
onStarted?: () => unknown;
|
|
10587
|
-
onFinished?: () => unknown;
|
|
10588
|
-
}
|
|
10589
|
-
export function useMarkStreamItemsAsRead(itemTypes: ItemTypeFilterFlag, filter?: StreamFilterDefinition, searchText?: string, handlers?: onMarkAsReadHandlers, unreadCount?: number): () => Promise<void>;
|
|
10590
|
-
}
|
|
10591
|
-
declare module "libs/reach/feature/content/src/stream/usePagesStreamDataLoader" {
|
|
10592
|
-
import { ItemLoader } from "libs/reach/ui/common/src/index";
|
|
10593
|
-
import { PageStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
10594
|
-
import { PageFilterDefinition } from "libs/reach/feature/content/src/pages/PageFilterDefinition";
|
|
10595
|
-
export function usePagesStreamDataLoader(filter?: PageFilterDefinition, searchText?: string): ItemLoader<PageStreamItem, number>;
|
|
10596
|
-
}
|
|
10597
|
-
declare module "libs/reach/feature/content/src/stream/index" {
|
|
10598
|
-
export * from "libs/reach/feature/content/src/stream/StreamList";
|
|
10599
|
-
export * from "libs/reach/feature/content/src/stream/streamUtils";
|
|
10600
|
-
export * from "libs/reach/feature/content/src/stream/useStreamItemsQuery";
|
|
10601
|
-
export * from "libs/reach/feature/content/src/stream/StreamEventItemCard";
|
|
10602
|
-
export * from "libs/reach/feature/content/src/stream/StreamNewsItemCard";
|
|
10603
|
-
export * from "libs/reach/feature/content/src/stream/StreamPostItemCard";
|
|
10604
|
-
export * from "libs/reach/feature/content/src/stream/useNewsStreamDataLoader";
|
|
10605
|
-
export * from "libs/reach/feature/content/src/stream/useEventsStreamDataLoader";
|
|
10606
|
-
export * from "libs/reach/feature/content/src/stream/usePostsStreamDataLoader";
|
|
10607
|
-
export * from "libs/reach/feature/content/src/stream/useMarkStreamItemsAsRead";
|
|
10608
|
-
export * from "libs/reach/feature/content/src/stream/PostStreamFilterDefinition";
|
|
10609
|
-
export * from "libs/reach/feature/content/src/stream/usePagesStreamDataLoader";
|
|
10610
|
-
}
|
|
10611
10611
|
declare module "libs/reach/feature/content/src/search/index" {
|
|
10612
10612
|
export * from "libs/reach/feature/content/src/search/GlobalSearchButton";
|
|
10613
10613
|
}
|