gi-nx / fetchProjectDetails
ts
function fetchProjectDetails(projectId?: string): Promise<ProjectDetails>;Fetches details for a given project.
Parameters
| Parameter | Type | Description |
|---|---|---|
projectId? | string | The project ID. Defaults to the active project if not provided. |
Returns
Promise<ProjectDetails>
A promise that resolves with the project's details data.
Throws
If called from scratchpad or if the user does not have permission to access the project.