@askdb/sqlite 0.1.0-beta.24 → 0.1.0-beta.25

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.
@@ -1,15 +1,12 @@
1
- import type { CatalogQueryRunner, Connector, IntrospectionFilters } from "@askdb/introspect";
1
+ import type { Connector } from "@askdb/introspect";
2
+ import type { LiveCatalogInput } from "@askdb/introspect/kit";
2
3
  /**
3
- * Connector input for `@askdb/sqlite`. Live introspection only — supply a
4
+ * Connector input for `@askdb/sqlite`: the kit's `LiveCatalogInput`, `{ mode: "live", runner,
5
+ * filters?, schemaId? }`, so a field added there reaches this connector too (#816). `schemaId`
6
+ * defaults to `"introspected"`. Live introspection only — supply a
4
7
  * `CatalogQueryRunner` (e.g. from {@link createSqliteCatalogQueryRunner}).
5
8
  */
6
- export type SqliteIntrospectionInput = {
7
- mode: "live";
8
- runner: CatalogQueryRunner;
9
- filters?: IntrospectionFilters;
10
- /** `schemaId` of the resulting `SqlSchema`. Defaults to `"introspected"`. */
11
- schemaId?: string;
12
- };
9
+ export type SqliteIntrospectionInput = LiveCatalogInput;
13
10
  export declare function createSqliteConnector(): Connector<SqliteIntrospectionInput>;
14
11
  export { describeSqlite } from "./describe.js";
15
12
  export type { DescribeSqliteInput } from "./describe.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/connector/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,kBAAkB,EAClB,SAAS,EACT,oBAAoB,EAErB,MAAM,mBAAmB,CAAC;AAG3B;;;GAGG;AACH,MAAM,MAAM,wBAAwB,GAAG;IACrC,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,kBAAkB,CAAC;IAC3B,OAAO,CAAC,EAAE,oBAAoB,CAAC;IAC/B,6EAA6E;IAC7E,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,wBAAgB,qBAAqB,IAAI,SAAS,CAAC,wBAAwB,CAAC,CAM3E;AAED,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAC/C,YAAY,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/connector/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAuB,MAAM,mBAAmB,CAAC;AACxE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAG9D;;;;;GAKG;AACH,MAAM,MAAM,wBAAwB,GAAG,gBAAgB,CAAC;AAExD,wBAAgB,qBAAqB,IAAI,SAAS,CAAC,wBAAwB,CAAC,CAM3E;AAED,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAC/C,YAAY,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC"}
@@ -2,7 +2,7 @@ import { describeSqlite } from "./describe.js";
2
2
  export function createSqliteConnector() {
3
3
  return {
4
4
  async describe(input) {
5
- return describeSqlite({ runner: input.runner, filters: input.filters, schemaId: input.schemaId });
5
+ return describeSqlite(input);
6
6
  },
7
7
  };
8
8
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/connector/index.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAc/C,MAAM,UAAU,qBAAqB;IACnC,OAAO;QACL,KAAK,CAAC,QAAQ,CAAC,KAA+B;YAC5C,OAAO,cAAc,CAAC,EAAE,MAAM,EAAE,KAAK,CAAC,MAAM,EAAE,OAAO,EAAE,KAAK,CAAC,OAAO,EAAE,QAAQ,EAAE,KAAK,CAAC,QAAQ,EAAE,CAAC,CAAC;QACpG,CAAC;KACF,CAAC;AACJ,CAAC;AAED,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/connector/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAU/C,MAAM,UAAU,qBAAqB;IACnC,OAAO;QACL,KAAK,CAAC,QAAQ,CAAC,KAA+B;YAC5C,OAAO,cAAc,CAAC,KAAK,CAAC,CAAC;QAC/B,CAAC;KACF,CAAC;AACJ,CAAC;AAED,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@askdb/sqlite",
3
- "version": "0.1.0-beta.24",
3
+ "version": "0.1.0-beta.25",
4
4
  "description": "AskDB SQLite integration: introspection connector via sqlite_master + PRAGMA functions and a better-sqlite3-backed catalog query runner. Pairs with @askdb/core's SQLITE_DIALECT.",
5
5
  "keywords": [
6
6
  "askdb",
@@ -43,8 +43,8 @@
43
43
  "node": ">=22.23.4"
44
44
  },
45
45
  "dependencies": {
46
- "@askdb/core": "1.0.0-beta.49",
47
- "@askdb/introspect": "0.3.0-beta.23"
46
+ "@askdb/core": "1.0.0-beta.50",
47
+ "@askdb/introspect": "0.3.0-beta.24"
48
48
  },
49
49
  "peerDependencies": {
50
50
  "ai": "^6.0.0 || ^7.0.51",