From c2ab14b6e4e447686b5373699db1f56cfbe8eb72 Mon Sep 17 00:00:00 2001 From: Dasa Paddock Date: Mon, 23 Dec 2019 08:10:06 -0800 Subject: [PATCH] Update for ArcGIS API for JavaScript version 3.31 (#41150) --- types/arcgis-js-api/v3/index.d.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/types/arcgis-js-api/v3/index.d.ts b/types/arcgis-js-api/v3/index.d.ts index 70dfe9803e..e3c744493b 100644 --- a/types/arcgis-js-api/v3/index.d.ts +++ b/types/arcgis-js-api/v3/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for ArcGIS API for JavaScript 3.30 +// Type definitions for ArcGIS API for JavaScript 3.31 // Project: https://developers.arcgis.com/javascript/3/ // Definitions by: Esri // Bjorn Svensson @@ -2599,7 +2599,7 @@ declare module "esri/IdentityManagerBase" { /** If your application is on the same domain as *.arcgis.com or ArcGIS Enterprise Server, the IdentityManager will redirect the user to its sign-in page. */ useSignInPage: boolean; /** - * Returns a Credential object if the user has already signed in to access the given resource and is allowed to do so when using the given application id. + * Returns a credential if the user has already signed in to access the given resource and is allowed to do so when using the given application id. * @param resUrl The resource URL. * @param appId The registered OAuth application id. */ @@ -3028,6 +3028,8 @@ declare module "esri/arcgis/OAuthInfo" { popupWindowFeatures: string; /** The ArcGIS for Portal URL. */ portalUrl: string; + /** Set this property to true when popup is false in order to have the window's location hash value restored after signing in. */ + preserveUrlHash: boolean; /** * Creates a new OAuthInfo given the specified parameters. * @param params Various options to configure the OAuthInfo object. @@ -14176,6 +14178,8 @@ declare module "esri/symbols/SimpleMarkerSymbol" { static STYLE_PATH: any; /** The marker is a square. */ static STYLE_SQUARE: any; + /** The marker is a triangle. */ + static STYLE_TRIANGLE: any; /** The marker is a diagonal cross. */ static STYLE_X: any; /** Outline of the marker. */