Need node and treePath

    const projectItem = await item.getProjectItem();
export declare type ProjectItem = {
  getParent(): Promise<ProjectItem>; //Get the root item of the project which contains all items of the project on the lowest level
  getProject(): Promise<Project>; //Get the root item of the project which contains all items of the project on the lowest level.
  name: string; //Get name of project item object
};

This function also failed to retrieve the node ID and treePath information, and the type annotations are confusing to me.

Hi kernelKun,

Two relevant things coming in the next SDK release (soon):

  1. We’ve fixed the ambiguous annotations, and
  2. We’re exposing NodeID.
1 Like