@livetiles/reach-plugin-types 0.4.103 → 0.4.105

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 +20 -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";
@@ -6234,6 +6236,7 @@ declare module "apps/reach-app/src/app/admin/web-hooks/utils" {
6234
6236
  NewsUnpublish = "NewsUnpublish",
6235
6237
  NewsPublishedVersionUpdate = "NewsPublishedVersionUpdate",
6236
6238
  EventPublish = "EventPublish",
6239
+ EventUnpublish = "EventUnpublish",
6237
6240
  UserSelfRegistration = "UserSelfRegistration",
6238
6241
  CommentCreated = "CommentCreated",
6239
6242
  CommentUpdated = "CommentUpdated",
@@ -12169,28 +12172,10 @@ declare module "apps/reach-app/src/app/useCustomNavigation" {
12169
12172
  }) => string;
12170
12173
  };
12171
12174
  }
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
12175
  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[];
12176
+ import { DashboardConfig } from "libs/shared/util/environment/src/index";
12177
+ export function useDashboards(): DashboardConfig[];
12192
12178
  export function useDashboardOrigin(): string;
12193
- export function hasDashboards(): boolean;
12194
12179
  }
12195
12180
  declare module "apps/reach-app/src/app/analytics/AnalyticsSidebarMenu" {
12196
12181
  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.105",
8
8
  "dependencies": {}
9
9
  }