@livetiles/reach-plugin-types 0.4.0-preview.889 → 0.4.0-preview.892

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.
Files changed (2) hide show
  1. package/lib/index.d.ts +11 -4
  2. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -1666,6 +1666,7 @@ declare module "libs/reach/util/common/src/content/ItemStatistics" {
1666
1666
  confirmationCount?: number;
1667
1667
  bookmarkCount?: number;
1668
1668
  participantsCount?: number;
1669
+ replyCount?: number;
1669
1670
  }
1670
1671
  }
1671
1672
  declare module "libs/reach/util/common/src/content/NotificationSettings" {
@@ -6787,6 +6788,7 @@ declare module "libs/reach/feature/content/src/news/NewsStatisticsSummary" {
6787
6788
  feedbackCounts: {
6788
6789
  [key: string]: number;
6789
6790
  };
6791
+ replyCount: number;
6790
6792
  }
6791
6793
  }
6792
6794
  declare module "libs/reach/feature/content/src/news/NewsApiService" {
@@ -7484,8 +7486,9 @@ declare module "libs/reach/feature/content/src/feedback/LikeButton" {
7484
7486
  }>;
7485
7487
  }
7486
7488
  declare module "libs/reach/feature/content/src/feedback/utils" {
7487
- import { FeedbackSettings } from "libs/reach/util/common/src/index";
7489
+ import { FeedbackSettings, ItemResourceTypes } from "libs/reach/util/common/src/index";
7488
7490
  export function hasFeedbackType(feedbackSettings: FeedbackSettings, feedbackType: string): boolean;
7491
+ export function getCommentAndReplyCountTooltipResource(itemType: ItemResourceTypes, replyToComments: boolean): string;
7489
7492
  }
7490
7493
  declare module "libs/reach/feature/content/src/common/cards/CardLikeButton" {
7491
7494
  import { ItemResourceTypes, NewsItem } from "libs/reach/util/common/src/index";
@@ -8210,6 +8213,9 @@ declare module "libs/reach/feature/content/src/common/cards/CardStatisticItem" {
8210
8213
  onClick?: () => unknown;
8211
8214
  className?: string;
8212
8215
  domIdentifier?: string;
8216
+ otherValues?: {
8217
+ [key: string]: any;
8218
+ };
8213
8219
  }>;
8214
8220
  }
8215
8221
  declare module "libs/reach/feature/content/src/news/bookmark-button/BookmarkButton" {
@@ -9193,7 +9199,8 @@ declare module "libs/reach/feature/content/src/comments/ThreadView" {
9193
9199
  groupIds: string[];
9194
9200
  baseAttachmentPath: string;
9195
9201
  getHashtagFilterRoute?: (hashtag: string) => string;
9196
- onThreadCommentDelete: () => unknown;
9202
+ onThreadCommentDelete: (comment: Comment) => unknown;
9203
+ onReplyCountChange?: (newReplyCount: number) => void;
9197
9204
  onShowAllComments?: () => void;
9198
9205
  trimContent?: boolean;
9199
9206
  className?: string;
@@ -9201,14 +9208,14 @@ declare module "libs/reach/feature/content/src/comments/ThreadView" {
9201
9208
  }
9202
9209
  declare module "libs/reach/feature/content/src/comments/PublishableItemThreadView" {
9203
9210
  import { FC } from 'react';
9204
- import { PublishableItem } from "libs/reach/util/common/src/index";
9211
+ import { Comment, PublishableItem } from "libs/reach/util/common/src/index";
9205
9212
  import { ItemResourceTypes } from "libs/reach/util/common/src/index";
9206
9213
  export const PublishableItemThreadView: FC<{
9207
9214
  item: PublishableItem;
9208
9215
  type: ItemResourceTypes;
9209
9216
  threadId: string;
9210
9217
  onShowAllComments: () => void;
9211
- onThreadCommentDelete: () => void;
9218
+ onThreadCommentDelete: (comment: Comment) => void;
9212
9219
  }>;
9213
9220
  }
9214
9221
  declare module "libs/reach/feature/content/src/feedback/FeedbackSection" {
package/package.json CHANGED
@@ -4,6 +4,6 @@
4
4
  "main": "",
5
5
  "types": "./index.d.ts",
6
6
  "license": "ISC",
7
- "version": "0.4.0-preview.889",
7
+ "version": "0.4.0-preview.892",
8
8
  "dependencies": {}
9
9
  }