MCPcopy Create free account
hub / github.com/FeatureProbe/FeatureProbe / getProjectInfo

Function getProjectInfo

ui/src/services/project.ts:30–42  ·  view source on GitHub ↗
(projectKey: string)

Source from the content-addressed store, hash-verified

28};
29
30export const getProjectInfo = async<T> (projectKey: string) => {
31 const url = `${
32 API.getProjectInfoURI
33 .replace(':projectKey', projectKey)
34 }`;
35
36 return request<T>(url, {
37 method: 'GET',
38 headers: {
39 ...ApplicationJson()
40 },
41 });
42};
43
44export const addProject = async (data: IProject) => {
45 const url = API.addProjectURI;

Callers 3

ProjectLayoutFunction · 0.90
AccessToggleFunction · 0.90
AccessEventFunction · 0.90

Calls 2

ApplicationJsonFunction · 0.90
requestFunction · 0.85

Tested by

no test coverage detected