@arcgis/core
Version:
ArcGIS Maps SDK for JavaScript: A complete 2D and 3D mapping and data visualization API
3 lines (2 loc) • 1.13 kB
JavaScript
/* COPYRIGHT Esri - https://js.arcgis.com/5.0.8/LICENSE.txt */
import{__decorate as e}from"tslib";import{JSONSupport as t}from"../../../core/JSONSupport.js";import{property as r,subclass as o}from"../../../core/accessorSupport/decorators.js";import{ensureClass as s}from"../../../core/accessorSupport/ensureType.js";import{associationTypeKebabDict as p}from"../../../networks/support/typeUtils.js";import i from"./NetworkElement.js";var n;let m=n=class extends t{static from(e){return s(n,e)}constructor(e){super(e),this.returnDeletes=!1,this.elements=[],this.types=[],this.gdbVersion=null,this.moment=null}};e([r({type:Boolean,json:{write:!0}})],m.prototype,"returnDeletes",void 0),e([r({type:[i],json:{write:!0}})],m.prototype,"elements",void 0),e([r({type:[p.apiValues],json:{type:p.jsonValues,read:p.read,write:p.write}})],m.prototype,"types",void 0),e([r({type:String,json:{write:!0}})],m.prototype,"gdbVersion",void 0),e([r({type:Date,json:{type:Number,write:{writer:(e,t)=>{t.moment=e?.getTime()}}}})],m.prototype,"moment",void 0),m=n=e([o("esri.rest.networks.support.QueryAssociationsParameters")],m);export{m as default};