Skip to content

gi-nx


gi-nx / fetchProjectDetails

ts
function fetchProjectDetails(projectId?: string): Promise<ProjectDetails>;

Fetches details for a given project.

Parameters

ParameterTypeDescription
projectId?stringThe 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.