@evergis/api 3.0.52 → 3.0.53
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/__generated__/LayersService.d.ts +12 -1
- package/dist/__generated__/ProjectsService.d.ts +2 -2
- package/dist/__generated__/TablesService.d.ts +2 -2
- package/dist/__generated__/data-contracts.d.ts +39 -3
- package/dist/api.cjs.development.js +67 -45
- 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 +69 -45
- package/dist/api.esm.js.map +1 -1
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AccessControlListDc, AggregateAttributeParams, AggregationDataResultDc, AttributeDistinctsDc, BulkOperationResultDc, ClassifyParams, CompositeServiceConfigurationDc, CompositeServiceInfoDc, CreateFeaturesPayload, DeleteFeatureParams, DeleteFeaturesParams, DeleteResourcesParams, DistinctsParams, EditAttributesInfoDc, EnvelopeDc, ExpressionValidationResultDc, FailedServiceInfoDc, FeatureDc, FeatureLayerServiceInfoDc, FeatureSelectionDc, FeaturesListDc, FileUploadResponse, GetByGeometryGetParams, GetByGeometryParams, GetByGeometryPostParams, GetByGeometryPostPayload, GetByIdParams, GetFeaturesParams, GetFilteredFeaturesCountParams, GetLayerExtentParams, GetLayerImageParams, GetLayersListParams, GetTilesLayerImageParams, LayerUpdateInfoDc, LocalTileServiceConfigurationDc, PositionDc, PostgresLayerServiceConfigurationDc, PostgresTileCatalogServiceConfigurationDc, ProxyServiceConfigurationDc, ProxyServiceInfoDc, RemoteTileServiceConfigurationDc, RemoteTileServiceInfo, RemoteTileServiceInfoDc, ResourceDependenciesDc, SelectFeaturesParams, ServiceInfoDc, SetPermissionsBatchPayload, SetPreviewPayload, StyledLayerServiceConfigurationDc, SubtractParams, SubtractPayload, TileCatalogServiceInfoDc, TileServiceInfoDc, UniteParams, UnitePayload, UpdateFeaturePayload, ValidateExpressionParams } from './data-contracts';
|
|
1
|
+
import { AccessControlListDc, AggregateAttributeParams, AggregationDataResultDc, AttributeDistinctsDc, BulkOperationResultDc, ClassifyParams, CompositeServiceConfigurationDc, CompositeServiceInfoDc, CreateFeaturesPayload, DeleteFeatureParams, DeleteFeaturesParams, DeleteResourcesParams, DistinctsParams, EditAttributesInfoDc, EnvelopeDc, ExpressionValidationResultDc, FailedServiceInfoDc, FeatureDc, FeatureLayerServiceInfoDc, FeaturesContainsParams, FeatureSelectionDc, FeaturesListDc, FileUploadResponse, GetByGeometryGetParams, GetByGeometryParams, GetByGeometryPostParams, GetByGeometryPostPayload, GetByIdParams, GetFeaturesParams, GetFilteredFeaturesCountParams, GetLayerExtentParams, GetLayerImageParams, GetLayersListParams, GetTilesLayerImageParams, LayerUpdateInfoDc, LocalTileServiceConfigurationDc, PositionDc, PostgresLayerServiceConfigurationDc, PostgresTileCatalogServiceConfigurationDc, ProxyServiceConfigurationDc, ProxyServiceInfoDc, RemoteTileServiceConfigurationDc, RemoteTileServiceInfo, RemoteTileServiceInfoDc, ResourceDependenciesDc, SelectFeaturesParams, ServiceInfoDc, SetPermissionsBatchPayload, SetPreviewPayload, StyledLayerServiceConfigurationDc, SubtractParams, SubtractPayload, TileCatalogServiceInfoDc, TileServiceInfoDc, UniteParams, UnitePayload, UpdateFeaturePayload, ValidateExpressionParams } from './data-contracts';
|
|
2
2
|
import { Service } from './Service';
|
|
3
3
|
/**
|
|
4
4
|
* @title Spatial Processing Core API
|
|
@@ -260,6 +260,17 @@ export declare class LayersService extends Service {
|
|
|
260
260
|
* @response `200` Success
|
|
261
261
|
*/
|
|
262
262
|
updateFeature(name: string, data: UpdateFeaturePayload): Promise<LayerUpdateInfoDc>;
|
|
263
|
+
/**
|
|
264
|
+
* No description
|
|
265
|
+
*
|
|
266
|
+
* @tags Layers
|
|
267
|
+
* @name FeaturesContains
|
|
268
|
+
* @operationId LayersController_FeaturesContains
|
|
269
|
+
* @summary Gets filtered features with given filter.
|
|
270
|
+
* @request GET:/layers/{name}/features/contains
|
|
271
|
+
* @response `200` Success
|
|
272
|
+
*/
|
|
273
|
+
featuresContains({ name, ...query }: FeaturesContainsParams): Promise<import("./data-contracts").ListResponseFeatureDc>;
|
|
263
274
|
/**
|
|
264
275
|
* No description
|
|
265
276
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AccessControlListDc, BulkOperationResultDc,
|
|
1
|
+
import { AccessControlListDc, BulkOperationResultDc, DeleteResourcesParams8, ExtendedProjectInfoDc, ExtendedProjectLayersInfo, FileUploadResponse, GetProjectsListParams, ListResponseProjectInfoPubDc, ResourceDependenciesDc, SetPermissionsBatchBody, SetPreviewBody, SharedProjectConfigurationDc, SharedProjectInfoDc } from './data-contracts';
|
|
2
2
|
import { Service } from './Service';
|
|
3
3
|
/**
|
|
4
4
|
* @title Spatial Processing Core API
|
|
@@ -60,7 +60,7 @@ export declare class ProjectsService extends Service {
|
|
|
60
60
|
* @request DELETE:/projects
|
|
61
61
|
* @response `200` Success
|
|
62
62
|
*/
|
|
63
|
-
deleteResources(query:
|
|
63
|
+
deleteResources(query: DeleteResourcesParams8): Promise<BulkOperationResultDc[]>;
|
|
64
64
|
/**
|
|
65
65
|
* No description
|
|
66
66
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AccessControlListDc, BulkOperationResultDc,
|
|
1
|
+
import { AccessControlListDc, BulkOperationResultDc, DeleteResourcesParams2, DeleteTableDataParams, DetailedTableInfoDc, FileUploadResponse, GetTableListParams, GetUniqueDataRowsParams, MapRemoteTableInfoDc, MapRemoteTableParams, MapTableParams, MapTablePayload, MapViewInfoDc, MapViewParams, ResourceDependenciesDc, SetPermissionsBatchInput, SetPreviewInput, UpdateTableDataParams, UpdateTableDataPayload, UpdateTableDc } from './data-contracts';
|
|
2
2
|
import { Service } from './Service';
|
|
3
3
|
/**
|
|
4
4
|
* @title Spatial Processing Core API
|
|
@@ -49,7 +49,7 @@ export declare class TablesService extends Service {
|
|
|
49
49
|
* @request DELETE:/tables
|
|
50
50
|
* @response `200` Success
|
|
51
51
|
*/
|
|
52
|
-
deleteResources(query:
|
|
52
|
+
deleteResources(query: DeleteResourcesParams2): Promise<BulkOperationResultDc[]>;
|
|
53
53
|
/**
|
|
54
54
|
* No description
|
|
55
55
|
*
|
|
@@ -911,6 +911,8 @@ InvalidLayerType
|
|
|
911
911
|
ColumnLoadingError
|
|
912
912
|
|
|
913
913
|
InvalidAttributeFormat
|
|
914
|
+
|
|
915
|
+
DataSourceNotFound
|
|
914
916
|
*/
|
|
915
917
|
export declare enum ConfigurationErrorEnum {
|
|
916
918
|
Unknown = "Unknown",
|
|
@@ -931,7 +933,8 @@ export declare enum ConfigurationErrorEnum {
|
|
|
931
933
|
InvalidStyle = "InvalidStyle",
|
|
932
934
|
InvalidLayerType = "InvalidLayerType",
|
|
933
935
|
ColumnLoadingError = "ColumnLoadingError",
|
|
934
|
-
InvalidAttributeFormat = "InvalidAttributeFormat"
|
|
936
|
+
InvalidAttributeFormat = "InvalidAttributeFormat",
|
|
937
|
+
DataSourceNotFound = "DataSourceNotFound"
|
|
935
938
|
}
|
|
936
939
|
/**
|
|
937
940
|
* SPCore.Connectors.Connectors.Base.Models.Scheduler.ConfiguredLayerDataStorageDc provides configurable layer storage.
|
|
@@ -5454,6 +5457,39 @@ export interface DeleteFeatureParams {
|
|
|
5454
5457
|
}
|
|
5455
5458
|
export declare type CreateFeaturesPayload = FeatureDc[];
|
|
5456
5459
|
export declare type UpdateFeaturePayload = FeatureDc[];
|
|
5460
|
+
export interface FeaturesContainsParams {
|
|
5461
|
+
/** Contains filter within a given filterAttributes. */
|
|
5462
|
+
filter?: string;
|
|
5463
|
+
/** Filter attributes. */
|
|
5464
|
+
filterAttributes?: string[];
|
|
5465
|
+
/**
|
|
5466
|
+
* Comma separated list of attributes by which to sort the resulting feature list.
|
|
5467
|
+
* If the attribute name is preceded with the "-" sign, sorting by this attribute will be
|
|
5468
|
+
* in descending order.
|
|
5469
|
+
*/
|
|
5470
|
+
sort?: string[];
|
|
5471
|
+
/** Comma separated list of attributes to be returned. If not set, all attributes are returned. */
|
|
5472
|
+
attributes?: string[];
|
|
5473
|
+
/**
|
|
5474
|
+
* Features count have to skip.
|
|
5475
|
+
* @format int32
|
|
5476
|
+
*/
|
|
5477
|
+
offset?: number;
|
|
5478
|
+
/**
|
|
5479
|
+
* Features limit per response.
|
|
5480
|
+
* @format int32
|
|
5481
|
+
*/
|
|
5482
|
+
limit?: number;
|
|
5483
|
+
/**
|
|
5484
|
+
* Spatial reference of returned features.
|
|
5485
|
+
* @format int32
|
|
5486
|
+
*/
|
|
5487
|
+
wkid?: number;
|
|
5488
|
+
/** If set to true, the geometry will not be returned for features. */
|
|
5489
|
+
withGeom?: boolean;
|
|
5490
|
+
/** Full name of the layer. */
|
|
5491
|
+
name: string;
|
|
5492
|
+
}
|
|
5457
5493
|
export interface GetByIdParams {
|
|
5458
5494
|
/**
|
|
5459
5495
|
* Spatial reference of returned features.
|
|
@@ -5807,7 +5843,7 @@ export interface GetProjectsListParams {
|
|
|
5807
5843
|
forAllUsers?: boolean;
|
|
5808
5844
|
}
|
|
5809
5845
|
export declare type SetPermissionsBatchBody = ResourceAclDc[];
|
|
5810
|
-
export interface
|
|
5846
|
+
export interface DeleteResourcesParams8 {
|
|
5811
5847
|
/** Resource names. */
|
|
5812
5848
|
names?: string[];
|
|
5813
5849
|
}
|
|
@@ -6018,7 +6054,7 @@ export interface GetTableListParams {
|
|
|
6018
6054
|
geometryFilter?: string[];
|
|
6019
6055
|
}
|
|
6020
6056
|
export declare type SetPermissionsBatchInput = ResourceAclDc[];
|
|
6021
|
-
export interface
|
|
6057
|
+
export interface DeleteResourcesParams2 {
|
|
6022
6058
|
/** Resource names. */
|
|
6023
6059
|
names?: string[];
|
|
6024
6060
|
}
|
|
@@ -1851,6 +1851,27 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
1851
1851
|
value: function updateFeature(name, data) {
|
|
1852
1852
|
return this.http.patch("/layers/" + name + "/features", data).json();
|
|
1853
1853
|
}
|
|
1854
|
+
/**
|
|
1855
|
+
* No description
|
|
1856
|
+
*
|
|
1857
|
+
* @tags Layers
|
|
1858
|
+
* @name FeaturesContains
|
|
1859
|
+
* @operationId LayersController_FeaturesContains
|
|
1860
|
+
* @summary Gets filtered features with given filter.
|
|
1861
|
+
* @request GET:/layers/{name}/features/contains
|
|
1862
|
+
* @response `200` Success
|
|
1863
|
+
*/
|
|
1864
|
+
|
|
1865
|
+
}, {
|
|
1866
|
+
key: "featuresContains",
|
|
1867
|
+
value: function featuresContains(_ref3) {
|
|
1868
|
+
let {
|
|
1869
|
+
name
|
|
1870
|
+
} = _ref3,
|
|
1871
|
+
query = _objectWithoutPropertiesLoose(_ref3, ["name"]);
|
|
1872
|
+
|
|
1873
|
+
return this.http.get("/layers/" + name + "/features/contains", query).json();
|
|
1874
|
+
}
|
|
1854
1875
|
/**
|
|
1855
1876
|
* No description
|
|
1856
1877
|
*
|
|
@@ -1864,12 +1885,12 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
1864
1885
|
|
|
1865
1886
|
}, {
|
|
1866
1887
|
key: "getById",
|
|
1867
|
-
value: function getById(
|
|
1888
|
+
value: function getById(_ref4) {
|
|
1868
1889
|
let {
|
|
1869
1890
|
name,
|
|
1870
1891
|
id
|
|
1871
|
-
} =
|
|
1872
|
-
query = _objectWithoutPropertiesLoose(
|
|
1892
|
+
} = _ref4,
|
|
1893
|
+
query = _objectWithoutPropertiesLoose(_ref4, ["name", "id"]);
|
|
1873
1894
|
|
|
1874
1895
|
return this.http.get("/layers/" + name + "/features/" + id, query).json();
|
|
1875
1896
|
}
|
|
@@ -1886,12 +1907,12 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
1886
1907
|
|
|
1887
1908
|
}, {
|
|
1888
1909
|
key: "unite",
|
|
1889
|
-
value: function unite(
|
|
1910
|
+
value: function unite(_ref5, data) {
|
|
1890
1911
|
let {
|
|
1891
1912
|
name,
|
|
1892
1913
|
id
|
|
1893
|
-
} =
|
|
1894
|
-
query = _objectWithoutPropertiesLoose(
|
|
1914
|
+
} = _ref5,
|
|
1915
|
+
query = _objectWithoutPropertiesLoose(_ref5, ["name", "id"]);
|
|
1895
1916
|
|
|
1896
1917
|
return this.http.post("/layers/" + name + "/features/" + id + "/unite", data, query).json();
|
|
1897
1918
|
}
|
|
@@ -1908,12 +1929,12 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
1908
1929
|
|
|
1909
1930
|
}, {
|
|
1910
1931
|
key: "subtract",
|
|
1911
|
-
value: function subtract(
|
|
1932
|
+
value: function subtract(_ref6, data) {
|
|
1912
1933
|
let {
|
|
1913
1934
|
name,
|
|
1914
1935
|
id
|
|
1915
|
-
} =
|
|
1916
|
-
query = _objectWithoutPropertiesLoose(
|
|
1936
|
+
} = _ref6,
|
|
1937
|
+
query = _objectWithoutPropertiesLoose(_ref6, ["name", "id"]);
|
|
1917
1938
|
|
|
1918
1939
|
return this.http.post("/layers/" + name + "/features/" + id + "/subtract", data, query).json();
|
|
1919
1940
|
}
|
|
@@ -1930,14 +1951,14 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
1930
1951
|
|
|
1931
1952
|
}, {
|
|
1932
1953
|
key: "getTilesLayerImage",
|
|
1933
|
-
value: function getTilesLayerImage(
|
|
1954
|
+
value: function getTilesLayerImage(_ref7) {
|
|
1934
1955
|
let {
|
|
1935
1956
|
name,
|
|
1936
1957
|
x,
|
|
1937
1958
|
y,
|
|
1938
1959
|
z
|
|
1939
|
-
} =
|
|
1940
|
-
query = _objectWithoutPropertiesLoose(
|
|
1960
|
+
} = _ref7,
|
|
1961
|
+
query = _objectWithoutPropertiesLoose(_ref7, ["name", "x", "y", "z"]);
|
|
1941
1962
|
|
|
1942
1963
|
return this.http.createUrl("/layers/" + name + "/tile/" + z + "/" + x + "/" + y, query);
|
|
1943
1964
|
}
|
|
@@ -1954,11 +1975,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
1954
1975
|
|
|
1955
1976
|
}, {
|
|
1956
1977
|
key: "getLayerImage",
|
|
1957
|
-
value: function getLayerImage(
|
|
1978
|
+
value: function getLayerImage(_ref8) {
|
|
1958
1979
|
let {
|
|
1959
1980
|
name
|
|
1960
|
-
} =
|
|
1961
|
-
query = _objectWithoutPropertiesLoose(
|
|
1981
|
+
} = _ref8,
|
|
1982
|
+
query = _objectWithoutPropertiesLoose(_ref8, ["name"]);
|
|
1962
1983
|
|
|
1963
1984
|
return this.http.createUrl("/layers/" + name + "/export", query);
|
|
1964
1985
|
}
|
|
@@ -1975,11 +1996,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
1975
1996
|
|
|
1976
1997
|
}, {
|
|
1977
1998
|
key: "getLayerExtent",
|
|
1978
|
-
value: function getLayerExtent(
|
|
1999
|
+
value: function getLayerExtent(_ref9) {
|
|
1979
2000
|
let {
|
|
1980
2001
|
name
|
|
1981
|
-
} =
|
|
1982
|
-
query = _objectWithoutPropertiesLoose(
|
|
2002
|
+
} = _ref9,
|
|
2003
|
+
query = _objectWithoutPropertiesLoose(_ref9, ["name"]);
|
|
1983
2004
|
|
|
1984
2005
|
return this.http.get("/layers/" + name + "/extent", query).json();
|
|
1985
2006
|
}
|
|
@@ -1996,11 +2017,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
1996
2017
|
|
|
1997
2018
|
}, {
|
|
1998
2019
|
key: "getByGeometry",
|
|
1999
|
-
value: function getByGeometry(
|
|
2020
|
+
value: function getByGeometry(_ref10) {
|
|
2000
2021
|
let {
|
|
2001
2022
|
name
|
|
2002
|
-
} =
|
|
2003
|
-
query = _objectWithoutPropertiesLoose(
|
|
2023
|
+
} = _ref10,
|
|
2024
|
+
query = _objectWithoutPropertiesLoose(_ref10, ["name"]);
|
|
2004
2025
|
|
|
2005
2026
|
return this.http.get("/layers/" + name + "/features/getByGeometry", query).json();
|
|
2006
2027
|
}
|
|
@@ -2017,11 +2038,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
2017
2038
|
|
|
2018
2039
|
}, {
|
|
2019
2040
|
key: "getByGeometryPost",
|
|
2020
|
-
value: function getByGeometryPost(
|
|
2041
|
+
value: function getByGeometryPost(_ref11, data) {
|
|
2021
2042
|
let {
|
|
2022
2043
|
name
|
|
2023
|
-
} =
|
|
2024
|
-
query = _objectWithoutPropertiesLoose(
|
|
2044
|
+
} = _ref11,
|
|
2045
|
+
query = _objectWithoutPropertiesLoose(_ref11, ["name"]);
|
|
2025
2046
|
|
|
2026
2047
|
return this.http.post("/layers/" + name + "/features/getByGeometry", data, query).json();
|
|
2027
2048
|
}
|
|
@@ -2038,11 +2059,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
2038
2059
|
|
|
2039
2060
|
}, {
|
|
2040
2061
|
key: "deleteFeatures",
|
|
2041
|
-
value: function deleteFeatures(
|
|
2062
|
+
value: function deleteFeatures(_ref12) {
|
|
2042
2063
|
let {
|
|
2043
2064
|
name
|
|
2044
|
-
} =
|
|
2045
|
-
query = _objectWithoutPropertiesLoose(
|
|
2065
|
+
} = _ref12,
|
|
2066
|
+
query = _objectWithoutPropertiesLoose(_ref12, ["name"]);
|
|
2046
2067
|
|
|
2047
2068
|
return this.http.delete("/layers/" + name + "/features/deleteByIds", null, query).json();
|
|
2048
2069
|
}
|
|
@@ -2059,11 +2080,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
2059
2080
|
|
|
2060
2081
|
}, {
|
|
2061
2082
|
key: "getByGeometryGet",
|
|
2062
|
-
value: function getByGeometryGet(
|
|
2083
|
+
value: function getByGeometryGet(_ref13) {
|
|
2063
2084
|
let {
|
|
2064
2085
|
name
|
|
2065
|
-
} =
|
|
2066
|
-
query = _objectWithoutPropertiesLoose(
|
|
2086
|
+
} = _ref13,
|
|
2087
|
+
query = _objectWithoutPropertiesLoose(_ref13, ["name"]);
|
|
2067
2088
|
|
|
2068
2089
|
return this.http.get("/layers/" + name + "/features/getByGeometryByClick", query).json();
|
|
2069
2090
|
}
|
|
@@ -2080,11 +2101,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
2080
2101
|
|
|
2081
2102
|
}, {
|
|
2082
2103
|
key: "classify",
|
|
2083
|
-
value: function classify(
|
|
2104
|
+
value: function classify(_ref14) {
|
|
2084
2105
|
let {
|
|
2085
2106
|
name
|
|
2086
|
-
} =
|
|
2087
|
-
query = _objectWithoutPropertiesLoose(
|
|
2107
|
+
} = _ref14,
|
|
2108
|
+
query = _objectWithoutPropertiesLoose(_ref14, ["name"]);
|
|
2088
2109
|
|
|
2089
2110
|
return this.http.get("/layers/" + name + "/classify", query).json();
|
|
2090
2111
|
}
|
|
@@ -2101,11 +2122,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
2101
2122
|
|
|
2102
2123
|
}, {
|
|
2103
2124
|
key: "distincts",
|
|
2104
|
-
value: function distincts(
|
|
2125
|
+
value: function distincts(_ref15) {
|
|
2105
2126
|
let {
|
|
2106
2127
|
name
|
|
2107
|
-
} =
|
|
2108
|
-
query = _objectWithoutPropertiesLoose(
|
|
2128
|
+
} = _ref15,
|
|
2129
|
+
query = _objectWithoutPropertiesLoose(_ref15, ["name"]);
|
|
2109
2130
|
|
|
2110
2131
|
return this.http.get("/layers/" + name + "/distincts", query).json();
|
|
2111
2132
|
}
|
|
@@ -2122,11 +2143,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
2122
2143
|
|
|
2123
2144
|
}, {
|
|
2124
2145
|
key: "aggregateAttribute",
|
|
2125
|
-
value: function aggregateAttribute(
|
|
2146
|
+
value: function aggregateAttribute(_ref16) {
|
|
2126
2147
|
let {
|
|
2127
2148
|
name
|
|
2128
|
-
} =
|
|
2129
|
-
query = _objectWithoutPropertiesLoose(
|
|
2149
|
+
} = _ref16,
|
|
2150
|
+
query = _objectWithoutPropertiesLoose(_ref16, ["name"]);
|
|
2130
2151
|
|
|
2131
2152
|
return this.http.get("/layers/" + name + "/aggregate-values", query).json();
|
|
2132
2153
|
}
|
|
@@ -2143,11 +2164,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
2143
2164
|
|
|
2144
2165
|
}, {
|
|
2145
2166
|
key: "getFilteredFeaturesCount",
|
|
2146
|
-
value: function getFilteredFeaturesCount(
|
|
2167
|
+
value: function getFilteredFeaturesCount(_ref17) {
|
|
2147
2168
|
let {
|
|
2148
2169
|
name
|
|
2149
|
-
} =
|
|
2150
|
-
query = _objectWithoutPropertiesLoose(
|
|
2170
|
+
} = _ref17,
|
|
2171
|
+
query = _objectWithoutPropertiesLoose(_ref17, ["name"]);
|
|
2151
2172
|
|
|
2152
2173
|
return this.http.get("/layers/" + name + "/features/count", query).json();
|
|
2153
2174
|
}
|
|
@@ -2197,11 +2218,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
2197
2218
|
|
|
2198
2219
|
}, {
|
|
2199
2220
|
key: "validateExpression",
|
|
2200
|
-
value: function validateExpression(
|
|
2221
|
+
value: function validateExpression(_ref18) {
|
|
2201
2222
|
let {
|
|
2202
2223
|
layerName
|
|
2203
|
-
} =
|
|
2204
|
-
query = _objectWithoutPropertiesLoose(
|
|
2224
|
+
} = _ref18,
|
|
2225
|
+
query = _objectWithoutPropertiesLoose(_ref18, ["layerName"]);
|
|
2205
2226
|
|
|
2206
2227
|
return this.http.get("/layers/" + layerName + "/validateExpression", query).json();
|
|
2207
2228
|
}
|
|
@@ -6968,6 +6989,7 @@ function isFeatureLayer(layer) {
|
|
|
6968
6989
|
ConfigurationErrorEnum["InvalidLayerType"] = "InvalidLayerType";
|
|
6969
6990
|
ConfigurationErrorEnum["ColumnLoadingError"] = "ColumnLoadingError";
|
|
6970
6991
|
ConfigurationErrorEnum["InvalidAttributeFormat"] = "InvalidAttributeFormat";
|
|
6992
|
+
ConfigurationErrorEnum["DataSourceNotFound"] = "DataSourceNotFound";
|
|
6971
6993
|
})(exports.ConfigurationErrorEnum || (exports.ConfigurationErrorEnum = {}));
|
|
6972
6994
|
|
|
6973
6995
|
(function (ElementType) {
|