@evergis/api
Advanced tools
Comparing version 0.1.61 to 0.1.62
import { Service } from './Service'; | ||
import { ServiceListDc, ServiceInfoDc, RemoteTileServiceInfoDc, RemoteTileServiceConfigurationDc, FeatureLayerServiceInfoDc, PostgresLayerServiceConfigurationDc, TileServiceInfoDc, StyledLayerServiceConfigurationDc, CompositeServiceInfoDc, CompositeServiceConfigurationDc, RemoteTileServiceInfo, SharedProjectInfoDc, SharedProjectConfigurationDc, PagedFeaturesListDc, LayerUpdateInfoDc, FeatureDc, EnvelopeDc, FeaturesListDc, GeometryDc, AttributeDistinctsDc, FileUploadResponse, ResourceDependenciesDc, AccessControlListDc } from './data-contracts'; | ||
import { ServiceInfoDc, ServiceListDc, RemoteTileServiceInfoDc, RemoteTileServiceConfigurationDc, FeatureLayerServiceInfoDc, PostgresLayerServiceConfigurationDc, TileServiceInfoDc, StyledLayerServiceConfigurationDc, CompositeServiceInfoDc, CompositeServiceConfigurationDc, RemoteTileServiceInfo, SharedProjectInfoDc, SharedProjectConfigurationDc, PagedFeaturesListDc, LayerUpdateInfoDc, FeatureDc, EnvelopeDc, FeaturesListDc, GeometryDc, AttributeDistinctsDc, FileUploadResponse, ResourceDependenciesDc, AccessControlListDc } from './data-contracts'; | ||
export declare class Layers extends Service { | ||
getLayersList({ filter, types, offset, limit, orderByFields, isFavorite, }: GetLayersListParams): Promise<ServiceListDc>; | ||
getLayerInfo(name: string): Promise<ServiceInfoDc>; | ||
deleteResource(name: string): Promise<void>; | ||
getLayersList({ filter, types, offset, limit, orderByFields, isFavorite, }: GetLayersListParams): Promise<ServiceListDc>; | ||
publishRemoteTileService(configuration?: RemoteTileServiceConfigurationDc): Promise<RemoteTileServiceInfoDc>; | ||
@@ -8,0 +8,0 @@ publishPostgresTileCatalogService(configuration?: PostgresLayerServiceConfigurationDc): Promise<FeatureLayerServiceInfoDc>; |
@@ -9,2 +9,8 @@ /* | ||
export class Layers extends Service { | ||
getLayerInfo(name) { | ||
return this.http.get(`layers/${name}`).json(); | ||
} | ||
deleteResource(name) { | ||
return this.http.delete(`layers/${name}`).then(() => { }); | ||
} | ||
getLayersList({ filter, types, offset, limit, orderByFields, isFavorite, }) { | ||
@@ -22,8 +28,2 @@ return this.http | ||
} | ||
getLayerInfo(name) { | ||
return this.http.get(`layers/${name}`).json(); | ||
} | ||
deleteResource(name) { | ||
return this.http.delete(`layers/${name}`).then(() => { }); | ||
} | ||
publishRemoteTileService(configuration) { | ||
@@ -30,0 +30,0 @@ return this.http |
{ | ||
"name": "@evergis/api", | ||
"version": "0.1.61", | ||
"version": "0.1.62", | ||
"license": "ISC", | ||
@@ -5,0 +5,0 @@ "author": "everpoint", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
322221
6802