MCPcopy Create free account
hub / github.com/apache/devlake / list

Function list

config-ui/src/api/connection/index.ts:22–22  ·  view source on GitHub ↗
(plugin: string)

Source from the content-addressed store, hash-verified

20import { request } from '@/utils';
21
22export const list = (plugin: string): Promise<IConnectionAPI[]> => request(`/plugins/${plugin}/connections`);
23
24export const get = (plugin: string, connectionId: ID): Promise<IConnectionAPI> =>
25 request(`/plugins/${plugin}/connections/${connectionId}`);

Callers

nothing calls this directly

Calls 1

requestFunction · 0.90

Tested by

no test coverage detected