@miradorlabs/web-grpc 2.26.0 → 2.26.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@miradorlabs/web-grpc",
3
- "version": "2.26.0",
3
+ "version": "2.26.1",
4
4
  "description": "Generated gRPC (grpc-js) client stubs for the Mirador web gateway.",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -695,8 +695,11 @@ export function analyticsTimeWindowToJSON(object: AnalyticsTimeWindow): string {
695
695
  }
696
696
 
697
697
  /**
698
- * Time interval for bucket granularity in analytics responses
699
- * Must satisfy: 10 <= (time_window / time_interval) <= 600
698
+ * A time-series bucket width for analytics responses. When set explicitly it is
699
+ * honored as a fixed bucket size. The valid bucket count is enforced per surface
700
+ * and differs between them (metric queries and trace analytics apply different
701
+ * limits), so no single bound lives on this shared enum — see each request
702
+ * field / RPC.
700
703
  */
701
704
  export enum AnalyticsTimeInterval {
702
705
  ANALYTICS_TIME_INTERVAL_UNSPECIFIED = 0,
@@ -1631,8 +1634,9 @@ export interface StreamTraceAnalyticsRequest {
1631
1634
  /** Time window for analytics (required) */
1632
1635
  timeWindow: AnalyticsTimeWindow;
1633
1636
  /**
1634
- * Time interval for bucket granularity (required)
1635
- * Must satisfy: 10 <= (time_window / time_interval) <= 600
1637
+ * Time interval for bucket granularity (required), honored as a fixed bucket
1638
+ * size. WHOLE_RANGE is invalid here; the window must be a whole multiple of
1639
+ * the interval, yielding 1 <= (time_window / time_interval) <= 2000 buckets.
1636
1640
  */
1637
1641
  timeInterval: AnalyticsTimeInterval;
1638
1642
  /** Optional filter for analytics (default: MatchAll) */