@livetiles/reach-plugin-types 0.4.102 → 0.4.104
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 +22 -35
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -38,6 +38,22 @@ 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/AnalyticsConfig" {
|
|
42
|
+
export interface DashboardConfig {
|
|
43
|
+
name: string;
|
|
44
|
+
title: string;
|
|
45
|
+
id: string;
|
|
46
|
+
}
|
|
47
|
+
export interface AnalyticsConfig {
|
|
48
|
+
regions: {
|
|
49
|
+
[key: string]: {
|
|
50
|
+
dashboardHostName: string;
|
|
51
|
+
ingestionHostName: string;
|
|
52
|
+
dashboards: DashboardConfig[];
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
}
|
|
41
57
|
declare module "libs/shared/util/environment/src/ZendeskConfig" {
|
|
42
58
|
export interface ZendeskConfig {
|
|
43
59
|
apiKey: string;
|
|
@@ -215,21 +231,6 @@ declare module "libs/shared/util/environment/src/MsalConfiguration" {
|
|
|
215
231
|
extraScopes: string[];
|
|
216
232
|
}
|
|
217
233
|
}
|
|
218
|
-
declare module "libs/shared/util/environment/src/AnalyticsConfig" {
|
|
219
|
-
export interface DashboardConfig {
|
|
220
|
-
name: string;
|
|
221
|
-
title: string;
|
|
222
|
-
id: string;
|
|
223
|
-
params?: string;
|
|
224
|
-
}
|
|
225
|
-
export interface AnalyticsConfig {
|
|
226
|
-
hostName: string;
|
|
227
|
-
regions?: {
|
|
228
|
-
[key: string]: string;
|
|
229
|
-
};
|
|
230
|
-
dashboards: DashboardConfig[];
|
|
231
|
-
}
|
|
232
|
-
}
|
|
233
234
|
declare module "libs/shared/util/environment/src/AppConfiguration" {
|
|
234
235
|
import { ZendeskConfig } from "libs/shared/util/environment/src/ZendeskConfig";
|
|
235
236
|
import { AuthenticationType } from "libs/shared/util/authentication/src/index";
|
|
@@ -370,6 +371,7 @@ declare module "libs/shared/util/environment/src/ClientConfigContext" {
|
|
|
370
371
|
export function prepareClientConfig(config: ClientConfig): ClientConfig;
|
|
371
372
|
}
|
|
372
373
|
declare module "libs/shared/util/environment/src/index" {
|
|
374
|
+
export * from "libs/shared/util/environment/src/AnalyticsConfig";
|
|
373
375
|
export * from "libs/shared/util/environment/src/AppConfiguration";
|
|
374
376
|
export * from "libs/shared/util/environment/src/ClientConfig";
|
|
375
377
|
export * from "libs/shared/util/environment/src/EnvironmentConfig";
|
|
@@ -7715,6 +7717,7 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
7715
7717
|
hideInfoMessage?: boolean;
|
|
7716
7718
|
showNoRegistrationRequired?: boolean;
|
|
7717
7719
|
onToggleRegister?: (itemId: string, response: EventResponse, isFullSeriesRegistration: boolean) => unknown;
|
|
7720
|
+
onRegistrationRedirect?: (url: string) => void;
|
|
7718
7721
|
className?: string;
|
|
7719
7722
|
}>;
|
|
7720
7723
|
}
|
|
@@ -7727,6 +7730,7 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
7727
7730
|
showNoRegistrationRequired?: boolean;
|
|
7728
7731
|
className?: string;
|
|
7729
7732
|
languageDirection?: LanguageDirection;
|
|
7733
|
+
onRegistrationRedirect?: (url: string) => void;
|
|
7730
7734
|
}>;
|
|
7731
7735
|
}
|
|
7732
7736
|
declare module "libs/reach/feature/content/src/feedback/LikersList" {
|
|
@@ -9047,6 +9051,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/EventItemTile" {
|
|
|
9047
9051
|
styleDefinition?: StyleDefinition;
|
|
9048
9052
|
showBanner?: boolean;
|
|
9049
9053
|
showBannerAlwaysOnTheLeft?: boolean;
|
|
9054
|
+
onRegistrationRedirect?: (url: string) => void;
|
|
9050
9055
|
className?: string;
|
|
9051
9056
|
}
|
|
9052
9057
|
export const EventItemTile: FC<Props>;
|
|
@@ -12166,28 +12171,10 @@ declare module "apps/reach-app/src/app/useCustomNavigation" {
|
|
|
12166
12171
|
}) => string;
|
|
12167
12172
|
};
|
|
12168
12173
|
}
|
|
12169
|
-
declare module "apps/reach-app/src/app/analytics/useAnalyticsDashboardAuth" {
|
|
12170
|
-
export const useAnalyticsDashboardAuth: () => {
|
|
12171
|
-
isValid: () => boolean;
|
|
12172
|
-
setAuthExpiry: (expires: number) => void;
|
|
12173
|
-
};
|
|
12174
|
-
}
|
|
12175
|
-
declare module "apps/reach-app/src/app/analytics/DashboardPage" {
|
|
12176
|
-
import { FC } from 'react';
|
|
12177
|
-
export interface Dashboard {
|
|
12178
|
-
name: string;
|
|
12179
|
-
title: string;
|
|
12180
|
-
url: string;
|
|
12181
|
-
}
|
|
12182
|
-
export const DashboardPage: FC<{
|
|
12183
|
-
dashboard: Dashboard;
|
|
12184
|
-
}>;
|
|
12185
|
-
}
|
|
12186
12174
|
declare module "apps/reach-app/src/app/analytics/analyticsDashboardUtils" {
|
|
12187
|
-
import {
|
|
12188
|
-
export function useDashboards():
|
|
12175
|
+
import { DashboardConfig } from "libs/shared/util/environment/src/index";
|
|
12176
|
+
export function useDashboards(): DashboardConfig[];
|
|
12189
12177
|
export function useDashboardOrigin(): string;
|
|
12190
|
-
export function hasDashboards(): boolean;
|
|
12191
12178
|
}
|
|
12192
12179
|
declare module "apps/reach-app/src/app/analytics/AnalyticsSidebarMenu" {
|
|
12193
12180
|
import { FC } from 'react';
|