@stuartshay/otel-graphql-types 1.0.445 → 1.0.455
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/index.d.ts +59 -2
- package/package.json +1 -1
- package/schema.graphql +110 -2
package/index.d.ts
CHANGED
|
@@ -345,6 +345,15 @@ export interface GarminActivityLap {
|
|
|
345
345
|
updated_at?: Maybe<Scalars['String']['output']>;
|
|
346
346
|
}
|
|
347
347
|
|
|
348
|
+
/** Laps for a single activity within the batch laps comparison response. */
|
|
349
|
+
export interface GarminActivityLapsGroup {
|
|
350
|
+
__typename?: 'GarminActivityLapsGroup';
|
|
351
|
+
/** Parent activity summary */
|
|
352
|
+
activity: GarminLapsActivity;
|
|
353
|
+
/** Laps ordered by lap_index ascending */
|
|
354
|
+
laps: Array<GarminActivityLap>;
|
|
355
|
+
}
|
|
356
|
+
|
|
348
357
|
/** Aggregated Garmin activity totals for a single time bucket (week, month, or year). */
|
|
349
358
|
export interface GarminActivityTotal {
|
|
350
359
|
__typename?: 'GarminActivityTotal';
|
|
@@ -422,6 +431,44 @@ export interface GarminDeviceCount {
|
|
|
422
431
|
label: Scalars['String']['output'];
|
|
423
432
|
}
|
|
424
433
|
|
|
434
|
+
/** Activity summary metadata for a batch laps comparison item. */
|
|
435
|
+
export interface GarminLapsActivity {
|
|
436
|
+
__typename?: 'GarminLapsActivity';
|
|
437
|
+
/** Garmin Connect activity identifier */
|
|
438
|
+
activity_id: Scalars['String']['output'];
|
|
439
|
+
/** Average activity heart rate in bpm */
|
|
440
|
+
avg_heart_rate?: Maybe<Scalars['Int']['output']>;
|
|
441
|
+
/** Average activity speed in km/h */
|
|
442
|
+
avg_speed_kmh?: Maybe<Scalars['Float']['output']>;
|
|
443
|
+
/** Total activity distance in kilometers */
|
|
444
|
+
distance_km?: Maybe<Scalars['Float']['output']>;
|
|
445
|
+
/** Total activity duration in seconds */
|
|
446
|
+
duration_seconds?: Maybe<Scalars['Float']['output']>;
|
|
447
|
+
/** Maximum activity heart rate in bpm */
|
|
448
|
+
max_heart_rate?: Maybe<Scalars['Int']['output']>;
|
|
449
|
+
/** Sport type (e.g. cycling) */
|
|
450
|
+
sport?: Maybe<Scalars['String']['output']>;
|
|
451
|
+
/** UTC activity start time */
|
|
452
|
+
start_time?: Maybe<Scalars['String']['output']>;
|
|
453
|
+
/** Sub-sport type (e.g. road) */
|
|
454
|
+
sub_sport?: Maybe<Scalars['String']['output']>;
|
|
455
|
+
/** Total activity elevation gain in meters */
|
|
456
|
+
total_ascent_m?: Maybe<Scalars['Float']['output']>;
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
/** Paginated batch of activities (each with their laps) for cross-activity lap comparison. */
|
|
460
|
+
export interface GarminLapsComparisonConnection {
|
|
461
|
+
__typename?: 'GarminLapsComparisonConnection';
|
|
462
|
+
/** Activities (newest first), each with their laps ordered by lap_index */
|
|
463
|
+
items: Array<GarminActivityLapsGroup>;
|
|
464
|
+
/** Maximum number of activities per page */
|
|
465
|
+
limit: Scalars['Int']['output'];
|
|
466
|
+
/** Number of activities skipped from the start */
|
|
467
|
+
offset: Scalars['Int']['output'];
|
|
468
|
+
/** Total number of activities matching the query */
|
|
469
|
+
total: Scalars['Int']['output'];
|
|
470
|
+
}
|
|
471
|
+
|
|
425
472
|
/** Result payload returned when triggering an on-demand Garmin sync. */
|
|
426
473
|
export interface GarminSyncTriggerResult {
|
|
427
474
|
__typename?: 'GarminSyncTriggerResult';
|
|
@@ -801,6 +848,8 @@ export interface Query {
|
|
|
801
848
|
garminDateRange: GarminDateRange;
|
|
802
849
|
/** List Garmin recording device labels with activity counts. */
|
|
803
850
|
garminDeviceCounts: Array<GarminDeviceCount>;
|
|
851
|
+
/** Batch laps across activities for cross-activity comparison (matrix of activities x lap_index). */
|
|
852
|
+
garminLapsComparison: GarminLapsComparisonConnection;
|
|
804
853
|
/** List all distinct sport types with activity counts. */
|
|
805
854
|
garminSports: Array<SportInfo>;
|
|
806
855
|
/** Retrieve paginated GPS track points for a Garmin activity. */
|
|
@@ -882,6 +931,14 @@ export interface QueryGarminChartDataArgs {
|
|
|
882
931
|
activity_id: Scalars['String']['input'];
|
|
883
932
|
}
|
|
884
933
|
|
|
934
|
+
export interface QueryGarminLapsComparisonArgs {
|
|
935
|
+
date_from?: InputMaybe<Scalars['String']['input']>;
|
|
936
|
+
date_to?: InputMaybe<Scalars['String']['input']>;
|
|
937
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
938
|
+
offset?: InputMaybe<Scalars['Int']['input']>;
|
|
939
|
+
sport?: InputMaybe<Scalars['String']['input']>;
|
|
940
|
+
}
|
|
941
|
+
|
|
885
942
|
export interface QueryGarminTrackPointsArgs {
|
|
886
943
|
activity_id: Scalars['String']['input'];
|
|
887
944
|
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
@@ -942,8 +999,8 @@ export interface QueryWithinReferenceArgs {
|
|
|
942
999
|
/** Service readiness status including database connectivity. */
|
|
943
1000
|
export interface ReadyStatus {
|
|
944
1001
|
__typename?: 'ReadyStatus';
|
|
945
|
-
/** Database
|
|
946
|
-
database?: Maybe<Scalars['
|
|
1002
|
+
/** Database readiness payload returned by otel-data-api */
|
|
1003
|
+
database?: Maybe<Scalars['JSON']['output']>;
|
|
947
1004
|
/** Service readiness status */
|
|
948
1005
|
status: Scalars['String']['output'];
|
|
949
1006
|
/** Application version from VERSION file */
|
package/package.json
CHANGED
package/schema.graphql
CHANGED
|
@@ -50,9 +50,9 @@ type ReadyStatus {
|
|
|
50
50
|
"""
|
|
51
51
|
status: String!
|
|
52
52
|
"""
|
|
53
|
-
Database
|
|
53
|
+
Database readiness payload returned by otel-data-api
|
|
54
54
|
"""
|
|
55
|
-
database:
|
|
55
|
+
database: JSON
|
|
56
56
|
"""
|
|
57
57
|
Application version from VERSION file
|
|
58
58
|
"""
|
|
@@ -896,6 +896,88 @@ type GarminActivityLap {
|
|
|
896
896
|
updated_at: String
|
|
897
897
|
}
|
|
898
898
|
|
|
899
|
+
"""
|
|
900
|
+
Activity summary metadata for a batch laps comparison item.
|
|
901
|
+
"""
|
|
902
|
+
type GarminLapsActivity {
|
|
903
|
+
"""
|
|
904
|
+
Garmin Connect activity identifier
|
|
905
|
+
"""
|
|
906
|
+
activity_id: String!
|
|
907
|
+
"""
|
|
908
|
+
Sport type (e.g. cycling)
|
|
909
|
+
"""
|
|
910
|
+
sport: String
|
|
911
|
+
"""
|
|
912
|
+
Sub-sport type (e.g. road)
|
|
913
|
+
"""
|
|
914
|
+
sub_sport: String
|
|
915
|
+
"""
|
|
916
|
+
UTC activity start time
|
|
917
|
+
"""
|
|
918
|
+
start_time: String
|
|
919
|
+
"""
|
|
920
|
+
Total activity distance in kilometers
|
|
921
|
+
"""
|
|
922
|
+
distance_km: Float
|
|
923
|
+
"""
|
|
924
|
+
Total activity duration in seconds
|
|
925
|
+
"""
|
|
926
|
+
duration_seconds: Float
|
|
927
|
+
"""
|
|
928
|
+
Average activity speed in km/h
|
|
929
|
+
"""
|
|
930
|
+
avg_speed_kmh: Float
|
|
931
|
+
"""
|
|
932
|
+
Average activity heart rate in bpm
|
|
933
|
+
"""
|
|
934
|
+
avg_heart_rate: Int
|
|
935
|
+
"""
|
|
936
|
+
Maximum activity heart rate in bpm
|
|
937
|
+
"""
|
|
938
|
+
max_heart_rate: Int
|
|
939
|
+
"""
|
|
940
|
+
Total activity elevation gain in meters
|
|
941
|
+
"""
|
|
942
|
+
total_ascent_m: Float
|
|
943
|
+
}
|
|
944
|
+
|
|
945
|
+
"""
|
|
946
|
+
Laps for a single activity within the batch laps comparison response.
|
|
947
|
+
"""
|
|
948
|
+
type GarminActivityLapsGroup {
|
|
949
|
+
"""
|
|
950
|
+
Parent activity summary
|
|
951
|
+
"""
|
|
952
|
+
activity: GarminLapsActivity!
|
|
953
|
+
"""
|
|
954
|
+
Laps ordered by lap_index ascending
|
|
955
|
+
"""
|
|
956
|
+
laps: [GarminActivityLap!]!
|
|
957
|
+
}
|
|
958
|
+
|
|
959
|
+
"""
|
|
960
|
+
Paginated batch of activities (each with their laps) for cross-activity lap comparison.
|
|
961
|
+
"""
|
|
962
|
+
type GarminLapsComparisonConnection {
|
|
963
|
+
"""
|
|
964
|
+
Activities (newest first), each with their laps ordered by lap_index
|
|
965
|
+
"""
|
|
966
|
+
items: [GarminActivityLapsGroup!]!
|
|
967
|
+
"""
|
|
968
|
+
Total number of activities matching the query
|
|
969
|
+
"""
|
|
970
|
+
total: Int!
|
|
971
|
+
"""
|
|
972
|
+
Maximum number of activities per page
|
|
973
|
+
"""
|
|
974
|
+
limit: Int!
|
|
975
|
+
"""
|
|
976
|
+
Number of activities skipped from the start
|
|
977
|
+
"""
|
|
978
|
+
offset: Int!
|
|
979
|
+
}
|
|
980
|
+
|
|
899
981
|
"""
|
|
900
982
|
Individual GPS track point within a Garmin activity.
|
|
901
983
|
"""
|
|
@@ -1769,6 +1851,32 @@ type Query {
|
|
|
1769
1851
|
activity_id: String!
|
|
1770
1852
|
): [GarminActivityLap!]!
|
|
1771
1853
|
|
|
1854
|
+
"""
|
|
1855
|
+
Batch laps across activities for cross-activity comparison (matrix of activities x lap_index).
|
|
1856
|
+
"""
|
|
1857
|
+
garminLapsComparison(
|
|
1858
|
+
"""
|
|
1859
|
+
Filter by sport type (e.g. cycling, running)
|
|
1860
|
+
"""
|
|
1861
|
+
sport: String
|
|
1862
|
+
"""
|
|
1863
|
+
Start date filter (YYYY-MM-DD), inclusive on activity start_time
|
|
1864
|
+
"""
|
|
1865
|
+
date_from: String
|
|
1866
|
+
"""
|
|
1867
|
+
End date filter (YYYY-MM-DD), inclusive on activity start_time
|
|
1868
|
+
"""
|
|
1869
|
+
date_to: String
|
|
1870
|
+
"""
|
|
1871
|
+
Maximum number of activities to return per page
|
|
1872
|
+
"""
|
|
1873
|
+
limit: Int
|
|
1874
|
+
"""
|
|
1875
|
+
Number of activities to skip for pagination
|
|
1876
|
+
"""
|
|
1877
|
+
offset: Int
|
|
1878
|
+
): GarminLapsComparisonConnection!
|
|
1879
|
+
|
|
1772
1880
|
"""
|
|
1773
1881
|
Retrieve all reverse-geocoded addresses for a Garmin activity (start, mid-route waypoints, and end).
|
|
1774
1882
|
"""
|