@evergis/api 3.0.176 → 3.0.177
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/dist/api.cjs.development.js +28 -3
- package/dist/api.cjs.development.js.map +1 -1
- package/dist/api.cjs.production.min.js +1 -1
- package/dist/api.cjs.production.min.js.map +1 -1
- package/dist/api.esm.js +28 -3
- package/dist/api.esm.js.map +1 -1
- package/dist/services/Layers.d.ts +5 -2
- package/package.json +2 -2
package/dist/api.esm.js
CHANGED
|
@@ -3977,7 +3977,8 @@ function notError(v) {
|
|
|
3977
3977
|
return !isError(v);
|
|
3978
3978
|
}
|
|
3979
3979
|
|
|
3980
|
-
const _excluded$5 = ["remote"]
|
|
3980
|
+
const _excluded$5 = ["remote"],
|
|
3981
|
+
_excluded2$3 = ["remote"];
|
|
3981
3982
|
let Layers = /*#__PURE__*/function (_LayersService) {
|
|
3982
3983
|
_inherits(Layers, _LayersService);
|
|
3983
3984
|
|
|
@@ -4025,6 +4026,20 @@ let Layers = /*#__PURE__*/function (_LayersService) {
|
|
|
4025
4026
|
|
|
4026
4027
|
return this.publishLocalTileService(configuration);
|
|
4027
4028
|
}
|
|
4029
|
+
}, {
|
|
4030
|
+
key: "updateTileLayer",
|
|
4031
|
+
value: function updateTileLayer(_ref2) {
|
|
4032
|
+
let {
|
|
4033
|
+
remote
|
|
4034
|
+
} = _ref2,
|
|
4035
|
+
configuration = _objectWithoutPropertiesLoose(_ref2, _excluded2$3);
|
|
4036
|
+
|
|
4037
|
+
if (remote) {
|
|
4038
|
+
return this.updateRemoteTileService(configuration.name, configuration);
|
|
4039
|
+
}
|
|
4040
|
+
|
|
4041
|
+
return this.updateLocalTileService(configuration.name, configuration);
|
|
4042
|
+
}
|
|
4028
4043
|
}, {
|
|
4029
4044
|
key: "uploadPreview",
|
|
4030
4045
|
value: function uploadPreview(name, file) {
|
|
@@ -4062,6 +4077,16 @@ let Layers = /*#__PURE__*/function (_LayersService) {
|
|
|
4062
4077
|
value: function updateQueryLayer(configuration) {
|
|
4063
4078
|
return this.updateQueryLayerService(configuration.name, configuration);
|
|
4064
4079
|
}
|
|
4080
|
+
}, {
|
|
4081
|
+
key: "createProxyLayer",
|
|
4082
|
+
value: function createProxyLayer(configuration) {
|
|
4083
|
+
return this.publishProxyService(configuration);
|
|
4084
|
+
}
|
|
4085
|
+
}, {
|
|
4086
|
+
key: "updateProxyLayer",
|
|
4087
|
+
value: function updateProxyLayer(configuration) {
|
|
4088
|
+
return this.updateProxyService(configuration.name, configuration);
|
|
4089
|
+
}
|
|
4065
4090
|
}, {
|
|
4066
4091
|
key: "remove",
|
|
4067
4092
|
value: async function remove(name) {
|
|
@@ -6239,7 +6264,7 @@ let Styles = /*#__PURE__*/function (_StyleService) {
|
|
|
6239
6264
|
}(StyleService);
|
|
6240
6265
|
|
|
6241
6266
|
const _excluded$6 = ["name"],
|
|
6242
|
-
_excluded2$
|
|
6267
|
+
_excluded2$4 = ["name"],
|
|
6243
6268
|
_excluded3$3 = ["name"],
|
|
6244
6269
|
_excluded4$2 = ["name"];
|
|
6245
6270
|
/**
|
|
@@ -6457,7 +6482,7 @@ let TablesService = /*#__PURE__*/function (_Service) {
|
|
|
6457
6482
|
let {
|
|
6458
6483
|
name
|
|
6459
6484
|
} = _ref2,
|
|
6460
|
-
query = _objectWithoutPropertiesLoose(_ref2, _excluded2$
|
|
6485
|
+
query = _objectWithoutPropertiesLoose(_ref2, _excluded2$4);
|
|
6461
6486
|
|
|
6462
6487
|
return this.http.patch("/tables/" + name + "/data", data, query).then(() => {});
|
|
6463
6488
|
}
|