UNPKG

@arcgis/core

Version:

ArcGIS Maps SDK for JavaScript: A complete 2D and 3D mapping and data visualization API

6 lines (5 loc) 1.84 kB
/* All material copyright ESRI, All Rights Reserved, unless otherwise specified. See https://js.arcgis.com/4.33/esri/copyright.txt for details. */ import{_ as t}from"../../../chunks/tslib.es6.js";import o from"../../../core/JSONSupport.js";import{property as e}from"../../../core/accessorSupport/decorators/property.js";import{ensureClass as r}from"../../../core/accessorSupport/ensureType.js";import"../../../core/has.js";import"../../../core/RandomLCG.js";import{subclass as s}from"../../../core/accessorSupport/decorators/subclass.js";import{writer as i}from"../../../core/accessorSupport/decorators/writer.js";import p from"../../../geometry/Extent.js";import a from"../../../geometry/SpatialReference.js";import{validationTypeKebabDict as l}from"../../../networks/support/typeUtils.js";var n;let c=n=class extends o{static from(t){return r(n,t)}constructor(t){super(t),this.gdbVersion=null,this.sessionID=null,this.validationType=null,this.validateArea=null,this.validationSet=null,this.outSpatialReference=null}writeOutSR(t,o,e){if(null!=t){const{wkid:r,latestWkid:s,wkt:i,wkt2:p}=t;o[e]=JSON.stringify({wkid:r??void 0,latestWkid:s??void 0,wkt:i??void 0,wkt2:p??void 0})}}};t([e({type:String,json:{write:!0}})],c.prototype,"gdbVersion",void 0),t([e({type:String,json:{write:!0}})],c.prototype,"sessionID",void 0),t([e({type:l.apiValues,json:{type:l.jsonValues,read:l.read,write:l.write}})],c.prototype,"validationType",void 0),t([e({type:p,json:{write:!0}})],c.prototype,"validateArea",void 0),t([e({type:[Object],json:{write:!0}})],c.prototype,"validationSet",void 0),t([e({type:a,json:{write:{allowNull:!0,target:"outSR"}}})],c.prototype,"outSpatialReference",void 0),t([i("outSpatialReference")],c.prototype,"writeOutSR",null),c=n=t([s("esri.rest.networks.support.ValidateNetworkTopologyParameters")],c);const d=c;export{d as default};