Skip to content

Commit e5822eb

Browse files
author
Don McCurdy
authored
fix(carto): Add missing re-exports from API client in v9.1 (#9267)
1 parent a86fb15 commit e5822eb

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

modules/carto/src/index.ts

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ export type {
7171
GoogleBasemap as _GoogleBasemap
7272
} from './api/index';
7373

74+
// TODO(v10): Consider removing re-exports from '@carto/api-client' below.
75+
7476
import {
7577
boundaryQuerySource,
7678
boundaryTableSource,
@@ -83,11 +85,10 @@ import {
8385
quadbinTilesetSource,
8486
vectorQuerySource,
8587
vectorTableSource,
86-
vectorTilesetSource,
87-
SOURCE_DEFAULTS
88+
vectorTilesetSource
8889
} from '@carto/api-client';
8990

90-
const CARTO_SOURCES = {
91+
export const CARTO_SOURCES = {
9192
boundaryQuerySource,
9293
boundaryTableSource,
9394
h3QuerySource,
@@ -115,9 +116,10 @@ export {
115116
vectorQuerySource,
116117
vectorTableSource,
117118
vectorTilesetSource,
118-
CARTO_SOURCES,
119+
query,
120+
CartoAPIError,
119121
SOURCE_DEFAULTS
120-
};
122+
} from '@carto/api-client';
121123

122124
export type {
123125
GeojsonResult,
@@ -138,5 +140,6 @@ export type {
138140
QuadbinTilesetSourceOptions,
139141
VectorQuerySourceOptions,
140142
VectorTableSourceOptions,
141-
VectorTilesetSourceOptions
143+
VectorTilesetSourceOptions,
144+
QueryParameters
142145
} from '@carto/api-client';

0 commit comments

Comments
 (0)