@query-farm/vgi 0.14.0 → 0.15.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@query-farm/vgi",
3
- "version": "0.14.0",
3
+ "version": "0.15.0",
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)",
@@ -75,12 +75,12 @@
75
75
  },
76
76
  "peerDependencies": {
77
77
  "@query-farm/apache-arrow": "^21.1.1",
78
- "@query-farm/vgi-rpc": "^0.11.0"
78
+ "@query-farm/vgi-rpc": "^0.12.0"
79
79
  },
80
80
  "devDependencies": {
81
81
  "@duckdb/node-api": "^1.5.2-r.1",
82
82
  "@query-farm/apache-arrow": "^21.1.1",
83
- "@query-farm/vgi-rpc": "^0.11.0",
83
+ "@query-farm/vgi-rpc": "^0.12.0",
84
84
  "@types/bun": "latest",
85
85
  "typescript": "^6.0.3"
86
86
  },
@@ -399,7 +399,12 @@ async function buildSchemas(
399
399
  String(a.type).localeCompare(String(b.type)) || String(a.name).localeCompare(String(b.name)),
400
400
  );
401
401
 
402
- schemas.push({ name: si.name, tables, views, functions });
402
+ const schemaObj: Record<string, unknown> = { name: si.name };
403
+ if (si.comment) schemaObj.doc = si.comment;
404
+ schemaObj.tables = tables;
405
+ schemaObj.views = views;
406
+ schemaObj.functions = functions;
407
+ schemas.push(schemaObj);
403
408
  counts.schemas += 1;
404
409
  counts.tables += tables.length;
405
410
  counts.views += views.length;