Function fetchVistas

Fetches vistas for a project.

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

  • Parameters

    • OptionalprojectId: string

      The project ID. Defaults to the active project if not provided.

    Returns Promise<View[]>

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