@livetiles/reach-plugin-types 0.4.103 → 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.
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";
@@ -12169,28 +12171,10 @@ declare module "apps/reach-app/src/app/useCustomNavigation" {
12169
12171
  }) => string;
12170
12172
  };
12171
12173
  }
12172
- declare module "apps/reach-app/src/app/analytics/useAnalyticsDashboardAuth" {
12173
- export const useAnalyticsDashboardAuth: () => {
12174
- isValid: () => boolean;
12175
- setAuthExpiry: (expires: number) => void;
12176
- };
12177
- }
12178
- declare module "apps/reach-app/src/app/analytics/DashboardPage" {
12179
- import { FC } from 'react';
12180
- export interface Dashboard {
12181
- name: string;
12182
- title: string;
12183
- url: string;
12184
- }
12185
- export const DashboardPage: FC<{
12186
- dashboard: Dashboard;
12187
- }>;
12188
- }
12189
12174
  declare module "apps/reach-app/src/app/analytics/analyticsDashboardUtils" {
12190
- import { Dashboard } from "apps/reach-app/src/app/analytics/DashboardPage";
12191
- export function useDashboards(): Dashboard[];
12175
+ import { DashboardConfig } from "libs/shared/util/environment/src/index";
12176
+ export function useDashboards(): DashboardConfig[];
12192
12177
  export function useDashboardOrigin(): string;
12193
- export function hasDashboards(): boolean;
12194
12178
  }
12195
12179
  declare module "apps/reach-app/src/app/analytics/AnalyticsSidebarMenu" {
12196
12180
  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.4.103",
7
+ "version": "0.4.104",
8
8
  "dependencies": {}
9
9
  }