@livetiles/reach-plugin-types 0.5.0-preview.671 → 0.5.0-preview.673
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 +4 -3
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -7674,7 +7674,7 @@ declare module "libs/reach/feature/content/src/comments/useCommentsPageLoader" {
|
|
|
7674
7674
|
};
|
|
7675
7675
|
type isLoadingType = boolean;
|
|
7676
7676
|
type hasNextPageType = boolean;
|
|
7677
|
-
type loadNextPageType = () => unknown;
|
|
7677
|
+
type loadNextPageType = (nextPageTokenOverride?: string, pageSizeOverride?: number, doNotSetIsLoading?: boolean) => unknown;
|
|
7678
7678
|
type setCommentsType = (updateComments: (prevComments: commentType[]) => commentType[], updateNextPageInfos?: (prevNextPageInfos: nextPageInfosType) => nextPageInfosType) => unknown;
|
|
7679
7679
|
type hasMoreUnreadCommentsType = boolean;
|
|
7680
7680
|
export function useCommentsPageLoader(type: ItemResourceTypes, scope: ConversationScope, itemId: string, pageSize: number, initialPageSize: number, initialComments?: PaginatedList<commentType>, preventLoading?: boolean, threadId?: string, shouldNotRefreshUserDetails?: boolean, shouldNotReverseOrder?: boolean): [
|
|
@@ -10657,7 +10657,7 @@ declare module "libs/reach/feature/content/src/reach-2/comments/CommentHeader" {
|
|
|
10657
10657
|
modifiedTime?: string;
|
|
10658
10658
|
onEdit?: () => void;
|
|
10659
10659
|
onDelete?: () => void;
|
|
10660
|
-
|
|
10660
|
+
readOnly?: boolean;
|
|
10661
10661
|
}>;
|
|
10662
10662
|
}
|
|
10663
10663
|
declare module "libs/reach/feature/content/src/reach-2/buttons/feedback/BaseLikeButton" {
|
|
@@ -10704,7 +10704,7 @@ declare module "libs/reach/feature/content/src/reach-2/comments/CommentDisplay"
|
|
|
10704
10704
|
comment: Comment;
|
|
10705
10705
|
onEdit?: () => void;
|
|
10706
10706
|
onDelete?: () => void;
|
|
10707
|
-
|
|
10707
|
+
readOnly?: boolean;
|
|
10708
10708
|
onReply?: () => void;
|
|
10709
10709
|
className?: string;
|
|
10710
10710
|
}>;
|
|
@@ -10749,6 +10749,7 @@ declare module "libs/reach/feature/content/src/reach-2/comments/CommentListItem"
|
|
|
10749
10749
|
}>;
|
|
10750
10750
|
export const CommentListItem: FC<CommentItemProps & {
|
|
10751
10751
|
onReply?: () => void;
|
|
10752
|
+
onEdit?: (isEditMode?: boolean) => void;
|
|
10752
10753
|
}>;
|
|
10753
10754
|
}
|
|
10754
10755
|
declare module "libs/reach/feature/content/src/reach-2/comments/CommentsList" {
|