@livetiles/reach-plugin-types 0.4.0-preview.862 → 0.4.0-preview.867
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 +3 -3
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -4931,7 +4931,7 @@ declare module "apps/reach-app/src/app/chrome/CloseButton" {
|
|
|
4931
4931
|
className?: string;
|
|
4932
4932
|
}
|
|
4933
4933
|
export const CloseButton: FC<Props>;
|
|
4934
|
-
export function useEscapeOnClose(onClose:
|
|
4934
|
+
export function useEscapeOnClose(onClose: () => void): void;
|
|
4935
4935
|
}
|
|
4936
4936
|
declare module "apps/reach-app/src/app/chrome/Header" {
|
|
4937
4937
|
import { FC, Dispatch, SetStateAction, ReactNode, HTMLProps } from 'react';
|
|
@@ -12059,13 +12059,13 @@ declare module "libs/reach/feature/content/src/stream/usePostsStreamDataLoader"
|
|
|
12059
12059
|
export const POSTS_QUERY: (whereConditions?: string) => import("@apollo/client").DocumentNode;
|
|
12060
12060
|
}
|
|
12061
12061
|
declare module "libs/reach/feature/content/src/stream/useMarkStreamItemsAsRead" {
|
|
12062
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
12063
12062
|
import { StreamFilterDefinition } from "libs/reach/feature/content/src/stream/useStreamItemsQuery";
|
|
12063
|
+
import { ItemTypeFilterFlag } from "libs/reach/feature/content/src/filter/index";
|
|
12064
12064
|
export interface onMarkAsReadHandlers {
|
|
12065
12065
|
onStarted?: () => unknown;
|
|
12066
12066
|
onFinished?: () => unknown;
|
|
12067
12067
|
}
|
|
12068
|
-
export function
|
|
12068
|
+
export function useMarkStreamItemsAsRead(itemTypes: ItemTypeFilterFlag, filter?: StreamFilterDefinition, searchText?: string, handlers?: onMarkAsReadHandlers, unreadCount?: number): () => Promise<void>;
|
|
12069
12069
|
}
|
|
12070
12070
|
declare module "libs/reach/feature/content/src/stream/index" {
|
|
12071
12071
|
export * from "libs/reach/feature/content/src/stream/StreamList";
|