@livetiles/reach-plugin-types 0.4.0-preview.34 → 0.4.0-preview.35
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 +30 -13
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -38,10 +38,12 @@ declare module "libs/shared/util/common/src/JwtHelper" {
|
|
|
38
38
|
declare module "libs/shared/util/common/src/redirect" {
|
|
39
39
|
export function redirectWithReload(redirectUrl: string): void;
|
|
40
40
|
}
|
|
41
|
-
declare module "libs/shared/util/environment/src/
|
|
42
|
-
export interface
|
|
43
|
-
|
|
41
|
+
declare module "libs/shared/util/environment/src/IntercomConfig" {
|
|
42
|
+
export interface IntercomConfig {
|
|
43
|
+
appId: string;
|
|
44
44
|
enable: boolean;
|
|
45
|
+
productId: string;
|
|
46
|
+
unauthenticatedProductId: string;
|
|
45
47
|
}
|
|
46
48
|
}
|
|
47
49
|
declare module "libs/shared/util/authentication/src/AuthenticationType" {
|
|
@@ -214,7 +216,7 @@ declare module "libs/shared/util/environment/src/MsalConfiguration" {
|
|
|
214
216
|
}
|
|
215
217
|
}
|
|
216
218
|
declare module "libs/shared/util/environment/src/AppConfiguration" {
|
|
217
|
-
import {
|
|
219
|
+
import { IntercomConfig } from "libs/shared/util/environment/src/IntercomConfig";
|
|
218
220
|
import { AuthenticationType } from "libs/shared/util/authentication/src/index";
|
|
219
221
|
import { KeycloakConfiguration } from "libs/shared/util/environment/src/KeycloakConfiguration";
|
|
220
222
|
import { MsalConfiguration } from "libs/shared/util/environment/src/MsalConfiguration";
|
|
@@ -258,7 +260,7 @@ declare module "libs/shared/util/environment/src/AppConfiguration" {
|
|
|
258
260
|
resource: string;
|
|
259
261
|
};
|
|
260
262
|
};
|
|
261
|
-
|
|
263
|
+
intercom: IntercomConfig;
|
|
262
264
|
singleSubscriptionMode: boolean;
|
|
263
265
|
oneSignal?: {
|
|
264
266
|
appId: string;
|
|
@@ -9518,7 +9520,6 @@ declare module "libs/reach/feature/content/src/posts/PostReplies" {
|
|
|
9518
9520
|
interface Props {
|
|
9519
9521
|
className?: string;
|
|
9520
9522
|
post: Post;
|
|
9521
|
-
initialPageSize?: number;
|
|
9522
9523
|
comments?: PaginatedList<Comment>;
|
|
9523
9524
|
autoFocusReplyField?: boolean;
|
|
9524
9525
|
onReplyAdded: () => void;
|
|
@@ -9569,7 +9570,6 @@ declare module "libs/reach/feature/content/src/posts/PostDisplay" {
|
|
|
9569
9570
|
threadId?: string;
|
|
9570
9571
|
onCustomPostDelete?: () => void;
|
|
9571
9572
|
comments?: PaginatedList<Comment>;
|
|
9572
|
-
initialCommentsPageSize?: number;
|
|
9573
9573
|
onEditActiveChange?: (isEditMode: boolean) => void;
|
|
9574
9574
|
onShowCommentsChange?: (showComments: boolean) => void;
|
|
9575
9575
|
onThreadCommentDelete?: () => void;
|
|
@@ -9842,6 +9842,18 @@ declare module "apps/reach-app/src/app/admin/users/self-registration/SelfRegistr
|
|
|
9842
9842
|
import { FC } from 'react';
|
|
9843
9843
|
export const SelfRegistrationSettingsPage: FC;
|
|
9844
9844
|
}
|
|
9845
|
+
declare module "apps/reach-app/src/app/Intercom/Intercom" {
|
|
9846
|
+
export interface Intercom {
|
|
9847
|
+
(action: string, settings?: IntercomSettings): void;
|
|
9848
|
+
}
|
|
9849
|
+
export interface IntercomSettings {
|
|
9850
|
+
app_id: string;
|
|
9851
|
+
product_id: string;
|
|
9852
|
+
name?: string;
|
|
9853
|
+
email?: string;
|
|
9854
|
+
}
|
|
9855
|
+
export function create(settings: IntercomSettings): Intercom;
|
|
9856
|
+
}
|
|
9845
9857
|
declare module "apps/reach-app/src/app/AppLoader" {
|
|
9846
9858
|
import { FC } from 'react';
|
|
9847
9859
|
export const AppLoader: FC;
|
|
@@ -9887,16 +9899,21 @@ declare module "apps/reach-app/src/app/teams/TeamsContext" {
|
|
|
9887
9899
|
}>;
|
|
9888
9900
|
export const TeamsContextProvider: FC;
|
|
9889
9901
|
}
|
|
9890
|
-
declare module "apps/reach-app/src/app/
|
|
9891
|
-
export enum
|
|
9902
|
+
declare module "apps/reach-app/src/app/Intercom/useIntercom" {
|
|
9903
|
+
export enum IntercomArea {
|
|
9904
|
+
Authenticated = 0,
|
|
9905
|
+
UnAuthenticated = 1
|
|
9906
|
+
}
|
|
9907
|
+
export enum IntercomInitialState {
|
|
9892
9908
|
Minimized = 0,
|
|
9893
9909
|
MobileHidden = 1
|
|
9894
9910
|
}
|
|
9895
|
-
export function
|
|
9896
|
-
export
|
|
9897
|
-
|
|
9911
|
+
export function shutdownIntercom(): void;
|
|
9912
|
+
export interface IntercomProps {
|
|
9913
|
+
showChat: () => void;
|
|
9898
9914
|
toggleIcon: (show: boolean) => void;
|
|
9899
|
-
}
|
|
9915
|
+
}
|
|
9916
|
+
export function useIntercom(area: IntercomArea, initialState?: IntercomInitialState): IntercomProps;
|
|
9900
9917
|
}
|
|
9901
9918
|
declare module "apps/reach-app/src/app/admin/terms-and-conditions/TermsAndConditionsPage" {
|
|
9902
9919
|
import { FC } from 'react';
|