@gscdump/lakehouse 0.35.1 → 0.35.3

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.
@@ -202,9 +202,19 @@ interface IcebergListedDataFile {
202
202
  bytes: number;
203
203
  rowCount: number;
204
204
  }
205
- /** Minimal profiler contract — start a named span, get back an end callback. */
205
+ /**
206
+ * Minimal profiler contract — start a named span, get back an end callback.
207
+ *
208
+ * The `meta` shape is pinned to `Record<string, string | number | boolean>`
209
+ * to stay structurally identical to `@gscdump/engine`'s `QueryProfiler`
210
+ * (`packages/engine/src/storage.ts`). Engine depends on lakehouse (not the
211
+ * reverse), so this can't be a cross-package re-export without a cycle —
212
+ * matching the shape exactly is what lets a profiler built with engine's
213
+ * `createQueryProfiler` flow into `resolveIcebergDataFiles`/
214
+ * `listIcebergDataFiles` without a type error at the call boundary.
215
+ */
206
216
  interface QueryProfiler {
207
- start: (name: string) => ((meta?: Record<string, unknown>) => void) | undefined;
217
+ start: (name: string) => ((meta?: Record<string, string | number | boolean>) => void) | undefined;
208
218
  }
209
219
  interface ResolveIcebergDataFilesOptions {
210
220
  namespace: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@gscdump/lakehouse",
3
3
  "type": "module",
4
- "version": "0.35.1",
4
+ "version": "0.35.3",
5
5
  "description": "Dataset-agnostic Iceberg lakehouse layer + dataset registry for R2 Data Catalog producers (ADR-0021).",
6
6
  "author": {
7
7
  "name": "Harlan Wilton",