@query-farm/vgi 0.25.1 → 0.25.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@query-farm/vgi",
3
- "version": "0.25.1",
3
+ "version": "0.25.3",
4
4
  "description": "TypeScript framework for extending DuckDB with user-defined functions via the Vector Gateway Interface (VGI) over Arrow IPC.",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "author": "Query Farm LLC (https://query.farm)",
@@ -90,12 +90,12 @@
90
90
  },
91
91
  "peerDependencies": {
92
92
  "@query-farm/apache-arrow": "^21.1.1",
93
- "@query-farm/vgi-rpc": ">=0.19.1 <0.20.0"
93
+ "@query-farm/vgi-rpc": ">=0.19.2 <0.20.0"
94
94
  },
95
95
  "devDependencies": {
96
96
  "@duckdb/node-api": "^1.5.2-r.1",
97
97
  "@query-farm/apache-arrow": "^21.1.1",
98
- "@query-farm/vgi-rpc": "^0.19.1",
98
+ "@query-farm/vgi-rpc": "^0.19.2",
99
99
  "@types/bun": "latest",
100
100
  "typescript": "^6.0.3"
101
101
  },
@@ -24,6 +24,18 @@ export {
24
24
  defineTableFunction,
25
25
  defineAggregate,
26
26
  defineTableInOutFunction,
27
+ // Blended ("UNNEST-style") table-in-out: one registration serves the literal,
28
+ // streaming, and correlated-LATERAL call shapes. `parentRowsMetadata` is the
29
+ // per-output-row provenance a 1->N blended function must emit, so both belong
30
+ // on this facade — a workerd worker cannot reach them through the package
31
+ // root without dragging in the Node-only stdio Worker.
32
+ defineRowTransformFunction,
33
+ parentRowsMetadata,
34
+ PARENT_ROW_METADATA_KEY,
35
+ // Encodes ArgumentConstraints into the discovery-facing ArgumentSpec fields.
36
+ // The blended config has no `argConstraints` of its own, so a worker that
37
+ // wants ge/le/choices/pattern on a row-transform's args applies them itself.
38
+ constraintSpecFields,
27
39
  FunctionRegistry,
28
40
  ReadOnlyCatalogInterface,
29
41
  CompositeCatalogInterface,
@@ -49,6 +61,11 @@ export type {
49
61
  SchemaInfo,
50
62
  VgiFunction,
51
63
  TableProcessParams,
64
+ ArgumentSpec,
65
+ ArgumentConstraints,
66
+ RowTransformConfig,
67
+ RowTransformProcessParams,
68
+ TableInOutBindParams,
52
69
  } from "./index.core.js";
53
70
 
54
71
  export type { ProtocolConfig } from "./protocol/dispatch.js";