@carto/api-client 0.5.12 → 0.5.13
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/build/api-client.cjs +14 -0
- package/build/api-client.cjs.map +1 -1
- package/build/api-client.d.cts +9 -8
- package/build/api-client.d.ts +9 -8
- package/build/api-client.js +12 -0
- package/build/api-client.js.map +1 -1
- package/package.json +1 -1
- package/src/sources/constants.ts +8 -0
- package/src/sources/index.ts +1 -1
- package/src/sources/types.ts +1 -9
package/package.json
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"homepage": "https://github.com/CartoDB/carto-api-client#readme",
|
|
9
9
|
"author": "Don McCurdy <donmccurdy@carto.com>",
|
|
10
10
|
"packageManager": "yarn@4.3.1",
|
|
11
|
-
"version": "0.5.
|
|
11
|
+
"version": "0.5.13",
|
|
12
12
|
"license": "MIT",
|
|
13
13
|
"publishConfig": {
|
|
14
14
|
"access": "public"
|
package/src/sources/index.ts
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
// Copyright (c) vis.gl contributors
|
|
4
4
|
|
|
5
5
|
export {SOURCE_DEFAULTS} from './base-source.js';
|
|
6
|
+
export {RasterBandColorinterp} from './constants.js';
|
|
6
7
|
export type {
|
|
7
8
|
SourceOptions,
|
|
8
9
|
SourceRequiredOptions,
|
|
@@ -26,7 +27,6 @@ export type {
|
|
|
26
27
|
RasterMetadataBand,
|
|
27
28
|
RasterMetadataBandStats,
|
|
28
29
|
RasterBandType,
|
|
29
|
-
RasterBandColorinterp,
|
|
30
30
|
} from './types.js';
|
|
31
31
|
|
|
32
32
|
export {boundaryQuerySource} from './boundary-query-source.js';
|
package/src/sources/types.ts
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
// Copyright (c) vis.gl contributors
|
|
4
4
|
|
|
5
5
|
import type {Filters, SchemaField, QueryParameters} from '../types.js';
|
|
6
|
+
import type {RasterBandColorinterp} from './constants.js';
|
|
6
7
|
|
|
7
8
|
export type SourceRequiredOptions = {
|
|
8
9
|
/** Carto platform access token. */
|
|
@@ -360,15 +361,6 @@ export type RasterMetadataBandStats = {
|
|
|
360
361
|
version?: string;
|
|
361
362
|
};
|
|
362
363
|
|
|
363
|
-
export enum RasterBandColorinterp {
|
|
364
|
-
Gray = 'gray',
|
|
365
|
-
Red = 'red',
|
|
366
|
-
Green = 'green',
|
|
367
|
-
Blue = 'blue',
|
|
368
|
-
Alpha = 'alpha',
|
|
369
|
-
Palette = 'palette',
|
|
370
|
-
}
|
|
371
|
-
|
|
372
364
|
export type RasterBandType =
|
|
373
365
|
| 'uint8'
|
|
374
366
|
| 'int8'
|