@gscdump/contracts 0.25.4 → 0.25.6
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 +16 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1611,6 +1611,22 @@ interface ResolvedTable {
|
|
|
1611
1611
|
mode: 'browser' | 'server';
|
|
1612
1612
|
/** Compacted Iceberg data files. Empty when `mode === 'server'`. */
|
|
1613
1613
|
files: ResolvedParquetFile[];
|
|
1614
|
+
/**
|
|
1615
|
+
* Recent-window overlay parquet — the non-stable tail (the freshest days the
|
|
1616
|
+
* ingest stability cutoff excludes from the lake), materialized out-of-band at
|
|
1617
|
+
* `_recent_overlay/{site}/{searchType}/{table}.parquet`. When present, the
|
|
1618
|
+
* browser unions it with an anti-join dedup (the lake wins on any shared day;
|
|
1619
|
+
* the overlay supplies only days the lake lacks) so the freshest days serve
|
|
1620
|
+
* from the overlay instead of returning 0. Absent (`undefined`) when no
|
|
1621
|
+
* overlay exists for this `(site, searchType, table)` or for `mode: 'server'`.
|
|
1622
|
+
*
|
|
1623
|
+
* The overlay is OVERWRITTEN in place each sync, so its `contentHash` MUST
|
|
1624
|
+
* change whenever the bytes change (the server derives it from the R2 object
|
|
1625
|
+
* etag) — otherwise the OPFS cache would serve a stale overlay. The enclosing
|
|
1626
|
+
* `FileResolutionResponse.snapshotVersion` folds the overlay hash in for the
|
|
1627
|
+
* same reason (it gates browser re-attach).
|
|
1628
|
+
*/
|
|
1629
|
+
overlay?: ResolvedParquetFile;
|
|
1614
1630
|
/** Total bytes across `files` — compared against the ceiling. */
|
|
1615
1631
|
totalBytes: number;
|
|
1616
1632
|
/** Total rows across `files`. */
|