incyclist-services 1.7.35 → 1.7.36

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.
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,7 @@
1
+ export interface IObserver {
2
+ on(event: string, callback: any): IObserver;
3
+ off(event: string, callback: any): IObserver;
4
+ once(event: string, callback: any): IObserver;
5
+ stop(): any;
6
+ emit(event: string, ...data: any[]): any;
7
+ }
@@ -0,0 +1,7 @@
1
+ export interface IObserver {
2
+ on(event: string, callback: any): IObserver;
3
+ off(event: string, callback: any): IObserver;
4
+ once(event: string, callback: any): IObserver;
5
+ stop(): any;
6
+ emit(event: string, ...data: any[]): any;
7
+ }
@@ -1,7 +1,7 @@
1
1
  import { IPageService } from "../../base/pages";
2
2
  import { Route } from "../../routes/base/model/route";
3
3
  import { IObserver } from "../../types";
4
- import { CurrentRideState, GPXStartOverlayProps, RideType, StartOverlayProps, VideoDisplayProps, VideoStartOverlayProps } from "../types";
4
+ import { CurrentRideState, GpxDisplayProps, GPXStartOverlayProps, RideType, StartOverlayProps, VideoDisplayProps, VideoStartOverlayProps } from "../types";
5
5
  export interface StartGateProps {
6
6
  title: string;
7
7
  body: string;
@@ -18,6 +18,9 @@ export interface VideoRidePageDisplayProps extends RidePageDisplayProps {
18
18
  video?: VideoDisplayProps;
19
19
  videos?: VideoDisplayProps[];
20
20
  }
21
+ export interface GPXRidePageDisplayProps extends RidePageDisplayProps {
22
+ gpx?: GpxDisplayProps;
23
+ }
21
24
  export type AnyRidePageDisplayProps = VideoRidePageDisplayProps | RidePageDisplayProps;
22
25
  export interface RideMenuProps {
23
26
  showResume: boolean;
@@ -3,4 +3,5 @@ export type * from './list/types';
3
3
  export type * from './list/cards/types';
4
4
  export type * from './base/api/types';
5
5
  export type * from './base/types';
6
+ export type * from './base/model/types';
6
7
  export type RouteImportStatus = 'idle' | 'parsing' | 'error' | 'success';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "incyclist-services",
3
- "version": "1.7.35",
3
+ "version": "1.7.36",
4
4
  "peerDependencies": {
5
5
  "gd-eventlog": "^0.1.27"
6
6
  },