crewtimer-common 1.0.19 → 1.0.21
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.
|
@@ -45,12 +45,29 @@ export interface ResultRegattaInfo {
|
|
|
45
45
|
Waypoints: string;
|
|
46
46
|
json?: string;
|
|
47
47
|
}
|
|
48
|
+
/**
|
|
49
|
+
* Contents of /results/<regattaId> in database
|
|
50
|
+
*/
|
|
48
51
|
export interface Results {
|
|
49
52
|
lastUpdatedEvent: string;
|
|
50
53
|
P: Progress;
|
|
51
54
|
regattaInfo: ResultRegattaInfo;
|
|
52
|
-
ResultOmitCols?: string[];
|
|
53
55
|
results: Event[];
|
|
56
|
+
lastUpdated?: {
|
|
57
|
+
[waypoint: string]: {
|
|
58
|
+
Bow: string;
|
|
59
|
+
EventNum: string;
|
|
60
|
+
Time: string;
|
|
61
|
+
timestamp: number;
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Raw internal calculation results
|
|
67
|
+
*/
|
|
68
|
+
export interface ResultsCalc extends Results {
|
|
69
|
+
ResultOmitCols?: string[];
|
|
70
|
+
mobileUpdates?: KeyMap;
|
|
54
71
|
ResultsPendOfficial?: boolean;
|
|
55
72
|
}
|
|
56
73
|
export interface MobileSettings {
|
|
@@ -23,6 +23,7 @@ export interface DocAttachment {
|
|
|
23
23
|
uuid: string;
|
|
24
24
|
}
|
|
25
25
|
export interface Lap extends Entry {
|
|
26
|
+
Battery?: number;
|
|
26
27
|
Docs?: DocAttachment[];
|
|
27
28
|
Duplicate?: boolean;
|
|
28
29
|
index?: number;
|
|
@@ -36,6 +37,7 @@ export interface Lap extends Entry {
|
|
|
36
37
|
PenaltyTime?: string;
|
|
37
38
|
Reporter?: string;
|
|
38
39
|
SequenceNum?: number;
|
|
40
|
+
Splits?: number;
|
|
39
41
|
State?: 'Deleted' | string;
|
|
40
42
|
stationType?: string;
|
|
41
43
|
Status?: LapStatus;
|
|
@@ -55,6 +57,10 @@ export interface StopwatchConfig {
|
|
|
55
57
|
}
|
|
56
58
|
export interface TrackingStation {
|
|
57
59
|
name: string;
|
|
60
|
+
description?: string;
|
|
61
|
+
trackingCd?: string;
|
|
62
|
+
isNumeric?: boolean;
|
|
63
|
+
defaultQty?: number;
|
|
58
64
|
}
|
|
59
65
|
/** Public regatta settings */
|
|
60
66
|
export interface RegattaInfo {
|
|
@@ -45,12 +45,29 @@ export interface ResultRegattaInfo {
|
|
|
45
45
|
Waypoints: string;
|
|
46
46
|
json?: string;
|
|
47
47
|
}
|
|
48
|
+
/**
|
|
49
|
+
* Contents of /results/<regattaId> in database
|
|
50
|
+
*/
|
|
48
51
|
export interface Results {
|
|
49
52
|
lastUpdatedEvent: string;
|
|
50
53
|
P: Progress;
|
|
51
54
|
regattaInfo: ResultRegattaInfo;
|
|
52
|
-
ResultOmitCols?: string[];
|
|
53
55
|
results: Event[];
|
|
56
|
+
lastUpdated?: {
|
|
57
|
+
[waypoint: string]: {
|
|
58
|
+
Bow: string;
|
|
59
|
+
EventNum: string;
|
|
60
|
+
Time: string;
|
|
61
|
+
timestamp: number;
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Raw internal calculation results
|
|
67
|
+
*/
|
|
68
|
+
export interface ResultsCalc extends Results {
|
|
69
|
+
ResultOmitCols?: string[];
|
|
70
|
+
mobileUpdates?: KeyMap;
|
|
54
71
|
ResultsPendOfficial?: boolean;
|
|
55
72
|
}
|
|
56
73
|
export interface MobileSettings {
|
|
@@ -23,6 +23,7 @@ export interface DocAttachment {
|
|
|
23
23
|
uuid: string;
|
|
24
24
|
}
|
|
25
25
|
export interface Lap extends Entry {
|
|
26
|
+
Battery?: number;
|
|
26
27
|
Docs?: DocAttachment[];
|
|
27
28
|
Duplicate?: boolean;
|
|
28
29
|
index?: number;
|
|
@@ -36,6 +37,7 @@ export interface Lap extends Entry {
|
|
|
36
37
|
PenaltyTime?: string;
|
|
37
38
|
Reporter?: string;
|
|
38
39
|
SequenceNum?: number;
|
|
40
|
+
Splits?: number;
|
|
39
41
|
State?: 'Deleted' | string;
|
|
40
42
|
stationType?: string;
|
|
41
43
|
Status?: LapStatus;
|
|
@@ -55,6 +57,10 @@ export interface StopwatchConfig {
|
|
|
55
57
|
}
|
|
56
58
|
export interface TrackingStation {
|
|
57
59
|
name: string;
|
|
60
|
+
description?: string;
|
|
61
|
+
trackingCd?: string;
|
|
62
|
+
isNumeric?: boolean;
|
|
63
|
+
defaultQty?: number;
|
|
58
64
|
}
|
|
59
65
|
/** Public regatta settings */
|
|
60
66
|
export interface RegattaInfo {
|