@gscdump/engine-sqlite 1.4.10 → 1.5.0
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/runner.d.mts +2 -10
- package/dist/runner.mjs +3 -1
- package/package.json +2 -2
package/dist/runner.d.mts
CHANGED
|
@@ -29,14 +29,6 @@ interface SqliteInsightRunner<TSchema extends Record<string, unknown> = Schema>
|
|
|
29
29
|
db: SqliteRemoteDatabase<TSchema>;
|
|
30
30
|
}
|
|
31
31
|
declare function createSqliteInsightRunner<TSchema extends Record<string, unknown> = Schema>(opts: SqliteInsightRunnerOptions<TSchema>): SqliteInsightRunner<TSchema>;
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
* variant, every sqlite table has `site_id` so the siteId predicate is
|
|
35
|
-
* always emitted when supplied.
|
|
36
|
-
*
|
|
37
|
-
* Date bounds come from either a resolved window or bare startDate/endDate
|
|
38
|
-
* (one or both). This lets callers pass unbounded query-string params
|
|
39
|
-
* through without first normalizing them.
|
|
40
|
-
*/
|
|
41
|
-
declare const scopeFor: (table: "gsc_pages" | "gsc_keywords" | "gsc_countries" | "gsc_devices" | "gsc_page_keywords" | "gsc_search_appearance" | "gsc_search_appearance_pages" | "gsc_search_appearance_queries" | "gsc_search_appearance_page_queries" | "gsc_hourly_pages" | "gsc_query_dim", opts: ScopedRunnerOptions) => TableScope, mergeScope: typeof import("@gscdump/engine/scope").mergeScope;
|
|
32
|
+
declare const scopeFor: (table: "gsc_pages" | "gsc_keywords" | "gsc_countries" | "gsc_devices" | "gsc_page_keywords" | "gsc_search_appearance" | "gsc_search_appearance_pages" | "gsc_search_appearance_queries" | "gsc_search_appearance_page_queries" | "gsc_hourly_pages" | "gsc_query_dim", opts: ScopedRunnerOptions) => TableScope;
|
|
33
|
+
declare const mergeScope: typeof import("@gscdump/engine/scope").mergeScope;
|
|
42
34
|
export { type ScopedRunnerOptions, SqliteInsightRunner, SqliteInsightRunnerOptions, SqliteRowExecutor, type TableScope, compileSqlite, createSqliteInsightRunner, mergeScope, scopeFor };
|
package/dist/runner.mjs
CHANGED
|
@@ -26,5 +26,7 @@ function createSqliteInsightRunner(opts) {
|
|
|
26
26
|
logger
|
|
27
27
|
}) };
|
|
28
28
|
}
|
|
29
|
-
const
|
|
29
|
+
const scopedHelpers = createScopedHelpers(schema);
|
|
30
|
+
const scopeFor = scopedHelpers.scopeFor;
|
|
31
|
+
const mergeScope = scopedHelpers.mergeScope;
|
|
30
32
|
export { compileSqlite, createSqliteInsightRunner, mergeScope, scopeFor };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gscdump/engine-sqlite",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.5.0",
|
|
5
5
|
"description": "SQLite / D1 engine adapter for @gscdump/analysis — typed analytics over sqlite-proxy executors (Cloudflare D1, libsql).",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Harlan Wilton",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"drizzle-orm": "1.0.0-rc.3"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@gscdump/engine": "^1.
|
|
47
|
+
"@gscdump/engine": "^1.5.0"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"drizzle-orm": "1.0.0-rc.3",
|