Skip to content

Commit

Permalink
docs: removed references to old package (#1152)
Browse files Browse the repository at this point in the history
Removed references to `arcgis-rest-service-admin`, which is an old
package name that was replaced by `arcgis-rest-feature-service`.
  • Loading branch information
gavinr-maps authored Aug 20, 2024
1 parent 0fa982b commit 365ecf2
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export interface IAddToServiceDefinitionResult {
* Add layer(s) and/or table(s) to a hosted feature service. See the [REST Documentation](https://developers.arcgis.com/rest/services-reference/add-to-definition-feature-service-.htm) for more information.
*
* ```js
* import { addToServiceDefinition } from '@esri/arcgis-rest-service-admin';
* import { addToServiceDefinition } from '@esri/arcgis-rest-feature-service';
* //
* addToServiceDefinition(serviceurl, {
* authentication: ArcGISIdentityManager,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ export interface ICreateServiceResult {
* import {
* createFeatureService,
* addToServiceDefinition
* } from '@esri/arcgis-rest-service-admin';
* } from '@esri/arcgis-rest-feature-service';
* //
* createFeatureService({
* authentication: ArcGISIdentityManager,
Expand Down
15 changes: 0 additions & 15 deletions packages/arcgis-rest-feature-service/src/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,6 @@ export interface IViewServiceSources {
* `IFeatureServiceDefinition` can also be imported from the following packages:
*
* ```js
* import { IFeatureServiceDefinition } from "@esri/arcgis-rest-service-admin";
* import { IFeatureServiceDefinition } from "@esri/arcgis-rest-feature-service";
* ```
*/
Expand Down Expand Up @@ -380,12 +379,6 @@ export interface IFeatureServiceDefinition {

/**
* Root element in the web map specifying an array of table objects.
*
* `ITable` can also be imported from the following packages:
*
* ```js
* import { ITable } from "@esri-arcgis-rest-service-admin"
* ```
*/
export interface ITable {
/** Table name */
Expand Down Expand Up @@ -675,14 +668,6 @@ export interface ITemplate {
prototype?: IFeature;
}

/**
* `ILayerDefinition` can also be imported from the following packages:
*
* ```js
* import { ILayerDefinition } from "@esri/arcgis-rest-service-admin";
* import { ILayerDefinition } from "@esri/arcgis-rest-feature-service";
* ```
*/
export interface ILayerDefinition extends IHasZM {
/** Boolean value indicating whether the geometry of the features in the layer can be edited. */
allowGeometryUpdates?: boolean;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export interface IUpdateServiceDefinitionResult {
* Update a definition property in a hosted feature service. See the [REST Documentation](https://developers.arcgis.com/rest/services-reference/online/update-definition-feature-service-.htm) for more information.
*
* ```js
* import { updateServiceDefinition } from '@esri/arcgis-rest-service-admin';
* import { updateServiceDefinition } from '@esri/arcgis-rest-feature-service';
* //
* updateServiceDefinition(serviceurl, {
* authentication: ArcGISIdentityManager,
Expand Down
1 change: 0 additions & 1 deletion packages/arcgis-rest-request/src/types/geometry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ export interface IHasZM {
*
* ```js
* import { ISpatialReference } from "@esri/arcgis-rest-geocoding";
* import { ISpatialReference } from "@esri/arcgis-rest-service-admin";
* import { ISpatialReference } from "@esri/arcgis-rest-feature-service";
* ```
*/
Expand Down

0 comments on commit 365ecf2

Please sign in to comment.