@livetiles/reach-plugin-types 0.4.0-preview.890 → 0.4.0-preview.894

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 +15 -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" {
@@ -6331,6 +6332,10 @@ declare module "apps/reach-app/src/app/admin/users/ExportUserButton" {
6331
6332
  className?: string;
6332
6333
  }>;
6333
6334
  }
6335
+ declare module "apps/reach-app/src/app/admin/users/GenerateApiKeyButton" {
6336
+ import { FC } from 'react';
6337
+ export const GenerateApiKeyButton: FC;
6338
+ }
6334
6339
  declare module "apps/reach-app/src/app/admin/users/UsersPage" {
6335
6340
  import { FC } from 'react';
6336
6341
  export const UsersPage: FC;
@@ -6787,6 +6792,7 @@ declare module "libs/reach/feature/content/src/news/NewsStatisticsSummary" {
6787
6792
  feedbackCounts: {
6788
6793
  [key: string]: number;
6789
6794
  };
6795
+ replyCount: number;
6790
6796
  }
6791
6797
  }
6792
6798
  declare module "libs/reach/feature/content/src/news/NewsApiService" {
@@ -7484,8 +7490,9 @@ declare module "libs/reach/feature/content/src/feedback/LikeButton" {
7484
7490
  }>;
7485
7491
  }
7486
7492
  declare module "libs/reach/feature/content/src/feedback/utils" {
7487
- import { FeedbackSettings } from "libs/reach/util/common/src/index";
7493
+ import { FeedbackSettings, ItemResourceTypes } from "libs/reach/util/common/src/index";
7488
7494
  export function hasFeedbackType(feedbackSettings: FeedbackSettings, feedbackType: string): boolean;
7495
+ export function getCommentAndReplyCountTooltipResource(itemType: ItemResourceTypes, replyToComments: boolean): string;
7489
7496
  }
7490
7497
  declare module "libs/reach/feature/content/src/common/cards/CardLikeButton" {
7491
7498
  import { ItemResourceTypes, NewsItem } from "libs/reach/util/common/src/index";
@@ -8210,6 +8217,9 @@ declare module "libs/reach/feature/content/src/common/cards/CardStatisticItem" {
8210
8217
  onClick?: () => unknown;
8211
8218
  className?: string;
8212
8219
  domIdentifier?: string;
8220
+ otherValues?: {
8221
+ [key: string]: any;
8222
+ };
8213
8223
  }>;
8214
8224
  }
8215
8225
  declare module "libs/reach/feature/content/src/news/bookmark-button/BookmarkButton" {
@@ -9193,7 +9203,8 @@ declare module "libs/reach/feature/content/src/comments/ThreadView" {
9193
9203
  groupIds: string[];
9194
9204
  baseAttachmentPath: string;
9195
9205
  getHashtagFilterRoute?: (hashtag: string) => string;
9196
- onThreadCommentDelete: () => unknown;
9206
+ onThreadCommentDelete: (comment: Comment) => unknown;
9207
+ onReplyCountChange?: (newReplyCount: number) => void;
9197
9208
  onShowAllComments?: () => void;
9198
9209
  trimContent?: boolean;
9199
9210
  className?: string;
@@ -9201,14 +9212,14 @@ declare module "libs/reach/feature/content/src/comments/ThreadView" {
9201
9212
  }
9202
9213
  declare module "libs/reach/feature/content/src/comments/PublishableItemThreadView" {
9203
9214
  import { FC } from 'react';
9204
- import { PublishableItem } from "libs/reach/util/common/src/index";
9215
+ import { Comment, PublishableItem } from "libs/reach/util/common/src/index";
9205
9216
  import { ItemResourceTypes } from "libs/reach/util/common/src/index";
9206
9217
  export const PublishableItemThreadView: FC<{
9207
9218
  item: PublishableItem;
9208
9219
  type: ItemResourceTypes;
9209
9220
  threadId: string;
9210
9221
  onShowAllComments: () => void;
9211
- onThreadCommentDelete: () => void;
9222
+ onThreadCommentDelete: (comment: Comment) => void;
9212
9223
  }>;
9213
9224
  }
9214
9225
  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.890",
7
+ "version": "0.4.0-preview.894",
8
8
  "dependencies": {}
9
9
  }