@livetiles/reach-plugin-types 0.4.0-preview.784 → 0.4.0-preview.788
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 +51 -43
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -8162,49 +8162,6 @@ declare module "libs/reach/feature/content/src/comments/EditCommentWithAttachmen
|
|
|
8162
8162
|
export const EditCommentWithAttachments: FC<Props>;
|
|
8163
8163
|
export function isClientAttachment(value: ClientAttachment | Attachment): value is ClientAttachment;
|
|
8164
8164
|
}
|
|
8165
|
-
declare module "libs/reach/feature/content/src/comments/CommentDisplay" {
|
|
8166
|
-
import { FC } from 'react';
|
|
8167
|
-
import { Comment, ConversationScope } from "libs/reach/util/common/src/index";
|
|
8168
|
-
import { Account } from "libs/reach/util/common/src/index";
|
|
8169
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8170
|
-
interface Props {
|
|
8171
|
-
type?: ItemResourceTypes;
|
|
8172
|
-
baseAttachmentPath?: string;
|
|
8173
|
-
message: Comment;
|
|
8174
|
-
showDelete?: boolean;
|
|
8175
|
-
showAutoTranslate?: boolean;
|
|
8176
|
-
showEdit?: boolean;
|
|
8177
|
-
onDelete?: (comment: Comment) => void;
|
|
8178
|
-
onTranslateClick?: (comment: Comment, targetLanguage: string) => void;
|
|
8179
|
-
scope: ConversationScope;
|
|
8180
|
-
mentionSearchHandler: (searchText: string) => Promise<Account[]>;
|
|
8181
|
-
getHashtagFilterRoute?: (hashtag: string) => string;
|
|
8182
|
-
highlight?: boolean;
|
|
8183
|
-
isInitialLiked?: boolean;
|
|
8184
|
-
onReplyIconClick?: () => void;
|
|
8185
|
-
onReply?: (commentId: string, commentSender?: Account) => void;
|
|
8186
|
-
replyCount?: number;
|
|
8187
|
-
readOnly?: boolean;
|
|
8188
|
-
className?: string;
|
|
8189
|
-
}
|
|
8190
|
-
export const CommentDisplay: FC<Props>;
|
|
8191
|
-
}
|
|
8192
|
-
declare module "libs/reach/feature/content/src/comments/index" {
|
|
8193
|
-
export * from "libs/reach/feature/content/src/comments/ContentDisplay";
|
|
8194
|
-
export * from "libs/reach/feature/content/src/comments/FollowComments";
|
|
8195
|
-
export * from "libs/reach/feature/content/src/comments/CreateComment";
|
|
8196
|
-
export * from "libs/reach/feature/content/src/comments/useCommentApi";
|
|
8197
|
-
export * from "libs/reach/feature/content/src/comments/CommentDisplay";
|
|
8198
|
-
export * from "libs/reach/feature/content/src/comments/useCommentApi";
|
|
8199
|
-
export * from "libs/reach/feature/content/src/comments/UrlMatcher";
|
|
8200
|
-
export * from "libs/reach/feature/content/src/comments/ContentDisplay";
|
|
8201
|
-
export * from "libs/reach/feature/content/src/comments/RichCommentInput";
|
|
8202
|
-
export * from "libs/reach/feature/content/src/comments/ContentDisplay";
|
|
8203
|
-
export * from "libs/reach/feature/content/src/comments/AttachmentList";
|
|
8204
|
-
export * from "libs/reach/feature/content/src/comments/EditCommentWithAttachments";
|
|
8205
|
-
export * from "libs/reach/feature/content/src/comments/RichCommentInputWithAttachmentList";
|
|
8206
|
-
export * from "libs/reach/feature/content/src/comments/CommentInput";
|
|
8207
|
-
}
|
|
8208
8165
|
declare module "libs/reach/feature/content/src/common/cards/CardStatisticItem" {
|
|
8209
8166
|
import { FC } from 'react';
|
|
8210
8167
|
export const CardStatisticItem: FC<{
|
|
@@ -9056,6 +9013,7 @@ declare module "libs/reach/feature/content/src/comments/CommentList" {
|
|
|
9056
9013
|
getHashtagFilterRoute?: (hashtag: string) => string;
|
|
9057
9014
|
onReply?: (commentId: string, commentSender: Account) => void;
|
|
9058
9015
|
readOnly?: boolean;
|
|
9016
|
+
trimContent?: boolean;
|
|
9059
9017
|
className?: string;
|
|
9060
9018
|
}
|
|
9061
9019
|
export const CommentList: FC<CommentListProps>;
|
|
@@ -9113,6 +9071,7 @@ declare module "libs/reach/feature/content/src/comments/PagedCommentsSection" {
|
|
|
9113
9071
|
[key: string]: string | number | boolean | Date;
|
|
9114
9072
|
};
|
|
9115
9073
|
showReplyBox?: boolean;
|
|
9074
|
+
trimContent?: boolean;
|
|
9116
9075
|
title?: ReactNode;
|
|
9117
9076
|
onThreadReply?: (threadId: string) => void;
|
|
9118
9077
|
className?: string;
|
|
@@ -9196,6 +9155,7 @@ declare module "libs/reach/feature/content/src/comments/ThreadView" {
|
|
|
9196
9155
|
getHashtagFilterRoute?: (hashtag: string) => string;
|
|
9197
9156
|
onThreadCommentDelete: () => unknown;
|
|
9198
9157
|
onShowAllComments?: () => void;
|
|
9158
|
+
trimContent?: boolean;
|
|
9199
9159
|
className?: string;
|
|
9200
9160
|
}>;
|
|
9201
9161
|
}
|
|
@@ -9651,7 +9611,9 @@ declare module "libs/reach/feature/content/src/common/sidebar/SidebarGroup" {
|
|
|
9651
9611
|
declare module "libs/reach/feature/content/src/common/ContentWithShowMoreButton" {
|
|
9652
9612
|
import { FC } from 'react';
|
|
9653
9613
|
export const ContentWithShowMoreButton: FC<{
|
|
9614
|
+
domIdentifier: string;
|
|
9654
9615
|
trimContent: boolean;
|
|
9616
|
+
className?: string;
|
|
9655
9617
|
}>;
|
|
9656
9618
|
}
|
|
9657
9619
|
declare module "libs/reach/feature/content/src/common/index" {
|
|
@@ -9754,6 +9716,50 @@ declare module "libs/reach/feature/content/src/common/index" {
|
|
|
9754
9716
|
export * from "libs/reach/feature/content/src/common/sidebar/SidebarItemSection";
|
|
9755
9717
|
export * from "libs/reach/feature/content/src/common/ContentWithShowMoreButton";
|
|
9756
9718
|
}
|
|
9719
|
+
declare module "libs/reach/feature/content/src/comments/CommentDisplay" {
|
|
9720
|
+
import { FC } from 'react';
|
|
9721
|
+
import { Comment, ConversationScope } from "libs/reach/util/common/src/index";
|
|
9722
|
+
import { Account } from "libs/reach/util/common/src/index";
|
|
9723
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
9724
|
+
interface Props {
|
|
9725
|
+
type?: ItemResourceTypes;
|
|
9726
|
+
baseAttachmentPath?: string;
|
|
9727
|
+
message: Comment;
|
|
9728
|
+
showDelete?: boolean;
|
|
9729
|
+
showAutoTranslate?: boolean;
|
|
9730
|
+
showEdit?: boolean;
|
|
9731
|
+
onDelete?: (comment: Comment) => void;
|
|
9732
|
+
onTranslateClick?: (comment: Comment, targetLanguage: string) => void;
|
|
9733
|
+
scope: ConversationScope;
|
|
9734
|
+
mentionSearchHandler: (searchText: string) => Promise<Account[]>;
|
|
9735
|
+
getHashtagFilterRoute?: (hashtag: string) => string;
|
|
9736
|
+
highlight?: boolean;
|
|
9737
|
+
isInitialLiked?: boolean;
|
|
9738
|
+
onReplyIconClick?: () => void;
|
|
9739
|
+
onReply?: (commentId: string, commentSender?: Account) => void;
|
|
9740
|
+
replyCount?: number;
|
|
9741
|
+
readOnly?: boolean;
|
|
9742
|
+
trimContent?: boolean;
|
|
9743
|
+
className?: string;
|
|
9744
|
+
}
|
|
9745
|
+
export const CommentDisplay: FC<Props>;
|
|
9746
|
+
}
|
|
9747
|
+
declare module "libs/reach/feature/content/src/comments/index" {
|
|
9748
|
+
export * from "libs/reach/feature/content/src/comments/ContentDisplay";
|
|
9749
|
+
export * from "libs/reach/feature/content/src/comments/FollowComments";
|
|
9750
|
+
export * from "libs/reach/feature/content/src/comments/CreateComment";
|
|
9751
|
+
export * from "libs/reach/feature/content/src/comments/useCommentApi";
|
|
9752
|
+
export * from "libs/reach/feature/content/src/comments/CommentDisplay";
|
|
9753
|
+
export * from "libs/reach/feature/content/src/comments/useCommentApi";
|
|
9754
|
+
export * from "libs/reach/feature/content/src/comments/UrlMatcher";
|
|
9755
|
+
export * from "libs/reach/feature/content/src/comments/ContentDisplay";
|
|
9756
|
+
export * from "libs/reach/feature/content/src/comments/RichCommentInput";
|
|
9757
|
+
export * from "libs/reach/feature/content/src/comments/ContentDisplay";
|
|
9758
|
+
export * from "libs/reach/feature/content/src/comments/AttachmentList";
|
|
9759
|
+
export * from "libs/reach/feature/content/src/comments/EditCommentWithAttachments";
|
|
9760
|
+
export * from "libs/reach/feature/content/src/comments/RichCommentInputWithAttachmentList";
|
|
9761
|
+
export * from "libs/reach/feature/content/src/comments/CommentInput";
|
|
9762
|
+
}
|
|
9757
9763
|
declare module "libs/reach/feature/content/src/feedback/index" {
|
|
9758
9764
|
export * from "libs/reach/feature/content/src/feedback/ConfirmationSection";
|
|
9759
9765
|
export * from "libs/reach/feature/content/src/feedback/GutterMakerIcon";
|
|
@@ -9959,6 +9965,7 @@ declare module "libs/reach/feature/content/src/posts/PostReplies" {
|
|
|
9959
9965
|
onReplyAdded: () => void;
|
|
9960
9966
|
onReplyDeleted: () => void;
|
|
9961
9967
|
onThreadReply?: (threadId: string) => void;
|
|
9968
|
+
trimContent?: boolean;
|
|
9962
9969
|
}
|
|
9963
9970
|
export const PostReplies: FC<Props>;
|
|
9964
9971
|
}
|
|
@@ -10055,6 +10062,7 @@ declare module "libs/reach/feature/content/src/posts/PostListItem" {
|
|
|
10055
10062
|
onBeforeDelete?: (id: string) => unknown;
|
|
10056
10063
|
onAfterDelete?: (id: string) => unknown;
|
|
10057
10064
|
trimContent?: boolean;
|
|
10065
|
+
targetUrl?: string;
|
|
10058
10066
|
postGroupTargetUrl?: string;
|
|
10059
10067
|
}
|
|
10060
10068
|
export const PostListItem: FC<Props>;
|