@livetiles/reach-plugin-types 0.5.0-preview.237 → 0.5.0-preview.239

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 +15 -3
  2. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -216,11 +216,24 @@ declare module "libs/shared/util/environment/src/MsalConfiguration" {
216
216
  extraScopes: string[];
217
217
  }
218
218
  }
219
+ declare module "libs/shared/util/environment/src/AnalyticsConfig" {
220
+ export interface DashboardConfig {
221
+ name: string;
222
+ title: string;
223
+ id: number;
224
+ params?: string;
225
+ }
226
+ export interface AnalyticsConfig {
227
+ hostName: string;
228
+ dashboards: DashboardConfig[];
229
+ }
230
+ }
219
231
  declare module "libs/shared/util/environment/src/AppConfiguration" {
220
232
  import { ZendeskConfig } from "libs/shared/util/environment/src/ZendeskConfig";
221
233
  import { AuthenticationType } from "libs/shared/util/authentication/src/index";
222
234
  import { KeycloakConfiguration } from "libs/shared/util/environment/src/KeycloakConfiguration";
223
235
  import { MsalConfiguration } from "libs/shared/util/environment/src/MsalConfiguration";
236
+ import { AnalyticsConfig } from "libs/shared/util/environment/src/AnalyticsConfig";
224
237
  export enum ConfigType {
225
238
  Local = "local",
226
239
  Dev = "dev",
@@ -266,9 +279,7 @@ declare module "libs/shared/util/environment/src/AppConfiguration" {
266
279
  oneSignal?: {
267
280
  appId: string;
268
281
  };
269
- analytics: {
270
- hostName: string;
271
- };
282
+ analytics: AnalyticsConfig;
272
283
  }
273
284
  }
274
285
  declare module "libs/shared/util/environment/src/ClientConfig" {
@@ -12422,6 +12433,7 @@ declare module "apps/reach-app/src/app/analytics/DashboardPage" {
12422
12433
  declare module "apps/reach-app/src/app/analytics/analyticsDashboardUtils" {
12423
12434
  import { Dashboard } from "apps/reach-app/src/app/analytics/DashboardPage";
12424
12435
  export function useDashboards(): Dashboard[];
12436
+ export function hasDashboards(): boolean;
12425
12437
  }
12426
12438
  declare module "apps/reach-app/src/app/analytics/AnalyticsSidebarMenu" {
12427
12439
  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.237",
7
+ "version": "0.5.0-preview.239",
8
8
  "dependencies": {}
9
9
  }