@entur-partner/micro-frontend 2.4.3 → 2.4.5

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/dist/Payload.d.ts CHANGED
@@ -20,7 +20,7 @@ export interface MenuItem {
20
20
  all?: BusinessCapability[] | BusinessCapability;
21
21
  };
22
22
  }
23
- export declare type NavigationFunction = (to: string) => void;
23
+ export type NavigationFunction = (to: string) => void;
24
24
  export interface MicroFrontendPayload {
25
25
  /** Logged in auth0 user */
26
26
  user: User;
package/dist/events.d.ts CHANGED
@@ -1,10 +1,10 @@
1
1
  import { MicroFrontendPayload } from './Payload';
2
- declare type MountEventDetail = {
2
+ type MountEventDetail = {
3
3
  id: string;
4
4
  mountPoint: HTMLDivElement;
5
5
  payload: MicroFrontendPayload;
6
6
  };
7
- declare type UnmountEventDetail = {
7
+ type UnmountEventDetail = {
8
8
  id: string;
9
9
  mountPoint: HTMLDivElement;
10
10
  };
@@ -17,8 +17,8 @@ export interface UnmountEvent extends CustomEvent<UnmountEventDetail> {
17
17
  export declare function createMountEvent(detail: MountEventDetail): CustomEvent<MountEventDetail>;
18
18
  export declare function createUnmountEvent(detail: UnmountEventDetail): CustomEvent<UnmountEventDetail>;
19
19
  export declare const ROUTE_CHANGE_EVENT_TYPE = "@entur-partner:after-route-change";
20
- export declare type RouteAction = 'PUSH' | 'POP' | 'REPLACE';
21
- declare type RouteChangeEventDetail = {
20
+ export type RouteAction = 'PUSH' | 'POP' | 'REPLACE';
21
+ type RouteChangeEventDetail = {
22
22
  location: Location;
23
23
  action: RouteAction;
24
24
  };