@livetiles/reach-plugin-types 0.5.0-preview.759 → 0.5.0-preview.761

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.
Files changed (2) hide show
  1. package/lib/index.d.ts +19 -35
  2. 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";
@@ -13114,28 +13116,10 @@ declare module "apps/reach-app/src/app/useCustomNavigation" {
13114
13116
  }) => string;
13115
13117
  };
13116
13118
  }
13117
- declare module "apps/reach-app/src/app/analytics/useAnalyticsDashboardAuth" {
13118
- export const useAnalyticsDashboardAuth: () => {
13119
- isValid: () => boolean;
13120
- setAuthExpiry: (expires: number) => void;
13121
- };
13122
- }
13123
- declare module "apps/reach-app/src/app/analytics/DashboardPage" {
13124
- import { FC } from 'react';
13125
- export interface Dashboard {
13126
- name: string;
13127
- title: string;
13128
- url: string;
13129
- }
13130
- export const DashboardPage: FC<{
13131
- dashboard: Dashboard;
13132
- }>;
13133
- }
13134
13119
  declare module "apps/reach-app/src/app/analytics/analyticsDashboardUtils" {
13135
- import { Dashboard } from "apps/reach-app/src/app/analytics/DashboardPage";
13136
- export function useDashboards(): Dashboard[];
13120
+ import { DashboardConfig } from "libs/shared/util/environment/src/index";
13121
+ export function useDashboards(): DashboardConfig[];
13137
13122
  export function useDashboardOrigin(): string;
13138
- export function hasDashboards(): boolean;
13139
13123
  }
13140
13124
  declare module "apps/reach-app/src/app/analytics/AnalyticsSidebarMenu" {
13141
13125
  import { FC } from 'react';
package/package.json CHANGED
@@ -4,6 +4,6 @@
4
4
  "main": "",
5
5
  "types": "./index.d.ts",
6
6
  "license": "ISC",
7
- "version": "0.5.0-preview.759",
7
+ "version": "0.5.0-preview.761",
8
8
  "dependencies": {}
9
9
  }