@esri/arcgis-rest-types
Advanced tools
Comparing version 3.1.2 to 3.2.0
@@ -106,1 +106,31 @@ import { ISpatialReference, IExtent } from "./geometry"; | ||
} | ||
/** | ||
* Very generic structure representing the return value from the | ||
* /arcgis/rest/admin/services/<service-name>/FeatureServer?f=json response | ||
*/ | ||
export interface IServiceInfo extends Record<string, unknown> { | ||
adminServiceInfo?: Record<string, unknown>; | ||
layers: Record<string, unknown>[]; | ||
} | ||
/** | ||
* Individual View Source entry | ||
*/ | ||
export interface IViewServiceSource { | ||
name: string; | ||
type: string; | ||
url: string; | ||
serviceItemId: string; | ||
} | ||
/** | ||
* Response from the /sources end-point of a view service | ||
*/ | ||
export interface IViewServiceSources { | ||
currentVersion: number; | ||
services: IViewServiceSource[]; | ||
} | ||
/** | ||
* Response from the portals/Self/isServiceNameAvailable request | ||
*/ | ||
export interface IServiceNameAvailable { | ||
available: boolean; | ||
} |
{ | ||
"name": "@esri/arcgis-rest-types", | ||
"version": "3.1.2", | ||
"version": "3.2.0", | ||
"description": "Shared TypeScript types for @esri/arcgis-rest-js", | ||
@@ -5,0 +5,0 @@ "types": "dist/types/index.d.ts", |
@@ -115,1 +115,34 @@ /* Copyright (c) 2018 Environmental Systems Research Institute, Inc. | ||
} | ||
/** | ||
* Very generic structure representing the return value from the | ||
* /arcgis/rest/admin/services/<service-name>/FeatureServer?f=json response | ||
*/ | ||
export interface IServiceInfo extends Record<string, unknown> { | ||
adminServiceInfo?: Record<string, unknown>; | ||
layers: Record<string, unknown>[]; | ||
} | ||
/** | ||
* Individual View Source entry | ||
*/ | ||
export interface IViewServiceSource { | ||
name: string; | ||
type: string; | ||
url: string; | ||
serviceItemId: string; | ||
} | ||
/** | ||
* Response from the /sources end-point of a view service | ||
*/ | ||
export interface IViewServiceSources { | ||
currentVersion: number; | ||
services: IViewServiceSource[]; | ||
} | ||
/** | ||
* Response from the portals/Self/isServiceNameAvailable request | ||
*/ | ||
export interface IServiceNameAvailable { | ||
available: boolean; | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
168868
4010