@await-widget/runtime 0.0.13 → 0.0.15

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/types/model.d.ts +12 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@await-widget/runtime",
3
- "version": "0.0.13",
3
+ "version": "0.0.15",
4
4
  "description": "TypeScript declarations for Await widgets.",
5
5
  "license": "MIT",
6
6
  "author": "LitoMore",
package/types/model.d.ts CHANGED
@@ -121,6 +121,17 @@ type AwaitHealthInfo = {
121
121
  stepCount?: number;
122
122
  distanceWalkingRunning?: number;
123
123
  flightsClimbed?: number;
124
+ fitness?: {
125
+ activeEnergyBurned?: number;
126
+ activeEnergyBurnedGoal?: number;
127
+ exerciseTime?: number;
128
+ exerciseTimeGoal?: number;
129
+ standHours?: number;
130
+ standHoursGoal?: number;
131
+ };
132
+ heartRate?: number;
133
+ restingHeartRate?: number;
134
+ oxygenSaturation?: number;
124
135
  };
125
136
 
126
137
  type AwaitLocationConfig = {
@@ -188,6 +199,7 @@ type AwaitNowPlayingInfo = {
188
199
 
189
200
  type AwaitMusicPlayerCommand =
190
201
  | 'start'
202
+ | 'stop'
191
203
  | 'toggle'
192
204
  | 'next'
193
205
  | 'previous'
@@ -203,7 +215,6 @@ type AwaitMusicPlayConfig =
203
215
  limit?: number;
204
216
  shuffle?: boolean;
205
217
  loop?: boolean;
206
- offset?: number;
207
218
  }
208
219
  | {
209
220
  source: 'artist';