crewtimer-common 1.0.12 → 1.0.13

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.
@@ -11,7 +11,7 @@ export interface Event {
11
11
  EventNum: string;
12
12
  Finished: boolean;
13
13
  Official: boolean;
14
- RaceType: 'Head' | 'Sprint';
14
+ RaceType: 'Head' | 'Sprint' | 'Info' | 'SprintStaggered';
15
15
  Start: string;
16
16
  TZOffset: number;
17
17
  json?: string;
@@ -1,7 +1,7 @@
1
1
  import { Entry } from './Entry';
2
2
  import { KeyMap } from './KeyMap';
3
3
  import { RMStation, RMConfigSummary } from './RMTypes';
4
- export type RaceType = 'Sprint' | 'Head';
4
+ export type RaceType = 'Sprint' | 'Head' | 'Info' | 'SprintStaggered';
5
5
  export type ConfigSource = 'Local' | 'CrewTimer.com';
6
6
  export interface PenaltyInfo {
7
7
  PenaltyCode: string;
@@ -67,7 +67,10 @@ export interface RegattaInfo {
67
67
  DayList: string[];
68
68
  Finished?: boolean;
69
69
  FlightRaces?: string[][];
70
+ HandicapType: string;
71
+ HandicapNormalized: boolean;
70
72
  InfoText?: string;
73
+ LiveConfig?: KeyMap;
71
74
  LogoURL?: string;
72
75
  NtpServers?: string[];
73
76
  NumDays: string;
@@ -82,7 +85,6 @@ export interface RegattaInfo {
82
85
  Source: 'Local' | 'CrewTimer.com';
83
86
  Stations: RMStation[];
84
87
  Stopwatch?: StopwatchConfig;
85
- SubTitle?: string;
86
88
  Title: string;
87
89
  Titles?: KeyMap<string>;
88
90
  TrackingStations?: TrackingStation[];
@@ -123,7 +125,6 @@ export interface ResultSummary {
123
125
  Name: string;
124
126
  NumDays: string;
125
127
  Public: string;
126
- SubTitle?: string;
127
128
  Title: string;
128
129
  }
129
130
  export interface AdminSummary extends ResultSummary {
@@ -11,7 +11,7 @@ export interface Event {
11
11
  EventNum: string;
12
12
  Finished: boolean;
13
13
  Official: boolean;
14
- RaceType: 'Head' | 'Sprint';
14
+ RaceType: 'Head' | 'Sprint' | 'Info' | 'SprintStaggered';
15
15
  Start: string;
16
16
  TZOffset: number;
17
17
  json?: string;
@@ -1,7 +1,7 @@
1
1
  import { Entry } from './Entry';
2
2
  import { KeyMap } from './KeyMap';
3
3
  import { RMStation, RMConfigSummary } from './RMTypes';
4
- export type RaceType = 'Sprint' | 'Head';
4
+ export type RaceType = 'Sprint' | 'Head' | 'Info' | 'SprintStaggered';
5
5
  export type ConfigSource = 'Local' | 'CrewTimer.com';
6
6
  export interface PenaltyInfo {
7
7
  PenaltyCode: string;
@@ -67,7 +67,10 @@ export interface RegattaInfo {
67
67
  DayList: string[];
68
68
  Finished?: boolean;
69
69
  FlightRaces?: string[][];
70
+ HandicapType: string;
71
+ HandicapNormalized: boolean;
70
72
  InfoText?: string;
73
+ LiveConfig?: KeyMap;
71
74
  LogoURL?: string;
72
75
  NtpServers?: string[];
73
76
  NumDays: string;
@@ -82,7 +85,6 @@ export interface RegattaInfo {
82
85
  Source: 'Local' | 'CrewTimer.com';
83
86
  Stations: RMStation[];
84
87
  Stopwatch?: StopwatchConfig;
85
- SubTitle?: string;
86
88
  Title: string;
87
89
  Titles?: KeyMap<string>;
88
90
  TrackingStations?: TrackingStation[];
@@ -123,7 +125,6 @@ export interface ResultSummary {
123
125
  Name: string;
124
126
  NumDays: string;
125
127
  Public: string;
126
- SubTitle?: string;
127
128
  Title: string;
128
129
  }
129
130
  export interface AdminSummary extends ResultSummary {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "crewtimer-common",
3
- "version": "1.0.12",
3
+ "version": "1.0.13",
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",