MCPcopy Index your code
hub / github.com/TaskingAI/TaskingAI / handleClickBundle

Function handleClickBundle

frontend/src/components/createPlugin/index.tsx:173–190  ·  view source on GitHub ↗
(bundleId: string, bundleName: string, item: any)

Source from the content-addressed store, hash-verified

171 setInputSchema(arr)
172 }
173 const handleClickBundle = async (bundleId: string, bundleName: string, item: any) => {
174 setBundleId(bundleId)
175 setPluginInfoLoading(true)
176 setBundleName(bundleName)
177 setDescription(item.description)
178 setPluginListData(item.plugins)
179 setPluginId(item.plugins[0].plugin_id)
180 setCredentialsSchema(item.credentials_schema)
181 setPluginName(item.plugins[0].name)
182 setPluginDesc(item.plugins[0].description)
183 const inputSchematemp = item.plugins[0].input_schema
184 const arr: any[] = []
185 Object.values(inputSchematemp).forEach((item: any) => {
186 arr.push(item)
187 })
188 setInputSchema(arr)
189 setPluginInfoLoading(false)
190 }
191 return <>
192 <Modal footer={[
193 <>

Callers 1

index.tsxFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected