/*
All material copyright Esri, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
*/
import{__decorate as o}from"tslib";import{JSONSupport as r}from"../../../core/JSONSupport.js";import{property as e,subclass as t}from"../../../core/accessorSupport/decorators.js";import{enumeration as s}from"../../../core/accessorSupport/decorators/enumeration.js";var p;let a=p=class extends r{constructor(o){super(o),this.type="table"}clone(){const{workspaceId:o,gdbVersion:r,dataSourceName:e}=this;return new p({workspaceId:o,gdbVersion:r,dataSourceName:e})}};o([s({table:"table"}),e({json:{write:{isRequired:!0}}})],a.prototype,"type",void 0),o([e({type:String,json:{write:!0}})],a.prototype,"workspaceId",void 0),o([e({type:String,json:{write:!0}})],a.prototype,"gdbVersion",void 0),o([e({type:String,json:{write:!0}})],a.prototype,"dataSourceName",void 0),a=p=o([t("esri.layers.support.source.TableDataSource")],a);const i=a;export{i as default};
