@google/earthengine 1.5.8 → 1.5.9
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/browser.js +25 -25
- package/build/ee_api_js.js +14 -14
- package/build/ee_api_js_debug.js +3 -3
- package/build/ee_api_js_npm.js +25 -25
- package/build/main.js +25 -25
- package/package.json +1 -1
- package/src/apiclient.js +2 -2
- package/src/eeapiclient/domain_object.ts +2 -2
- package/src/eeapiclient/request_params.ts +2 -2
package/build/browser.js
CHANGED
|
@@ -19298,7 +19298,7 @@ var $jscomp$templatelit$m1153655765$99 = $jscomp.createTemplateTagFirstArg(["htt
|
|
|
19298
19298
|
ee.apiclient = {};
|
|
19299
19299
|
var module$contents$ee$apiclient_apiclient = {};
|
|
19300
19300
|
ee.apiclient.VERSION = module$exports$ee$apiVersion.V1;
|
|
19301
|
-
ee.apiclient.API_CLIENT_VERSION = "1.5.
|
|
19301
|
+
ee.apiclient.API_CLIENT_VERSION = "1.5.9";
|
|
19302
19302
|
ee.apiclient.NULL_VALUE = module$exports$eeapiclient$domain_object.NULL_VALUE;
|
|
19303
19303
|
ee.apiclient.PromiseRequestService = module$exports$eeapiclient$promise_request_service.PromiseRequestService;
|
|
19304
19304
|
ee.apiclient.MakeRequestParams = module$contents$eeapiclient$request_params_MakeRequestParams;
|
|
@@ -19596,8 +19596,8 @@ module$contents$ee$apiclient_apiclient.send = function(path, params, callback, m
|
|
|
19596
19596
|
var profileHookAtCallTime = module$contents$ee$apiclient_apiclient.profileHook_, contentType = "application/x-www-form-urlencoded";
|
|
19597
19597
|
body && (contentType = "application/json", method && method.startsWith("multipart") && (contentType = method, method = "POST"));
|
|
19598
19598
|
method = method || "POST";
|
|
19599
|
-
var headers = {"Content-Type":contentType}, version = "1.5.
|
|
19600
|
-
version === "1.5.
|
|
19599
|
+
var headers = {"Content-Type":contentType}, version = "1.5.9";
|
|
19600
|
+
version === "1.5.9" && (version = "latest");
|
|
19601
19601
|
headers[module$contents$ee$apiclient_apiclient.API_CLIENT_VERSION_HEADER] = "ee-js/" + version;
|
|
19602
19602
|
var authToken = module$contents$ee$apiclient_apiclient.getAuthToken();
|
|
19603
19603
|
if (authToken != null) {
|
|
@@ -27115,29 +27115,29 @@ ee.data.Profiler.Format.prototype.toString = function() {
|
|
|
27115
27115
|
ee.data.Profiler.Format.TEXT = new ee.data.Profiler.Format("text");
|
|
27116
27116
|
ee.data.Profiler.Format.JSON = new ee.data.Profiler.Format("json");
|
|
27117
27117
|
(function() {
|
|
27118
|
-
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction.
|
|
27119
|
-
orderedParamLists = [["name"
|
|
27118
|
+
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction._call ee.ApiFunction.lookup ee.ApiFunction._apply ee.batch.Export.map.toCloudStorage ee.batch.Export.videoMap.toCloudStorage ee.batch.Export.table.toBigQuery ee.batch.Export.image.toCloudStorage ee.batch.Export.video.toCloudStorage ee.batch.Export.table.toFeatureView ee.batch.Export.video.toDrive ee.batch.Export.table.toDrive ee.batch.Export.image.toDrive ee.batch.Export.table.toAsset ee.batch.Export.table.toCloudStorage ee.batch.Export.classifier.toAsset ee.batch.Export.image.toAsset ee.Collection.prototype.iterate ee.Collection.prototype.filterDate ee.Collection.prototype.limit ee.Collection.prototype.sort ee.Collection.prototype.filterMetadata ee.Collection.prototype.filterBounds ee.Collection.prototype.filter ee.Collection.prototype.map ee.ComputedObject.prototype.serialize ee.ComputedObject.prototype.aside ee.ComputedObject.prototype.evaluate ee.ComputedObject.prototype.getInfo ee.data.getFilmstripThumbId ee.data.updateAsset ee.data.startIngestion ee.data.startProcessing ee.data.createFolder ee.data.makeThumbUrl ee.data.authenticateViaOauth ee.data.setAssetAcl ee.data.getMapId ee.data.listAssets ee.data.renameAsset ee.data.getTaskList ee.data.authenticate ee.data.setAssetProperties ee.data.getTableDownloadId ee.data.getTileUrl ee.data.copyAsset ee.data.listBuckets ee.data.makeTableDownloadUrl ee.data.getTaskListWithLimit ee.data.startTableIngestion ee.data.listOperations ee.data.deleteAsset ee.data.getAssetRootQuota ee.data.getDownloadId ee.data.cancelOperation ee.data.makeDownloadUrl ee.data.authenticateViaPopup ee.data.listImages ee.data.getFeatureViewTilesKey ee.data.getWorkloadTag ee.data.getAssetAcl ee.data.listFeatures ee.data.getAsset ee.data.getAssetRoots ee.data.authenticateViaPrivateKey ee.data.getOperation ee.data.newTaskId ee.data.createAssetHome ee.data.computeValue ee.data.getInfo ee.data.setWorkloadTag ee.data.createAsset ee.data.getThumbId ee.data.cancelTask ee.data.setDefaultWorkloadTag ee.data.getVideoThumbId ee.data.getTaskStatus ee.data.resetWorkloadTag ee.data.updateTask ee.data.getList ee.Date ee.Deserializer.fromJSON ee.Deserializer.decodeCloudApi ee.Deserializer.fromCloudApiJSON ee.Deserializer.decode ee.Dictionary ee.InitState ee.apply ee.TILE_SIZE ee.initialize ee.call ee.reset ee.Algorithms ee.Element.prototype.set ee.Encodable.SourceFrame ee.Feature.prototype.getMap ee.Feature ee.Feature.prototype.getInfo ee.Feature.prototype.getMapId ee.FeatureCollection.prototype.getMap ee.FeatureCollection.prototype.getInfo ee.FeatureCollection ee.FeatureCollection.prototype.select ee.FeatureCollection.prototype.getMapId ee.FeatureCollection.prototype.getDownloadURL ee.Filter.neq ee.Filter.or ee.Filter.lte ee.Filter.gte ee.Filter.metadata ee.Filter.prototype.not ee.Filter.eq ee.Filter ee.Filter.date ee.Filter.inList ee.Filter.bounds ee.Filter.and ee.Filter.gt ee.Filter.lt ee.Function.prototype.apply ee.Function.prototype.call ee.Geometry.Point ee.Geometry.Polygon ee.Geometry.prototype.serialize ee.Geometry.MultiLineString ee.Geometry.MultiPolygon ee.Geometry.LinearRing ee.Geometry.prototype.toGeoJSON ee.Geometry.MultiPoint ee.Geometry.Rectangle ee.Geometry.LineString ee.Geometry.prototype.toGeoJSONString ee.Geometry.BBox ee.Geometry ee.Image.prototype.getThumbURL ee.Image.prototype.clip ee.Image.prototype.expression ee.Image.prototype.getThumbId ee.Image.cat ee.Image.prototype.getInfo ee.Image.prototype.getMapId ee.Image.prototype.getDownloadURL ee.Image.rgb ee.Image.prototype.getMap ee.Image.prototype.select ee.Image.prototype.rename ee.Image ee.ImageCollection.prototype.linkCollection ee.ImageCollection.prototype.first ee.ImageCollection.prototype.select ee.ImageCollection ee.ImageCollection.prototype.getVideoThumbURL ee.ImageCollection.prototype.getFilmstripThumbURL ee.ImageCollection.prototype.getMapId ee.ImageCollection.prototype.getMap ee.ImageCollection.prototype.getInfo ee.List ee.Number ee.Serializer.toReadableCloudApiJSON ee.Serializer.encodeCloudApiPretty ee.Serializer.encode ee.Serializer.toJSON ee.Serializer.encodeCloudApi ee.Serializer.toCloudApiJSON ee.Serializer.toReadableJSON ee.String ee.Terrain".split(" "),
|
|
27119
|
+
orderedParamLists = [["name", "var_args"], ["name"], ["name", "namedArgs"], "image opt_description opt_bucket opt_fileFormat opt_path opt_writePublicTiles opt_scale opt_maxZoom opt_minZoom opt_region opt_skipEmptyTiles opt_mapsApiKey opt_bucketCorsUris opt_priority".split(" "), "collection opt_description opt_bucket opt_fileNamePrefix opt_framesPerSecond opt_writePublicTiles opt_minZoom opt_maxZoom opt_scale opt_region opt_skipEmptyTiles opt_minTimeMachineZoomSubset opt_maxTimeMachineZoomSubset opt_tileWidth opt_tileHeight opt_tileStride opt_videoFormat opt_version opt_mapsApiKey opt_bucketCorsUris opt_priority".split(" "),
|
|
27120
|
+
"collection opt_description opt_table opt_overwrite opt_append opt_selectors opt_maxVertices opt_priority".split(" "), "image opt_description opt_bucket opt_fileNamePrefix opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_fileDimensions opt_skipEmptyTiles opt_fileFormat opt_formatOptions opt_priority".split(" "), "collection opt_description opt_bucket opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames opt_priority".split(" "),
|
|
27120
27121
|
"collection opt_description opt_assetId opt_maxFeaturesPerTile opt_thinningStrategy opt_thinningRanking opt_zOrderRanking opt_priority".split(" "), "collection opt_description opt_folder opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames opt_priority".split(" "), "collection opt_description opt_folder opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices opt_priority".split(" "), "image opt_description opt_folder opt_fileNamePrefix opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_fileDimensions opt_skipEmptyTiles opt_fileFormat opt_formatOptions opt_priority".split(" "),
|
|
27121
|
-
["collection", "opt_description", "opt_assetId", "opt_maxVertices", "opt_priority"],
|
|
27122
|
-
"
|
|
27123
|
-
["
|
|
27124
|
-
["
|
|
27125
|
-
["
|
|
27126
|
-
[
|
|
27127
|
-
|
|
27128
|
-
|
|
27129
|
-
"
|
|
27130
|
-
|
|
27131
|
-
[
|
|
27132
|
-
|
|
27133
|
-
|
|
27134
|
-
ee.
|
|
27135
|
-
ee.data.
|
|
27136
|
-
ee.
|
|
27137
|
-
ee.
|
|
27138
|
-
ee.
|
|
27139
|
-
ee.
|
|
27140
|
-
ee.ImageCollection.prototype.select, ee.ImageCollection.prototype.linkCollection, ee.ImageCollection.prototype.first, ee.ImageCollection, ee.ImageCollection.prototype.getVideoThumbURL, ee.List, ee.Number, ee.Serializer.toReadableCloudApiJSON, ee.Serializer.encodeCloudApiPretty, ee.Serializer.encode, ee.Serializer.toCloudApiJSON, ee.Serializer.toJSON, ee.Serializer.encodeCloudApi, ee.Serializer.toReadableJSON, ee.String, ee.Terrain].forEach(function(fn, i) {
|
|
27122
|
+
["collection", "opt_description", "opt_assetId", "opt_maxVertices", "opt_priority"], "collection opt_description opt_bucket opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices opt_priority".split(" "), ["classifier", "opt_description", "opt_assetId", "opt_priority"], "image opt_description opt_assetId opt_pyramidingPolicy opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_priority".split(" "), ["algorithm", "opt_first"], ["start", "opt_end"],
|
|
27123
|
+
["max", "opt_property", "opt_ascending"], ["property", "opt_ascending"], ["name", "operator", "value"], ["geometry"], ["filter"], ["algorithm", "opt_dropNulls"], ["legacy"], ["func", "var_args"], ["callback"], ["opt_callback"], ["params", "opt_callback"], ["assetId", "asset", "updateFields", "opt_callback"], ["taskId", "request", "opt_callback"], ["taskId", "params", "opt_callback"], ["path", "opt_force", "opt_callback"], ["id"], "clientId success opt_error opt_extraScopes opt_onImmediateFailed opt_suppressDefaultScopes".split(" "),
|
|
27124
|
+
["assetId", "aclUpdate", "opt_callback"], ["params", "opt_callback"], ["parent", "opt_params", "opt_callback"], ["sourceId", "destinationId", "opt_callback"], ["opt_callback"], ["clientId", "success", "opt_error", "opt_extraScopes", "opt_onImmediateFailed"], ["assetId", "properties", "opt_callback"], ["params", "opt_callback"], ["id", "x", "y", "z"], ["sourceId", "destinationId", "opt_overwrite", "opt_callback"], ["project", "opt_callback"], ["id"], ["opt_limit", "opt_callback"], ["taskId", "request",
|
|
27125
|
+
"opt_callback"], ["opt_limit", "opt_callback"], ["assetId", "opt_callback"], ["rootId", "opt_callback"], ["params", "opt_callback"], ["operationName", "opt_callback"], ["id"], ["opt_success", "opt_error"], ["parent", "opt_params", "opt_callback"], ["params", "opt_callback"], [], ["assetId", "opt_callback"], ["asset", "params", "opt_callback"], ["id", "opt_callback"], ["opt_callback"], ["privateKey", "opt_success", "opt_error", "opt_extraScopes", "opt_suppressDefaultScopes"], ["operationName", "opt_callback"],
|
|
27126
|
+
["opt_count", "opt_callback"], ["requestedId", "opt_callback"], ["obj", "opt_callback"], ["id", "opt_callback"], ["tag"], ["value", "opt_path", "opt_force", "opt_properties", "opt_callback"], ["params", "opt_callback"], ["taskId", "opt_callback"], ["tag"], ["params", "opt_callback"], ["taskId", "opt_callback"], ["opt_resetDefault"], ["taskId", "action", "opt_callback"], ["params", "opt_callback"], ["date", "opt_tz"], ["json"], ["json"], ["json"], ["json"], ["opt_dict"], [], ["func", "namedArgs"],
|
|
27127
|
+
[], "opt_baseurl opt_tileurl opt_successCallback opt_errorCallback opt_xsrfToken opt_project".split(" "), ["func", "var_args"], [], [], ["var_args"], [], ["opt_visParams", "opt_callback"], ["geometry", "opt_properties"], ["opt_callback"], ["opt_visParams", "opt_callback"], ["opt_visParams", "opt_callback"], ["opt_callback"], ["args", "opt_column"], ["propertySelectors", "opt_newProperties", "opt_retainGeometry"], ["opt_visParams", "opt_callback"], ["opt_format", "opt_selectors", "opt_filename",
|
|
27128
|
+
"opt_callback"], ["name", "value"], ["var_args"], ["name", "value"], ["name", "value"], ["name", "operator", "value"], [], ["name", "value"], ["opt_filter"], ["start", "opt_end"], ["opt_leftField", "opt_rightValue", "opt_rightField", "opt_leftValue"], ["geometry", "opt_errorMargin"], ["var_args"], ["name", "value"], ["name", "value"], ["namedArgs"], ["var_args"], ["coords", "opt_proj"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError", "opt_evenOdd"], ["legacy"], ["coords", "opt_proj", "opt_geodesic",
|
|
27129
|
+
"opt_maxError"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError", "opt_evenOdd"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], [], ["coords", "opt_proj"], ["coords", "opt_proj", "opt_geodesic", "opt_evenOdd"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], [], ["west", "south", "east", "north"], ["geoJson", "opt_proj", "opt_geodesic", "opt_evenOdd"], ["params", "opt_callback"], ["geometry"], ["expression", "opt_map"], ["params", "opt_callback"], ["var_args"], ["opt_callback"],
|
|
27130
|
+
["opt_visParams", "opt_callback"], ["params", "opt_callback"], ["r", "g", "b"], ["opt_visParams", "opt_callback"], ["var_args"], ["var_args"], ["opt_args"], ["imageCollection", "opt_linkedBands", "opt_linkedProperties", "opt_matchPropertyName"], [], ["selectors", "opt_names"], ["args"], ["params", "opt_callback"], ["params", "opt_callback"], ["opt_visParams", "opt_callback"], ["opt_visParams", "opt_callback"], ["opt_callback"], ["list"], ["number"], ["obj"], ["obj"], ["obj", "opt_isCompound"],
|
|
27131
|
+
["obj"], ["obj"], ["obj"], ["obj"], ["string"], []];
|
|
27132
|
+
[ee.ApiFunction._call, ee.ApiFunction.lookup, ee.ApiFunction._apply, module$contents$ee$batch_Export.map.toCloudStorage, module$contents$ee$batch_Export.videoMap.toCloudStorage, module$contents$ee$batch_Export.table.toBigQuery, module$contents$ee$batch_Export.image.toCloudStorage, module$contents$ee$batch_Export.video.toCloudStorage, module$contents$ee$batch_Export.table.toFeatureView, module$contents$ee$batch_Export.video.toDrive, module$contents$ee$batch_Export.table.toDrive, module$contents$ee$batch_Export.image.toDrive,
|
|
27133
|
+
module$contents$ee$batch_Export.table.toAsset, module$contents$ee$batch_Export.table.toCloudStorage, module$contents$ee$batch_Export.classifier.toAsset, module$contents$ee$batch_Export.image.toAsset, ee.Collection.prototype.iterate, ee.Collection.prototype.filterDate, ee.Collection.prototype.limit, ee.Collection.prototype.sort, ee.Collection.prototype.filterMetadata, ee.Collection.prototype.filterBounds, ee.Collection.prototype.filter, ee.Collection.prototype.map, ee.ComputedObject.prototype.serialize,
|
|
27134
|
+
ee.ComputedObject.prototype.aside, ee.ComputedObject.prototype.evaluate, ee.ComputedObject.prototype.getInfo, ee.data.getFilmstripThumbId, ee.data.updateAsset, ee.data.startIngestion, ee.data.startProcessing, ee.data.createFolder, ee.data.makeThumbUrl, ee.data.authenticateViaOauth, ee.data.setAssetAcl, ee.data.getMapId, ee.data.listAssets, ee.data.renameAsset, ee.data.getTaskList, ee.data.authenticate, ee.data.setAssetProperties, ee.data.getTableDownloadId, ee.data.getTileUrl, ee.data.copyAsset,
|
|
27135
|
+
ee.data.listBuckets, ee.data.makeTableDownloadUrl, ee.data.getTaskListWithLimit, ee.data.startTableIngestion, ee.data.listOperations, ee.data.deleteAsset, ee.data.getAssetRootQuota, ee.data.getDownloadId, ee.data.cancelOperation, ee.data.makeDownloadUrl, ee.data.authenticateViaPopup, ee.data.listImages, ee.data.getFeatureViewTilesKey, ee.data.getWorkloadTag, ee.data.getAssetAcl, ee.data.listFeatures, ee.data.getAsset, ee.data.getAssetRoots, ee.data.authenticateViaPrivateKey, ee.data.getOperation,
|
|
27136
|
+
ee.data.newTaskId, ee.data.createAssetHome, ee.data.computeValue, ee.data.getInfo, ee.data.setWorkloadTag, ee.data.createAsset, ee.data.getThumbId, ee.data.cancelTask, ee.data.setDefaultWorkloadTag, ee.data.getVideoThumbId, ee.data.getTaskStatus, ee.data.resetWorkloadTag, ee.data.updateTask, ee.data.getList, ee.Date, ee.Deserializer.fromJSON, ee.Deserializer.decodeCloudApi, ee.Deserializer.fromCloudApiJSON, ee.Deserializer.decode, ee.Dictionary, ee.InitState, ee.apply, ee.TILE_SIZE, ee.initialize,
|
|
27137
|
+
ee.call, ee.reset, ee.Algorithms, ee.Element.prototype.set, ee.Encodable.SourceFrame, ee.Feature.prototype.getMap, ee.Feature, ee.Feature.prototype.getInfo, ee.Feature.prototype.getMapId, ee.FeatureCollection.prototype.getMap, ee.FeatureCollection.prototype.getInfo, ee.FeatureCollection, ee.FeatureCollection.prototype.select, ee.FeatureCollection.prototype.getMapId, ee.FeatureCollection.prototype.getDownloadURL, ee.Filter.neq, ee.Filter.or, ee.Filter.lte, ee.Filter.gte, ee.Filter.metadata, ee.Filter.prototype.not,
|
|
27138
|
+
ee.Filter.eq, ee.Filter, ee.Filter.date, ee.Filter.inList, ee.Filter.bounds, ee.Filter.and, ee.Filter.gt, ee.Filter.lt, ee.Function.prototype.apply, ee.Function.prototype.call, ee.Geometry.Point, ee.Geometry.Polygon, ee.Geometry.prototype.serialize, ee.Geometry.MultiLineString, ee.Geometry.MultiPolygon, ee.Geometry.LinearRing, ee.Geometry.prototype.toGeoJSON, ee.Geometry.MultiPoint, ee.Geometry.Rectangle, ee.Geometry.LineString, ee.Geometry.prototype.toGeoJSONString, ee.Geometry.BBox, ee.Geometry,
|
|
27139
|
+
ee.Image.prototype.getThumbURL, ee.Image.prototype.clip, ee.Image.prototype.expression, ee.Image.prototype.getThumbId, ee.Image.cat, ee.Image.prototype.getInfo, ee.Image.prototype.getMapId, ee.Image.prototype.getDownloadURL, ee.Image.rgb, ee.Image.prototype.getMap, ee.Image.prototype.select, ee.Image.prototype.rename, ee.Image, ee.ImageCollection.prototype.linkCollection, ee.ImageCollection.prototype.first, ee.ImageCollection.prototype.select, ee.ImageCollection, ee.ImageCollection.prototype.getVideoThumbURL,
|
|
27140
|
+
ee.ImageCollection.prototype.getFilmstripThumbURL, ee.ImageCollection.prototype.getMapId, ee.ImageCollection.prototype.getMap, ee.ImageCollection.prototype.getInfo, ee.List, ee.Number, ee.Serializer.toReadableCloudApiJSON, ee.Serializer.encodeCloudApiPretty, ee.Serializer.encode, ee.Serializer.toJSON, ee.Serializer.encodeCloudApi, ee.Serializer.toCloudApiJSON, ee.Serializer.toReadableJSON, ee.String, ee.Terrain].forEach(function(fn, i) {
|
|
27141
27141
|
fn && (exportedFnInfo[fn.toString()] = {name:orderedFnNames[i], paramNames:orderedParamLists[i]});
|
|
27142
27142
|
});
|
|
27143
27143
|
goog.global.EXPORTED_FN_INFO = exportedFnInfo;
|
package/build/ee_api_js.js
CHANGED
|
@@ -453,7 +453,7 @@ Ma(p,f[m]))});return b?b(l):l};return this.callback?(dj(d,null,function(f,l){ret
|
|
|
453
453
|
ej.prototype.send=function(a,b){var c=[a.B+" "+a.path+" HTTP/1.1"];c.push("Content-Type: application/json; charset=utf-8");var d=gj();d!=null&&c.push("Authorization: "+d);a=a.body?JSON.stringify(a.body):"";return[c.join("\r\n")+"\r\n\r\n"+a,b]};
|
|
454
454
|
var hj=function(a,b,c){a=r(b.split("--"+a.split("; boundary=")[1]));for(b=a.next();!b.done;b=a.next())if(b=b.value.split("\r\n\r\n"),!(b.length<3)){var d=b[0].match(/\r\nContent-ID: <response-([^>]*)>/)[1],e=Number(b[1].match(/^HTTP\S*\s(\d+)\s/)[1]);c(d,e,b.slice(2).join("\r\n\r\n"))}},bj=function(){var a=ij.replace(/\/api$/,"");return"window"in t&&!a.match(/^https?:\/\/content-/)?a.replace(/^(https?:\/\/)(.*\.googleapis\.com)$/,"$1content-$2"):a},kj=function(a,b,c){var d=[];a&&(d=d.concat(jj));
|
|
455
455
|
b&&d.push("https://www.googleapis.com/auth/devstorage.read_write");a=d=d.concat(c);c=b=0;for(var e={};c<a.length;){var g=a[c++],f=u(g)?"o"+Ba(g):(typeof g).charAt(0)+g;Object.prototype.hasOwnProperty.call(e,f)||(e[f]=!0,a[b++]=g)}a.length=b;return d},rj=function(a,b,c){mj&&nj&&mj({client_id:String(nj),scope:oj.join(" "),plugin_name:"earthengine"},function(d){if(d.error=="immediate_failed"&&c)c();else if("window"in t)try{pj(function(){try{qj(a,b,d)}catch(e){b(e.toString())}})}catch(e){b(e.toString())}else qj(a,
|
|
456
|
-
b,d)})},gj=function(){sj&&Date.now()-sj>=0&&tj();return uj},tj=function(){sj=uj=null},Zi=function(a,b,c,d){a!=null?ij=a:vj||(ij="https://earthengine.googleapis.com/api");b!=null?wj=b:vj||(wj="https://earthengine.googleapis.com");c!==void 0&&(xj=c);Yi=d!=null?d:Yi||"earthengine-legacy";vj=!0},dj=function(a,b,c,d,e,g,f){Zi();var l=yj,m="application/x-www-form-urlencoded";e&&(m="application/json",d&&d.startsWith("multipart")&&(m=d,d="POST"));d=d||"POST";m={"Content-Type":m};var p="1.5.
|
|
456
|
+
b,d)})},gj=function(){sj&&Date.now()-sj>=0&&tj();return uj},tj=function(){sj=uj=null},Zi=function(a,b,c,d){a!=null?ij=a:vj||(ij="https://earthengine.googleapis.com/api");b!=null?wj=b:vj||(wj="https://earthengine.googleapis.com");c!==void 0&&(xj=c);Yi=d!=null?d:Yi||"earthengine-legacy";vj=!0},dj=function(a,b,c,d,e,g,f){Zi();var l=yj,m="application/x-www-form-urlencoded";e&&(m="application/json",d&&d.startsWith("multipart")&&(m=d,d="POST"));d=d||"POST";m={"Content-Type":m};var p="1.5.9";p==="1.5.9"&&
|
|
457
457
|
(p="latest");m["x-goog-api-client"]="ee-js/"+p;p=gj();if(p!=null)m.Authorization=p;else if(c&&mj&&nj)return rj(function(){zj(l,function(){dj(a,b,c,d)})}),null;b=b?b.clone():new Sc;Aj!=null&&b.add("key",Aj);l&&(m["X-Earth-Engine-Computation-Profiling"]="1");Yi&&Yi!=="earthengine-legacy"&&(m["X-Goog-User-Project"]=Yi);b=Bj(b,a);xj!=null&&(m["X-XSRF-Token"]=xj);Cj!=null&&(m["X-Earth-Engine-App-ID-Token"]=Cj);p=e||null;var v=b?b.toString():"";d==="POST"&&e===void 0?p=v:/^[\s\xa0]*$/.test(v)||(a+=a.indexOf("?")!=
|
|
458
458
|
-1?"&":"?",a+=v);e=a.startsWith("/")?ij+a:a;if(c)return Dj.push(Ej(e,c,d,p,m,g,f)),Fj.mf(),null;v=function(H,ea){this.setRequestHeader&&this.setRequestHeader(ea,H)};var z=0;for(g=g!=null?g:5;;){var B=new XMLHttpRequest;B.open(d,e,!1);Wa(m,v,B);B.send(p);if(B.status!=429||z>g)break;z++}return Gj(B.status,function(H){try{return B.getResponseHeader(H)}catch(ea){return null}},B.responseText,l,void 0,e,d,f)},Ej=function(a,b,c,d,e,g,f){var l=0,m={url:a,method:c,content:d,headers:e},p=yj,v=g!=null?g:10;
|
|
459
459
|
m.callback=function(z){z=z.target;if(z.getStatus()==429&&l<v)return l++,setTimeout(function(){Dj.push(m);Fj.mf()},Math.min(12E4,Math.pow(2,l)*1E3)),null;var B=Gj,H=z.getStatus(),ea=w(z.getResponseHeader,z);try{var W=z.s?z.s.responseText:""}catch(da){Cc(z.ha,"Can not get responseText: "+da.message),W=""}return B(H,ea,W,p,b,a,c,f)};return m},zj=function(a,b){var c=yj;try{yj=a,b.call(void 0)}finally{yj=c}},Gj=function(a,b,c,d,e,g,f,l){var m=d?b("X-Earth-Engine-Computation-Profile"):"";m&&d&&d(m);var p=
|
|
@@ -706,18 +706,18 @@ h.ul=function(){if(!this.kc){var a=w(function(d){this.kc||(Wp(this.fa,this.ea,d)
|
|
|
706
706
|
h.Ji=null;h.Ja=null;h.hi=null;var uq=["load","abort","error"],vq=function(){I.call(this);this.Ea=!1};q(vq,I);vq.prototype.setActive=function(a){this.Ea=a};vq.prototype.isActive=function(){return this.Ea};var qq=function(a,b){lq.call(this,a,b)};q(qq,lq);qq.prototype.Ye=function(){return new vq};qq.prototype.Dd=function(a){a.dispose()};qq.prototype.Pf=function(a){return!a.Ra&&!a.isActive()};var wq=function(a,b,c,d,e){ge.call(this,a,b,c,d,e);this.minZoom=d.minZoom||0;this.maxZoom=d.maxZoom||20;if(!window.google||!window.google.maps)throw Error("Google Maps API hasn't been initialized.");this.tileSize=d.tileSize||new google.maps.Size(256,256);this.name=d.name;this.tg=new ae;this.Qf=1;this.ua=e||null};q(wq,ge);h=wq.prototype;h.Le=function(a){return zd(this,"tileevent",a)};h.Yf=function(a){Hd(a)};
|
|
707
707
|
h.getTile=function(a,b,c){if(b<this.minZoom||a.y<0||a.y>=1<<b)return a=c.createElement("IMG"),a.style.width="0px",a.style.height="0px",a;b=he(this,a,b);a=[this.url,b].join("/")+"?token="+this.token;this.ua&&this.ua.isEnabled()&&(a+="&profiling=1");b=[b,this.wb,this.token].join("/");this.wb+=1;c=hi("DIV",{id:b});var d=(new Date).getTime()/1E3;this.yb.push(b);kl(rq).send(b,a,d,w(this.Tk,this,c,b));tp(this);return c};h.Mc=function(){return this.yb.length};
|
|
708
708
|
h.releaseTile=function(a){kl(rq).abort(a.id);if(a.firstElementChild!==void 0)var b=a.firstElementChild;else for(b=a.firstChild;b&&b.nodeType!=1;)b=b.nextSibling;this.tg.remove(b);a.id!==""&&(this.sg.remove(a.id),this.ua&&this.ua.ll(a.id))};h.setOpacity=function(a){this.Qf=a;var b=this.tg.Da();Sd(b,function(c){Ep(c,a)})};
|
|
709
|
-
h.Tk=function(a,b,c,d){c.type=="error"?(ec(this.yb,b),this.sg.add(b),this.dispatchEvent(c)):(ec(this.yb,b),c.target&&c.type=="load"&&(c=c.target,this.tg.add(c),this.Qf!=1&&Ep(c,this.Qf),a.appendChild(c)),tp(this));this.ua&&d!==null&&this.ua.Hk(b,d)};x("ee.MapLayerOverlay",wq);wq.prototype.removeTileCallback=wq.prototype.Yf;wq.prototype.addTileCallback=wq.prototype.Le;wq.prototype.getTile=wq.prototype.getTile;wq.prototype.setOpacity=wq.prototype.setOpacity;wq.prototype.releaseTile=wq.prototype.releaseTile;(function(){var a={},b="ee.ApiFunction.
|
|
710
|
-
c=[["name","
|
|
709
|
+
h.Tk=function(a,b,c,d){c.type=="error"?(ec(this.yb,b),this.sg.add(b),this.dispatchEvent(c)):(ec(this.yb,b),c.target&&c.type=="load"&&(c=c.target,this.tg.add(c),this.Qf!=1&&Ep(c,this.Qf),a.appendChild(c)),tp(this));this.ua&&d!==null&&this.ua.Hk(b,d)};x("ee.MapLayerOverlay",wq);wq.prototype.removeTileCallback=wq.prototype.Yf;wq.prototype.addTileCallback=wq.prototype.Le;wq.prototype.getTile=wq.prototype.getTile;wq.prototype.setOpacity=wq.prototype.setOpacity;wq.prototype.releaseTile=wq.prototype.releaseTile;(function(){var a={},b="ee.ApiFunction._call ee.ApiFunction.lookup ee.ApiFunction._apply ee.batch.Export.map.toCloudStorage ee.batch.Export.videoMap.toCloudStorage ee.batch.Export.table.toBigQuery ee.batch.Export.image.toCloudStorage ee.batch.Export.video.toCloudStorage ee.batch.Export.table.toFeatureView ee.batch.Export.video.toDrive ee.batch.Export.table.toDrive ee.batch.Export.image.toDrive ee.batch.Export.table.toAsset ee.batch.Export.table.toCloudStorage ee.batch.Export.classifier.toAsset ee.batch.Export.image.toAsset ee.Collection.prototype.iterate ee.Collection.prototype.filterDate ee.Collection.prototype.limit ee.Collection.prototype.sort ee.Collection.prototype.filterMetadata ee.Collection.prototype.filterBounds ee.Collection.prototype.filter ee.Collection.prototype.map ee.ComputedObject.prototype.serialize ee.ComputedObject.prototype.aside ee.ComputedObject.prototype.evaluate ee.ComputedObject.prototype.getInfo ee.data.getFilmstripThumbId ee.data.updateAsset ee.data.startIngestion ee.data.startProcessing ee.data.createFolder ee.data.makeThumbUrl ee.data.authenticateViaOauth ee.data.setAssetAcl ee.data.getMapId ee.data.listAssets ee.data.renameAsset ee.data.getTaskList ee.data.authenticate ee.data.setAssetProperties ee.data.getTableDownloadId ee.data.getTileUrl ee.data.copyAsset ee.data.listBuckets ee.data.makeTableDownloadUrl ee.data.getTaskListWithLimit ee.data.startTableIngestion ee.data.listOperations ee.data.deleteAsset ee.data.getAssetRootQuota ee.data.getDownloadId ee.data.cancelOperation ee.data.makeDownloadUrl ee.data.authenticateViaPopup ee.data.listImages ee.data.getFeatureViewTilesKey ee.data.getWorkloadTag ee.data.getAssetAcl ee.data.listFeatures ee.data.getAsset ee.data.getAssetRoots ee.data.authenticateViaPrivateKey ee.data.getOperation ee.data.newTaskId ee.data.createAssetHome ee.data.computeValue ee.data.getInfo ee.data.setWorkloadTag ee.data.createAsset ee.data.getThumbId ee.data.cancelTask ee.data.setDefaultWorkloadTag ee.data.getVideoThumbId ee.data.getTaskStatus ee.data.resetWorkloadTag ee.data.updateTask ee.data.getList ee.Date ee.Deserializer.fromJSON ee.Deserializer.decodeCloudApi ee.Deserializer.fromCloudApiJSON ee.Deserializer.decode ee.Dictionary ee.InitState ee.apply ee.TILE_SIZE ee.initialize ee.call ee.reset ee.Algorithms ee.Element.prototype.set ee.Encodable.SourceFrame ee.Feature.prototype.getMap ee.Feature ee.Feature.prototype.getInfo ee.Feature.prototype.getMapId ee.FeatureCollection.prototype.getDownloadURL ee.FeatureCollection.prototype.getMap ee.FeatureCollection ee.FeatureCollection.prototype.getInfo ee.FeatureCollection.prototype.getMapId ee.FeatureCollection.prototype.select ee.Filter ee.Filter.date ee.Filter.metadata ee.Filter.bounds ee.Filter.and ee.Filter.gt ee.Filter.inList ee.Filter.neq ee.Filter.lt ee.Filter.prototype.not ee.Filter.or ee.Filter.eq ee.Filter.lte ee.Filter.gte ee.Function.prototype.apply ee.Function.prototype.call ee.Geometry.MultiLineString ee.Geometry.MultiPolygon ee.Geometry.prototype.serialize ee.Geometry.LinearRing ee.Geometry.prototype.toGeoJSON ee.Geometry.MultiPoint ee.Geometry ee.Geometry.Rectangle ee.Geometry.BBox ee.Geometry.prototype.toGeoJSONString ee.Geometry.LineString ee.Geometry.Point ee.Geometry.Polygon ee.Image.prototype.select ee.Image.prototype.clip ee.Image.prototype.expression ee.Image.prototype.rename ee.Image.cat ee.Image.rgb ee.Image.prototype.getInfo ee.Image.prototype.getMapId ee.Image.prototype.getDownloadURL ee.Image ee.Image.prototype.getMap ee.Image.prototype.getThumbId ee.Image.prototype.getThumbURL ee.ImageCollection.prototype.first ee.ImageCollection.prototype.getVideoThumbURL ee.ImageCollection ee.ImageCollection.prototype.getFilmstripThumbURL ee.ImageCollection.prototype.getMapId ee.ImageCollection.prototype.getMap ee.ImageCollection.prototype.getInfo ee.ImageCollection.prototype.select ee.ImageCollection.prototype.linkCollection ee.List ee.Number ee.Serializer.toJSON ee.Serializer.encodeCloudApi ee.Serializer.toReadableCloudApiJSON ee.Serializer.toReadableJSON ee.Serializer.encodeCloudApiPretty ee.Serializer.encode ee.Serializer.toCloudApiJSON ee.String ee.Terrain".split(" "),
|
|
710
|
+
c=[["name","var_args"],["name"],["name","namedArgs"],"image opt_description opt_bucket opt_fileFormat opt_path opt_writePublicTiles opt_scale opt_maxZoom opt_minZoom opt_region opt_skipEmptyTiles opt_mapsApiKey opt_bucketCorsUris opt_priority".split(" "),"collection opt_description opt_bucket opt_fileNamePrefix opt_framesPerSecond opt_writePublicTiles opt_minZoom opt_maxZoom opt_scale opt_region opt_skipEmptyTiles opt_minTimeMachineZoomSubset opt_maxTimeMachineZoomSubset opt_tileWidth opt_tileHeight opt_tileStride opt_videoFormat opt_version opt_mapsApiKey opt_bucketCorsUris opt_priority".split(" "),
|
|
711
711
|
"collection opt_description opt_table opt_overwrite opt_append opt_selectors opt_maxVertices opt_priority".split(" "),"image opt_description opt_bucket opt_fileNamePrefix opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_fileDimensions opt_skipEmptyTiles opt_fileFormat opt_formatOptions opt_priority".split(" "),"collection opt_description opt_bucket opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames opt_priority".split(" "),
|
|
712
712
|
"collection opt_description opt_assetId opt_maxFeaturesPerTile opt_thinningStrategy opt_thinningRanking opt_zOrderRanking opt_priority".split(" "),"collection opt_description opt_folder opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames opt_priority".split(" "),"collection opt_description opt_folder opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices opt_priority".split(" "),"image opt_description opt_folder opt_fileNamePrefix opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_fileDimensions opt_skipEmptyTiles opt_fileFormat opt_formatOptions opt_priority".split(" "),
|
|
713
|
-
["collection","opt_description","opt_assetId","opt_maxVertices","opt_priority"],"collection opt_description opt_bucket opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices opt_priority".split(" "),["classifier","opt_description","opt_assetId","opt_priority"],"image opt_description opt_assetId opt_pyramidingPolicy opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_priority".split(" "),["
|
|
714
|
-
"opt_ascending"],["name","operator","value"],["geometry"],["
|
|
715
|
-
["params","opt_callback"],["sourceId","destinationId","
|
|
716
|
-
"
|
|
717
|
-
"opt_callback"],["
|
|
718
|
-
[],["var_args"],[],["
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
"
|
|
722
|
-
|
|
723
|
-
|
|
713
|
+
["collection","opt_description","opt_assetId","opt_maxVertices","opt_priority"],"collection opt_description opt_bucket opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices opt_priority".split(" "),["classifier","opt_description","opt_assetId","opt_priority"],"image opt_description opt_assetId opt_pyramidingPolicy opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_priority".split(" "),["algorithm","opt_first"],["start","opt_end"],["max","opt_property",
|
|
714
|
+
"opt_ascending"],["property","opt_ascending"],["name","operator","value"],["geometry"],["filter"],["algorithm","opt_dropNulls"],["legacy"],["func","var_args"],["callback"],["opt_callback"],["params","opt_callback"],["assetId","asset","updateFields","opt_callback"],["taskId","request","opt_callback"],["taskId","params","opt_callback"],["path","opt_force","opt_callback"],["id"],"clientId success opt_error opt_extraScopes opt_onImmediateFailed opt_suppressDefaultScopes".split(" "),["assetId","aclUpdate",
|
|
715
|
+
"opt_callback"],["params","opt_callback"],["parent","opt_params","opt_callback"],["sourceId","destinationId","opt_callback"],["opt_callback"],["clientId","success","opt_error","opt_extraScopes","opt_onImmediateFailed"],["assetId","properties","opt_callback"],["params","opt_callback"],["id","x","y","z"],["sourceId","destinationId","opt_overwrite","opt_callback"],["project","opt_callback"],["id"],["opt_limit","opt_callback"],["taskId","request","opt_callback"],["opt_limit","opt_callback"],["assetId",
|
|
716
|
+
"opt_callback"],["rootId","opt_callback"],["params","opt_callback"],["operationName","opt_callback"],["id"],["opt_success","opt_error"],["parent","opt_params","opt_callback"],["params","opt_callback"],[],["assetId","opt_callback"],["asset","params","opt_callback"],["id","opt_callback"],["opt_callback"],["privateKey","opt_success","opt_error","opt_extraScopes","opt_suppressDefaultScopes"],["operationName","opt_callback"],["opt_count","opt_callback"],["requestedId","opt_callback"],["obj","opt_callback"],
|
|
717
|
+
["id","opt_callback"],["tag"],["value","opt_path","opt_force","opt_properties","opt_callback"],["params","opt_callback"],["taskId","opt_callback"],["tag"],["params","opt_callback"],["taskId","opt_callback"],["opt_resetDefault"],["taskId","action","opt_callback"],["params","opt_callback"],["date","opt_tz"],["json"],["json"],["json"],["json"],["opt_dict"],[],["func","namedArgs"],[],"opt_baseurl opt_tileurl opt_successCallback opt_errorCallback opt_xsrfToken opt_project".split(" "),["func","var_args"],
|
|
718
|
+
[],[],["var_args"],[],["opt_visParams","opt_callback"],["geometry","opt_properties"],["opt_callback"],["opt_visParams","opt_callback"],["opt_format","opt_selectors","opt_filename","opt_callback"],["opt_visParams","opt_callback"],["args","opt_column"],["opt_callback"],["opt_visParams","opt_callback"],["propertySelectors","opt_newProperties","opt_retainGeometry"],["opt_filter"],["start","opt_end"],["name","operator","value"],["geometry","opt_errorMargin"],["var_args"],["name","value"],["opt_leftField",
|
|
719
|
+
"opt_rightValue","opt_rightField","opt_leftValue"],["name","value"],["name","value"],[],["var_args"],["name","value"],["name","value"],["name","value"],["namedArgs"],["var_args"],["coords","opt_proj","opt_geodesic","opt_maxError"],["coords","opt_proj","opt_geodesic","opt_maxError","opt_evenOdd"],["legacy"],["coords","opt_proj","opt_geodesic","opt_maxError"],[],["coords","opt_proj"],["geoJson","opt_proj","opt_geodesic","opt_evenOdd"],["coords","opt_proj","opt_geodesic","opt_evenOdd"],["west","south",
|
|
720
|
+
"east","north"],[],["coords","opt_proj","opt_geodesic","opt_maxError"],["coords","opt_proj"],["coords","opt_proj","opt_geodesic","opt_maxError","opt_evenOdd"],["var_args"],["geometry"],["expression","opt_map"],["var_args"],["var_args"],["r","g","b"],["opt_callback"],["opt_visParams","opt_callback"],["params","opt_callback"],["opt_args"],["opt_visParams","opt_callback"],["params","opt_callback"],["params","opt_callback"],[],["params","opt_callback"],["args"],["params","opt_callback"],["opt_visParams",
|
|
721
|
+
"opt_callback"],["opt_visParams","opt_callback"],["opt_callback"],["selectors","opt_names"],["imageCollection","opt_linkedBands","opt_linkedProperties","opt_matchPropertyName"],["list"],["number"],["obj"],["obj"],["obj"],["obj"],["obj"],["obj","opt_isCompound"],["obj"],["string"],[]];[Q,Nm,Om,qo,yo,vo,oo,wo,uo,xo,so,po,to,ro,zo,mo,V.prototype.Hh,V.prototype.kf,V.prototype.limit,V.prototype.sort,V.prototype.lf,V.prototype.sh,V.prototype.filter,V.prototype.map,O.prototype.va,O.prototype.Dg,O.prototype.evaluate,
|
|
722
|
+
O.prototype.V,Al,sm,bm,Yl,nm,Bl,ml,tm,tl,hm,om,Ml,nl,um,Fl,ul,pm,jm,Gl,Ll,dm,Nl,qm,vm,Dl,Ol,El,ll,im,vl,rl,rm,wl,em,km,ol,Pl,Hl,lm,xl,em,xm,mm,yl,Rl,ym,zl,Kl,zm,Ql,gm,Qo,Uo,Vo,Zo,To,$o,mp,op,256,ip,np,lp,kp,S.prototype.set,Jj,X.prototype.getMap,X,X.prototype.V,X.prototype.R,Y.prototype.rb,Y.prototype.getMap,Y,Y.prototype.V,Y.prototype.R,Y.prototype.select,U,Jn,Mn,Ln,Hn,Fn,Kn,Cn,Dn,U.prototype.sc,In,Bn,Gn,En,Im.prototype.apply,Im.prototype.call,rn,tn,T.prototype.va,qn,T.prototype.oe,kn,T,ln,mn,T.prototype.vg,
|
|
723
|
+
pn,gn,sn,N.prototype.select,N.prototype.clip,N.prototype.l,N.prototype.mi,$n,Zn,N.prototype.V,N.prototype.R,N.prototype.rb,N,N.prototype.getMap,N.prototype.Ld,N.prototype.uf,Z.prototype.first,Z.prototype.vf,Z,Z.prototype.sf,Z.prototype.R,Z.prototype.getMap,Z.prototype.V,Z.prototype.select,Z.prototype.Ef,ao,Go,Gk,Lk,Rk,Ik,Pk,Fk,Qk,Jo,cp].forEach(function(d,e){d&&(a[d.toString()]={name:b[e],paramNames:c[e]})});t.EXPORTED_FN_INFO=a})();}).call(this);
|
package/build/ee_api_js_debug.js
CHANGED
|
@@ -19298,7 +19298,7 @@ var $jscomp$templatelit$m1153655765$99 = $jscomp.createTemplateTagFirstArg(["htt
|
|
|
19298
19298
|
ee.apiclient = {};
|
|
19299
19299
|
var module$contents$ee$apiclient_apiclient = {};
|
|
19300
19300
|
ee.apiclient.VERSION = module$exports$ee$apiVersion.V1;
|
|
19301
|
-
ee.apiclient.API_CLIENT_VERSION = "1.5.
|
|
19301
|
+
ee.apiclient.API_CLIENT_VERSION = "1.5.9";
|
|
19302
19302
|
ee.apiclient.NULL_VALUE = module$exports$eeapiclient$domain_object.NULL_VALUE;
|
|
19303
19303
|
ee.apiclient.PromiseRequestService = module$exports$eeapiclient$promise_request_service.PromiseRequestService;
|
|
19304
19304
|
ee.apiclient.MakeRequestParams = module$contents$eeapiclient$request_params_MakeRequestParams;
|
|
@@ -19596,8 +19596,8 @@ module$contents$ee$apiclient_apiclient.send = function(path, params, callback, m
|
|
|
19596
19596
|
var profileHookAtCallTime = module$contents$ee$apiclient_apiclient.profileHook_, contentType = "application/x-www-form-urlencoded";
|
|
19597
19597
|
body && (contentType = "application/json", method && method.startsWith("multipart") && (contentType = method, method = "POST"));
|
|
19598
19598
|
method = method || "POST";
|
|
19599
|
-
var headers = {"Content-Type":contentType}, version = "1.5.
|
|
19600
|
-
version === "1.5.
|
|
19599
|
+
var headers = {"Content-Type":contentType}, version = "1.5.9";
|
|
19600
|
+
version === "1.5.9" && (version = "latest");
|
|
19601
19601
|
headers[module$contents$ee$apiclient_apiclient.API_CLIENT_VERSION_HEADER] = "ee-js/" + version;
|
|
19602
19602
|
var authToken = module$contents$ee$apiclient_apiclient.getAuthToken();
|
|
19603
19603
|
if (authToken != null) {
|
package/build/ee_api_js_npm.js
CHANGED
|
@@ -19298,7 +19298,7 @@ var $jscomp$templatelit$m1153655765$99 = $jscomp.createTemplateTagFirstArg(["htt
|
|
|
19298
19298
|
ee.apiclient = {};
|
|
19299
19299
|
var module$contents$ee$apiclient_apiclient = {};
|
|
19300
19300
|
ee.apiclient.VERSION = module$exports$ee$apiVersion.V1;
|
|
19301
|
-
ee.apiclient.API_CLIENT_VERSION = "1.5.
|
|
19301
|
+
ee.apiclient.API_CLIENT_VERSION = "1.5.9";
|
|
19302
19302
|
ee.apiclient.NULL_VALUE = module$exports$eeapiclient$domain_object.NULL_VALUE;
|
|
19303
19303
|
ee.apiclient.PromiseRequestService = module$exports$eeapiclient$promise_request_service.PromiseRequestService;
|
|
19304
19304
|
ee.apiclient.MakeRequestParams = module$contents$eeapiclient$request_params_MakeRequestParams;
|
|
@@ -19596,8 +19596,8 @@ module$contents$ee$apiclient_apiclient.send = function(path, params, callback, m
|
|
|
19596
19596
|
var profileHookAtCallTime = module$contents$ee$apiclient_apiclient.profileHook_, contentType = "application/x-www-form-urlencoded";
|
|
19597
19597
|
body && (contentType = "application/json", method && method.startsWith("multipart") && (contentType = method, method = "POST"));
|
|
19598
19598
|
method = method || "POST";
|
|
19599
|
-
var headers = {"Content-Type":contentType}, version = "1.5.
|
|
19600
|
-
version === "1.5.
|
|
19599
|
+
var headers = {"Content-Type":contentType}, version = "1.5.9";
|
|
19600
|
+
version === "1.5.9" && (version = "latest");
|
|
19601
19601
|
headers[module$contents$ee$apiclient_apiclient.API_CLIENT_VERSION_HEADER] = "ee-js/" + version;
|
|
19602
19602
|
var authToken = module$contents$ee$apiclient_apiclient.getAuthToken();
|
|
19603
19603
|
if (authToken != null) {
|
|
@@ -27115,29 +27115,29 @@ ee.data.Profiler.Format.prototype.toString = function() {
|
|
|
27115
27115
|
ee.data.Profiler.Format.TEXT = new ee.data.Profiler.Format("text");
|
|
27116
27116
|
ee.data.Profiler.Format.JSON = new ee.data.Profiler.Format("json");
|
|
27117
27117
|
(function() {
|
|
27118
|
-
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction.
|
|
27119
|
-
orderedParamLists = [["name"
|
|
27118
|
+
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction._call ee.ApiFunction.lookup ee.ApiFunction._apply ee.batch.Export.map.toCloudStorage ee.batch.Export.videoMap.toCloudStorage ee.batch.Export.table.toBigQuery ee.batch.Export.image.toCloudStorage ee.batch.Export.video.toCloudStorage ee.batch.Export.table.toFeatureView ee.batch.Export.video.toDrive ee.batch.Export.table.toDrive ee.batch.Export.image.toDrive ee.batch.Export.table.toAsset ee.batch.Export.table.toCloudStorage ee.batch.Export.classifier.toAsset ee.batch.Export.image.toAsset ee.Collection.prototype.iterate ee.Collection.prototype.filterDate ee.Collection.prototype.limit ee.Collection.prototype.sort ee.Collection.prototype.filterMetadata ee.Collection.prototype.filterBounds ee.Collection.prototype.filter ee.Collection.prototype.map ee.ComputedObject.prototype.serialize ee.ComputedObject.prototype.aside ee.ComputedObject.prototype.evaluate ee.ComputedObject.prototype.getInfo ee.data.getFilmstripThumbId ee.data.updateAsset ee.data.startIngestion ee.data.startProcessing ee.data.createFolder ee.data.makeThumbUrl ee.data.authenticateViaOauth ee.data.setAssetAcl ee.data.getMapId ee.data.listAssets ee.data.renameAsset ee.data.getTaskList ee.data.authenticate ee.data.setAssetProperties ee.data.getTableDownloadId ee.data.getTileUrl ee.data.copyAsset ee.data.listBuckets ee.data.makeTableDownloadUrl ee.data.getTaskListWithLimit ee.data.startTableIngestion ee.data.listOperations ee.data.deleteAsset ee.data.getAssetRootQuota ee.data.getDownloadId ee.data.cancelOperation ee.data.makeDownloadUrl ee.data.authenticateViaPopup ee.data.listImages ee.data.getFeatureViewTilesKey ee.data.getWorkloadTag ee.data.getAssetAcl ee.data.listFeatures ee.data.getAsset ee.data.getAssetRoots ee.data.authenticateViaPrivateKey ee.data.getOperation ee.data.newTaskId ee.data.createAssetHome ee.data.computeValue ee.data.getInfo ee.data.setWorkloadTag ee.data.createAsset ee.data.getThumbId ee.data.cancelTask ee.data.setDefaultWorkloadTag ee.data.getVideoThumbId ee.data.getTaskStatus ee.data.resetWorkloadTag ee.data.updateTask ee.data.getList ee.Date ee.Deserializer.fromJSON ee.Deserializer.decodeCloudApi ee.Deserializer.fromCloudApiJSON ee.Deserializer.decode ee.Dictionary ee.InitState ee.apply ee.TILE_SIZE ee.initialize ee.call ee.reset ee.Algorithms ee.Element.prototype.set ee.Encodable.SourceFrame ee.Feature.prototype.getMap ee.Feature ee.Feature.prototype.getInfo ee.Feature.prototype.getMapId ee.FeatureCollection.prototype.getMap ee.FeatureCollection.prototype.getInfo ee.FeatureCollection ee.FeatureCollection.prototype.select ee.FeatureCollection.prototype.getMapId ee.FeatureCollection.prototype.getDownloadURL ee.Filter.neq ee.Filter.or ee.Filter.lte ee.Filter.gte ee.Filter.metadata ee.Filter.prototype.not ee.Filter.eq ee.Filter ee.Filter.date ee.Filter.inList ee.Filter.bounds ee.Filter.and ee.Filter.gt ee.Filter.lt ee.Function.prototype.apply ee.Function.prototype.call ee.Geometry.Point ee.Geometry.Polygon ee.Geometry.prototype.serialize ee.Geometry.MultiLineString ee.Geometry.MultiPolygon ee.Geometry.LinearRing ee.Geometry.prototype.toGeoJSON ee.Geometry.MultiPoint ee.Geometry.Rectangle ee.Geometry.LineString ee.Geometry.prototype.toGeoJSONString ee.Geometry.BBox ee.Geometry ee.Image.prototype.getThumbURL ee.Image.prototype.clip ee.Image.prototype.expression ee.Image.prototype.getThumbId ee.Image.cat ee.Image.prototype.getInfo ee.Image.prototype.getMapId ee.Image.prototype.getDownloadURL ee.Image.rgb ee.Image.prototype.getMap ee.Image.prototype.select ee.Image.prototype.rename ee.Image ee.ImageCollection.prototype.linkCollection ee.ImageCollection.prototype.first ee.ImageCollection.prototype.select ee.ImageCollection ee.ImageCollection.prototype.getVideoThumbURL ee.ImageCollection.prototype.getFilmstripThumbURL ee.ImageCollection.prototype.getMapId ee.ImageCollection.prototype.getMap ee.ImageCollection.prototype.getInfo ee.List ee.Number ee.Serializer.toReadableCloudApiJSON ee.Serializer.encodeCloudApiPretty ee.Serializer.encode ee.Serializer.toJSON ee.Serializer.encodeCloudApi ee.Serializer.toCloudApiJSON ee.Serializer.toReadableJSON ee.String ee.Terrain".split(" "),
|
|
27119
|
+
orderedParamLists = [["name", "var_args"], ["name"], ["name", "namedArgs"], "image opt_description opt_bucket opt_fileFormat opt_path opt_writePublicTiles opt_scale opt_maxZoom opt_minZoom opt_region opt_skipEmptyTiles opt_mapsApiKey opt_bucketCorsUris opt_priority".split(" "), "collection opt_description opt_bucket opt_fileNamePrefix opt_framesPerSecond opt_writePublicTiles opt_minZoom opt_maxZoom opt_scale opt_region opt_skipEmptyTiles opt_minTimeMachineZoomSubset opt_maxTimeMachineZoomSubset opt_tileWidth opt_tileHeight opt_tileStride opt_videoFormat opt_version opt_mapsApiKey opt_bucketCorsUris opt_priority".split(" "),
|
|
27120
|
+
"collection opt_description opt_table opt_overwrite opt_append opt_selectors opt_maxVertices opt_priority".split(" "), "image opt_description opt_bucket opt_fileNamePrefix opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_fileDimensions opt_skipEmptyTiles opt_fileFormat opt_formatOptions opt_priority".split(" "), "collection opt_description opt_bucket opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames opt_priority".split(" "),
|
|
27120
27121
|
"collection opt_description opt_assetId opt_maxFeaturesPerTile opt_thinningStrategy opt_thinningRanking opt_zOrderRanking opt_priority".split(" "), "collection opt_description opt_folder opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames opt_priority".split(" "), "collection opt_description opt_folder opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices opt_priority".split(" "), "image opt_description opt_folder opt_fileNamePrefix opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_fileDimensions opt_skipEmptyTiles opt_fileFormat opt_formatOptions opt_priority".split(" "),
|
|
27121
|
-
["collection", "opt_description", "opt_assetId", "opt_maxVertices", "opt_priority"],
|
|
27122
|
-
"
|
|
27123
|
-
["
|
|
27124
|
-
["
|
|
27125
|
-
["
|
|
27126
|
-
[
|
|
27127
|
-
|
|
27128
|
-
|
|
27129
|
-
"
|
|
27130
|
-
|
|
27131
|
-
[
|
|
27132
|
-
|
|
27133
|
-
|
|
27134
|
-
ee.
|
|
27135
|
-
ee.data.
|
|
27136
|
-
ee.
|
|
27137
|
-
ee.
|
|
27138
|
-
ee.
|
|
27139
|
-
ee.
|
|
27140
|
-
ee.ImageCollection.prototype.select, ee.ImageCollection.prototype.linkCollection, ee.ImageCollection.prototype.first, ee.ImageCollection, ee.ImageCollection.prototype.getVideoThumbURL, ee.List, ee.Number, ee.Serializer.toReadableCloudApiJSON, ee.Serializer.encodeCloudApiPretty, ee.Serializer.encode, ee.Serializer.toCloudApiJSON, ee.Serializer.toJSON, ee.Serializer.encodeCloudApi, ee.Serializer.toReadableJSON, ee.String, ee.Terrain].forEach(function(fn, i) {
|
|
27122
|
+
["collection", "opt_description", "opt_assetId", "opt_maxVertices", "opt_priority"], "collection opt_description opt_bucket opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices opt_priority".split(" "), ["classifier", "opt_description", "opt_assetId", "opt_priority"], "image opt_description opt_assetId opt_pyramidingPolicy opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_priority".split(" "), ["algorithm", "opt_first"], ["start", "opt_end"],
|
|
27123
|
+
["max", "opt_property", "opt_ascending"], ["property", "opt_ascending"], ["name", "operator", "value"], ["geometry"], ["filter"], ["algorithm", "opt_dropNulls"], ["legacy"], ["func", "var_args"], ["callback"], ["opt_callback"], ["params", "opt_callback"], ["assetId", "asset", "updateFields", "opt_callback"], ["taskId", "request", "opt_callback"], ["taskId", "params", "opt_callback"], ["path", "opt_force", "opt_callback"], ["id"], "clientId success opt_error opt_extraScopes opt_onImmediateFailed opt_suppressDefaultScopes".split(" "),
|
|
27124
|
+
["assetId", "aclUpdate", "opt_callback"], ["params", "opt_callback"], ["parent", "opt_params", "opt_callback"], ["sourceId", "destinationId", "opt_callback"], ["opt_callback"], ["clientId", "success", "opt_error", "opt_extraScopes", "opt_onImmediateFailed"], ["assetId", "properties", "opt_callback"], ["params", "opt_callback"], ["id", "x", "y", "z"], ["sourceId", "destinationId", "opt_overwrite", "opt_callback"], ["project", "opt_callback"], ["id"], ["opt_limit", "opt_callback"], ["taskId", "request",
|
|
27125
|
+
"opt_callback"], ["opt_limit", "opt_callback"], ["assetId", "opt_callback"], ["rootId", "opt_callback"], ["params", "opt_callback"], ["operationName", "opt_callback"], ["id"], ["opt_success", "opt_error"], ["parent", "opt_params", "opt_callback"], ["params", "opt_callback"], [], ["assetId", "opt_callback"], ["asset", "params", "opt_callback"], ["id", "opt_callback"], ["opt_callback"], ["privateKey", "opt_success", "opt_error", "opt_extraScopes", "opt_suppressDefaultScopes"], ["operationName", "opt_callback"],
|
|
27126
|
+
["opt_count", "opt_callback"], ["requestedId", "opt_callback"], ["obj", "opt_callback"], ["id", "opt_callback"], ["tag"], ["value", "opt_path", "opt_force", "opt_properties", "opt_callback"], ["params", "opt_callback"], ["taskId", "opt_callback"], ["tag"], ["params", "opt_callback"], ["taskId", "opt_callback"], ["opt_resetDefault"], ["taskId", "action", "opt_callback"], ["params", "opt_callback"], ["date", "opt_tz"], ["json"], ["json"], ["json"], ["json"], ["opt_dict"], [], ["func", "namedArgs"],
|
|
27127
|
+
[], "opt_baseurl opt_tileurl opt_successCallback opt_errorCallback opt_xsrfToken opt_project".split(" "), ["func", "var_args"], [], [], ["var_args"], [], ["opt_visParams", "opt_callback"], ["geometry", "opt_properties"], ["opt_callback"], ["opt_visParams", "opt_callback"], ["opt_visParams", "opt_callback"], ["opt_callback"], ["args", "opt_column"], ["propertySelectors", "opt_newProperties", "opt_retainGeometry"], ["opt_visParams", "opt_callback"], ["opt_format", "opt_selectors", "opt_filename",
|
|
27128
|
+
"opt_callback"], ["name", "value"], ["var_args"], ["name", "value"], ["name", "value"], ["name", "operator", "value"], [], ["name", "value"], ["opt_filter"], ["start", "opt_end"], ["opt_leftField", "opt_rightValue", "opt_rightField", "opt_leftValue"], ["geometry", "opt_errorMargin"], ["var_args"], ["name", "value"], ["name", "value"], ["namedArgs"], ["var_args"], ["coords", "opt_proj"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError", "opt_evenOdd"], ["legacy"], ["coords", "opt_proj", "opt_geodesic",
|
|
27129
|
+
"opt_maxError"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError", "opt_evenOdd"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], [], ["coords", "opt_proj"], ["coords", "opt_proj", "opt_geodesic", "opt_evenOdd"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], [], ["west", "south", "east", "north"], ["geoJson", "opt_proj", "opt_geodesic", "opt_evenOdd"], ["params", "opt_callback"], ["geometry"], ["expression", "opt_map"], ["params", "opt_callback"], ["var_args"], ["opt_callback"],
|
|
27130
|
+
["opt_visParams", "opt_callback"], ["params", "opt_callback"], ["r", "g", "b"], ["opt_visParams", "opt_callback"], ["var_args"], ["var_args"], ["opt_args"], ["imageCollection", "opt_linkedBands", "opt_linkedProperties", "opt_matchPropertyName"], [], ["selectors", "opt_names"], ["args"], ["params", "opt_callback"], ["params", "opt_callback"], ["opt_visParams", "opt_callback"], ["opt_visParams", "opt_callback"], ["opt_callback"], ["list"], ["number"], ["obj"], ["obj"], ["obj", "opt_isCompound"],
|
|
27131
|
+
["obj"], ["obj"], ["obj"], ["obj"], ["string"], []];
|
|
27132
|
+
[ee.ApiFunction._call, ee.ApiFunction.lookup, ee.ApiFunction._apply, module$contents$ee$batch_Export.map.toCloudStorage, module$contents$ee$batch_Export.videoMap.toCloudStorage, module$contents$ee$batch_Export.table.toBigQuery, module$contents$ee$batch_Export.image.toCloudStorage, module$contents$ee$batch_Export.video.toCloudStorage, module$contents$ee$batch_Export.table.toFeatureView, module$contents$ee$batch_Export.video.toDrive, module$contents$ee$batch_Export.table.toDrive, module$contents$ee$batch_Export.image.toDrive,
|
|
27133
|
+
module$contents$ee$batch_Export.table.toAsset, module$contents$ee$batch_Export.table.toCloudStorage, module$contents$ee$batch_Export.classifier.toAsset, module$contents$ee$batch_Export.image.toAsset, ee.Collection.prototype.iterate, ee.Collection.prototype.filterDate, ee.Collection.prototype.limit, ee.Collection.prototype.sort, ee.Collection.prototype.filterMetadata, ee.Collection.prototype.filterBounds, ee.Collection.prototype.filter, ee.Collection.prototype.map, ee.ComputedObject.prototype.serialize,
|
|
27134
|
+
ee.ComputedObject.prototype.aside, ee.ComputedObject.prototype.evaluate, ee.ComputedObject.prototype.getInfo, ee.data.getFilmstripThumbId, ee.data.updateAsset, ee.data.startIngestion, ee.data.startProcessing, ee.data.createFolder, ee.data.makeThumbUrl, ee.data.authenticateViaOauth, ee.data.setAssetAcl, ee.data.getMapId, ee.data.listAssets, ee.data.renameAsset, ee.data.getTaskList, ee.data.authenticate, ee.data.setAssetProperties, ee.data.getTableDownloadId, ee.data.getTileUrl, ee.data.copyAsset,
|
|
27135
|
+
ee.data.listBuckets, ee.data.makeTableDownloadUrl, ee.data.getTaskListWithLimit, ee.data.startTableIngestion, ee.data.listOperations, ee.data.deleteAsset, ee.data.getAssetRootQuota, ee.data.getDownloadId, ee.data.cancelOperation, ee.data.makeDownloadUrl, ee.data.authenticateViaPopup, ee.data.listImages, ee.data.getFeatureViewTilesKey, ee.data.getWorkloadTag, ee.data.getAssetAcl, ee.data.listFeatures, ee.data.getAsset, ee.data.getAssetRoots, ee.data.authenticateViaPrivateKey, ee.data.getOperation,
|
|
27136
|
+
ee.data.newTaskId, ee.data.createAssetHome, ee.data.computeValue, ee.data.getInfo, ee.data.setWorkloadTag, ee.data.createAsset, ee.data.getThumbId, ee.data.cancelTask, ee.data.setDefaultWorkloadTag, ee.data.getVideoThumbId, ee.data.getTaskStatus, ee.data.resetWorkloadTag, ee.data.updateTask, ee.data.getList, ee.Date, ee.Deserializer.fromJSON, ee.Deserializer.decodeCloudApi, ee.Deserializer.fromCloudApiJSON, ee.Deserializer.decode, ee.Dictionary, ee.InitState, ee.apply, ee.TILE_SIZE, ee.initialize,
|
|
27137
|
+
ee.call, ee.reset, ee.Algorithms, ee.Element.prototype.set, ee.Encodable.SourceFrame, ee.Feature.prototype.getMap, ee.Feature, ee.Feature.prototype.getInfo, ee.Feature.prototype.getMapId, ee.FeatureCollection.prototype.getMap, ee.FeatureCollection.prototype.getInfo, ee.FeatureCollection, ee.FeatureCollection.prototype.select, ee.FeatureCollection.prototype.getMapId, ee.FeatureCollection.prototype.getDownloadURL, ee.Filter.neq, ee.Filter.or, ee.Filter.lte, ee.Filter.gte, ee.Filter.metadata, ee.Filter.prototype.not,
|
|
27138
|
+
ee.Filter.eq, ee.Filter, ee.Filter.date, ee.Filter.inList, ee.Filter.bounds, ee.Filter.and, ee.Filter.gt, ee.Filter.lt, ee.Function.prototype.apply, ee.Function.prototype.call, ee.Geometry.Point, ee.Geometry.Polygon, ee.Geometry.prototype.serialize, ee.Geometry.MultiLineString, ee.Geometry.MultiPolygon, ee.Geometry.LinearRing, ee.Geometry.prototype.toGeoJSON, ee.Geometry.MultiPoint, ee.Geometry.Rectangle, ee.Geometry.LineString, ee.Geometry.prototype.toGeoJSONString, ee.Geometry.BBox, ee.Geometry,
|
|
27139
|
+
ee.Image.prototype.getThumbURL, ee.Image.prototype.clip, ee.Image.prototype.expression, ee.Image.prototype.getThumbId, ee.Image.cat, ee.Image.prototype.getInfo, ee.Image.prototype.getMapId, ee.Image.prototype.getDownloadURL, ee.Image.rgb, ee.Image.prototype.getMap, ee.Image.prototype.select, ee.Image.prototype.rename, ee.Image, ee.ImageCollection.prototype.linkCollection, ee.ImageCollection.prototype.first, ee.ImageCollection.prototype.select, ee.ImageCollection, ee.ImageCollection.prototype.getVideoThumbURL,
|
|
27140
|
+
ee.ImageCollection.prototype.getFilmstripThumbURL, ee.ImageCollection.prototype.getMapId, ee.ImageCollection.prototype.getMap, ee.ImageCollection.prototype.getInfo, ee.List, ee.Number, ee.Serializer.toReadableCloudApiJSON, ee.Serializer.encodeCloudApiPretty, ee.Serializer.encode, ee.Serializer.toJSON, ee.Serializer.encodeCloudApi, ee.Serializer.toCloudApiJSON, ee.Serializer.toReadableJSON, ee.String, ee.Terrain].forEach(function(fn, i) {
|
|
27141
27141
|
fn && (exportedFnInfo[fn.toString()] = {name:orderedFnNames[i], paramNames:orderedParamLists[i]});
|
|
27142
27142
|
});
|
|
27143
27143
|
goog.global.EXPORTED_FN_INFO = exportedFnInfo;
|
package/build/main.js
CHANGED
|
@@ -19300,7 +19300,7 @@ var $jscomp$templatelit$m1153655765$99 = $jscomp.createTemplateTagFirstArg(["htt
|
|
|
19300
19300
|
ee.apiclient = {};
|
|
19301
19301
|
var module$contents$ee$apiclient_apiclient = {};
|
|
19302
19302
|
ee.apiclient.VERSION = module$exports$ee$apiVersion.V1;
|
|
19303
|
-
ee.apiclient.API_CLIENT_VERSION = "1.5.
|
|
19303
|
+
ee.apiclient.API_CLIENT_VERSION = "1.5.9";
|
|
19304
19304
|
ee.apiclient.NULL_VALUE = module$exports$eeapiclient$domain_object.NULL_VALUE;
|
|
19305
19305
|
ee.apiclient.PromiseRequestService = module$exports$eeapiclient$promise_request_service.PromiseRequestService;
|
|
19306
19306
|
ee.apiclient.MakeRequestParams = module$contents$eeapiclient$request_params_MakeRequestParams;
|
|
@@ -19598,8 +19598,8 @@ module$contents$ee$apiclient_apiclient.send = function(path, params, callback, m
|
|
|
19598
19598
|
var profileHookAtCallTime = module$contents$ee$apiclient_apiclient.profileHook_, contentType = "application/x-www-form-urlencoded";
|
|
19599
19599
|
body && (contentType = "application/json", method && method.startsWith("multipart") && (contentType = method, method = "POST"));
|
|
19600
19600
|
method = method || "POST";
|
|
19601
|
-
var headers = {"Content-Type":contentType}, version = "1.5.
|
|
19602
|
-
version === "1.5.
|
|
19601
|
+
var headers = {"Content-Type":contentType}, version = "1.5.9";
|
|
19602
|
+
version === "1.5.9" && (version = "latest");
|
|
19603
19603
|
headers[module$contents$ee$apiclient_apiclient.API_CLIENT_VERSION_HEADER] = "ee-js/" + version;
|
|
19604
19604
|
var authToken = module$contents$ee$apiclient_apiclient.getAuthToken();
|
|
19605
19605
|
if (authToken != null) {
|
|
@@ -27117,29 +27117,29 @@ ee.data.Profiler.Format.prototype.toString = function() {
|
|
|
27117
27117
|
ee.data.Profiler.Format.TEXT = new ee.data.Profiler.Format("text");
|
|
27118
27118
|
ee.data.Profiler.Format.JSON = new ee.data.Profiler.Format("json");
|
|
27119
27119
|
(function() {
|
|
27120
|
-
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction.
|
|
27121
|
-
orderedParamLists = [["name"
|
|
27120
|
+
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction._call ee.ApiFunction.lookup ee.ApiFunction._apply ee.batch.Export.map.toCloudStorage ee.batch.Export.videoMap.toCloudStorage ee.batch.Export.table.toBigQuery ee.batch.Export.image.toCloudStorage ee.batch.Export.video.toCloudStorage ee.batch.Export.table.toFeatureView ee.batch.Export.video.toDrive ee.batch.Export.table.toDrive ee.batch.Export.image.toDrive ee.batch.Export.table.toAsset ee.batch.Export.table.toCloudStorage ee.batch.Export.classifier.toAsset ee.batch.Export.image.toAsset ee.Collection.prototype.iterate ee.Collection.prototype.filterDate ee.Collection.prototype.limit ee.Collection.prototype.sort ee.Collection.prototype.filterMetadata ee.Collection.prototype.filterBounds ee.Collection.prototype.filter ee.Collection.prototype.map ee.ComputedObject.prototype.serialize ee.ComputedObject.prototype.aside ee.ComputedObject.prototype.evaluate ee.ComputedObject.prototype.getInfo ee.data.getFilmstripThumbId ee.data.updateAsset ee.data.startIngestion ee.data.startProcessing ee.data.createFolder ee.data.makeThumbUrl ee.data.authenticateViaOauth ee.data.setAssetAcl ee.data.getMapId ee.data.listAssets ee.data.renameAsset ee.data.getTaskList ee.data.authenticate ee.data.setAssetProperties ee.data.getTableDownloadId ee.data.getTileUrl ee.data.copyAsset ee.data.listBuckets ee.data.makeTableDownloadUrl ee.data.getTaskListWithLimit ee.data.startTableIngestion ee.data.listOperations ee.data.deleteAsset ee.data.getAssetRootQuota ee.data.getDownloadId ee.data.cancelOperation ee.data.makeDownloadUrl ee.data.authenticateViaPopup ee.data.listImages ee.data.getFeatureViewTilesKey ee.data.getWorkloadTag ee.data.getAssetAcl ee.data.listFeatures ee.data.getAsset ee.data.getAssetRoots ee.data.authenticateViaPrivateKey ee.data.getOperation ee.data.newTaskId ee.data.createAssetHome ee.data.computeValue ee.data.getInfo ee.data.setWorkloadTag ee.data.createAsset ee.data.getThumbId ee.data.cancelTask ee.data.setDefaultWorkloadTag ee.data.getVideoThumbId ee.data.getTaskStatus ee.data.resetWorkloadTag ee.data.updateTask ee.data.getList ee.Date ee.Deserializer.fromJSON ee.Deserializer.decodeCloudApi ee.Deserializer.fromCloudApiJSON ee.Deserializer.decode ee.Dictionary ee.InitState ee.apply ee.TILE_SIZE ee.initialize ee.call ee.reset ee.Algorithms ee.Element.prototype.set ee.Encodable.SourceFrame ee.Feature.prototype.getMap ee.Feature ee.Feature.prototype.getInfo ee.Feature.prototype.getMapId ee.FeatureCollection.prototype.getMap ee.FeatureCollection.prototype.getInfo ee.FeatureCollection ee.FeatureCollection.prototype.select ee.FeatureCollection.prototype.getMapId ee.FeatureCollection.prototype.getDownloadURL ee.Filter.neq ee.Filter.or ee.Filter.lte ee.Filter.gte ee.Filter.metadata ee.Filter.prototype.not ee.Filter.eq ee.Filter ee.Filter.date ee.Filter.inList ee.Filter.bounds ee.Filter.and ee.Filter.gt ee.Filter.lt ee.Function.prototype.apply ee.Function.prototype.call ee.Geometry.Point ee.Geometry.Polygon ee.Geometry.prototype.serialize ee.Geometry.MultiLineString ee.Geometry.MultiPolygon ee.Geometry.LinearRing ee.Geometry.prototype.toGeoJSON ee.Geometry.MultiPoint ee.Geometry.Rectangle ee.Geometry.LineString ee.Geometry.prototype.toGeoJSONString ee.Geometry.BBox ee.Geometry ee.Image.prototype.getThumbURL ee.Image.prototype.clip ee.Image.prototype.expression ee.Image.prototype.getThumbId ee.Image.cat ee.Image.prototype.getInfo ee.Image.prototype.getMapId ee.Image.prototype.getDownloadURL ee.Image.rgb ee.Image.prototype.getMap ee.Image.prototype.select ee.Image.prototype.rename ee.Image ee.ImageCollection.prototype.linkCollection ee.ImageCollection.prototype.first ee.ImageCollection.prototype.select ee.ImageCollection ee.ImageCollection.prototype.getVideoThumbURL ee.ImageCollection.prototype.getFilmstripThumbURL ee.ImageCollection.prototype.getMapId ee.ImageCollection.prototype.getMap ee.ImageCollection.prototype.getInfo ee.List ee.Number ee.Serializer.toReadableCloudApiJSON ee.Serializer.encodeCloudApiPretty ee.Serializer.encode ee.Serializer.toJSON ee.Serializer.encodeCloudApi ee.Serializer.toCloudApiJSON ee.Serializer.toReadableJSON ee.String ee.Terrain".split(" "),
|
|
27121
|
+
orderedParamLists = [["name", "var_args"], ["name"], ["name", "namedArgs"], "image opt_description opt_bucket opt_fileFormat opt_path opt_writePublicTiles opt_scale opt_maxZoom opt_minZoom opt_region opt_skipEmptyTiles opt_mapsApiKey opt_bucketCorsUris opt_priority".split(" "), "collection opt_description opt_bucket opt_fileNamePrefix opt_framesPerSecond opt_writePublicTiles opt_minZoom opt_maxZoom opt_scale opt_region opt_skipEmptyTiles opt_minTimeMachineZoomSubset opt_maxTimeMachineZoomSubset opt_tileWidth opt_tileHeight opt_tileStride opt_videoFormat opt_version opt_mapsApiKey opt_bucketCorsUris opt_priority".split(" "),
|
|
27122
|
+
"collection opt_description opt_table opt_overwrite opt_append opt_selectors opt_maxVertices opt_priority".split(" "), "image opt_description opt_bucket opt_fileNamePrefix opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_fileDimensions opt_skipEmptyTiles opt_fileFormat opt_formatOptions opt_priority".split(" "), "collection opt_description opt_bucket opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames opt_priority".split(" "),
|
|
27122
27123
|
"collection opt_description opt_assetId opt_maxFeaturesPerTile opt_thinningStrategy opt_thinningRanking opt_zOrderRanking opt_priority".split(" "), "collection opt_description opt_folder opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames opt_priority".split(" "), "collection opt_description opt_folder opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices opt_priority".split(" "), "image opt_description opt_folder opt_fileNamePrefix opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_fileDimensions opt_skipEmptyTiles opt_fileFormat opt_formatOptions opt_priority".split(" "),
|
|
27123
|
-
["collection", "opt_description", "opt_assetId", "opt_maxVertices", "opt_priority"],
|
|
27124
|
-
"
|
|
27125
|
-
["
|
|
27126
|
-
["
|
|
27127
|
-
["
|
|
27128
|
-
[
|
|
27129
|
-
|
|
27130
|
-
|
|
27131
|
-
"
|
|
27132
|
-
|
|
27133
|
-
[
|
|
27134
|
-
|
|
27135
|
-
|
|
27136
|
-
ee.
|
|
27137
|
-
ee.data.
|
|
27138
|
-
ee.
|
|
27139
|
-
ee.
|
|
27140
|
-
ee.
|
|
27141
|
-
ee.
|
|
27142
|
-
ee.ImageCollection.prototype.select, ee.ImageCollection.prototype.linkCollection, ee.ImageCollection.prototype.first, ee.ImageCollection, ee.ImageCollection.prototype.getVideoThumbURL, ee.List, ee.Number, ee.Serializer.toReadableCloudApiJSON, ee.Serializer.encodeCloudApiPretty, ee.Serializer.encode, ee.Serializer.toCloudApiJSON, ee.Serializer.toJSON, ee.Serializer.encodeCloudApi, ee.Serializer.toReadableJSON, ee.String, ee.Terrain].forEach(function(fn, i) {
|
|
27124
|
+
["collection", "opt_description", "opt_assetId", "opt_maxVertices", "opt_priority"], "collection opt_description opt_bucket opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices opt_priority".split(" "), ["classifier", "opt_description", "opt_assetId", "opt_priority"], "image opt_description opt_assetId opt_pyramidingPolicy opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_priority".split(" "), ["algorithm", "opt_first"], ["start", "opt_end"],
|
|
27125
|
+
["max", "opt_property", "opt_ascending"], ["property", "opt_ascending"], ["name", "operator", "value"], ["geometry"], ["filter"], ["algorithm", "opt_dropNulls"], ["legacy"], ["func", "var_args"], ["callback"], ["opt_callback"], ["params", "opt_callback"], ["assetId", "asset", "updateFields", "opt_callback"], ["taskId", "request", "opt_callback"], ["taskId", "params", "opt_callback"], ["path", "opt_force", "opt_callback"], ["id"], "clientId success opt_error opt_extraScopes opt_onImmediateFailed opt_suppressDefaultScopes".split(" "),
|
|
27126
|
+
["assetId", "aclUpdate", "opt_callback"], ["params", "opt_callback"], ["parent", "opt_params", "opt_callback"], ["sourceId", "destinationId", "opt_callback"], ["opt_callback"], ["clientId", "success", "opt_error", "opt_extraScopes", "opt_onImmediateFailed"], ["assetId", "properties", "opt_callback"], ["params", "opt_callback"], ["id", "x", "y", "z"], ["sourceId", "destinationId", "opt_overwrite", "opt_callback"], ["project", "opt_callback"], ["id"], ["opt_limit", "opt_callback"], ["taskId", "request",
|
|
27127
|
+
"opt_callback"], ["opt_limit", "opt_callback"], ["assetId", "opt_callback"], ["rootId", "opt_callback"], ["params", "opt_callback"], ["operationName", "opt_callback"], ["id"], ["opt_success", "opt_error"], ["parent", "opt_params", "opt_callback"], ["params", "opt_callback"], [], ["assetId", "opt_callback"], ["asset", "params", "opt_callback"], ["id", "opt_callback"], ["opt_callback"], ["privateKey", "opt_success", "opt_error", "opt_extraScopes", "opt_suppressDefaultScopes"], ["operationName", "opt_callback"],
|
|
27128
|
+
["opt_count", "opt_callback"], ["requestedId", "opt_callback"], ["obj", "opt_callback"], ["id", "opt_callback"], ["tag"], ["value", "opt_path", "opt_force", "opt_properties", "opt_callback"], ["params", "opt_callback"], ["taskId", "opt_callback"], ["tag"], ["params", "opt_callback"], ["taskId", "opt_callback"], ["opt_resetDefault"], ["taskId", "action", "opt_callback"], ["params", "opt_callback"], ["date", "opt_tz"], ["json"], ["json"], ["json"], ["json"], ["opt_dict"], [], ["func", "namedArgs"],
|
|
27129
|
+
[], "opt_baseurl opt_tileurl opt_successCallback opt_errorCallback opt_xsrfToken opt_project".split(" "), ["func", "var_args"], [], [], ["var_args"], [], ["opt_visParams", "opt_callback"], ["geometry", "opt_properties"], ["opt_callback"], ["opt_visParams", "opt_callback"], ["opt_visParams", "opt_callback"], ["opt_callback"], ["args", "opt_column"], ["propertySelectors", "opt_newProperties", "opt_retainGeometry"], ["opt_visParams", "opt_callback"], ["opt_format", "opt_selectors", "opt_filename",
|
|
27130
|
+
"opt_callback"], ["name", "value"], ["var_args"], ["name", "value"], ["name", "value"], ["name", "operator", "value"], [], ["name", "value"], ["opt_filter"], ["start", "opt_end"], ["opt_leftField", "opt_rightValue", "opt_rightField", "opt_leftValue"], ["geometry", "opt_errorMargin"], ["var_args"], ["name", "value"], ["name", "value"], ["namedArgs"], ["var_args"], ["coords", "opt_proj"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError", "opt_evenOdd"], ["legacy"], ["coords", "opt_proj", "opt_geodesic",
|
|
27131
|
+
"opt_maxError"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError", "opt_evenOdd"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], [], ["coords", "opt_proj"], ["coords", "opt_proj", "opt_geodesic", "opt_evenOdd"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], [], ["west", "south", "east", "north"], ["geoJson", "opt_proj", "opt_geodesic", "opt_evenOdd"], ["params", "opt_callback"], ["geometry"], ["expression", "opt_map"], ["params", "opt_callback"], ["var_args"], ["opt_callback"],
|
|
27132
|
+
["opt_visParams", "opt_callback"], ["params", "opt_callback"], ["r", "g", "b"], ["opt_visParams", "opt_callback"], ["var_args"], ["var_args"], ["opt_args"], ["imageCollection", "opt_linkedBands", "opt_linkedProperties", "opt_matchPropertyName"], [], ["selectors", "opt_names"], ["args"], ["params", "opt_callback"], ["params", "opt_callback"], ["opt_visParams", "opt_callback"], ["opt_visParams", "opt_callback"], ["opt_callback"], ["list"], ["number"], ["obj"], ["obj"], ["obj", "opt_isCompound"],
|
|
27133
|
+
["obj"], ["obj"], ["obj"], ["obj"], ["string"], []];
|
|
27134
|
+
[ee.ApiFunction._call, ee.ApiFunction.lookup, ee.ApiFunction._apply, module$contents$ee$batch_Export.map.toCloudStorage, module$contents$ee$batch_Export.videoMap.toCloudStorage, module$contents$ee$batch_Export.table.toBigQuery, module$contents$ee$batch_Export.image.toCloudStorage, module$contents$ee$batch_Export.video.toCloudStorage, module$contents$ee$batch_Export.table.toFeatureView, module$contents$ee$batch_Export.video.toDrive, module$contents$ee$batch_Export.table.toDrive, module$contents$ee$batch_Export.image.toDrive,
|
|
27135
|
+
module$contents$ee$batch_Export.table.toAsset, module$contents$ee$batch_Export.table.toCloudStorage, module$contents$ee$batch_Export.classifier.toAsset, module$contents$ee$batch_Export.image.toAsset, ee.Collection.prototype.iterate, ee.Collection.prototype.filterDate, ee.Collection.prototype.limit, ee.Collection.prototype.sort, ee.Collection.prototype.filterMetadata, ee.Collection.prototype.filterBounds, ee.Collection.prototype.filter, ee.Collection.prototype.map, ee.ComputedObject.prototype.serialize,
|
|
27136
|
+
ee.ComputedObject.prototype.aside, ee.ComputedObject.prototype.evaluate, ee.ComputedObject.prototype.getInfo, ee.data.getFilmstripThumbId, ee.data.updateAsset, ee.data.startIngestion, ee.data.startProcessing, ee.data.createFolder, ee.data.makeThumbUrl, ee.data.authenticateViaOauth, ee.data.setAssetAcl, ee.data.getMapId, ee.data.listAssets, ee.data.renameAsset, ee.data.getTaskList, ee.data.authenticate, ee.data.setAssetProperties, ee.data.getTableDownloadId, ee.data.getTileUrl, ee.data.copyAsset,
|
|
27137
|
+
ee.data.listBuckets, ee.data.makeTableDownloadUrl, ee.data.getTaskListWithLimit, ee.data.startTableIngestion, ee.data.listOperations, ee.data.deleteAsset, ee.data.getAssetRootQuota, ee.data.getDownloadId, ee.data.cancelOperation, ee.data.makeDownloadUrl, ee.data.authenticateViaPopup, ee.data.listImages, ee.data.getFeatureViewTilesKey, ee.data.getWorkloadTag, ee.data.getAssetAcl, ee.data.listFeatures, ee.data.getAsset, ee.data.getAssetRoots, ee.data.authenticateViaPrivateKey, ee.data.getOperation,
|
|
27138
|
+
ee.data.newTaskId, ee.data.createAssetHome, ee.data.computeValue, ee.data.getInfo, ee.data.setWorkloadTag, ee.data.createAsset, ee.data.getThumbId, ee.data.cancelTask, ee.data.setDefaultWorkloadTag, ee.data.getVideoThumbId, ee.data.getTaskStatus, ee.data.resetWorkloadTag, ee.data.updateTask, ee.data.getList, ee.Date, ee.Deserializer.fromJSON, ee.Deserializer.decodeCloudApi, ee.Deserializer.fromCloudApiJSON, ee.Deserializer.decode, ee.Dictionary, ee.InitState, ee.apply, ee.TILE_SIZE, ee.initialize,
|
|
27139
|
+
ee.call, ee.reset, ee.Algorithms, ee.Element.prototype.set, ee.Encodable.SourceFrame, ee.Feature.prototype.getMap, ee.Feature, ee.Feature.prototype.getInfo, ee.Feature.prototype.getMapId, ee.FeatureCollection.prototype.getMap, ee.FeatureCollection.prototype.getInfo, ee.FeatureCollection, ee.FeatureCollection.prototype.select, ee.FeatureCollection.prototype.getMapId, ee.FeatureCollection.prototype.getDownloadURL, ee.Filter.neq, ee.Filter.or, ee.Filter.lte, ee.Filter.gte, ee.Filter.metadata, ee.Filter.prototype.not,
|
|
27140
|
+
ee.Filter.eq, ee.Filter, ee.Filter.date, ee.Filter.inList, ee.Filter.bounds, ee.Filter.and, ee.Filter.gt, ee.Filter.lt, ee.Function.prototype.apply, ee.Function.prototype.call, ee.Geometry.Point, ee.Geometry.Polygon, ee.Geometry.prototype.serialize, ee.Geometry.MultiLineString, ee.Geometry.MultiPolygon, ee.Geometry.LinearRing, ee.Geometry.prototype.toGeoJSON, ee.Geometry.MultiPoint, ee.Geometry.Rectangle, ee.Geometry.LineString, ee.Geometry.prototype.toGeoJSONString, ee.Geometry.BBox, ee.Geometry,
|
|
27141
|
+
ee.Image.prototype.getThumbURL, ee.Image.prototype.clip, ee.Image.prototype.expression, ee.Image.prototype.getThumbId, ee.Image.cat, ee.Image.prototype.getInfo, ee.Image.prototype.getMapId, ee.Image.prototype.getDownloadURL, ee.Image.rgb, ee.Image.prototype.getMap, ee.Image.prototype.select, ee.Image.prototype.rename, ee.Image, ee.ImageCollection.prototype.linkCollection, ee.ImageCollection.prototype.first, ee.ImageCollection.prototype.select, ee.ImageCollection, ee.ImageCollection.prototype.getVideoThumbURL,
|
|
27142
|
+
ee.ImageCollection.prototype.getFilmstripThumbURL, ee.ImageCollection.prototype.getMapId, ee.ImageCollection.prototype.getMap, ee.ImageCollection.prototype.getInfo, ee.List, ee.Number, ee.Serializer.toReadableCloudApiJSON, ee.Serializer.encodeCloudApiPretty, ee.Serializer.encode, ee.Serializer.toJSON, ee.Serializer.encodeCloudApi, ee.Serializer.toCloudApiJSON, ee.Serializer.toReadableJSON, ee.String, ee.Terrain].forEach(function(fn, i) {
|
|
27143
27143
|
fn && (exportedFnInfo[fn.toString()] = {name:orderedFnNames[i], paramNames:orderedParamLists[i]});
|
|
27144
27144
|
});
|
|
27145
27145
|
goog.global.EXPORTED_FN_INFO = exportedFnInfo;
|
package/package.json
CHANGED
package/src/apiclient.js
CHANGED
|
@@ -19,12 +19,12 @@ const jsloader = goog.require('goog.net.jsloader');
|
|
|
19
19
|
const {MakeRequestParams, processParams} = goog.require('eeapiclient.request_params');
|
|
20
20
|
const {NULL_VALUE, Serializable, SerializableCtor, deserialize, serialize} = goog.require('eeapiclient.domain_object');
|
|
21
21
|
const {PromiseRequestService} = goog.require('eeapiclient.promise_request_service');
|
|
22
|
-
const {trustedResourceUrl} = goog.require('safevalues');
|
|
22
|
+
const {trustedResourceUrl} = goog.require('safevalues.index');
|
|
23
23
|
|
|
24
24
|
/** @namespace */
|
|
25
25
|
const apiclient = {};
|
|
26
26
|
|
|
27
|
-
const API_CLIENT_VERSION = '1.5.
|
|
27
|
+
const API_CLIENT_VERSION = '1.5.9';
|
|
28
28
|
|
|
29
29
|
exports.VERSION = apiVersion.VERSION;
|
|
30
30
|
exports.API_CLIENT_VERSION = API_CLIENT_VERSION;
|
|
@@ -53,7 +53,7 @@ class NullClass {}
|
|
|
53
53
|
/**
|
|
54
54
|
* A special "primitive" value that will be serialized to null.
|
|
55
55
|
*/
|
|
56
|
-
export const NULL_VALUE = new NullClass();
|
|
56
|
+
export const NULL_VALUE: NullClass = new NullClass();
|
|
57
57
|
|
|
58
58
|
// tslint:disable-next-line:interface-name
|
|
59
59
|
export interface ISerializable {
|
|
@@ -254,7 +254,7 @@ function deserializeInstanciator(ctor: CopyConstructor) {
|
|
|
254
254
|
export function strictDeserialize<T extends ISerializable>(
|
|
255
255
|
type: SerializableCtor<T>,
|
|
256
256
|
raw: DeepPartialISerializable<T>,
|
|
257
|
-
) {
|
|
257
|
+
): T {
|
|
258
258
|
return deserialize(type, raw);
|
|
259
259
|
}
|
|
260
260
|
|
|
@@ -73,7 +73,7 @@ export interface MakeRequestParams {
|
|
|
73
73
|
/**
|
|
74
74
|
* Filters out undefined query parameters.
|
|
75
75
|
*/
|
|
76
|
-
export function processParams(params: MakeRequestParams) {
|
|
76
|
+
export function processParams(params: MakeRequestParams): void {
|
|
77
77
|
if (params.queryParams != null) {
|
|
78
78
|
// tslint:disable-next-line:no-any
|
|
79
79
|
const filteredQueryParams: {[key: string]: any} = {};
|
|
@@ -150,7 +150,7 @@ const simpleCorsAllowedContentTypes: readonly string[] = [
|
|
|
150
150
|
* by the browser.
|
|
151
151
|
*/
|
|
152
152
|
// TODO(user): Return a changed copy of params.
|
|
153
|
-
export function bypassCorsPreflight(params: MakeRequestParams) {
|
|
153
|
+
export function bypassCorsPreflight(params: MakeRequestParams): void {
|
|
154
154
|
const safeHeaders: {[key: string]: string} = {};
|
|
155
155
|
const unsafeHeaders: {[key: string]: string} = {};
|
|
156
156
|
let hasUnsafeHeaders = false;
|