UNPKG

graphdb-workbench

Version:
2 lines 1.77 kB
export const __webpack_id__=92561;export const __webpack_ids__=[64871,87252,92561];export const __webpack_modules__={87252:(e,t,r)=>{r.r(t),r.d(t,{ExplainQueryMethodModel:()=>n,ExplainQueryMethodsListModel:()=>a,ExplainQueryType:()=>d,ExplainResponseModel:()=>s});class s{constructor(e={}){this._chatId=e.chatId,this._answerId=e.answerId,this._queryMethods=e.queryMethods,this._expanded=void 0===e.expanded||e.expanded}get chatId(){return this._chatId}set chatId(e){this._chatId=e}get answerId(){return this._answerId}set answerId(e){this._answerId=e}get queryMethods(){return this._queryMethods}set queryMethods(e){this._queryMethods=e}get expanded(){return this._expanded}set expanded(e){this._expanded=e}}class a{constructor(e=[]){this._items=e}get items(){return this._items}set items(e){this._items=e}}class n{constructor(e={}){this._name=e.name,this._rawQuery=e.rawQuery,this._query=e.query,this._queryType=e.queryType,this._errorMessage=e.errorOutput}get name(){return this._name}set name(e){this._name=e}get rawQuery(){return this._rawQuery}set rawQuery(e){this._rawQuery=e}get query(){return this._query}set query(e){this._query=e}get queryType(){return this._queryType}set queryType(e){this._queryType=e}get errorMessage(){return this._errorMessage}set errorMessage(e){this._errorMessage=e}}const d={SPARQL:"sparql",JSON:"json",OTHER:"other"}},92561:(e,t,r)=>{r.r(t),r.d(t,{explainQueryMethodMapper:()=>d,explainQueryMethodsListMapper:()=>n,explainResponseMapper:()=>a});var s=r(87252);const a=e=>new s.ExplainResponseModel({chatId:e.conversationId,answerId:e.answerId,queryMethods:n(e.queryMethods)}),n=(e=[])=>new s.ExplainQueryMethodsListModel(e.map(d)),d=e=>new s.ExplainQueryMethodModel(e)}}; //# sourceMappingURL=92561.9efa6836ea16caad1850.bundle.js.map