@livetiles/reach-plugin-types 0.4.0-preview.35 → 0.4.0-preview.39
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 +14 -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;
|
|
@@ -6404,6 +6402,7 @@ declare module "libs/reach/feature/content/src/filter/NewsFilterDefinition" {
|
|
|
6404
6402
|
export interface NewsFilterDefinition extends PublishableItemFilterDefinition, AuthorFilterDefinition, ChannelsFilterDefinition, StateFilterDefinition {
|
|
6405
6403
|
groupId?: string;
|
|
6406
6404
|
bookmarksOnly?: boolean;
|
|
6405
|
+
unreadOnly?: boolean;
|
|
6407
6406
|
}
|
|
6408
6407
|
}
|
|
6409
6408
|
declare module "libs/reach/feature/content/src/news/fetchNewsItems" {
|
|
@@ -9520,6 +9519,7 @@ declare module "libs/reach/feature/content/src/posts/PostReplies" {
|
|
|
9520
9519
|
interface Props {
|
|
9521
9520
|
className?: string;
|
|
9522
9521
|
post: Post;
|
|
9522
|
+
initialPageSize?: number;
|
|
9523
9523
|
comments?: PaginatedList<Comment>;
|
|
9524
9524
|
autoFocusReplyField?: boolean;
|
|
9525
9525
|
onReplyAdded: () => void;
|
|
@@ -9570,6 +9570,7 @@ declare module "libs/reach/feature/content/src/posts/PostDisplay" {
|
|
|
9570
9570
|
threadId?: string;
|
|
9571
9571
|
onCustomPostDelete?: () => void;
|
|
9572
9572
|
comments?: PaginatedList<Comment>;
|
|
9573
|
+
initialCommentsPageSize?: number;
|
|
9573
9574
|
onEditActiveChange?: (isEditMode: boolean) => void;
|
|
9574
9575
|
onShowCommentsChange?: (showComments: boolean) => void;
|
|
9575
9576
|
onThreadCommentDelete?: () => void;
|
|
@@ -9842,18 +9843,6 @@ declare module "apps/reach-app/src/app/admin/users/self-registration/SelfRegistr
|
|
|
9842
9843
|
import { FC } from 'react';
|
|
9843
9844
|
export const SelfRegistrationSettingsPage: FC;
|
|
9844
9845
|
}
|
|
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
9846
|
declare module "apps/reach-app/src/app/AppLoader" {
|
|
9858
9847
|
import { FC } from 'react';
|
|
9859
9848
|
export const AppLoader: FC;
|
|
@@ -9899,21 +9888,16 @@ declare module "apps/reach-app/src/app/teams/TeamsContext" {
|
|
|
9899
9888
|
}>;
|
|
9900
9889
|
export const TeamsContextProvider: FC;
|
|
9901
9890
|
}
|
|
9902
|
-
declare module "apps/reach-app/src/app/
|
|
9903
|
-
export enum
|
|
9904
|
-
Authenticated = 0,
|
|
9905
|
-
UnAuthenticated = 1
|
|
9906
|
-
}
|
|
9907
|
-
export enum IntercomInitialState {
|
|
9891
|
+
declare module "apps/reach-app/src/app/Zendesk/useZendesk" {
|
|
9892
|
+
export enum ZendeskInitialState {
|
|
9908
9893
|
Minimized = 0,
|
|
9909
9894
|
MobileHidden = 1
|
|
9910
9895
|
}
|
|
9911
|
-
export function
|
|
9912
|
-
export
|
|
9913
|
-
|
|
9896
|
+
export function shutdownZendesk(): void;
|
|
9897
|
+
export function useZendesk(initialState?: ZendeskInitialState): {
|
|
9898
|
+
showZendeskChat: () => void;
|
|
9914
9899
|
toggleIcon: (show: boolean) => void;
|
|
9915
|
-
}
|
|
9916
|
-
export function useIntercom(area: IntercomArea, initialState?: IntercomInitialState): IntercomProps;
|
|
9900
|
+
};
|
|
9917
9901
|
}
|
|
9918
9902
|
declare module "apps/reach-app/src/app/admin/terms-and-conditions/TermsAndConditionsPage" {
|
|
9919
9903
|
import { FC } from 'react';
|