@livetiles/reach-plugin-types 0.4.0-preview.823 → 0.4.0-preview.826

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 -3
  2. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -6851,7 +6851,7 @@ declare module "libs/reach/feature/content/src/posts/utils" {
6851
6851
  keywords?: FilterWithLogicalOperator;
6852
6852
  }
6853
6853
  export function getPostGroups(user: CurrentUser): import("@livetiles/reach/util/common").UserGroup[];
6854
- export function getPostsBaseRoute(post: Post, user: CurrentUser, includeGroupId?: boolean): string;
6854
+ export function getPostsBaseRoute(post: Post, user: CurrentUser, baseUrl?: string, includeGroupId?: boolean): string;
6855
6855
  export function getPostsHashtagFilterRoute(post: Post, user: CurrentUser, hashtag: string): string;
6856
6856
  }
6857
6857
  declare module "libs/reach/feature/content/src/posts/usePostsApi" {
@@ -6988,9 +6988,10 @@ declare module "libs/reach/feature/content/src/common/keywords/KeywordsInfo" {
6988
6988
  keywords: {
6989
6989
  [key: string]: Keyword[];
6990
6990
  };
6991
- className?: string;
6992
6991
  language?: string;
6993
6992
  filterBaseUrl?: string;
6993
+ onKeywordClick?: (keywordId: string) => void;
6994
+ className?: string;
6994
6995
  }
6995
6996
  export const KeywordsInfo: FC<KeywordsInfoProps>;
6996
6997
  export const KeywordsGroup: FC<{
@@ -7000,8 +7001,9 @@ declare module "libs/reach/feature/content/src/common/keywords/KeywordsInfo" {
7000
7001
  [key: string]: Keyword[];
7001
7002
  };
7002
7003
  language?: string;
7003
- className?: string;
7004
7004
  filterBaseUrl?: string;
7005
+ onKeywordClick?: (keywordId: string) => void;
7006
+ className?: string;
7005
7007
  }>;
7006
7008
  export const FlatKeywords: FC<{
7007
7009
  item: PublishableItem;
@@ -10033,6 +10035,8 @@ declare module "libs/reach/feature/content/src/posts/PostDisplay" {
10033
10035
  openTargetInNewWindow?: boolean;
10034
10036
  trimContent?: boolean;
10035
10037
  postGroupTargetUrl?: string;
10038
+ onKeywordClick?: (keywordId: string) => void;
10039
+ baseTargetUrl?: string;
10036
10040
  }
10037
10041
  export const PostDisplay: FC<Props>;
10038
10042
  }
@@ -10072,6 +10076,8 @@ declare module "libs/reach/feature/content/src/posts/PostListItem" {
10072
10076
  trimContent?: boolean;
10073
10077
  targetUrl?: string;
10074
10078
  postGroupTargetUrl?: string;
10079
+ onKeywordClick?: (keywordId: string) => void;
10080
+ baseTargetUrl?: string;
10075
10081
  }
10076
10082
  export const PostListItem: FC<Props>;
10077
10083
  }
@@ -10095,6 +10101,8 @@ declare module "libs/reach/feature/content/src/posts/PostWithSelfThreadHandling"
10095
10101
  targetUrl?: string;
10096
10102
  postGroupTargetUrl?: string;
10097
10103
  trimContent?: boolean;
10104
+ onKeywordClick?: (keywordId: string) => void;
10105
+ baseTargetUrl?: string;
10098
10106
  }>;
10099
10107
  }
10100
10108
  declare module "libs/reach/feature/content/src/stream/streamUtils" {
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.823",
7
+ "version": "0.4.0-preview.826",
8
8
  "dependencies": {}
9
9
  }