crewtimer-common 1.0.16 → 1.0.18

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.
@@ -72,6 +72,7 @@ export interface RegattaInfo {
72
72
  InfoText?: string;
73
73
  LiveConfig?: KeyMap;
74
74
  LogoURL?: string;
75
+ Name: string;
75
76
  NtpServers?: string[];
76
77
  NumDays: string;
77
78
  PenaltyLocations?: string;
@@ -89,6 +90,7 @@ export interface RegattaInfo {
89
90
  Titles?: KeyMap<string>;
90
91
  TrackingStations?: TrackingStation[];
91
92
  Waypoints: string;
93
+ FeeType?: string;
92
94
  }
93
95
  /** Private regatta settings
94
96
  * Stored as /regatta/<regatta>/settings/config
@@ -100,6 +102,8 @@ export interface RegattaConfig extends RegattaInfo {
100
102
  pin: string;
101
103
  stationType: string;
102
104
  }];
105
+ CloudKey: string;
106
+ Owner: string;
103
107
  }
104
108
  export interface QRCodeInfo {
105
109
  mobilePin: string;
@@ -121,16 +125,22 @@ export interface ReloadResult {
121
125
  }
122
126
  export interface ResultSummary {
123
127
  Date: string;
128
+ FeeType: string;
124
129
  InfoText: string;
125
130
  Name: string;
126
131
  NumDays: string;
127
- Public: string;
132
+ NumEntries: number;
133
+ Public: boolean;
128
134
  Title: string;
129
135
  }
130
136
  export interface AdminSummary extends ResultSummary {
131
- NumEntries: number;
132
137
  Owner: string;
133
138
  RaceType: string;
139
+ Admins: string;
140
+ Payment?: {
141
+ invoiceId: string;
142
+ updateTime: string;
143
+ };
134
144
  }
135
145
  export interface DBSettings {
136
146
  config: RegattaConfig;
@@ -143,6 +153,10 @@ export interface DBRegatta {
143
153
  lapdata: Lap[];
144
154
  lapdataTS?: number;
145
155
  settings: DBSettings;
156
+ Payment?: {
157
+ invoiceId: string;
158
+ updateTime: string;
159
+ };
146
160
  }
147
161
  /** Base regatta data plus some cooked fields used when calculating results */
148
162
  export interface RegattaData extends DBRegatta {
@@ -72,6 +72,7 @@ export interface RegattaInfo {
72
72
  InfoText?: string;
73
73
  LiveConfig?: KeyMap;
74
74
  LogoURL?: string;
75
+ Name: string;
75
76
  NtpServers?: string[];
76
77
  NumDays: string;
77
78
  PenaltyLocations?: string;
@@ -89,6 +90,7 @@ export interface RegattaInfo {
89
90
  Titles?: KeyMap<string>;
90
91
  TrackingStations?: TrackingStation[];
91
92
  Waypoints: string;
93
+ FeeType?: string;
92
94
  }
93
95
  /** Private regatta settings
94
96
  * Stored as /regatta/<regatta>/settings/config
@@ -100,6 +102,8 @@ export interface RegattaConfig extends RegattaInfo {
100
102
  pin: string;
101
103
  stationType: string;
102
104
  }];
105
+ CloudKey: string;
106
+ Owner: string;
103
107
  }
104
108
  export interface QRCodeInfo {
105
109
  mobilePin: string;
@@ -121,16 +125,22 @@ export interface ReloadResult {
121
125
  }
122
126
  export interface ResultSummary {
123
127
  Date: string;
128
+ FeeType: string;
124
129
  InfoText: string;
125
130
  Name: string;
126
131
  NumDays: string;
127
- Public: string;
132
+ NumEntries: number;
133
+ Public: boolean;
128
134
  Title: string;
129
135
  }
130
136
  export interface AdminSummary extends ResultSummary {
131
- NumEntries: number;
132
137
  Owner: string;
133
138
  RaceType: string;
139
+ Admins: string;
140
+ Payment?: {
141
+ invoiceId: string;
142
+ updateTime: string;
143
+ };
134
144
  }
135
145
  export interface DBSettings {
136
146
  config: RegattaConfig;
@@ -143,6 +153,10 @@ export interface DBRegatta {
143
153
  lapdata: Lap[];
144
154
  lapdataTS?: number;
145
155
  settings: DBSettings;
156
+ Payment?: {
157
+ invoiceId: string;
158
+ updateTime: string;
159
+ };
146
160
  }
147
161
  /** Base regatta data plus some cooked fields used when calculating results */
148
162
  export interface RegattaData extends DBRegatta {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "crewtimer-common",
3
- "version": "1.0.16",
3
+ "version": "1.0.18",
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",