@livetiles/reach-plugin-types 0.4.0-preview.668 → 0.4.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 +10 -2
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -1942,8 +1942,9 @@ declare module "libs/reach/util/api-factory/src/ClientFactoryInstance" {
|
|
|
1942
1942
|
declare module "libs/reach/util/api-factory/src/useApi" {
|
|
1943
1943
|
import { Api } from 'restful.js';
|
|
1944
1944
|
import { ClientFactoryInstance } from "libs/reach/util/api-factory/src/ClientFactoryInstance";
|
|
1945
|
-
export
|
|
1946
|
-
export function
|
|
1945
|
+
export type ApiErrorHandler = (error: any, config: any) => Promise<boolean>;
|
|
1946
|
+
export function useApiFactory(errorHandler?: ApiErrorHandler): ClientFactoryInstance;
|
|
1947
|
+
export function useApi(errorHandler?: ApiErrorHandler): Api;
|
|
1947
1948
|
export function useUnauthorizedApi(): Api;
|
|
1948
1949
|
}
|
|
1949
1950
|
declare module "libs/reach/util/api-factory/src/useBeaconHandler" {
|
|
@@ -7013,6 +7014,7 @@ declare module "libs/reach/feature/content/src/posts/utils" {
|
|
|
7013
7014
|
isLiked?: boolean;
|
|
7014
7015
|
isUnread?: boolean;
|
|
7015
7016
|
isDemoContent?: boolean;
|
|
7017
|
+
isFollowing?: boolean;
|
|
7016
7018
|
}
|
|
7017
7019
|
export interface PostFilterDefinition {
|
|
7018
7020
|
token?: string;
|
|
@@ -9981,6 +9983,7 @@ declare module "libs/reach/feature/content/src/posts/PostFollowButton" {
|
|
|
9981
9983
|
import { FC } from 'react';
|
|
9982
9984
|
export const PostFollowButton: FC<{
|
|
9983
9985
|
itemId: string;
|
|
9986
|
+
isFollowing: boolean;
|
|
9984
9987
|
}>;
|
|
9985
9988
|
}
|
|
9986
9989
|
declare module "libs/reach/feature/content/src/posts/PostGroup" {
|
|
@@ -10215,6 +10218,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10215
10218
|
contentLanguageCode?: string;
|
|
10216
10219
|
isLiked?: boolean;
|
|
10217
10220
|
isDemoContent?: boolean;
|
|
10221
|
+
isFollowing?: boolean;
|
|
10218
10222
|
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10219
10223
|
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10220
10224
|
fileAccessToken?: string;
|
|
@@ -10568,6 +10572,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10568
10572
|
contentLanguageCode?: string;
|
|
10569
10573
|
isLiked?: boolean;
|
|
10570
10574
|
isDemoContent?: boolean;
|
|
10575
|
+
isFollowing?: boolean;
|
|
10571
10576
|
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10572
10577
|
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10573
10578
|
attachments?: import("@livetiles/reach/util/common").Attachment[];
|
|
@@ -10623,6 +10628,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10623
10628
|
contentLanguageCode?: string;
|
|
10624
10629
|
isLiked?: boolean;
|
|
10625
10630
|
isDemoContent?: boolean;
|
|
10631
|
+
isFollowing?: boolean;
|
|
10626
10632
|
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10627
10633
|
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10628
10634
|
attachments?: import("@livetiles/reach/util/common").Attachment[];
|
|
@@ -10678,6 +10684,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10678
10684
|
contentLanguageCode?: string;
|
|
10679
10685
|
isLiked?: boolean;
|
|
10680
10686
|
isDemoContent?: boolean;
|
|
10687
|
+
isFollowing?: boolean;
|
|
10681
10688
|
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10682
10689
|
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10683
10690
|
attachments?: import("@livetiles/reach/util/common").Attachment[];
|
|
@@ -10733,6 +10740,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10733
10740
|
contentLanguageCode?: string;
|
|
10734
10741
|
isLiked?: boolean;
|
|
10735
10742
|
isDemoContent?: boolean;
|
|
10743
|
+
isFollowing?: boolean;
|
|
10736
10744
|
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10737
10745
|
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10738
10746
|
attachments?: import("@livetiles/reach/util/common").Attachment[];
|