incyclist-services 1.7.39 → 1.7.40

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,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -7,7 +7,7 @@ import { Step } from '../../../../workouts';
7
7
  export declare class IncyclistAttribution extends AbstractSource {
8
8
  toXml(): string;
9
9
  constructor();
10
- protected getAppInfo(): import("../../../../api/appInfo").IAppInfo;
10
+ protected getAppInfo(): import("../../../../api").IAppInfo;
11
11
  protected getBindings(): import("../../../../api").IncyclistBindings;
12
12
  }
13
13
  export declare class TcxConverter implements IActivityConverter {
@@ -1,6 +1,6 @@
1
1
  import type { IAppInfo } from '../appInfo';
2
2
  import type { IDownloadManager } from '../download';
3
- import type { IFormPostBinding } from '../form';
3
+ import type { IFormPostBinding } from '../form/types';
4
4
  import type { IFileSystem } from '../fs';
5
5
  import type { ILogBinding } from '../logging/types';
6
6
  import type { IMessageQueueBinding } from '../mq';
@@ -0,0 +1,14 @@
1
+ export type * from '../appInfo';
2
+ export type * from '../download';
3
+ export type * from '../form/types';
4
+ export type * from '../fs';
5
+ export type * from '../logging/types';
6
+ export type * from '../mq';
7
+ export type { IPathBinding } from '../path';
8
+ export type * from '../repository/types';
9
+ export type * from '../ui';
10
+ export type * from '../video';
11
+ export type * from '../secret';
12
+ export type { ISerialBinding } from '../serial/types';
13
+ export type * from '../crypto/types';
14
+ export type { IUserSettingsBinding } from './index';
@@ -0,0 +1,6 @@
1
+ export interface Form {
2
+ }
3
+ export interface IFormPostBinding {
4
+ createForm(opts: any, uploadInfo: any): Promise<Form>;
5
+ post(opts: Form): any;
6
+ }
@@ -4,3 +4,4 @@ export type * from './repository/types';
4
4
  export type * from './path';
5
5
  export type * from './video';
6
6
  export type * from './crypto/types';
7
+ export type * from './bindings/types';
@@ -1,5 +1,5 @@
1
1
  import { AxiosInstance, AxiosResponse } from "axios";
2
- import { Form } from "../../../api/form";
2
+ import type { Form } from "../../../api/form/types";
3
3
  export declare class AppApiBase {
4
4
  protected api: AxiosInstance;
5
5
  protected getBaseUrl(): string;
@@ -9,5 +9,5 @@ export declare class AppApiBase {
9
9
  protected createForm(url: string, uploadInfo: object, requestOpts?: {}): Promise<Form>;
10
10
  protected getApi(): AxiosInstance;
11
11
  protected getUserSettings(): import("../../../settings").UserSettingsService;
12
- protected getFormBinding(): import("../../../api/form").IFormPostBinding;
12
+ protected getFormBinding(): import("../../../api").IFormPostBinding;
13
13
  }
@@ -12,7 +12,7 @@ export declare class GoogleMapsService extends IncyclistService {
12
12
  getMapsDownloadUrl(): any;
13
13
  reload(): void;
14
14
  protected getSecret(key: string): string;
15
- protected getSecretBindings(): import("../../api/secret").ISecretBinding;
15
+ protected getSecretBindings(): import("../../api").ISecretBinding;
16
16
  protected getUserSettings(): import("../../settings").UserSettingsService;
17
17
  }
18
18
  export declare const useGoogleMaps: () => GoogleMapsService;
@@ -19,5 +19,5 @@ export declare class IntervalsAppConnection extends ConnectedAppService<Interval
19
19
  accessToken: string;
20
20
  };
21
21
  protected initApi(config: IntervalsConfig): void;
22
- protected getSecretBindings(): import("../../api/secret").ISecretBinding;
22
+ protected getSecretBindings(): import("../../api").ISecretBinding;
23
23
  }
@@ -21,5 +21,5 @@ export declare class KomootAppConnection extends ConnectedAppService<KomootCrede
21
21
  protected getCrypto(): any;
22
22
  protected encrypt(algo: string): KomootAuth;
23
23
  protected decrypt(algo: string, auth: KomootAuth): KomootCredentials;
24
- protected getSecretBindings(): import("../../api/secret").ISecretBinding;
24
+ protected getSecretBindings(): import("../../api").ISecretBinding;
25
25
  }
@@ -24,5 +24,5 @@ export declare class StravaAppConnection extends ConnectedAppService<StravaCrede
24
24
  expiration: Date;
25
25
  };
26
26
  protected initApi(config: StravaConfig): void;
27
- protected getSecretBindings(): import("../../api/secret").ISecretBinding;
27
+ protected getSecretBindings(): import("../../api").ISecretBinding;
28
28
  }
@@ -20,5 +20,5 @@ export declare class VeloHeroAppConnection extends ConnectedAppService<VeloHeroC
20
20
  protected getCrypto(): any;
21
21
  protected encrypt(algo: string): VeloHeroAuth;
22
22
  protected decrypt(algo: string, auth: VeloHeroAuth): VeloHeroCredentials;
23
- protected getSecretBindings(): import("../../api/secret").ISecretBinding;
23
+ protected getSecretBindings(): import("../../api").ISecretBinding;
24
24
  }
@@ -63,7 +63,7 @@ export declare class RouteDisplayService extends RideModeService {
63
63
  protected getRouteList(): import("../../routes").RouteListService;
64
64
  protected getActiveRides(): import("../../activities").ActiveRidesService;
65
65
  protected getDeviceRide(): import("../../devices").DeviceRideService;
66
- protected getAppInfo(): import("../../api/appInfo").IAppInfo;
66
+ protected getAppInfo(): import("../../api").IAppInfo;
67
67
  protected getUnitConversionShortcuts(): any[];
68
68
  protected getUnitConverter(): import("../../i18n").UnitConverterService;
69
69
  }
@@ -24,5 +24,5 @@ export declare class EPMParser extends XMLParser {
24
24
  protected buildInfo(context: EpmParserContext): Promise<RouteInfo>;
25
25
  validate(context: EpmParserContext): void;
26
26
  protected getChannel(): AppChannel;
27
- protected getAppInfo(): import("../../../api/appInfo").IAppInfo;
27
+ protected getAppInfo(): import("../../../api").IAppInfo;
28
28
  }
@@ -38,7 +38,7 @@ export declare class StravaActivityLoader extends Loader<Activity> {
38
38
  protected getCredentials(): StravaAuth;
39
39
  protected getSecret(key: string): string;
40
40
  protected getApi(): StravaApi;
41
- getSecretBindings(): import("../../../api/secret").ISecretBinding;
41
+ getSecretBindings(): import("../../../api").ISecretBinding;
42
42
  protected getUserSettings(): import("../../../settings").UserSettingsService;
43
43
  }
44
44
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "incyclist-services",
3
- "version": "1.7.39",
3
+ "version": "1.7.40",
4
4
  "peerDependencies": {
5
5
  "gd-eventlog": "^0.1.27"
6
6
  },