(projectKey: string)
| 28 | }; |
| 29 | |
| 30 | export 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 | |
| 44 | export const addProject = async (data: IProject) => { |
| 45 | const url = API.addProjectURI; |
no test coverage detected