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

Function fetchPluginData

frontend/src/Redux/actions.ts:191–203  ·  view source on GitHub ↗
(limit: number)

Source from the content-addressed store, hash-verified

189 };
190};
191export const fetchPluginData = (limit: number) => {
192 return (dispatch: any) => {
193 const project_base_url = 'api/v1'
194 dispatch(fetchPluginRequest());
195 request.get(`${project_base_url}/bundle_instances?limit=${limit}`)
196 .then(response => {
197 dispatch(fetchPluginSuccess(response));
198 })
199 .catch(error => {
200 dispatch(fetchPluginFailure(error.message));
201 });
202 };
203};
204export const setLoaded = (loaded: any) => {
205 return {
206 type: 'SET_LOADED',

Callers 5

onDeleteConfirmFunction · 0.90
handleConfirmRequestFunction · 0.90
handleEditFormConfirmFunction · 0.90
handleConfirmRequestFunction · 0.90
ProjectHomeFunction · 0.90

Calls 4

fetchPluginRequestFunction · 0.85
fetchPluginSuccessFunction · 0.85
fetchPluginFailureFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected