incyclist-services 1.7.36 → 1.7.37
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/package.json +1 -1
- package/lib/cjs/devices/ride/model.js +0 -2
- package/lib/esm/base/types.js +0 -1
- package/lib/esm/base/typesdef.js +0 -1
- package/lib/esm/devices/configuration/model/service/types.js +0 -1
- package/lib/esm/devices/ride/model.js +0 -1
- package/lib/types/base/types.d.ts +0 -7
- package/lib/types/base/typesdef.d.ts +0 -7
- package/lib/types/devices/configuration/model/service/types.d.ts +0 -16
- package/lib/types/devices/ride/model.d.ts +0 -54
package/package.json
CHANGED
package/lib/esm/base/types.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/lib/esm/base/typesdef.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { ICyclingMode, IncyclistDeviceAdapter } from "incyclist-devices";
|
|
2
|
-
import { ExtendedIncyclistCapability } from "../app";
|
|
3
|
-
export interface AdapterInfo {
|
|
4
|
-
udid: string;
|
|
5
|
-
adapter: IncyclistDeviceAdapter;
|
|
6
|
-
capabilities: ExtendedIncyclistCapability[];
|
|
7
|
-
isControl?: boolean;
|
|
8
|
-
}
|
|
9
|
-
export interface DeviceModeInfo {
|
|
10
|
-
udid: string;
|
|
11
|
-
mode: string;
|
|
12
|
-
isERG?: boolean;
|
|
13
|
-
isSIM?: boolean;
|
|
14
|
-
settings: any;
|
|
15
|
-
options?: ICyclingMode[];
|
|
16
|
-
}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { DeviceProperties } from "incyclist-devices";
|
|
2
|
-
import { AdapterInfo, ExtendedIncyclistCapability } from "../configuration";
|
|
3
|
-
import { Route } from "../../routes/base/model/route";
|
|
4
|
-
import { RouteApiDetail } from "../../routes/base/api/types";
|
|
5
|
-
export type HealthStatus = 'green' | 'amber' | 'red';
|
|
6
|
-
export interface AdapterRideInfo extends AdapterInfo {
|
|
7
|
-
isStarted: boolean;
|
|
8
|
-
tsLastData?: number;
|
|
9
|
-
isHealthy?: boolean;
|
|
10
|
-
isRestarting?: boolean;
|
|
11
|
-
dataStatus?: HealthStatus;
|
|
12
|
-
ivToCheck?: NodeJS.Timeout;
|
|
13
|
-
isControl?: boolean;
|
|
14
|
-
}
|
|
15
|
-
export interface AdapterStateInfo {
|
|
16
|
-
udid: string;
|
|
17
|
-
name: string;
|
|
18
|
-
isControl: boolean;
|
|
19
|
-
capabilities: Array<ExtendedIncyclistCapability>;
|
|
20
|
-
isStarted: boolean;
|
|
21
|
-
}
|
|
22
|
-
export interface LegacyRoute {
|
|
23
|
-
get(): RouteApiDetail;
|
|
24
|
-
isLap(): boolean;
|
|
25
|
-
getTitle(): string;
|
|
26
|
-
}
|
|
27
|
-
export interface RideServiceDeviceProperties extends DeviceProperties {
|
|
28
|
-
forceErgMode?: boolean;
|
|
29
|
-
startPos?: number;
|
|
30
|
-
realityFactor?: number;
|
|
31
|
-
rideMode?: string;
|
|
32
|
-
route?: Route | LegacyRoute;
|
|
33
|
-
}
|
|
34
|
-
export interface RideServiceCheckFilter {
|
|
35
|
-
interface?: string;
|
|
36
|
-
interfaces?: string[];
|
|
37
|
-
udid?: string;
|
|
38
|
-
}
|
|
39
|
-
export interface Point {
|
|
40
|
-
elevation: number;
|
|
41
|
-
distance: number;
|
|
42
|
-
}
|
|
43
|
-
export interface PreparedRoute {
|
|
44
|
-
name: string;
|
|
45
|
-
description: string;
|
|
46
|
-
programId: number;
|
|
47
|
-
type: string;
|
|
48
|
-
totalDistance: number;
|
|
49
|
-
lapMode: boolean;
|
|
50
|
-
minElevation: number;
|
|
51
|
-
maxElevation: number;
|
|
52
|
-
sampleRate: number;
|
|
53
|
-
points: Point[];
|
|
54
|
-
}
|