You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
6 lines
1.4 KiB
6 lines
1.4 KiB
// All material copyright Esri, All Rights Reserved, unless otherwise specified. |
|
// See https://js.arcgis.com/4.30/esri/copyright.txt for details. |
|
//>>built |
|
define("exports ../../request ../../core/deprecate ../../core/Logger ../../networks/support/typeUtils ../utils ./support/QueryAssociationsResult".split(" "),function(g,h,k,l,m,f,n){function p(a){const {returnDeletes:e,elements:b,gdbVersion:c,moment:q}=a.toJSON(),r=JSON.stringify(b.map(d=>({globalId:d.globalId,networkSourceId:d.networkSourceId,terminalId:d.terminalId})));a=JSON.stringify(a.types.map(d=>m.associationTypeKebabDict.toJSON(d))).replaceAll('"connectivity"','"junctionJunctionConnectivity"'); |
|
return{returnDeletes:e,elements:r,types:a,gdbVersion:c,moment:q}}g.queryAssociations=async function(a,e,b){a=f.parseUrl(a);var c={...p(e),f:"json"};c=f.encode({...a.query,...c});b=f.asValidOptions(c,{...b,method:"post"});({data:b}=await h(`${a.path}/associations/query`,b));b=n.fromJSON(b);e.types.includes("connectivity")&&k.deprecatedProperty(l.getLogger("esri/rest/networks/support/QueryAssociationsParameters"),"types",{replacement:"Please use 'junction-junction-connectivity' instead of 'connectivity'.", |
|
see:"https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-networks-support-QueryAssociationsParameters.html#types",version:"4.29",warnOnce:!0});return b};Object.defineProperty(g,Symbol.toStringTag,{value:"Module"})}); |