Function fetchProjectFiles

Use fetchUserFiles instead. Files are not associated with a project.

  • Fetches files for the user.

    Returns Promise<FileCommon[]>

    A promise that resolves with the project's files data.

    If called from scratchpad or if the user does not have permission to access the project.