@loaders.gl/sql 5.0.0-beta.4 → 5.0.0-beta.6

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/README.md CHANGED
@@ -140,4 +140,4 @@ const predicate = SQLPredicateSchema.parse(untrustedPayload);
140
140
  ## Sources and credits
141
141
 
142
142
  See [THIRD-PARTY-NOTICES.md](./THIRD-PARTY-NOTICES.md) for implementation lineage
143
- and applicable notices, and the project-wide [References and credits](https://loaders.gl/docs/references-and-credits).
143
+ and applicable notices, and the project-wide [Attributions and Credits](https://loaders.gl/docs/references-and-credits).
@@ -43,23 +43,7 @@ export declare const DuckDBSQLSource: {
43
43
  [x: string]: Required<Record<string, unknown> | AbortSignal | ((progress: import("@loaders.gl/core/worker-utils").WorkerProgress) => void) | undefined>;
44
44
  onProgress?: Required<((progress: import("@loaders.gl/core/worker-utils").WorkerProgress) => void) | undefined>;
45
45
  signal?: Required<AbortSignal | undefined>;
46
- _scan?: Required<Readonly<{
47
- predicate?: import("@loaders.gl/core/loader-utils").ColumnarPredicate;
48
- columns?: readonly string[];
49
- limit?: number;
50
- signal?: AbortSignal;
51
- onTelemetry?: import("@loaders.gl/core/loader-utils").ScanExecutionTelemetryCallback;
52
- bounds?: import("@loaders.gl/core/loader-utils").ScanBounds;
53
- level?: number;
54
- minimumLevel?: number;
55
- maximumLevel?: number;
56
- targetSpacing?: number;
57
- width?: number;
58
- height?: number;
59
- variables?: readonly string[];
60
- channels?: readonly number[];
61
- slices?: Readonly<Record<string, number | readonly [number, number]>>;
62
- }> | undefined>;
46
+ _scan?: Required<import("@loaders.gl/core/loader-utils").QueryOptions | undefined>;
63
47
  searchParams?: Required<import("@loaders.gl/core/loader-utils").SearchParams | undefined>;
64
48
  core?: Required<({
65
49
  baseUrl?: string;
@@ -92,6 +76,7 @@ export declare const DuckDBSQLSource: {
92
76
  _workerType?: string;
93
77
  } & {
94
78
  type?: string;
79
+ name?: string;
95
80
  attributions?: string[];
96
81
  loadOptions?: never;
97
82
  loaders?: import("@loaders.gl/core/loader-utils").Loader[];
@@ -1 +1 @@
1
- {"version":3,"file":"duckdb-sql-source.d.ts","sourceRoot":"","sources":["../src/duckdb-sql-source.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAC,UAAU,EAAS,MAAM,yBAAyB,CAAC;AAChE,OAAO,KAAK,EAAe,OAAO,EAAC,MAAM,+BAA+B,CAAC;AAGzE,OAAO,EAAC,aAAa,EAA6B,wBAAqB;AACvE,OAAO,KAAK,EAMV,gBAAgB,EAEhB,qBAAqB,EACtB,uBAAoB;AAYrB,gCAAgC;AAChC,eAAO,MAAM,eAAe;uBACG,mBAAmB;wBAC7B,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0BAoFwB,CAAC;0BACjD,CAAA;6BACK,CAAC;;;;;;;;;;;;;;;;4BAnDS,MAAM,KAAG,OAAO;sCAEvB,MAAM,WACH,gBAAgB,YACf,OAAO,KAChB,mBAAmB;CAC8B,CAAC;AAEvD,+CAA+C;AAC/C,qBAAa,mBAAoB,SAAQ,aAAa;IACpD,wFAAwF;IAClF,gBAAgB,CAAC,KAAK,EAAE,UAAU,EAAE,OAAO,EAAE,qBAAqB,GAAG,OAAO,CAAC,IAAI,CAAC;IAIxF,0EAA0E;IACpE,cAAc,CAAC,KAAK,EAAE,UAAU,EAAE,OAAO,EAAE,qBAAqB,GAAG,OAAO,CAAC,IAAI,CAAC;gBAQ1E,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE,OAAO;CAUvE"}
1
+ {"version":3,"file":"duckdb-sql-source.d.ts","sourceRoot":"","sources":["../src/duckdb-sql-source.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAC,UAAU,EAAS,MAAM,yBAAyB,CAAC;AAChE,OAAO,KAAK,EAAe,OAAO,EAAC,MAAM,+BAA+B,CAAC;AAGzE,OAAO,EAAC,aAAa,EAA6B,wBAAqB;AACvE,OAAO,KAAK,EAMV,gBAAgB,EAEhB,qBAAqB,EACtB,uBAAoB;AAYrB,gCAAgC;AAChC,eAAO,MAAM,eAAe;uBACG,mBAAmB;wBAC7B,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0BAoFwB,CAAC;0BACjD,CAAA;6BACK,CAAC;;;;;;;;;;;;;;;;4BAnDS,MAAM,KAAG,OAAO;sCAEvB,MAAM,WACH,gBAAgB,YACf,OAAO,KAChB,mBAAmB;CAC8B,CAAC;AAEvD,+CAA+C;AAC/C,qBAAa,mBAAoB,SAAQ,aAAa;IACpD,wFAAwF;IAClF,gBAAgB,CAAC,KAAK,EAAE,UAAU,EAAE,OAAO,EAAE,qBAAqB,GAAG,OAAO,CAAC,IAAI,CAAC;IAIxF,0EAA0E;IACpE,cAAc,CAAC,KAAK,EAAE,UAAU,EAAE,OAAO,EAAE,qBAAqB,GAAG,OAAO,CAAC,IAAI,CAAC;gBAQ1E,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE,OAAO;CAUvE"}
@@ -7,7 +7,7 @@ import { SQLDataSource, SQL_SOURCE_DEFAULT_OPTIONS } from "./sql-source.js";
7
7
  import { convertRowsToArrowTable, convertSQLColumnsToSchema, escapeSqlString, isNodeRuntime } from "./sql-utils.js";
8
8
  // __VERSION__ is injected by babel-plugin-version-inline
9
9
  // @ts-ignore TS2304: Cannot find name '__VERSION__'.
10
- const VERSION = typeof "5.0.0-beta.4" !== 'undefined' ? "5.0.0-beta.4" : 'latest';
10
+ const VERSION = typeof "5.0.0-beta.6" !== 'undefined' ? "5.0.0-beta.6" : 'latest';
11
11
  /** DuckDB-backed SQL source. */
12
12
  export const DuckDBSQLSource = {
13
13
  dataType: null,