@gscdump/engine-duckdb-wasm 0.17.4 → 0.18.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/index.d.mts +3 -4
- package/dist/index.mjs +2 -2
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { Assume, DrizzleConfig, entityKind } from "drizzle-orm";
|
|
2
2
|
import { PgDatabase, PgDialect, PgPreparedQuery, PgQueryResultHKT, PgSession } from "drizzle-orm/pg-core";
|
|
3
|
-
import { DrizzleSchema as Schema, countries, devices, drizzleSchema as schema, keywords, page_keywords, pages } from "@gscdump/engine/schema";
|
|
4
|
-
import * as _$_gscdump_engine_scope0 from "@gscdump/engine/scope";
|
|
3
|
+
import { DrizzleSchema as Schema, countries, devices, drizzleSchema as schema, hourly_pages, keywords, page_keywords, pages } from "@gscdump/engine/schema";
|
|
5
4
|
import { ScopedRunnerOptions, TableScope } from "@gscdump/engine/scope";
|
|
6
5
|
import { AnalyzerRegistry } from "@gscdump/engine/analyzer";
|
|
7
6
|
import { ComparisonMode, ResolveWindowOptions, ResolvedWindow, WindowPreset, resolveWindow } from "@gscdump/engine/period";
|
|
@@ -45,7 +44,7 @@ declare function createInsightRunner(opts: InsightRunnerOptions): Promise<Insigh
|
|
|
45
44
|
* so consumers can add the predicate without an interface change when
|
|
46
45
|
* multi-site snapshots land.
|
|
47
46
|
*/
|
|
48
|
-
declare const scopeFor: (table: "pages" | "keywords" | "countries" | "devices" | "page_keywords" | "search_appearance", opts: ScopedRunnerOptions) => TableScope, mergeScope: typeof
|
|
47
|
+
declare const scopeFor: (table: "pages" | "keywords" | "countries" | "devices" | "page_keywords" | "search_appearance" | "hourly_pages", opts: ScopedRunnerOptions) => TableScope, mergeScope: typeof import("@gscdump/engine/scope").mergeScope;
|
|
49
48
|
interface StrikingMomentumOptions {
|
|
50
49
|
/** Anchor date (YYYY-MM-DD). Defaults to today. */
|
|
51
50
|
anchor?: string;
|
|
@@ -179,4 +178,4 @@ declare function createBrowserAnalysisRuntime(boot: DuckDBWasmBootResult, option
|
|
|
179
178
|
version?: number | string;
|
|
180
179
|
attachedTables?: readonly string[];
|
|
181
180
|
}): BrowserAnalysisRuntime;
|
|
182
|
-
export { type AnalyzeResult, type AttachParquetTablesOptions, type AttachParquetUrlTablesOptions, type AttachedTablesHandle, type BootDuckDBWasmOptions, type BrowserAnalysisRuntime, type BrowserParquetFile, type BrowserParquetTable, type BrowserParquetUrlTable, type ComparisonMode, type DuckDBWasmBootResult, type DuckDBWasmClient, DuckDBWasmDatabase, type DuckDBWasmDrizzleDatabase, type InsightRunner, type InsightRunnerOptions, type QueryResult, type ResolveWindowOptions, type ResolvedWindow, type Schema, type ScopedRunnerOptions, type StrikingMomentumOptions, type StrikingMomentumRow, type TableScope, type WindowPreset, attachParquetTables, attachParquetUrlTables, bootDuckDBWasm, countries, createBrowserAnalysisRuntime, createClient, createInsightRunner, devices, drizzle, keywords, mergeScope, page_keywords, pages, resolveWindow, schema, scopeFor, strikingMomentum };
|
|
181
|
+
export { type AnalyzeResult, type AttachParquetTablesOptions, type AttachParquetUrlTablesOptions, type AttachedTablesHandle, type BootDuckDBWasmOptions, type BrowserAnalysisRuntime, type BrowserParquetFile, type BrowserParquetTable, type BrowserParquetUrlTable, type ComparisonMode, type DuckDBWasmBootResult, type DuckDBWasmClient, DuckDBWasmDatabase, type DuckDBWasmDrizzleDatabase, type InsightRunner, type InsightRunnerOptions, type QueryResult, type ResolveWindowOptions, type ResolvedWindow, type Schema, type ScopedRunnerOptions, type StrikingMomentumOptions, type StrikingMomentumRow, type TableScope, type WindowPreset, attachParquetTables, attachParquetUrlTables, bootDuckDBWasm, countries, createBrowserAnalysisRuntime, createClient, createInsightRunner, devices, drizzle, hourly_pages, keywords, mergeScope, page_keywords, pages, resolveWindow, schema, scopeFor, strikingMomentum };
|
package/dist/index.mjs
CHANGED
|
@@ -2,7 +2,7 @@ import { arrowToRows } from "@gscdump/engine/arrow";
|
|
|
2
2
|
import { DefaultLogger, NoopLogger, createTableRelationsHelpers, entityKind, extractTablesRelationalConfig, fillPlaceholders, sql } from "drizzle-orm";
|
|
3
3
|
import { PgDatabase, PgDialect, PgPreparedQuery, PgSession } from "drizzle-orm/pg-core";
|
|
4
4
|
import { toIsoDate } from "gscdump";
|
|
5
|
-
import { countries, devices, drizzleSchema as schema, keywords, page_keywords, pages } from "@gscdump/engine/schema";
|
|
5
|
+
import { countries, devices, drizzleSchema as schema, hourly_pages, keywords, page_keywords, pages } from "@gscdump/engine/schema";
|
|
6
6
|
import { createScopedHelpers } from "@gscdump/engine/scope";
|
|
7
7
|
import { runAnalyzerFromSource } from "@gscdump/engine/analyzer";
|
|
8
8
|
import { pgResolverAdapter } from "@gscdump/engine/resolver";
|
|
@@ -329,4 +329,4 @@ function createBrowserAnalysisRuntime(boot, options = {}) {
|
|
|
329
329
|
}
|
|
330
330
|
};
|
|
331
331
|
}
|
|
332
|
-
export { DuckDBWasmDatabase, attachParquetTables, attachParquetUrlTables, bootDuckDBWasm, countries, createBrowserAnalysisRuntime, createClient, createInsightRunner, devices, drizzle, keywords, mergeScope, page_keywords, pages, resolveWindow, schema, scopeFor, strikingMomentum };
|
|
332
|
+
export { DuckDBWasmDatabase, attachParquetTables, attachParquetUrlTables, bootDuckDBWasm, countries, createBrowserAnalysisRuntime, createClient, createInsightRunner, devices, drizzle, hourly_pages, keywords, mergeScope, page_keywords, pages, resolveWindow, schema, scopeFor, strikingMomentum };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gscdump/engine-duckdb-wasm",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.18.0",
|
|
5
5
|
"description": "DuckDB-WASM engine adapter for @gscdump/analysis — typed browser analytics against parquet via R2.",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Harlan Wilton",
|
|
@@ -45,8 +45,8 @@
|
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
47
|
"drizzle-orm": "^0.45.2",
|
|
48
|
-
"
|
|
49
|
-
"gscdump": "0.
|
|
48
|
+
"gscdump": "0.18.0",
|
|
49
|
+
"@gscdump/engine": "0.18.0"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@duckdb/duckdb-wasm": "^1.32.0",
|