@modelhealth/viewer-react
    Preparing search index...

    Function fetchExternalSto

    • Downloads the raw text of a .sto file tagged `${filename}-sync` for an activity — filename is the tag you originally uploaded the file under; the synced result is stored separately, which is what this fetches.

      Returns null rather than throwing if it doesn't exist (or any other fetch failure) — pair it with a specific parser, e.g. parseExternalSto.

      Parameters

      • client: ModelHealthClient
      • activity: Activity
      • filename: string

      Returns Promise<string | null>