@askdb/sqlserver 0.1.0-beta.25 → 0.1.0-beta.26
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 {
|
|
1
|
+
import type { Connector } from "@askdb/introspect";
|
|
2
|
+
import type { LiveCatalogInput } from "@askdb/introspect/kit";
|
|
2
3
|
/**
|
|
3
|
-
* Connector input for `@askdb/sqlserver
|
|
4
|
+
* Connector input for `@askdb/sqlserver`: 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 createSqlServerCatalogQueryRunner}).
|
|
5
8
|
*/
|
|
6
|
-
export type SqlServerIntrospectionInput =
|
|
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 SqlServerIntrospectionInput = LiveCatalogInput;
|
|
13
10
|
export declare function createSqlServerConnector(): Connector<SqlServerIntrospectionInput>;
|
|
14
11
|
export { describeSqlServer } from "./describe.js";
|
|
15
12
|
export type { DescribeSqlServerInput } from "./describe.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/connector/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
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,2BAA2B,GAAG,gBAAgB,CAAC;AAE3D,wBAAgB,wBAAwB,IAAI,SAAS,CAAC,2BAA2B,CAAC,CAMjF;AAED,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAClD,YAAY,EAAE,sBAAsB,EAAE,MAAM,eAAe,CAAC"}
|
package/dist/connector/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import { describeSqlServer } from "./describe.js";
|
|
|
2
2
|
export function createSqlServerConnector() {
|
|
3
3
|
return {
|
|
4
4
|
async describe(input) {
|
|
5
|
-
return describeSqlServer(
|
|
5
|
+
return describeSqlServer(input);
|
|
6
6
|
},
|
|
7
7
|
};
|
|
8
8
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/connector/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/connector/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAUlD,MAAM,UAAU,wBAAwB;IACtC,OAAO;QACL,KAAK,CAAC,QAAQ,CAAC,KAAkC;YAC/C,OAAO,iBAAiB,CAAC,KAAK,CAAC,CAAC;QAClC,CAAC;KACF,CAAC;AACJ,CAAC;AAED,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@askdb/sqlserver",
|
|
3
|
-
"version": "0.1.0-beta.
|
|
3
|
+
"version": "0.1.0-beta.26",
|
|
4
4
|
"description": "AskDB Microsoft SQL Server integration: introspection connector via sys.* catalog views and an mssql-backed catalog query runner. Pairs with @askdb/core's SQLSERVER_DIALECT.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"askdb",
|
|
@@ -44,8 +44,8 @@
|
|
|
44
44
|
"node": ">=22.23.4"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@askdb/core": "1.0.0-beta.
|
|
48
|
-
"@askdb/introspect": "0.3.0-beta.
|
|
47
|
+
"@askdb/core": "1.0.0-beta.50",
|
|
48
|
+
"@askdb/introspect": "0.3.0-beta.24",
|
|
49
49
|
"@tediousjs/connection-string": "^1.1.0"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|