UNPKG

graphdb-workbench

Version:
2 lines 1.09 kB
export const __webpack_id__=29646;export const __webpack_ids__=[29646];export const __webpack_modules__={29646:(s,e,t)=>{t.r(e),t.d(e,{GraphqlSchemaShape:()=>h,GraphqlSchemaShapes:()=>i});class i{_shapes;_size;_isEmpty;constructor(s){this._shapes=s||[],this._size=this.shapes.length,this._isEmpty=0===this.shapes.length}processShapes(s){return this.shapes.map(s)}getShapeIds(){return this.shapes.map(s=>s.id)}get isEmpty(){return this._isEmpty}get size(){return this._size}get shapes(){return this._shapes}set shapes(s){this._shapes=s,this._size=this.shapes.length,this._isEmpty=0===this.shapes.length}toJSON(){return this.shapes.map(s=>s.id)}}class h{_id;_name;_label;_description;constructor(s){this._id=s.id,this._name=s.name,this._label=s.label,this._description=s.description}get id(){return this._id}set id(s){this._id=s}get name(){return this._name}set name(s){this._name=s}get label(){return this._label}set label(s){this._label=s}get description(){return this._description}set description(s){this._description=s}}}}; //# sourceMappingURL=29646.07b9815ed05270914e43.bundle.js.map