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