(params)
| 3 | return await request.delete(`api/v1/bundle_instances/${pluginFunId}`); |
| 4 | }; |
| 5 | const bundleList = async (params) => { |
| 6 | const str = Object.entries(params) |
| 7 | .filter(([_key, value]) => value) |
| 8 | .map(([key, value]) => `${key}=${value}`) |
| 9 | .join("&"); |
| 10 | return await request.get(`api/v1/bundles?${str}`); |
| 11 | }; |
| 12 | const getPluginDetail = async (pluginFunId: string) => { |
| 13 | return await request.get(`api/v1/plugins?bundle_id=${pluginFunId}`); |
| 14 | }; |
no test coverage detected