@query-farm/vgi 0.29.1 → 0.30.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.29.1",
3
+ "version": "0.30.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)",
@@ -343,10 +343,7 @@ export class ReadOnlyCatalogInterface extends CatalogInterface {
343
343
  check_constraints: t.check ?? [],
344
344
  primary_key_constraints: pkIndices,
345
345
  foreign_key_constraints: fkBytes,
346
- supports_insert: false,
347
- supports_update: false,
348
- supports_delete: false,
349
- supports_returning: false,
346
+ write_result_modes: {},
350
347
  supports_column_statistics: t.statistics != null && Object.keys(t.statistics).length > 0,
351
348
  // Inline scan_function only for purely function-backed tables.
352
349
  // When explicit `columns` are also declared, the table is on the
@@ -2,7 +2,7 @@
2
2
  // GENERATED by vgi.codegen.ts_client. DO NOT EDIT BY HAND.
3
3
  //
4
4
  // Generator: vgi-gen-ts-client v1
5
- // Content hash: 2833516bd990
5
+ // Content hash: 69731fc31f09
6
6
  //
7
7
  // To regenerate:
8
8
  // uv run --project ~/Development/vgi-python vgi-gen-ts-client \
@@ -72,10 +72,7 @@ export interface TableInfo {
72
72
  check_constraints: string[];
73
73
  primary_key_constraints: number[][];
74
74
  foreign_key_constraints: Uint8Array[];
75
- supports_insert: boolean;
76
- supports_update: boolean;
77
- supports_delete: boolean;
78
- supports_returning: boolean;
75
+ write_result_modes: Record<string, string>;
79
76
  supports_column_statistics: boolean;
80
77
  scan_function?: Uint8Array | null;
81
78
  insert_function?: Uint8Array | null;
@@ -2,7 +2,7 @@
2
2
  // GENERATED by vgi.codegen.ts_schemas. DO NOT EDIT BY HAND.
3
3
  //
4
4
  // Generator: vgi-gen-ts-schemas v2
5
- // Content hash: d8386c3124f8
5
+ // Content hash: 668f198950df
6
6
  //
7
7
  // To regenerate:
8
8
  // uv run --project ~/Development/vgi-python vgi-gen-ts-schemas \
@@ -60,10 +60,7 @@ export const TableInfoSchema = schema([
60
60
  field("check_constraints", list(field("item", utf8(), true)), false),
61
61
  field("primary_key_constraints", list(field("item", list(field("item", int32(), true)), true)), false),
62
62
  field("foreign_key_constraints", list(field("item", binary(), true)), false),
63
- field("supports_insert", bool(), false),
64
- field("supports_update", bool(), false),
65
- field("supports_delete", bool(), false),
66
- field("supports_returning", bool(), false),
63
+ field("write_result_modes", map(field("key", utf8(), false), field("value", utf8(), true), false), false),
67
64
  field("supports_column_statistics", bool(), false),
68
65
  field("scan_function", binary(), true),
69
66
  field("insert_function", binary(), true),