@stuartshay/otel-data-types 1.0.144 → 1.0.149

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/index.d.ts +9 -2
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -251,6 +251,10 @@ export type paths = {
251
251
  *
252
252
  * Merges OwnTracks location data and Garmin track points into a single
253
253
  * chronological stream. Filter by data source or date range.
254
+ *
255
+ * When no date filters are specified (both date_from and date_to omitted),
256
+ * defaults to the last 90 days to avoid expensive full-table scans on the
257
+ * underlying 4M+ row tables.
254
258
  */
255
259
  get: operations["list_unified_gps_api_v1_gps_unified_get"];
256
260
  put?: never;
@@ -274,6 +278,9 @@ export type paths = {
274
278
  *
275
279
  * Returns per-day aggregates including OwnTracks point counts, battery stats,
276
280
  * and Garmin activity metrics (distance, duration, heart rate, calories).
281
+ *
282
+ * When no date filters are specified (both date_from and date_to omitted),
283
+ * defaults to the last 90 days to avoid expensive full-table aggregations.
277
284
  */
278
285
  get: operations["daily_summary_api_v1_gps_daily_summary_get"];
279
286
  put?: never;
@@ -1870,7 +1877,7 @@ export interface operations {
1870
1877
  query?: {
1871
1878
  /** @description Filter by source: owntracks or garmin */
1872
1879
  source?: string | null;
1873
- /** @description Filter from date (YYYY-MM-DD) */
1880
+ /** @description Filter from date (YYYY-MM-DD). Defaults to 90 days ago when both date_from and date_to are omitted. */
1874
1881
  date_from?: string | null;
1875
1882
  /** @description Filter to date (YYYY-MM-DD) */
1876
1883
  date_to?: string | null;
@@ -1910,7 +1917,7 @@ export interface operations {
1910
1917
  daily_summary_api_v1_gps_daily_summary_get: {
1911
1918
  parameters: {
1912
1919
  query?: {
1913
- /** @description Filter from date (YYYY-MM-DD) */
1920
+ /** @description Filter from date (YYYY-MM-DD). Defaults to 90 days ago when both date_from and date_to are omitted. */
1914
1921
  date_from?: string | null;
1915
1922
  /** @description Filter to date (YYYY-MM-DD) */
1916
1923
  date_to?: string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stuartshay/otel-data-types",
3
- "version": "1.0.144",
3
+ "version": "1.0.149",
4
4
  "description": "TypeScript types for otel-data-api — Auto-generated from OpenAPI 3.1 specification",
5
5
  "types": "index.d.ts",
6
6
  "exports": {