@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/build/api-client.d.cts
CHANGED
|
@@ -325,6 +325,15 @@ declare function buildStatsUrl({ attribute, apiBaseUrl, connectionName, source,
|
|
|
325
325
|
type: MapType;
|
|
326
326
|
}): string;
|
|
327
327
|
|
|
328
|
+
declare enum RasterBandColorinterp {
|
|
329
|
+
Gray = "gray",
|
|
330
|
+
Red = "red",
|
|
331
|
+
Green = "green",
|
|
332
|
+
Blue = "blue",
|
|
333
|
+
Alpha = "alpha",
|
|
334
|
+
Palette = "palette"
|
|
335
|
+
}
|
|
336
|
+
|
|
328
337
|
type SourceRequiredOptions = {
|
|
329
338
|
/** Carto platform access token. */
|
|
330
339
|
accessToken: string;
|
|
@@ -624,14 +633,6 @@ type RasterMetadataBandStats = {
|
|
|
624
633
|
*/
|
|
625
634
|
version?: string;
|
|
626
635
|
};
|
|
627
|
-
declare enum RasterBandColorinterp {
|
|
628
|
-
Gray = "gray",
|
|
629
|
-
Red = "red",
|
|
630
|
-
Green = "green",
|
|
631
|
-
Blue = "blue",
|
|
632
|
-
Alpha = "alpha",
|
|
633
|
-
Palette = "palette"
|
|
634
|
-
}
|
|
635
636
|
type RasterBandType = 'uint8' | 'int8' | 'uint16' | 'int16' | 'uint32' | 'int32' | 'uint64' | 'int64' | 'float32' | 'float64';
|
|
636
637
|
type RasterMetadataBand = {
|
|
637
638
|
type: RasterBandType;
|
package/build/api-client.d.ts
CHANGED
|
@@ -325,6 +325,15 @@ declare function buildStatsUrl({ attribute, apiBaseUrl, connectionName, source,
|
|
|
325
325
|
type: MapType;
|
|
326
326
|
}): string;
|
|
327
327
|
|
|
328
|
+
declare enum RasterBandColorinterp {
|
|
329
|
+
Gray = "gray",
|
|
330
|
+
Red = "red",
|
|
331
|
+
Green = "green",
|
|
332
|
+
Blue = "blue",
|
|
333
|
+
Alpha = "alpha",
|
|
334
|
+
Palette = "palette"
|
|
335
|
+
}
|
|
336
|
+
|
|
328
337
|
type SourceRequiredOptions = {
|
|
329
338
|
/** Carto platform access token. */
|
|
330
339
|
accessToken: string;
|
|
@@ -624,14 +633,6 @@ type RasterMetadataBandStats = {
|
|
|
624
633
|
*/
|
|
625
634
|
version?: string;
|
|
626
635
|
};
|
|
627
|
-
declare enum RasterBandColorinterp {
|
|
628
|
-
Gray = "gray",
|
|
629
|
-
Red = "red",
|
|
630
|
-
Green = "green",
|
|
631
|
-
Blue = "blue",
|
|
632
|
-
Alpha = "alpha",
|
|
633
|
-
Palette = "palette"
|
|
634
|
-
}
|
|
635
636
|
type RasterBandType = 'uint8' | 'int8' | 'uint16' | 'int16' | 'uint32' | 'int32' | 'uint64' | 'int64' | 'float32' | 'float64';
|
|
636
637
|
type RasterMetadataBand = {
|
|
637
638
|
type: RasterBandType;
|
package/build/api-client.js
CHANGED
|
@@ -6006,6 +6006,17 @@ async function baseSource(endpoint, options, urlParameters) {
|
|
|
6006
6006
|
return json;
|
|
6007
6007
|
}
|
|
6008
6008
|
|
|
6009
|
+
// src/sources/constants.ts
|
|
6010
|
+
var RasterBandColorinterp = /* @__PURE__ */ ((RasterBandColorinterp2) => {
|
|
6011
|
+
RasterBandColorinterp2["Gray"] = "gray";
|
|
6012
|
+
RasterBandColorinterp2["Red"] = "red";
|
|
6013
|
+
RasterBandColorinterp2["Green"] = "green";
|
|
6014
|
+
RasterBandColorinterp2["Blue"] = "blue";
|
|
6015
|
+
RasterBandColorinterp2["Alpha"] = "alpha";
|
|
6016
|
+
RasterBandColorinterp2["Palette"] = "palette";
|
|
6017
|
+
return RasterBandColorinterp2;
|
|
6018
|
+
})(RasterBandColorinterp || {});
|
|
6019
|
+
|
|
6009
6020
|
// src/sources/boundary-query-source.ts
|
|
6010
6021
|
var boundaryQuerySource = async function(options) {
|
|
6011
6022
|
const {
|
|
@@ -10163,6 +10174,7 @@ export {
|
|
|
10163
10174
|
OPACITY_MAP,
|
|
10164
10175
|
OTHERS_CATEGORY_NAME,
|
|
10165
10176
|
Provider,
|
|
10177
|
+
RasterBandColorinterp,
|
|
10166
10178
|
SOURCE_DEFAULTS,
|
|
10167
10179
|
SchemaFieldType,
|
|
10168
10180
|
SpatialIndex,
|