@carto/api-client 0.4.2 → 0.4.4
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/CHANGELOG.md +8 -0
- package/build/api/query.d.ts +1 -1
- package/build/api-client.cjs +1136 -984
- package/build/api-client.cjs.map +1 -1
- package/build/api-client.modern.js +1014 -869
- package/build/api-client.modern.js.map +1 -1
- package/build/index.d.ts +1 -1
- package/build/models/model.d.ts +7 -1
- package/build/sources/boundary-query-source.d.ts +2 -1
- package/build/sources/boundary-table-source.d.ts +2 -1
- package/build/sources/h3-query-source.d.ts +2 -1
- package/build/sources/h3-table-source.d.ts +2 -1
- package/build/sources/h3-tileset-source.d.ts +2 -1
- package/build/sources/index.d.ts +13 -14
- package/build/sources/quadbin-query-source.d.ts +2 -1
- package/build/sources/quadbin-table-source.d.ts +2 -1
- package/build/sources/quadbin-tileset-source.d.ts +2 -1
- package/build/sources/raster-source.d.ts +2 -1
- package/build/sources/types.d.ts +48 -37
- package/build/sources/vector-query-source.d.ts +2 -1
- package/build/sources/vector-table-source.d.ts +2 -1
- package/build/sources/vector-tileset-source.d.ts +2 -1
- package/build/spatial-index.d.ts +8 -0
- package/build/utils.d.ts +1 -1
- package/build/widget-sources/types.d.ts +9 -1
- package/build/widget-sources/widget-base-source.d.ts +3 -3
- package/package.json +1 -1
- package/src/api/query.ts +1 -2
- package/src/index.ts +1 -36
- package/src/models/model.ts +47 -24
- package/src/sources/boundary-query-source.ts +4 -2
- package/src/sources/boundary-table-source.ts +4 -2
- package/src/sources/h3-query-source.ts +10 -2
- package/src/sources/h3-table-source.ts +9 -2
- package/src/sources/h3-tileset-source.ts +4 -2
- package/src/sources/index.ts +54 -24
- package/src/sources/quadbin-query-source.ts +10 -2
- package/src/sources/quadbin-table-source.ts +10 -2
- package/src/sources/quadbin-tileset-source.ts +4 -2
- package/src/sources/raster-source.ts +4 -2
- package/src/sources/types.ts +54 -40
- package/src/sources/vector-query-source.ts +13 -2
- package/src/sources/vector-table-source.ts +14 -2
- package/src/sources/vector-tileset-source.ts +4 -2
- package/src/spatial-index.ts +111 -0
- package/src/utils.ts +1 -1
- package/src/widget-sources/types.ts +10 -1
- package/src/widget-sources/widget-base-source.ts +183 -23
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
## 0.4
|
|
6
6
|
|
|
7
|
+
### 0.4.4
|
|
8
|
+
|
|
9
|
+
- feat: Add support for spatial index types (H3, quadbin) in Widget APIs
|
|
10
|
+
|
|
11
|
+
### 0.4.3
|
|
12
|
+
|
|
13
|
+
- feat: Add support for`aggregationExp` parameter to `vectorQuerySource` and `vectorTableSource`
|
|
14
|
+
|
|
7
15
|
### 0.4.2
|
|
8
16
|
|
|
9
17
|
- fix: Fix incorrect column name lowercasing in Picking Model API
|
package/build/api/query.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { SourceOptions, QuerySourceOptions, QueryResult } from '../sources/types';
|
|
2
|
-
export type QueryOptions = SourceOptions &
|
|
2
|
+
export type QueryOptions = SourceOptions & QuerySourceOptions;
|
|
3
3
|
export declare const query: (options: QueryOptions) => Promise<QueryResult>;
|