@meshmakers/octo-meshboard 3.4.170 → 3.4.180

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": "@meshmakers/octo-meshboard",
3
- "version": "3.4.170",
3
+ "version": "3.4.180",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^21.2.0",
6
6
  "@angular/core": "^21.2.0",
@@ -2358,15 +2358,32 @@ declare const DashboardGridService: typeof MeshBoardGridService;
2358
2358
  /**
2359
2359
  * Time-range and downsampling arguments for stream-data persistent queries.
2360
2360
  * Mirrors the GraphQL input `StreamDataArguments` so widgets can build it
2361
- * without importing generated DTO types directly. `queryMode` defaults to
2362
- * `DEFAULT` when not supplied — the backend resolver requires the field but
2363
- * the persistent query carries its own intrinsic mode that `arg` overrides.
2361
+ * without importing generated DTO types directly.
2362
+ *
2363
+ * Backend semantics (verified against StreamDataQueryDtoType.cs and
2364
+ * StreamDataVariantExecutor.cs as of 2026-06-24):
2365
+ * - `from` / `to` / `limit` override the persisted query's intrinsic values
2366
+ * when set (`execOverride?.From ?? simple.From` pattern in the resolver).
2367
+ * - `interval` is currently ignored by every variant; the downsampling path
2368
+ * derives `(to - from) / limit` itself.
2369
+ * - `queryMode` is **ignored on both persistent and transient dispatch** —
2370
+ * the variant (Simple / Aggregation / GroupingAggregation / Downsampling)
2371
+ * comes from the persisted entity's CK subtype or the transient query's
2372
+ * GraphQL sub-connection URL. We still emit it because the schema declares
2373
+ * `queryMode: QueryMode!` (NonNull); see backend cleanup issue.
2374
+ *
2375
+ * Don't pretend to override the mode from here — even if `queryMode: DOWNSAMPLING`
2376
+ * is set on a `SimpleSdQuery`, the backend still runs the simple variant.
2364
2377
  */
2365
2378
  interface StreamDataExecutionArgs {
2366
2379
  from?: Date | null;
2367
2380
  to?: Date | null;
2368
2381
  interval?: number | null;
2369
2382
  limit?: number | null;
2383
+ /**
2384
+ * Currently a no-op on the dispatch side; kept because the GraphQL input
2385
+ * schema marks `queryMode` non-null. Defaults to `Default`.
2386
+ */
2370
2387
  queryMode?: QueryModeDto;
2371
2388
  }
2372
2389
  interface QueryExecutionOptions {