UNPKG

graphdb-workbench

Version:
2 lines 2.38 kB
export const __webpack_id__=5783;export const __webpack_ids__=[5783];export const __webpack_modules__={5783:(t,e,s)=>{s.r(e),s.d(e,{EndpointGenerationReport:()=>r,EndpointGenerationReportList:()=>i});class i{_reports;constructor(t){this._reports=t||[]}getReport(t){return this._reports.find(e=>e.endpointId===t)}get reports(){return this._reports}set reports(t){this._reports=t}}class r{_endpointId;_endpointURI;_active;_default;_label;_description;_lastModified;_objectsCount;_propertiesCount;_warnings;_errors;_messages;_createdSuccessfully;constructor(t){this._endpointId=t.endpointId||"",this._endpointURI=t.endpointURI||"",this._active=t.active||!1,this._default=t.default||!1,this._label=t.label||"",this._description=t.description||"",this._lastModified=t.lastModified||"",this._objectsCount=t.objectsCount||0,this._propertiesCount=t.propertiesCount||0,this._warnings=t.warnings||0,this._errors=t.errors||0,this._messages=t.messages||[],this._createdSuccessfully=this._active&&0===this._errors}toJSON(){return{id:this._endpointId,active:this._active,default:this._default,label:this._label,description:this._description,lastModified:this._lastModified,objectsCount:this._objectsCount,propertiesCount:this._propertiesCount,warnings:this._warnings,errors:this._errors,messages:this._messages}}get endpointId(){return this._endpointId}set endpointId(t){this._endpointId=t}get endpointURI(){return this._endpointURI}set endpointURI(t){this._endpointURI=t}get active(){return this._active}set active(t){this._active=t}get default(){return this._default}set default(t){this._default=t}get label(){return this._label}set label(t){this._label=t}get description(){return this._description}set description(t){this._description=t}get lastModified(){return this._lastModified}set lastModified(t){this._lastModified=t}get objectsCount(){return this._objectsCount}set objectsCount(t){this._objectsCount=t}get propertiesCount(){return this._propertiesCount}set propertiesCount(t){this._propertiesCount=t}get warnings(){return this._warnings}set warnings(t){this._warnings=t}get errors(){return this._errors}set errors(t){this._errors=t}get messages(){return this._messages}set messages(t){this._messages=t}get createdSuccessfully(){return this._createdSuccessfully}set createdSuccessfully(t){this._createdSuccessfully=t}}}}; //# sourceMappingURL=5783.5500ac48ebcadce2273a.bundle.js.map