@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
|
@@ -3981,7 +3981,8 @@ function notError(v) {
|
|
|
3981
3981
|
return !isError(v);
|
|
3982
3982
|
}
|
|
3983
3983
|
|
|
3984
|
-
const _excluded$5 = ["remote"]
|
|
3984
|
+
const _excluded$5 = ["remote"],
|
|
3985
|
+
_excluded2$3 = ["remote"];
|
|
3985
3986
|
let Layers = /*#__PURE__*/function (_LayersService) {
|
|
3986
3987
|
_inherits(Layers, _LayersService);
|
|
3987
3988
|
|
|
@@ -4029,6 +4030,20 @@ let Layers = /*#__PURE__*/function (_LayersService) {
|
|
|
4029
4030
|
|
|
4030
4031
|
return this.publishLocalTileService(configuration);
|
|
4031
4032
|
}
|
|
4033
|
+
}, {
|
|
4034
|
+
key: "updateTileLayer",
|
|
4035
|
+
value: function updateTileLayer(_ref2) {
|
|
4036
|
+
let {
|
|
4037
|
+
remote
|
|
4038
|
+
} = _ref2,
|
|
4039
|
+
configuration = _objectWithoutPropertiesLoose(_ref2, _excluded2$3);
|
|
4040
|
+
|
|
4041
|
+
if (remote) {
|
|
4042
|
+
return this.updateRemoteTileService(configuration.name, configuration);
|
|
4043
|
+
}
|
|
4044
|
+
|
|
4045
|
+
return this.updateLocalTileService(configuration.name, configuration);
|
|
4046
|
+
}
|
|
4032
4047
|
}, {
|
|
4033
4048
|
key: "uploadPreview",
|
|
4034
4049
|
value: function uploadPreview(name, file) {
|
|
@@ -4066,6 +4081,16 @@ let Layers = /*#__PURE__*/function (_LayersService) {
|
|
|
4066
4081
|
value: function updateQueryLayer(configuration) {
|
|
4067
4082
|
return this.updateQueryLayerService(configuration.name, configuration);
|
|
4068
4083
|
}
|
|
4084
|
+
}, {
|
|
4085
|
+
key: "createProxyLayer",
|
|
4086
|
+
value: function createProxyLayer(configuration) {
|
|
4087
|
+
return this.publishProxyService(configuration);
|
|
4088
|
+
}
|
|
4089
|
+
}, {
|
|
4090
|
+
key: "updateProxyLayer",
|
|
4091
|
+
value: function updateProxyLayer(configuration) {
|
|
4092
|
+
return this.updateProxyService(configuration.name, configuration);
|
|
4093
|
+
}
|
|
4069
4094
|
}, {
|
|
4070
4095
|
key: "remove",
|
|
4071
4096
|
value: async function remove(name) {
|
|
@@ -6236,7 +6261,7 @@ let Styles = /*#__PURE__*/function (_StyleService) {
|
|
|
6236
6261
|
}(StyleService);
|
|
6237
6262
|
|
|
6238
6263
|
const _excluded$6 = ["name"],
|
|
6239
|
-
_excluded2$
|
|
6264
|
+
_excluded2$4 = ["name"],
|
|
6240
6265
|
_excluded3$3 = ["name"],
|
|
6241
6266
|
_excluded4$2 = ["name"];
|
|
6242
6267
|
/**
|
|
@@ -6454,7 +6479,7 @@ let TablesService = /*#__PURE__*/function (_Service) {
|
|
|
6454
6479
|
let {
|
|
6455
6480
|
name
|
|
6456
6481
|
} = _ref2,
|
|
6457
|
-
query = _objectWithoutPropertiesLoose(_ref2, _excluded2$
|
|
6482
|
+
query = _objectWithoutPropertiesLoose(_ref2, _excluded2$4);
|
|
6458
6483
|
|
|
6459
6484
|
return this.http.patch("/tables/" + name + "/data", data, query).then(() => {});
|
|
6460
6485
|
}
|