@gscdump/sdk 0.26.0 → 0.26.2
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/dist/index.d.mts +12 -1
- package/dist/index.mjs +6 -1
- package/package.json +5 -5
package/dist/index.d.mts
CHANGED
|
@@ -201,7 +201,7 @@ interface EntityDailyTimeseriesQuery extends ArchetypeQueryBase {
|
|
|
201
201
|
*/
|
|
202
202
|
interface EntityDailySparklineQuery extends ArchetypeQueryBase {
|
|
203
203
|
archetype: 'entity-daily-sparkline';
|
|
204
|
-
dimension: Extract<Dimension, 'page' | 'query'>;
|
|
204
|
+
dimension: Extract<Dimension, 'page' | 'query' | 'queryCanonical'>;
|
|
205
205
|
/** Entity values already resolved by the resolver layer. */
|
|
206
206
|
entities: readonly string[];
|
|
207
207
|
/** Single metric the sparkline plots. */
|
|
@@ -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/dist/index.mjs
CHANGED
|
@@ -1847,6 +1847,11 @@ function classifySearchConsoleStage(input) {
|
|
|
1847
1847
|
source: "performance"
|
|
1848
1848
|
}]);
|
|
1849
1849
|
if (isGrowing) return stage("healthy_growth_ready", [
|
|
1850
|
+
...hardBlocks > 0 ? [{
|
|
1851
|
+
label: "Critical blockers",
|
|
1852
|
+
value: formatCount(hardBlocks),
|
|
1853
|
+
source: "indexing"
|
|
1854
|
+
}] : [],
|
|
1850
1855
|
...clicks90d != null ? [{
|
|
1851
1856
|
label: "Clicks 90d",
|
|
1852
1857
|
value: `+${clicks90d.toFixed(1)}%`,
|
|
@@ -1932,7 +1937,7 @@ function classifySearchConsoleStage(input) {
|
|
|
1932
1937
|
source: "indexing"
|
|
1933
1938
|
}, {
|
|
1934
1939
|
label: "Critical blockers",
|
|
1935
|
-
value:
|
|
1940
|
+
value: formatCount(hardBlocks),
|
|
1936
1941
|
source: "indexing"
|
|
1937
1942
|
}]);
|
|
1938
1943
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gscdump/sdk",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.26.
|
|
4
|
+
"version": "0.26.2",
|
|
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.
|
|
48
|
-
"@gscdump/contracts": "0.26.
|
|
49
|
-
"@gscdump/engine": "0.26.
|
|
50
|
-
"gscdump": "0.26.
|
|
47
|
+
"@gscdump/analysis": "0.26.2",
|
|
48
|
+
"@gscdump/contracts": "0.26.2",
|
|
49
|
+
"@gscdump/engine": "0.26.2",
|
|
50
|
+
"gscdump": "0.26.2"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"typescript": "^6.0.3",
|