/* COPYRIGHT Esri - https://js.arcgis.com/5.1.2/LICENSE.txt */
import{__decorate as r}from"tslib";import{ClonableMixin as e}from"../../core/Clonable.js";import{JSONSupport as o}from"../../core/JSONSupport.js";import{property as t,subclass as i}from"../../core/accessorSupport/decorators.js";import{enumeration as s}from"../../core/accessorSupport/decorators/enumeration.js";let l=class extends(e(o)){constructor(r){super(r),this.layerId=null,this.layerUrl=null,this.type="feature-layer"}};r([t({type:String,json:{write:{overridePolicy(){return{isRequired:null===this.layerUrl}}}}})],l.prototype,"layerId",void 0),r([t({type:String,json:{write:{overridePolicy(){return{isRequired:null===this.layerId}}}}})],l.prototype,"layerUrl",void 0),r([s({featureLayer:"feature-layer"},{readOnly:!0})],l.prototype,"type",void 0),l=r([i("esri.webdoc.geotriggersInfo.FeatureLayerSource")],l);const a=l;export{a as default};
