Skip to content

Commit

Permalink
Merge branch 'main' into isView-add-ICreateServiceOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
gavinr-maps authored Oct 15, 2024
2 parents 352c2a3 + 2323340 commit bd6069a
Show file tree
Hide file tree
Showing 10 changed files with 1,965 additions and 1,978 deletions.
1,956 changes: 2 additions & 1,954 deletions CHANGELOG.md

Large diffs are not rendered by default.

1,957 changes: 1,957 additions & 0 deletions CHANGELOG_LEGACY.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion demos/deno/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# ArcGIS REST JS + Deno

ArcGIS REST JS is fully compatible with Deno. You can import the packages from the [Skypack CDN](https://www.skypack.dev/search?q=%40esri%2Farcgis-rest-&p=1) for the easiest use. This demo shows importing from a local install with an import map.
ArcGIS REST JS is fully compatible with Deno. You can import the packages from the [esm.run CDN](https://www.jsdelivr.com/esm) for the easiest use. This demo shows importing from a local install with an import map.

You can run this demo with:

Expand Down
4 changes: 2 additions & 2 deletions demos/express-oauth-advanced/pages/app.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ <h1>The App!</h1>
</calcite-modal>

<script type="module">
import { ArcGISIdentityManager } from 'https://cdn.skypack.dev/@esri/arcgis-rest-request@^4.0.0';
import { searchItems, SearchQueryBuilder } from 'https://cdn.skypack.dev/@esri/arcgis-rest-portal@^4.0.0';
import { ArcGISIdentityManager } from 'https://esm.run/@esri/arcgis-rest-request@^4.0.0';
import { searchItems, SearchQueryBuilder } from 'https://esm.run/@esri/arcgis-rest-portal@^4.0.0';

// We need to customize the behavior of how ArcGISIdentityManager handles refreshing.
class ManagerWithCustomRefresh extends ArcGISIdentityManager {
Expand Down
2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
"precommit": "lint-staged",
"docs:build": "rimraf docs/build && unzip -d docs/build docs/v3-archive.zip && npm run typedoc",
"lint": "eslint ./packages --ext .ts",
"skypack-check": "npm exec -w ./packages package-check",
"srihash": "node scripts/generate-sri-hashes.js",
"test": "npm run lint && npm run test:compile && npm run test:node && npm run test:chrome",
"test:compile": "npm run build:esm",
Expand Down Expand Up @@ -71,7 +70,6 @@
"@semantic-release/changelog": "^6.0.1",
"@semantic-release/git": "^10.0.1",
"@semantic-release/npm": "^8.0.0",
"@skypack/package-check": "^0.2.2",
"@types/fetch-mock": "^7.3.5",
"@types/jasmine": "^2.8.2",
"@types/node": "^12.20.4",
Expand Down
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 @@ -161,7 +161,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 bd6069a

Please sign in to comment.