@gscdump/cli 0.35.12 → 0.36.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/dist/index.mjs +5 -4
- package/package.json +5 -5
package/dist/index.mjs
CHANGED
|
@@ -136,7 +136,7 @@ function loadEnvFromCwd() {
|
|
|
136
136
|
}
|
|
137
137
|
return applied;
|
|
138
138
|
}
|
|
139
|
-
var version = "0.
|
|
139
|
+
var version = "0.36.1";
|
|
140
140
|
const ALL_SEARCH_TYPES$1 = Object.values(SearchTypes);
|
|
141
141
|
const VERSION = version;
|
|
142
142
|
function noSubcommandSelected(parent, subNames) {
|
|
@@ -4920,7 +4920,7 @@ const queryCommand = defineCommand({
|
|
|
4920
4920
|
}, null, 2));
|
|
4921
4921
|
return;
|
|
4922
4922
|
}
|
|
4923
|
-
await assertRangeCovered(store, siteUrl, table, startDate, endDate);
|
|
4923
|
+
await assertRangeCovered(store, siteUrl, table, startDate, endDate, searchType);
|
|
4924
4924
|
const probe = Boolean(args.profile) ? collectSpans() : void 0;
|
|
4925
4925
|
const result = await store.engine.query({
|
|
4926
4926
|
userId: store.userId,
|
|
@@ -5055,11 +5055,12 @@ function buildDimensionFilter(args) {
|
|
|
5055
5055
|
if (leaves.length === 1) return leaves[0];
|
|
5056
5056
|
return and(...leaves);
|
|
5057
5057
|
}
|
|
5058
|
-
async function assertRangeCovered(store, siteUrl, table, startDate, endDate) {
|
|
5058
|
+
async function assertRangeCovered(store, siteUrl, table, startDate, endDate, searchType) {
|
|
5059
5059
|
const wm = (await store.engine.getWatermarks({
|
|
5060
5060
|
userId: store.userId,
|
|
5061
5061
|
siteId: store.siteIdFor(siteUrl),
|
|
5062
|
-
table
|
|
5062
|
+
table,
|
|
5063
|
+
...searchType !== void 0 ? { searchType } : {}
|
|
5063
5064
|
}))[0];
|
|
5064
5065
|
if (!wm) {
|
|
5065
5066
|
logger.error(`No data synced for ${siteUrl} / ${table}. Run \`gscdump sync\` first, or pass --live.`);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gscdump/cli",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.36.1",
|
|
5
5
|
"description": "CLI for Google Search Console - dump, query, and run MCP server",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Harlan Wilton",
|
|
@@ -43,10 +43,10 @@
|
|
|
43
43
|
"ofetch": "^1.5.1",
|
|
44
44
|
"open": "^11.0.0",
|
|
45
45
|
"zod": "^4.4.3",
|
|
46
|
-
"@gscdump/
|
|
47
|
-
"@gscdump/engine": "0.
|
|
48
|
-
"@gscdump/
|
|
49
|
-
"gscdump": "0.
|
|
46
|
+
"@gscdump/engine": "0.36.1",
|
|
47
|
+
"@gscdump/engine-gsc-api": "0.36.1",
|
|
48
|
+
"@gscdump/analysis": "0.36.1",
|
|
49
|
+
"gscdump": "0.36.1"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@duckdb/node-api": "1.5.1-r.2",
|