@gscdump/sdk 0.26.0 → 0.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.
Files changed (2) hide show
  1. package/dist/index.d.mts +11 -0
  2. package/package.json +5 -5
package/dist/index.d.mts CHANGED
@@ -235,6 +235,17 @@ interface TopNBreakdownQuery extends ArchetypeQueryBase {
235
235
  * `device` dimension, which has at most a handful of rows.
236
236
  */
237
237
  includeTotal?: boolean;
238
+ /**
239
+ * Movers mode — re-rank the breakdown by period-over-period movement instead
240
+ * of by `orderBy`. Requires `compareRange` (the previous-period CTE supplies
241
+ * the deltas); ignored without it. Forces `duckdb` on the server tail (CTE +
242
+ * FULL OUTER JOIN). Used by the dashboard's Growing/Declining/New/Lost lists.
243
+ * - `improving` — clicks gained vs previous, largest gain first.
244
+ * - `declining` — clicks lost vs previous, largest drop first.
245
+ * - `new` — impressions appeared (zero previously), by current volume.
246
+ * - `lost` — impressions disappeared (zero now), by previous volume.
247
+ */
248
+ movers?: 'improving' | 'declining' | 'new' | 'lost';
238
249
  }
239
250
  /** One aggregated row for a fully-specified filter. `WHERE` + `GROUP BY`. */
240
251
  interface SingleRowLookupQuery extends ArchetypeQueryBase {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@gscdump/sdk",
3
3
  "type": "module",
4
- "version": "0.26.0",
4
+ "version": "0.26.1",
5
5
  "description": "Consumer SDK for hosted gscdump.com integrations.",
6
6
  "author": {
7
7
  "name": "Harlan Wilton",
@@ -44,10 +44,10 @@
44
44
  "date-fns": "^4.4.0",
45
45
  "ofetch": "^1.5.1",
46
46
  "zod": "^4.4.3",
47
- "@gscdump/analysis": "0.26.0",
48
- "@gscdump/contracts": "0.26.0",
49
- "@gscdump/engine": "0.26.0",
50
- "gscdump": "0.26.0"
47
+ "@gscdump/analysis": "0.26.1",
48
+ "@gscdump/engine": "0.26.1",
49
+ "gscdump": "0.26.1",
50
+ "@gscdump/contracts": "0.26.1"
51
51
  },
52
52
  "devDependencies": {
53
53
  "typescript": "^6.0.3",