crewtimer-common 1.0.10 → 1.0.12

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/README.md CHANGED
@@ -22,3 +22,10 @@ As time allows, this codebase will be cleaned and documented but these initial v
22
22
  * crewtimer-results - CrewTimer results website [https://crewtimer.com](https://crewtimer.com)
23
23
  * crewtimer-admin - CrewTimer Admin interface [https://admin.crewtimer.com](https://admin.crewtimer.com)
24
24
  * crewtimer-wisblock - Hardware devices such as the BLE Clicker and Mobile Horn (C++)
25
+
26
+ ## Publishing a new npm version (maintainers only)
27
+
28
+ 1. Update the version in package.json
29
+ 2. First check for any errors by running ```yarn prepublishOnly```
30
+ 3. ```npm login``` as crewtimer
31
+ 4. If no errors: ```npm publish```
@@ -14,5 +14,6 @@ export interface Event {
14
14
  RaceType: 'Head' | 'Sprint';
15
15
  Start: string;
16
16
  TZOffset: number;
17
+ json?: string;
17
18
  }
18
19
  export type EventList = Event[];
@@ -22,6 +22,7 @@ export interface ResultRegattaInfo {
22
22
  FlightRaces: string;
23
23
  HasRoster: boolean;
24
24
  InfoText: string;
25
+ LogoURL: string;
25
26
  Name: string;
26
27
  NumDays: string;
27
28
  NumEntries: number;
@@ -38,6 +39,7 @@ export interface ResultRegattaInfo {
38
39
  ResultWaypoints: string;
39
40
  RMPublishDisable: boolean;
40
41
  ShowProgress: boolean;
42
+ SubTitle?: string;
41
43
  Title: string;
42
44
  Titles: KeyMap<string>;
43
45
  TrackingStations?: TrackingStation[];
@@ -68,6 +68,7 @@ export interface RegattaInfo {
68
68
  Finished?: boolean;
69
69
  FlightRaces?: string[][];
70
70
  InfoText?: string;
71
+ LogoURL?: string;
71
72
  NtpServers?: string[];
72
73
  NumDays: string;
73
74
  PenaltyLocations?: string;
@@ -81,6 +82,7 @@ export interface RegattaInfo {
81
82
  Source: 'Local' | 'CrewTimer.com';
82
83
  Stations: RMStation[];
83
84
  Stopwatch?: StopwatchConfig;
85
+ SubTitle?: string;
84
86
  Title: string;
85
87
  Titles?: KeyMap<string>;
86
88
  TrackingStations?: TrackingStation[];
@@ -121,6 +123,7 @@ export interface ResultSummary {
121
123
  Name: string;
122
124
  NumDays: string;
123
125
  Public: string;
126
+ SubTitle?: string;
124
127
  Title: string;
125
128
  }
126
129
  export interface AdminSummary extends ResultSummary {
@@ -14,5 +14,6 @@ export interface Event {
14
14
  RaceType: 'Head' | 'Sprint';
15
15
  Start: string;
16
16
  TZOffset: number;
17
+ json?: string;
17
18
  }
18
19
  export type EventList = Event[];
@@ -22,6 +22,7 @@ export interface ResultRegattaInfo {
22
22
  FlightRaces: string;
23
23
  HasRoster: boolean;
24
24
  InfoText: string;
25
+ LogoURL: string;
25
26
  Name: string;
26
27
  NumDays: string;
27
28
  NumEntries: number;
@@ -38,6 +39,7 @@ export interface ResultRegattaInfo {
38
39
  ResultWaypoints: string;
39
40
  RMPublishDisable: boolean;
40
41
  ShowProgress: boolean;
42
+ SubTitle?: string;
41
43
  Title: string;
42
44
  Titles: KeyMap<string>;
43
45
  TrackingStations?: TrackingStation[];
@@ -68,6 +68,7 @@ export interface RegattaInfo {
68
68
  Finished?: boolean;
69
69
  FlightRaces?: string[][];
70
70
  InfoText?: string;
71
+ LogoURL?: string;
71
72
  NtpServers?: string[];
72
73
  NumDays: string;
73
74
  PenaltyLocations?: string;
@@ -81,6 +82,7 @@ export interface RegattaInfo {
81
82
  Source: 'Local' | 'CrewTimer.com';
82
83
  Stations: RMStation[];
83
84
  Stopwatch?: StopwatchConfig;
85
+ SubTitle?: string;
84
86
  Title: string;
85
87
  Titles?: KeyMap<string>;
86
88
  TrackingStations?: TrackingStation[];
@@ -121,6 +123,7 @@ export interface ResultSummary {
121
123
  Name: string;
122
124
  NumDays: string;
123
125
  Public: string;
126
+ SubTitle?: string;
124
127
  Title: string;
125
128
  }
126
129
  export interface AdminSummary extends ResultSummary {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "crewtimer-common",
3
- "version": "1.0.10",
3
+ "version": "1.0.12",
4
4
  "description": "Common types and utilities for CrewTimer",
5
5
  "main": "./dist/cjs/src/index.js",
6
6
  "module": "./dist/esm/src/index.js",