Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

directus-extension-okam-typesense

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

directus-extension-okam-typesense - npm Package Compare versions

Comparing version 1.0.3 to 1.0.5

2

dist/app.js

@@ -1,1 +0,1 @@

import{defineOperationApp as e,defineModule as t}from"@directus/extensions-sdk";import{defineComponent as n,resolveComponent as i,openBlock as a,createBlock as s,withCtx as o,createElementVNode as l,withDirectives as r,vModelText as c,createElementBlock as p,Fragment as u,renderList as d,toDisplayString as h,vModelSelect as y,createTextVNode as m,createVNode as f,pushScopeId as g,popScopeId as _}from"vue";var v=e({id:"okam-typesense-upsert",name:"Typesense Upsert Document Operation",icon:"box",description:"Upsert a document(s) in typesense, using env TYPESENSE_HOST and TYPESENSE_APIKEY_WRITE",overview:({collection:e})=>[{label:"Collection",text:e}],options:[{field:"collection",name:"Collection",type:"string",meta:{width:"full",interface:"input"}},{field:"item",name:"Item",type:"json",meta:{width:"full",interface:"input-code",options:{languages:"json"}}},{field:"host_override",name:"Host Override",type:"string",meta:{width:"full",interface:"input"}},{field:"apikey_override",name:"API Key Override",type:"string",meta:{width:"full",interface:"input"}}]}),b=e({id:"okam-typesense-delete",name:"Typesense Delete Document Operation",icon:"box",description:"Delete a document(s) in typesense",overview:({collection:e})=>[{label:"Collection",text:e}],options:[{field:"collection",name:"Collection",type:"string",meta:{width:"full",interface:"input"}},{field:"key",name:"Key",type:"string",meta:{width:"full",interface:"input"}},{field:"item",name:"Item",type:"json",meta:{width:"full",interface:"input-code",options:{languages:"json"}}},{field:"host_override",name:"Host Override",type:"string",meta:{width:"full",interface:"input"}},{field:"apikey_override",name:"API Key Override",type:"string",meta:{width:"full",interface:"input"}}]});class w{constructor(e){this.client=e}async retrieve(){return this.client.get("/health")}}const S={Client:class{constructor(e){this.apiKey=e.apiKey,this.nodes=e.nodes,this.health=new w(this)}getUrl(e){var t;if(!(null==(t=null==this?void 0:this.nodes)?void 0:t[0]))return null;const{host:n,port:i,protocol:a}=this.nodes[0];return`${a}://${n}:${i}${e}`}async get(e,t="GET",n="json"){const i=this.getUrl(e);if(!i)return null;return(await fetch(i,{method:t||"GET",headers:{"X-TYPESENSE-API-KEY":this.apiKey}}))[n||"json"]().catch((()=>null))}async delete(e){return this.get(e,"DELETE")}async patch(e,t){return this.post(e,t,"PATCH")}async post(e,t,n="POST"){const i=this.getUrl(e);if(!i)return null;return(await fetch(i,{method:n,headers:{"X-TYPESENSE-API-KEY":this.apiKey},body:JSON.stringify(t)})).json()}collections(e=void 0){return{retrieve:async()=>this.get("/collections"),create:async e=>this.post("/collections",e),delete:async()=>this.delete(`/collections/${e}`),alter:async t=>this.patch(`/collections/${e}`,t),export:async()=>this.get(`/collections/${e}/documents/export`,"GET","text"),search:async t=>{const n=function(e){return new URLSearchParams(e).toString()}(t);return this.get(`/collections/${e}/documents/search?${n}`)}}}}};async function k(e,t){return e&&t?async function({host:e,apiKey:t}){try{const n=new URL(e);return new S.Client({nodes:[{host:n.hostname,port:C(n),protocol:n.protocol.replace(/:/,"")}],apiKey:t})}catch(e){return null}}({host:e,apiKey:t}):null}function C(e){const t=e.protocol.replace(/:/,"").toLowerCase(),n=Number(e.port);if(n>0)return n;return new Map([["http",80],["https",443]]).get(t)||8108}var E={programs:{name:"programs",enable_nested_fields:!0,fields:[{name:"id",type:"string"},{name:"lang",type:"string"},{name:"title",type:"string",sort:!0},{name:"path",type:"string"},{name:"code",type:"string"},{name:"tag",type:"int64",facet:!0},{name:"program_type",type:"int64",facet:!0},{name:"program_type_friendly_id",type:"string"},{name:"pa_.*",type:"int64[]",facet:!0},{name:"image",type:"object"}]},pages:{name:"pages",enable_nested_fields:!0,fields:[{name:"id",type:"string"},{name:"lang",type:"string"},{name:"title",type:"string",sort:!0},{name:"path",type:"string"},{name:"image",type:"object"}]},news:{name:"news",enable_nested_fields:!0,fields:[{name:"id",type:"string"},{name:"lang",type:"string"},{name:"title",type:"string",sort:!0},{name:"path",type:"string"},{name:"image",type:"object"}]},events:{name:"events",enable_nested_fields:!0,fields:[{name:"id",type:"string"},{name:"lang",type:"string"},{name:"title",type:"string",sort:!0},{name:"path",type:"string"}]},staff_members:{name:"staff_members",enable_nested_fields:!0,fields:[{name:"id",type:"string"},{name:"lang",type:"string"},{name:"title",type:"string",sort:!0},{name:"path",type:"string"},{name:"alphacategory",type:"string",facet:!0}]}},x=n({name:"okam-typesense-form",props:{host:{type:String,required:!0},apikey:{type:String,required:!0},collection:{type:String,required:!0},alter:{type:String,required:!1},search_q:{type:String,required:!0},search_query_by:{type:String,required:!0},search_facet_by:{type:String,required:!0},search_filter_by:{type:String,required:!0},response:{type:String}},data:()=>({host:"",apikey:"",collection:"programs",alter:"",search_q:"",search_query_by:"code,title",search_facet_by:"tag",search_filter_by:"",response:"",collectionlist:Object.keys(E).map((e=>({name:e})))}),methods:{async onHealth(){const e=await k(this.host,this.apikey);if(!e)return;const t=await async function(e){return e.health.retrieve()}(e);this.outputResponse(t)},async onCollectionList(){const e=await k(this.host,this.apikey);if(!e)return;const t=await async function(e){return e.collections().retrieve()}(e);this.outputResponse(t)},async onCreateSchema(){const e=await k(this.host,this.apikey);if(!e||!this.collection)return;const t=E[this.collection],n=await async function(e,t){return e.collections().create(t)}(e,t);this.outputResponse(n)},async onDeleteSchema(){const e=await k(this.host,this.apikey);if(!e||!this.collection)return;const t=await async function(e,t){return e.collections(t).delete()}(e,this.collection);this.outputResponse(t)},async onAlterSchema(){const e=await k(this.host,this.apikey);if(e&&this.collection&&this.alter)try{const t=JSON.parse(this.alter),n=await async function(e,t,n){return e.collections(t).alter(n)}(e,this.collection,t);this.outputResponse(n)}catch(e){}},async onExportDocuments(){const e=await k(this.host,this.apikey);if(!e||!this.collection)return;const t=await async function(e,t){return e.collections(t).export()}(e,this.collection);this.response=t},async onSearchDocuments(){const e=await k(this.host,this.apikey);if(!e||!this.collection)return;const t={q:this.search_q,query_by:this.search_query_by,facet_by:this.search_facet_by,filter_by:this.search_filter_by},n=await async function(e,t,n){return e.collections(t).search(n)}(e,this.collection,t);this.outputResponse(n)},outputResponse(e){this.response=JSON.stringify(e,null," ")}}}),q=[],T=[];!function(e,t){if(e&&"undefined"!=typeof document){var n,i=!0===t.prepend?"prepend":"append",a=!0===t.singleTag,s="string"==typeof t.container?document.querySelector(t.container):document.getElementsByTagName("head")[0];if(a){var o=q.indexOf(s);-1===o&&(o=q.push(s)-1,T[o]={}),n=T[o]&&T[o][i]?T[o][i]:T[o][i]=l()}else n=l();65279===e.charCodeAt(0)&&(e=e.substring(1)),n.styleSheet?n.styleSheet.cssText+=e:n.appendChild(document.createTextNode(e))}function l(){var e=document.createElement("style");if(e.setAttribute("type","text/css"),t.attributes)for(var n=Object.keys(t.attributes),a=0;a<n.length;a++)e.setAttribute(n[a],t.attributes[n[a]]);var o="prepend"===i?"afterbegin":"beforeend";return s.insertAdjacentElement(o,e),e}}("\n/* @import '@/styles/mixins/form-grid'; */\n.v-form[data-v-f3d3893a] {\n\t/*\n\t@include form-grid\n\thttps://github.com/directus/directus/blob/e18182010239df89168aea49fc651c01808a279a/app/src/components/v-form/v-form.vue\n\t*/\n\tdisplay: grid;\n\tgrid-template-columns: [start] minmax(0,1fr) [half] minmax(0,1fr) [full];\n\tgap: var(--theme--form--row-gap) var(--theme--form--column-gap);\n\tpadding-top: calc(var(--theme--form--row-gap) / 2);\n}\n.field_full[data-v-f3d3893a] {\n\tgrid-column: start/full;\n}\ntextarea[data-v-f3d3893a] {\n\twidth: 95%;\n}\n",{});var O=(e,t)=>{const n=e.__vccOpts||e;for(const[e,i]of t)n[e]=i;return n};const U=e=>(g("data-v-f3d3893a"),e=e(),_(),e),A={class:"v-form"},K={class:"field_half"},j=U((()=>l("label",null,"Host",-1))),D={class:"field_half"},P=U((()=>l("label",null,"Key",-1))),R={class:"field_hakf"},N=U((()=>l("label",null,"Collection",-1))),I=["value"],V={class:"field_half"},$=U((()=>l("label",null,"Alter",-1))),H={class:"field_full"},L=U((()=>l("label",null,"Search",-1))),Y={class:"v-button field_full"},G={class:"field_full"},J=U((()=>l("label",null,"Response",-1)));const M=[],X=[],B=[],W=[t({id:"okam-typesense",name:"Okam Typesense",icon:"box",routes:[{path:"",component:O(x,[["render",function(e,t,n,g,_,v){const b=i("v-button"),w=i("private-view");return a(),s(w,{title:"OKAM Typesense"},{default:o((()=>[l("div",A,[l("div",K,[j,r(l("input",{"onUpdate:modelValue":t[0]||(t[0]=t=>e.host=t),placeholder:"http://host:port"},null,512),[[c,e.host]])]),l("div",D,[P,r(l("input",{"onUpdate:modelValue":t[1]||(t[1]=t=>e.apikey=t),placeholder:""},null,512),[[c,e.apikey]])]),l("div",R,[N,r(l("select",{"onUpdate:modelValue":t[2]||(t[2]=t=>e.collection=t),placeholder:""},[(a(!0),p(u,null,d(e.collectionlist,(e=>(a(),p("option",{key:e.name,value:e.name},h(e.name),9,I)))),128))],512),[[y,e.collection]])]),l("div",V,[$,r(l("textarea",{"onUpdate:modelValue":t[3]||(t[3]=t=>e.alter=t),placeholder:'{"fields": [{name:"abc","type":"string"}]}'},null,512),[[c,e.alter]])]),l("div",H,[L,m(" q: "),r(l("input",{"onUpdate:modelValue":t[4]||(t[4]=t=>e.search_q=t)},null,512),[[c,e.search_q]]),m(" query_by: "),r(l("input",{"onUpdate:modelValue":t[5]||(t[5]=t=>e.search_query_by=t)},null,512),[[c,e.search_query_by]]),m(" facet_by: "),r(l("input",{"onUpdate:modelValue":t[6]||(t[6]=t=>e.search_facet_by=t)},null,512),[[c,e.search_facet_by]]),m(" filter_by: "),r(l("input",{"onUpdate:modelValue":t[7]||(t[7]=t=>e.search_filter_by=t)},null,512),[[c,e.search_filter_by]])]),l("div",Y,[f(b,{onClick:e.onHealth},{default:o((()=>[m("Health")])),_:1},8,["onClick"]),f(b,{onClick:e.onCollectionList},{default:o((()=>[m("Collection List")])),_:1},8,["onClick"]),f(b,{onClick:e.onCreateSchema},{default:o((()=>[m("Create Schema")])),_:1},8,["onClick"]),f(b,{onClick:e.onDeleteSchema},{default:o((()=>[m("Delete Schema")])),_:1},8,["onClick"]),f(b,{onClick:e.onAlterSchema},{default:o((()=>[m("Alter Schema")])),_:1},8,["onClick"]),f(b,{onClick:e.onExportDocuments},{default:o((()=>[m("Export")])),_:1},8,["onClick"]),f(b,{onClick:e.onSearchDocuments},{default:o((()=>[m("Search")])),_:1},8,["onClick"])]),l("div",G,[J,r(l("textarea",{"onUpdate:modelValue":t[8]||(t[8]=t=>e.response=t),cols:"100",rows:"20"},null,512),[[c,e.response]])])])])),_:1})}],["__scopeId","data-v-f3d3893a"],["__file","module.vue"]])}]})],z=[],F=[],Q=[v,b];export{X as displays,M as interfaces,B as layouts,W as modules,Q as operations,z as panels,F as themes};
import{defineOperationApp as e,useStores as t,defineModule as n}from"@directus/extensions-sdk";import{defineComponent as i,resolveComponent as o,openBlock as s,createBlock as l,withCtx as a,createElementVNode as r,withDirectives as c,vModelText as u,createElementBlock as h,Fragment as p,renderList as d,toDisplayString as f,vModelSelect as y,createTextVNode as m,createVNode as _,pushScopeId as v,popScopeId as g}from"vue";var b=e({id:"okam-typesense-upsert",name:"Typesense Upsert Document Operation",icon:"box",description:"Upsert a document(s) in typesense, using env TYPESENSE_HOST and TYPESENSE_APIKEY_WRITE",overview:({collection:e})=>[{label:"Collection",text:e}],options:[{field:"collection",name:"Collection",type:"string",meta:{width:"full",interface:"input"}},{field:"item",name:"Item",type:"json",meta:{width:"full",interface:"input-code",options:{languages:"json"}}},{field:"host_override",name:"Host Override",type:"string",meta:{width:"full",interface:"input"}},{field:"apikey_override",name:"API Key Override",type:"string",meta:{width:"full",interface:"input"}}]}),S=e({id:"okam-typesense-delete",name:"Typesense Delete Document Operation",icon:"box",description:"Delete a document(s) in typesense",overview:({collection:e})=>[{label:"Collection",text:e}],options:[{field:"collection",name:"Collection",type:"string",meta:{width:"full",interface:"input"}},{field:"key",name:"Key",type:"string",meta:{width:"full",interface:"input"}},{field:"item",name:"Item",type:"json",meta:{width:"full",interface:"input-code",options:{languages:"json"}}},{field:"host_override",name:"Host Override",type:"string",meta:{width:"full",interface:"input"}},{field:"apikey_override",name:"API Key Override",type:"string",meta:{width:"full",interface:"input"}}]});class k{constructor(e){this.client=e}async retrieve(){return this.client.get("/health")}}const w={Client:class{constructor(e){this.apiKey=e.apiKey,this.nodes=e.nodes,this.health=new k(this)}getUrl(e){var t;if(!(null==(t=null==this?void 0:this.nodes)?void 0:t[0]))return null;const{host:n,port:i,protocol:o}=this.nodes[0];return`${o}://${n}:${i}${e}`}async get(e,t="GET",n="json"){const i=this.getUrl(e);if(!i)return null;return(await fetch(i,{method:t||"GET",headers:{"X-TYPESENSE-API-KEY":this.apiKey}}))[n||"json"]().catch((()=>null))}async delete(e){return this.get(e,"DELETE")}async patch(e,t){return this.post(e,t,"PATCH")}async post(e,t,n="POST"){const i=this.getUrl(e);if(!i)return null;return(await fetch(i,{method:n,headers:{"X-TYPESENSE-API-KEY":this.apiKey},body:JSON.stringify(t)})).json()}collections(e=void 0){return{retrieve:async()=>this.get("/collections"),create:async e=>this.post("/collections",e),delete:async()=>this.delete(`/collections/${e}`),alter:async t=>this.patch(`/collections/${e}`,t),export:async()=>this.get(`/collections/${e}/documents/export`,"GET","text"),search:async t=>{const n=function(e){return new URLSearchParams(e).toString()}(t);return this.get(`/collections/${e}/documents/search?${n}`)}}}}};async function C(e,t){return e&&t?async function({host:e,apiKey:t}){try{const n=new URL(e);return new w.Client({nodes:[{host:n.hostname,port:E(n),protocol:n.protocol.replace(/:/,"")}],apiKey:t})}catch(e){return null}}({host:e,apiKey:t}):null}function E(e){const t=e.protocol.replace(/:/,"").toLowerCase(),n=Number(e.port);if(n>0)return n;return new Map([["http",80],["https",443]]).get(t)||8108}const x={host:"",apikey:"",schema:{}};function q(e){var t;return(null==(t=x.schema)?void 0:t[e])||null}var T=i({name:"okam-typesense-form",props:{host:{type:String,required:!0},apikey:{type:String,required:!0},collection:{type:String,required:!0},alter:{type:String,required:!1},search_q:{type:String,required:!0},search_query_by:{type:String,required:!0},search_facet_by:{type:String,required:!0},search_filter_by:{type:String,required:!0},response:{type:String}},setup(){var e,n,i;const{useSettingsStore:o}=t(),s=o();x.host=(null==(e=s.settings)?void 0:e.typesense_host)||"",x.apikey=(null==(n=s.settings)?void 0:n.typesense_api_key)||"",x.schema=(null==(i=s.settings)?void 0:i.typesense_schema)||{}},data(){var e;const{host:t,apikey:n,schema:i}=x,o=Object.keys(i).map((e=>({name:e})));return{host:t,apikey:n,collection:(null==(e=null==o?void 0:o[0])?void 0:e.name)||"",alter:"",search_q:"",search_query_by:"code,title",search_facet_by:"tag",search_filter_by:"",response:"",collectionlist:o}},methods:{async onHealth(){const e=await C(this.host,this.apikey);if(!e)return;const t=await async function(e){return e.health.retrieve()}(e);this.outputResponse(t)},async onCollectionList(){const e=await C(this.host,this.apikey);if(!e)return;const t=await async function(e){return e.collections().retrieve()}(e);this.outputResponse(t)},async onCreateSchema(){const e=await C(this.host,this.apikey);if(!e||!this.collection)return;const t=q(this.collection),n=await async function(e,t){return e.collections().create(t)}(e,t);this.outputResponse(n)},async onDeleteSchema(){const e=await C(this.host,this.apikey);if(!e||!this.collection)return;const t=await async function(e,t){return e.collections(t).delete()}(e,this.collection);this.outputResponse(t)},async onAlterSchema(){const e=await C(this.host,this.apikey);if(e&&this.collection&&this.alter)try{const t=JSON.parse(this.alter),n=await async function(e,t,n){return e.collections(t).alter(n)}(e,this.collection,t);this.outputResponse(n)}catch(e){}},async onSchemaDefinition(){const e=q(this.collection);this.outputResponse(e||null)},async onExportDocuments(){const e=await C(this.host,this.apikey);if(!e||!this.collection)return;const t=await async function(e,t){return e.collections(t).export()}(e,this.collection);this.response=t},async onSearchDocuments(){const e=await C(this.host,this.apikey);if(!e||!this.collection)return;const t={q:this.search_q,query_by:this.search_query_by,facet_by:this.search_facet_by,filter_by:this.search_filter_by},n=await async function(e,t,n){return e.collections(t).search(n)}(e,this.collection,t);this.outputResponse(n)},outputResponse(e){this.response=JSON.stringify(e,null," ")}}}),O=[],D=[];!function(e,t){if(e&&"undefined"!=typeof document){var n,i=!0===t.prepend?"prepend":"append",o=!0===t.singleTag,s="string"==typeof t.container?document.querySelector(t.container):document.getElementsByTagName("head")[0];if(o){var l=O.indexOf(s);-1===l&&(l=O.push(s)-1,D[l]={}),n=D[l]&&D[l][i]?D[l][i]:D[l][i]=a()}else n=a();65279===e.charCodeAt(0)&&(e=e.substring(1)),n.styleSheet?n.styleSheet.cssText+=e:n.appendChild(document.createTextNode(e))}function a(){var e=document.createElement("style");if(e.setAttribute("type","text/css"),t.attributes)for(var n=Object.keys(t.attributes),o=0;o<n.length;o++)e.setAttribute(n[o],t.attributes[n[o]]);var l="prepend"===i?"afterbegin":"beforeend";return s.insertAdjacentElement(l,e),e}}("\n/* @import '@/styles/mixins/form-grid'; */\n.v-form[data-v-f95cb565] {\n\t/*\n\t@include form-grid\n\thttps://github.com/directus/directus/blob/e18182010239df89168aea49fc651c01808a279a/app/src/components/v-form/v-form.vue\n\t*/\n\tdisplay: grid;\n\tgrid-template-columns: [start] minmax(0,1fr) [half] minmax(0,1fr) [full];\n\tgap: var(--theme--form--row-gap) var(--theme--form--column-gap);\n\tpadding-top: calc(var(--theme--form--row-gap) / 2);\n}\n.field_full[data-v-f95cb565] {\n\tgrid-column: start/full;\n}\ntextarea[data-v-f95cb565] {\n\twidth: 95%;\n}\n",{});var U=(e,t)=>{const n=e.__vccOpts||e;for(const[e,i]of t)n[e]=i;return n};const A=e=>(v("data-v-f95cb565"),e=e(),g(),e),K={class:"v-form"},P={class:"field_half"},R=A((()=>r("label",null,"Host",-1))),j={class:"field_half"},N=A((()=>r("label",null,"Key",-1))),I={class:"field_hakf"},V=A((()=>r("label",null,"Collection",-1))),$=["value"],H={class:"field_half"},L=A((()=>r("label",null,"Alter",-1))),Y={class:"field_full"},G=A((()=>r("label",null,"Search",-1))),J={class:"v-button field_full"},M={class:"field_full"},X=A((()=>r("label",null,"Response",-1)));const B=[],W=[],z=[],F=[n({id:"okam-typesense",name:"Okam Typesense",icon:"box",routes:[{path:"",component:U(T,[["render",function(e,t,n,i,v,g){const b=o("v-button"),S=o("private-view");return s(),l(S,{title:"OKAM Typesense"},{default:a((()=>[r("div",K,[r("div",P,[R,c(r("input",{"onUpdate:modelValue":t[0]||(t[0]=t=>e.host=t),placeholder:"http://host:port"},null,512),[[u,e.host]])]),r("div",j,[N,c(r("input",{"onUpdate:modelValue":t[1]||(t[1]=t=>e.apikey=t),placeholder:""},null,512),[[u,e.apikey]])]),r("div",I,[V,c(r("select",{"onUpdate:modelValue":t[2]||(t[2]=t=>e.collection=t),placeholder:""},[(s(!0),h(p,null,d(e.collectionlist,(e=>(s(),h("option",{key:e.name,value:e.name},f(e.name),9,$)))),128))],512),[[y,e.collection]])]),r("div",H,[L,c(r("textarea",{"onUpdate:modelValue":t[3]||(t[3]=t=>e.alter=t),placeholder:'{"fields": [{name:"abc","type":"string"}]}'},null,512),[[u,e.alter]])]),r("div",Y,[G,m(" q: "),c(r("input",{"onUpdate:modelValue":t[4]||(t[4]=t=>e.search_q=t)},null,512),[[u,e.search_q]]),m(" query_by: "),c(r("input",{"onUpdate:modelValue":t[5]||(t[5]=t=>e.search_query_by=t)},null,512),[[u,e.search_query_by]]),m(" facet_by: "),c(r("input",{"onUpdate:modelValue":t[6]||(t[6]=t=>e.search_facet_by=t)},null,512),[[u,e.search_facet_by]]),m(" filter_by: "),c(r("input",{"onUpdate:modelValue":t[7]||(t[7]=t=>e.search_filter_by=t)},null,512),[[u,e.search_filter_by]])]),r("div",J,[_(b,{onClick:e.onHealth},{default:a((()=>[m("Health")])),_:1},8,["onClick"]),_(b,{onClick:e.onCollectionList},{default:a((()=>[m("Collection List")])),_:1},8,["onClick"]),_(b,{onClick:e.onCreateSchema},{default:a((()=>[m("Create Schema")])),_:1},8,["onClick"]),_(b,{onClick:e.onDeleteSchema},{default:a((()=>[m("Delete Schema")])),_:1},8,["onClick"]),_(b,{onClick:e.onSchemaDefinition,title:"Schema Definition in Settings"},{default:a((()=>[m("Definition")])),_:1},8,["onClick"]),_(b,{onClick:e.onAlterSchema},{default:a((()=>[m("Alter Schema")])),_:1},8,["onClick"]),_(b,{onClick:e.onExportDocuments},{default:a((()=>[m("Export")])),_:1},8,["onClick"]),_(b,{onClick:e.onSearchDocuments},{default:a((()=>[m("Search")])),_:1},8,["onClick"])]),r("div",M,[X,c(r("textarea",{"onUpdate:modelValue":t[8]||(t[8]=t=>e.response=t),cols:"100",rows:"20"},null,512),[[u,e.response]])])])])),_:1})}],["__scopeId","data-v-f95cb565"],["__file","module.vue"]])}]})],Q=[],Z=[],ee=[b,S];export{W as displays,B as interfaces,z as layouts,F as modules,ee as operations,Q as panels,Z as themes};
{
"name": "directus-extension-okam-typesense",
"description": "Please enter a description for your extension",
"description": "Typesense admin interface and basic operations",
"icon": "extension",
"version": "1.0.3",
"version": "1.0.5",
"keywords": [

@@ -7,0 +7,0 @@ "directus",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc