@capgo/capacitor-health 8.3.0 → 8.3.2
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 +9 -9
- package/android/src/main/java/app/capgo/plugin/health/WorkoutType.kt +117 -115
- package/dist/docs.json +261 -73
- package/dist/esm/definitions.d.ts +3 -2
- package/dist/esm/definitions.js.map +1 -1
- package/ios/Sources/HealthPlugin/Health.swift +300 -219
- package/ios/Sources/HealthPlugin/HealthPlugin.swift +1 -1
- package/package.json +1 -1
package/dist/docs.json
CHANGED
|
@@ -679,7 +679,7 @@
|
|
|
679
679
|
{
|
|
680
680
|
"name": "anchor",
|
|
681
681
|
"tags": [],
|
|
682
|
-
"docs": "Anchor for pagination. Use the anchor returned from a previous query to continue from that point.\nOn iOS, this
|
|
682
|
+
"docs": "Anchor for pagination. Use the anchor returned from a previous query to continue from that point.\nOn iOS, this is the ISO 8601 cursor returned by the previous query. On Android, this uses\nHealth Connect's pageToken.\nOmit this parameter to start from the beginning.",
|
|
683
683
|
"complexTypes": [],
|
|
684
684
|
"type": "string | undefined"
|
|
685
685
|
}
|
|
@@ -1000,7 +1000,47 @@
|
|
|
1000
1000
|
"docs": "",
|
|
1001
1001
|
"types": [
|
|
1002
1002
|
{
|
|
1003
|
-
"text": "'
|
|
1003
|
+
"text": "'americanFootball'",
|
|
1004
|
+
"complexTypes": []
|
|
1005
|
+
},
|
|
1006
|
+
{
|
|
1007
|
+
"text": "'australianFootball'",
|
|
1008
|
+
"complexTypes": []
|
|
1009
|
+
},
|
|
1010
|
+
{
|
|
1011
|
+
"text": "'badminton'",
|
|
1012
|
+
"complexTypes": []
|
|
1013
|
+
},
|
|
1014
|
+
{
|
|
1015
|
+
"text": "'baseball'",
|
|
1016
|
+
"complexTypes": []
|
|
1017
|
+
},
|
|
1018
|
+
{
|
|
1019
|
+
"text": "'basketball'",
|
|
1020
|
+
"complexTypes": []
|
|
1021
|
+
},
|
|
1022
|
+
{
|
|
1023
|
+
"text": "'bowling'",
|
|
1024
|
+
"complexTypes": []
|
|
1025
|
+
},
|
|
1026
|
+
{
|
|
1027
|
+
"text": "'boxing'",
|
|
1028
|
+
"complexTypes": []
|
|
1029
|
+
},
|
|
1030
|
+
{
|
|
1031
|
+
"text": "'climbing'",
|
|
1032
|
+
"complexTypes": []
|
|
1033
|
+
},
|
|
1034
|
+
{
|
|
1035
|
+
"text": "'cricket'",
|
|
1036
|
+
"complexTypes": []
|
|
1037
|
+
},
|
|
1038
|
+
{
|
|
1039
|
+
"text": "'crossTraining'",
|
|
1040
|
+
"complexTypes": []
|
|
1041
|
+
},
|
|
1042
|
+
{
|
|
1043
|
+
"text": "'curling'",
|
|
1004
1044
|
"complexTypes": []
|
|
1005
1045
|
},
|
|
1006
1046
|
{
|
|
@@ -1008,19 +1048,31 @@
|
|
|
1008
1048
|
"complexTypes": []
|
|
1009
1049
|
},
|
|
1010
1050
|
{
|
|
1011
|
-
"text": "'
|
|
1051
|
+
"text": "'dance'",
|
|
1012
1052
|
"complexTypes": []
|
|
1013
1053
|
},
|
|
1014
1054
|
{
|
|
1015
|
-
"text": "'
|
|
1055
|
+
"text": "'elliptical'",
|
|
1016
1056
|
"complexTypes": []
|
|
1017
1057
|
},
|
|
1018
1058
|
{
|
|
1019
|
-
"text": "'
|
|
1059
|
+
"text": "'fencing'",
|
|
1020
1060
|
"complexTypes": []
|
|
1021
1061
|
},
|
|
1022
1062
|
{
|
|
1023
|
-
"text": "'
|
|
1063
|
+
"text": "'functionalStrengthTraining'",
|
|
1064
|
+
"complexTypes": []
|
|
1065
|
+
},
|
|
1066
|
+
{
|
|
1067
|
+
"text": "'golf'",
|
|
1068
|
+
"complexTypes": []
|
|
1069
|
+
},
|
|
1070
|
+
{
|
|
1071
|
+
"text": "'gymnastics'",
|
|
1072
|
+
"complexTypes": []
|
|
1073
|
+
},
|
|
1074
|
+
{
|
|
1075
|
+
"text": "'handball'",
|
|
1024
1076
|
"complexTypes": []
|
|
1025
1077
|
},
|
|
1026
1078
|
{
|
|
@@ -1028,45 +1080,121 @@
|
|
|
1028
1080
|
"complexTypes": []
|
|
1029
1081
|
},
|
|
1030
1082
|
{
|
|
1031
|
-
"text": "'
|
|
1083
|
+
"text": "'hockey'",
|
|
1032
1084
|
"complexTypes": []
|
|
1033
1085
|
},
|
|
1034
1086
|
{
|
|
1035
|
-
"text": "'
|
|
1087
|
+
"text": "'jumpRope'",
|
|
1036
1088
|
"complexTypes": []
|
|
1037
1089
|
},
|
|
1038
1090
|
{
|
|
1039
|
-
"text": "'
|
|
1091
|
+
"text": "'kickboxing'",
|
|
1040
1092
|
"complexTypes": []
|
|
1041
1093
|
},
|
|
1042
1094
|
{
|
|
1043
|
-
"text": "'
|
|
1095
|
+
"text": "'lacrosse'",
|
|
1044
1096
|
"complexTypes": []
|
|
1045
1097
|
},
|
|
1046
1098
|
{
|
|
1047
|
-
"text": "'
|
|
1099
|
+
"text": "'martialArts'",
|
|
1048
1100
|
"complexTypes": []
|
|
1049
1101
|
},
|
|
1050
1102
|
{
|
|
1051
|
-
"text": "'
|
|
1103
|
+
"text": "'pilates'",
|
|
1052
1104
|
"complexTypes": []
|
|
1053
1105
|
},
|
|
1054
1106
|
{
|
|
1055
|
-
"text": "'
|
|
1107
|
+
"text": "'racquetball'",
|
|
1056
1108
|
"complexTypes": []
|
|
1057
1109
|
},
|
|
1058
1110
|
{
|
|
1059
1111
|
"text": "'rowing'",
|
|
1060
1112
|
"complexTypes": []
|
|
1061
1113
|
},
|
|
1114
|
+
{
|
|
1115
|
+
"text": "'rugby'",
|
|
1116
|
+
"complexTypes": []
|
|
1117
|
+
},
|
|
1118
|
+
{
|
|
1119
|
+
"text": "'running'",
|
|
1120
|
+
"complexTypes": []
|
|
1121
|
+
},
|
|
1122
|
+
{
|
|
1123
|
+
"text": "'sailing'",
|
|
1124
|
+
"complexTypes": []
|
|
1125
|
+
},
|
|
1126
|
+
{
|
|
1127
|
+
"text": "'skatingSports'",
|
|
1128
|
+
"complexTypes": []
|
|
1129
|
+
},
|
|
1130
|
+
{
|
|
1131
|
+
"text": "'skiing'",
|
|
1132
|
+
"complexTypes": []
|
|
1133
|
+
},
|
|
1134
|
+
{
|
|
1135
|
+
"text": "'snowboarding'",
|
|
1136
|
+
"complexTypes": []
|
|
1137
|
+
},
|
|
1138
|
+
{
|
|
1139
|
+
"text": "'soccer'",
|
|
1140
|
+
"complexTypes": []
|
|
1141
|
+
},
|
|
1142
|
+
{
|
|
1143
|
+
"text": "'softball'",
|
|
1144
|
+
"complexTypes": []
|
|
1145
|
+
},
|
|
1146
|
+
{
|
|
1147
|
+
"text": "'squash'",
|
|
1148
|
+
"complexTypes": []
|
|
1149
|
+
},
|
|
1062
1150
|
{
|
|
1063
1151
|
"text": "'stairClimbing'",
|
|
1064
1152
|
"complexTypes": []
|
|
1065
1153
|
},
|
|
1154
|
+
{
|
|
1155
|
+
"text": "'strengthTraining'",
|
|
1156
|
+
"complexTypes": []
|
|
1157
|
+
},
|
|
1158
|
+
{
|
|
1159
|
+
"text": "'surfing'",
|
|
1160
|
+
"complexTypes": []
|
|
1161
|
+
},
|
|
1162
|
+
{
|
|
1163
|
+
"text": "'swimming'",
|
|
1164
|
+
"complexTypes": []
|
|
1165
|
+
},
|
|
1166
|
+
{
|
|
1167
|
+
"text": "'swimmingPool'",
|
|
1168
|
+
"complexTypes": []
|
|
1169
|
+
},
|
|
1170
|
+
{
|
|
1171
|
+
"text": "'swimmingOpenWater'",
|
|
1172
|
+
"complexTypes": []
|
|
1173
|
+
},
|
|
1174
|
+
{
|
|
1175
|
+
"text": "'tableTennis'",
|
|
1176
|
+
"complexTypes": []
|
|
1177
|
+
},
|
|
1178
|
+
{
|
|
1179
|
+
"text": "'tennis'",
|
|
1180
|
+
"complexTypes": []
|
|
1181
|
+
},
|
|
1182
|
+
{
|
|
1183
|
+
"text": "'trackAndField'",
|
|
1184
|
+
"complexTypes": []
|
|
1185
|
+
},
|
|
1066
1186
|
{
|
|
1067
1187
|
"text": "'traditionalStrengthTraining'",
|
|
1068
1188
|
"complexTypes": []
|
|
1069
1189
|
},
|
|
1190
|
+
{
|
|
1191
|
+
"text": "'volleyball'",
|
|
1192
|
+
"complexTypes": []
|
|
1193
|
+
},
|
|
1194
|
+
{
|
|
1195
|
+
"text": "'walking'",
|
|
1196
|
+
"complexTypes": []
|
|
1197
|
+
},
|
|
1070
1198
|
{
|
|
1071
1199
|
"text": "'waterFitness'",
|
|
1072
1200
|
"complexTypes": []
|
|
@@ -1080,19 +1208,19 @@
|
|
|
1080
1208
|
"complexTypes": []
|
|
1081
1209
|
},
|
|
1082
1210
|
{
|
|
1083
|
-
"text": "'
|
|
1211
|
+
"text": "'weightlifting'",
|
|
1084
1212
|
"complexTypes": []
|
|
1085
1213
|
},
|
|
1086
1214
|
{
|
|
1087
|
-
"text": "'
|
|
1215
|
+
"text": "'wheelchair'",
|
|
1088
1216
|
"complexTypes": []
|
|
1089
1217
|
},
|
|
1090
1218
|
{
|
|
1091
|
-
"text": "'
|
|
1219
|
+
"text": "'yoga'",
|
|
1092
1220
|
"complexTypes": []
|
|
1093
1221
|
},
|
|
1094
1222
|
{
|
|
1095
|
-
"text": "'
|
|
1223
|
+
"text": "'archery'",
|
|
1096
1224
|
"complexTypes": []
|
|
1097
1225
|
},
|
|
1098
1226
|
{
|
|
@@ -1100,227 +1228,287 @@
|
|
|
1100
1228
|
"complexTypes": []
|
|
1101
1229
|
},
|
|
1102
1230
|
{
|
|
1103
|
-
"text": "'
|
|
1231
|
+
"text": "'cooldown'",
|
|
1104
1232
|
"complexTypes": []
|
|
1105
1233
|
},
|
|
1106
1234
|
{
|
|
1107
|
-
"text": "'
|
|
1235
|
+
"text": "'coreTraining'",
|
|
1108
1236
|
"complexTypes": []
|
|
1109
1237
|
},
|
|
1110
1238
|
{
|
|
1111
|
-
"text": "'
|
|
1239
|
+
"text": "'crossCountrySkiing'",
|
|
1112
1240
|
"complexTypes": []
|
|
1113
1241
|
},
|
|
1114
1242
|
{
|
|
1115
|
-
"text": "'
|
|
1243
|
+
"text": "'discSports'",
|
|
1116
1244
|
"complexTypes": []
|
|
1117
1245
|
},
|
|
1118
1246
|
{
|
|
1119
|
-
"text": "'
|
|
1247
|
+
"text": "'downhillSkiing'",
|
|
1120
1248
|
"complexTypes": []
|
|
1121
1249
|
},
|
|
1122
1250
|
{
|
|
1123
|
-
"text": "'
|
|
1251
|
+
"text": "'equestrianSports'",
|
|
1124
1252
|
"complexTypes": []
|
|
1125
1253
|
},
|
|
1126
1254
|
{
|
|
1127
|
-
"text": "'
|
|
1255
|
+
"text": "'fishing'",
|
|
1128
1256
|
"complexTypes": []
|
|
1129
1257
|
},
|
|
1130
1258
|
{
|
|
1131
|
-
"text": "'
|
|
1259
|
+
"text": "'fitnessGaming'",
|
|
1132
1260
|
"complexTypes": []
|
|
1133
1261
|
},
|
|
1134
1262
|
{
|
|
1135
|
-
"text": "'
|
|
1263
|
+
"text": "'flexibility'",
|
|
1136
1264
|
"complexTypes": []
|
|
1137
1265
|
},
|
|
1138
1266
|
{
|
|
1139
|
-
"text": "'
|
|
1267
|
+
"text": "'handCycling'",
|
|
1140
1268
|
"complexTypes": []
|
|
1141
1269
|
},
|
|
1142
1270
|
{
|
|
1143
|
-
"text": "'
|
|
1271
|
+
"text": "'highIntensityIntervalTraining'",
|
|
1144
1272
|
"complexTypes": []
|
|
1145
1273
|
},
|
|
1146
1274
|
{
|
|
1147
|
-
"text": "'
|
|
1275
|
+
"text": "'hunting'",
|
|
1148
1276
|
"complexTypes": []
|
|
1149
1277
|
},
|
|
1150
1278
|
{
|
|
1151
|
-
"text": "'
|
|
1279
|
+
"text": "'mindAndBody'",
|
|
1152
1280
|
"complexTypes": []
|
|
1153
1281
|
},
|
|
1154
1282
|
{
|
|
1155
|
-
"text": "'
|
|
1283
|
+
"text": "'mixedCardio'",
|
|
1156
1284
|
"complexTypes": []
|
|
1157
1285
|
},
|
|
1158
1286
|
{
|
|
1159
|
-
"text": "'
|
|
1287
|
+
"text": "'paddleSports'",
|
|
1160
1288
|
"complexTypes": []
|
|
1161
1289
|
},
|
|
1162
1290
|
{
|
|
1163
|
-
"text": "'
|
|
1291
|
+
"text": "'pickleball'",
|
|
1164
1292
|
"complexTypes": []
|
|
1165
1293
|
},
|
|
1166
1294
|
{
|
|
1167
|
-
"text": "'
|
|
1295
|
+
"text": "'play'",
|
|
1168
1296
|
"complexTypes": []
|
|
1169
1297
|
},
|
|
1170
1298
|
{
|
|
1171
|
-
"text": "'
|
|
1299
|
+
"text": "'preparationAndRecovery'",
|
|
1172
1300
|
"complexTypes": []
|
|
1173
1301
|
},
|
|
1174
1302
|
{
|
|
1175
|
-
"text": "'
|
|
1303
|
+
"text": "'snowSports'",
|
|
1176
1304
|
"complexTypes": []
|
|
1177
1305
|
},
|
|
1178
1306
|
{
|
|
1179
|
-
"text": "'
|
|
1307
|
+
"text": "'stairs'",
|
|
1180
1308
|
"complexTypes": []
|
|
1181
1309
|
},
|
|
1182
1310
|
{
|
|
1183
|
-
"text": "'
|
|
1311
|
+
"text": "'stepTraining'",
|
|
1184
1312
|
"complexTypes": []
|
|
1185
1313
|
},
|
|
1186
1314
|
{
|
|
1187
|
-
"text": "'
|
|
1315
|
+
"text": "'surfingSports'",
|
|
1188
1316
|
"complexTypes": []
|
|
1189
1317
|
},
|
|
1190
1318
|
{
|
|
1191
|
-
"text": "'
|
|
1319
|
+
"text": "'taiChi'",
|
|
1192
1320
|
"complexTypes": []
|
|
1193
1321
|
},
|
|
1194
1322
|
{
|
|
1195
|
-
"text": "'
|
|
1323
|
+
"text": "'transition'",
|
|
1196
1324
|
"complexTypes": []
|
|
1197
1325
|
},
|
|
1198
1326
|
{
|
|
1199
|
-
"text": "'
|
|
1327
|
+
"text": "'underwaterDiving'",
|
|
1200
1328
|
"complexTypes": []
|
|
1201
1329
|
},
|
|
1202
1330
|
{
|
|
1203
|
-
"text": "'
|
|
1331
|
+
"text": "'wheelchairRunPace'",
|
|
1204
1332
|
"complexTypes": []
|
|
1205
1333
|
},
|
|
1206
1334
|
{
|
|
1207
|
-
"text": "'
|
|
1335
|
+
"text": "'wheelchairWalkPace'",
|
|
1208
1336
|
"complexTypes": []
|
|
1209
1337
|
},
|
|
1210
1338
|
{
|
|
1211
|
-
"text": "'
|
|
1339
|
+
"text": "'wrestling'",
|
|
1212
1340
|
"complexTypes": []
|
|
1213
1341
|
},
|
|
1214
1342
|
{
|
|
1215
|
-
"text": "'
|
|
1343
|
+
"text": "'cardioDance'",
|
|
1216
1344
|
"complexTypes": []
|
|
1217
1345
|
},
|
|
1218
1346
|
{
|
|
1219
|
-
"text": "'
|
|
1347
|
+
"text": "'socialDance'",
|
|
1220
1348
|
"complexTypes": []
|
|
1221
1349
|
},
|
|
1222
1350
|
{
|
|
1223
|
-
"text": "'
|
|
1351
|
+
"text": "'backExtension'",
|
|
1224
1352
|
"complexTypes": []
|
|
1225
1353
|
},
|
|
1226
1354
|
{
|
|
1227
|
-
"text": "'
|
|
1355
|
+
"text": "'barbellShoulderPress'",
|
|
1228
1356
|
"complexTypes": []
|
|
1229
1357
|
},
|
|
1230
1358
|
{
|
|
1231
|
-
"text": "'
|
|
1359
|
+
"text": "'benchPress'",
|
|
1232
1360
|
"complexTypes": []
|
|
1233
1361
|
},
|
|
1234
1362
|
{
|
|
1235
|
-
"text": "'
|
|
1363
|
+
"text": "'benchSitUp'",
|
|
1236
1364
|
"complexTypes": []
|
|
1237
1365
|
},
|
|
1238
1366
|
{
|
|
1239
|
-
"text": "'
|
|
1367
|
+
"text": "'bikingStationary'",
|
|
1240
1368
|
"complexTypes": []
|
|
1241
1369
|
},
|
|
1242
1370
|
{
|
|
1243
|
-
"text": "'
|
|
1371
|
+
"text": "'bootCamp'",
|
|
1244
1372
|
"complexTypes": []
|
|
1245
1373
|
},
|
|
1246
1374
|
{
|
|
1247
|
-
"text": "'
|
|
1375
|
+
"text": "'burpee'",
|
|
1248
1376
|
"complexTypes": []
|
|
1249
1377
|
},
|
|
1250
1378
|
{
|
|
1251
|
-
"text": "'
|
|
1379
|
+
"text": "'calisthenics'",
|
|
1252
1380
|
"complexTypes": []
|
|
1253
1381
|
},
|
|
1254
1382
|
{
|
|
1255
|
-
"text": "'
|
|
1383
|
+
"text": "'crunch'",
|
|
1256
1384
|
"complexTypes": []
|
|
1257
1385
|
},
|
|
1258
1386
|
{
|
|
1259
|
-
"text": "'
|
|
1387
|
+
"text": "'dancing'",
|
|
1260
1388
|
"complexTypes": []
|
|
1261
1389
|
},
|
|
1262
1390
|
{
|
|
1263
|
-
"text": "'
|
|
1391
|
+
"text": "'deadlift'",
|
|
1264
1392
|
"complexTypes": []
|
|
1265
1393
|
},
|
|
1266
1394
|
{
|
|
1267
|
-
"text": "'
|
|
1395
|
+
"text": "'dumbbellCurlLeftArm'",
|
|
1268
1396
|
"complexTypes": []
|
|
1269
1397
|
},
|
|
1270
1398
|
{
|
|
1271
|
-
"text": "'
|
|
1399
|
+
"text": "'dumbbellCurlRightArm'",
|
|
1272
1400
|
"complexTypes": []
|
|
1273
1401
|
},
|
|
1274
1402
|
{
|
|
1275
|
-
"text": "'
|
|
1403
|
+
"text": "'dumbbellFrontRaise'",
|
|
1276
1404
|
"complexTypes": []
|
|
1277
1405
|
},
|
|
1278
1406
|
{
|
|
1279
|
-
"text": "'
|
|
1407
|
+
"text": "'dumbbellLateralRaise'",
|
|
1280
1408
|
"complexTypes": []
|
|
1281
1409
|
},
|
|
1282
1410
|
{
|
|
1283
|
-
"text": "'
|
|
1411
|
+
"text": "'dumbbellTricepsExtensionLeftArm'",
|
|
1284
1412
|
"complexTypes": []
|
|
1285
1413
|
},
|
|
1286
1414
|
{
|
|
1287
|
-
"text": "'
|
|
1415
|
+
"text": "'dumbbellTricepsExtensionRightArm'",
|
|
1288
1416
|
"complexTypes": []
|
|
1289
1417
|
},
|
|
1290
1418
|
{
|
|
1291
|
-
"text": "'
|
|
1419
|
+
"text": "'dumbbellTricepsExtensionTwoArm'",
|
|
1292
1420
|
"complexTypes": []
|
|
1293
1421
|
},
|
|
1294
1422
|
{
|
|
1295
|
-
"text": "'
|
|
1423
|
+
"text": "'exerciseClass'",
|
|
1296
1424
|
"complexTypes": []
|
|
1297
1425
|
},
|
|
1298
1426
|
{
|
|
1299
|
-
"text": "'
|
|
1427
|
+
"text": "'forwardTwist'",
|
|
1300
1428
|
"complexTypes": []
|
|
1301
1429
|
},
|
|
1302
1430
|
{
|
|
1303
|
-
"text": "'
|
|
1431
|
+
"text": "'frisbeedisc'",
|
|
1304
1432
|
"complexTypes": []
|
|
1305
1433
|
},
|
|
1306
1434
|
{
|
|
1307
|
-
"text": "'
|
|
1435
|
+
"text": "'guidedBreathing'",
|
|
1308
1436
|
"complexTypes": []
|
|
1309
1437
|
},
|
|
1310
1438
|
{
|
|
1311
|
-
"text": "'
|
|
1439
|
+
"text": "'iceHockey'",
|
|
1312
1440
|
"complexTypes": []
|
|
1313
1441
|
},
|
|
1314
1442
|
{
|
|
1315
|
-
"text": "'
|
|
1443
|
+
"text": "'iceSkating'",
|
|
1316
1444
|
"complexTypes": []
|
|
1317
1445
|
},
|
|
1318
1446
|
{
|
|
1319
|
-
"text": "'
|
|
1447
|
+
"text": "'jumpingJack'",
|
|
1320
1448
|
"complexTypes": []
|
|
1321
1449
|
},
|
|
1322
1450
|
{
|
|
1323
|
-
"text": "'
|
|
1451
|
+
"text": "'latPullDown'",
|
|
1452
|
+
"complexTypes": []
|
|
1453
|
+
},
|
|
1454
|
+
{
|
|
1455
|
+
"text": "'lunge'",
|
|
1456
|
+
"complexTypes": []
|
|
1457
|
+
},
|
|
1458
|
+
{
|
|
1459
|
+
"text": "'meditation'",
|
|
1460
|
+
"complexTypes": []
|
|
1461
|
+
},
|
|
1462
|
+
{
|
|
1463
|
+
"text": "'paddling'",
|
|
1464
|
+
"complexTypes": []
|
|
1465
|
+
},
|
|
1466
|
+
{
|
|
1467
|
+
"text": "'paraGliding'",
|
|
1468
|
+
"complexTypes": []
|
|
1469
|
+
},
|
|
1470
|
+
{
|
|
1471
|
+
"text": "'plank'",
|
|
1472
|
+
"complexTypes": []
|
|
1473
|
+
},
|
|
1474
|
+
{
|
|
1475
|
+
"text": "'rockClimbing'",
|
|
1476
|
+
"complexTypes": []
|
|
1477
|
+
},
|
|
1478
|
+
{
|
|
1479
|
+
"text": "'rollerHockey'",
|
|
1480
|
+
"complexTypes": []
|
|
1481
|
+
},
|
|
1482
|
+
{
|
|
1483
|
+
"text": "'rowingMachine'",
|
|
1484
|
+
"complexTypes": []
|
|
1485
|
+
},
|
|
1486
|
+
{
|
|
1487
|
+
"text": "'runningTreadmill'",
|
|
1488
|
+
"complexTypes": []
|
|
1489
|
+
},
|
|
1490
|
+
{
|
|
1491
|
+
"text": "'scubaDiving'",
|
|
1492
|
+
"complexTypes": []
|
|
1493
|
+
},
|
|
1494
|
+
{
|
|
1495
|
+
"text": "'skating'",
|
|
1496
|
+
"complexTypes": []
|
|
1497
|
+
},
|
|
1498
|
+
{
|
|
1499
|
+
"text": "'snowshoeing'",
|
|
1500
|
+
"complexTypes": []
|
|
1501
|
+
},
|
|
1502
|
+
{
|
|
1503
|
+
"text": "'stairClimbingMachine'",
|
|
1504
|
+
"complexTypes": []
|
|
1505
|
+
},
|
|
1506
|
+
{
|
|
1507
|
+
"text": "'stretching'",
|
|
1508
|
+
"complexTypes": []
|
|
1509
|
+
},
|
|
1510
|
+
{
|
|
1511
|
+
"text": "'upperTwist'",
|
|
1324
1512
|
"complexTypes": []
|
|
1325
1513
|
},
|
|
1326
1514
|
{
|
|
@@ -49,7 +49,7 @@ export interface HealthSample {
|
|
|
49
49
|
export interface ReadSamplesResult {
|
|
50
50
|
samples: HealthSample[];
|
|
51
51
|
}
|
|
52
|
-
export type WorkoutType = '
|
|
52
|
+
export type WorkoutType = 'americanFootball' | 'australianFootball' | 'badminton' | 'baseball' | 'basketball' | 'bowling' | 'boxing' | 'climbing' | 'cricket' | 'crossTraining' | 'curling' | 'cycling' | 'dance' | 'elliptical' | 'fencing' | 'functionalStrengthTraining' | 'golf' | 'gymnastics' | 'handball' | 'hiking' | 'hockey' | 'jumpRope' | 'kickboxing' | 'lacrosse' | 'martialArts' | 'pilates' | 'racquetball' | 'rowing' | 'rugby' | 'running' | 'sailing' | 'skatingSports' | 'skiing' | 'snowboarding' | 'soccer' | 'softball' | 'squash' | 'stairClimbing' | 'strengthTraining' | 'surfing' | 'swimming' | 'swimmingPool' | 'swimmingOpenWater' | 'tableTennis' | 'tennis' | 'trackAndField' | 'traditionalStrengthTraining' | 'volleyball' | 'walking' | 'waterFitness' | 'waterPolo' | 'waterSports' | 'weightlifting' | 'wheelchair' | 'yoga' | 'archery' | 'barre' | 'cooldown' | 'coreTraining' | 'crossCountrySkiing' | 'discSports' | 'downhillSkiing' | 'equestrianSports' | 'fishing' | 'fitnessGaming' | 'flexibility' | 'handCycling' | 'highIntensityIntervalTraining' | 'hunting' | 'mindAndBody' | 'mixedCardio' | 'paddleSports' | 'pickleball' | 'play' | 'preparationAndRecovery' | 'snowSports' | 'stairs' | 'stepTraining' | 'surfingSports' | 'taiChi' | 'transition' | 'underwaterDiving' | 'wheelchairRunPace' | 'wheelchairWalkPace' | 'wrestling' | 'cardioDance' | 'socialDance' | 'backExtension' | 'barbellShoulderPress' | 'benchPress' | 'benchSitUp' | 'bikingStationary' | 'bootCamp' | 'burpee' | 'calisthenics' | 'crunch' | 'dancing' | 'deadlift' | 'dumbbellCurlLeftArm' | 'dumbbellCurlRightArm' | 'dumbbellFrontRaise' | 'dumbbellLateralRaise' | 'dumbbellTricepsExtensionLeftArm' | 'dumbbellTricepsExtensionRightArm' | 'dumbbellTricepsExtensionTwoArm' | 'exerciseClass' | 'forwardTwist' | 'frisbeedisc' | 'guidedBreathing' | 'iceHockey' | 'iceSkating' | 'jumpingJack' | 'latPullDown' | 'lunge' | 'meditation' | 'paddling' | 'paraGliding' | 'plank' | 'rockClimbing' | 'rollerHockey' | 'rowingMachine' | 'runningTreadmill' | 'scubaDiving' | 'skating' | 'snowshoeing' | 'stairClimbingMachine' | 'stretching' | 'upperTwist' | 'other';
|
|
53
53
|
export interface QueryWorkoutsOptions {
|
|
54
54
|
/** Optional workout type filter. If omitted, all workout types are returned. */
|
|
55
55
|
workoutType?: WorkoutType;
|
|
@@ -63,7 +63,8 @@ export interface QueryWorkoutsOptions {
|
|
|
63
63
|
ascending?: boolean;
|
|
64
64
|
/**
|
|
65
65
|
* Anchor for pagination. Use the anchor returned from a previous query to continue from that point.
|
|
66
|
-
* On iOS, this
|
|
66
|
+
* On iOS, this is the ISO 8601 cursor returned by the previous query. On Android, this uses
|
|
67
|
+
* Health Connect's pageToken.
|
|
67
68
|
* Omit this parameter to start from the beginning.
|
|
68
69
|
*/
|
|
69
70
|
anchor?: string;
|