Method
getProject
({
workspaceLogin,
projectSlug
}: {
workspaceLogin: string;
projectSlug: string;
})
Source from the content-addressed store, hash-verified
| 117 | } |
| 118 | |
| 119 | async getProject({ |
| 120 | workspaceLogin, |
| 121 | projectSlug |
| 122 | }: { |
| 123 | workspaceLogin: string; |
| 124 | projectSlug: string; |
| 125 | }): Promise<GetProjectResponse> { |
| 126 | const url = new URL(`/cli/project/@${workspaceLogin}/${projectSlug}`, this._apiOrigin); |
| 127 | return await this._fetch<GetProjectResponse>(url, {method: "GET"}); |
| 128 | } |
| 129 | |
| 130 | async postProject({ |
| 131 | title, |
Tested by
no test coverage detected