@shopify/cli-kit
    Preparing search index...
    • Determines the API version to use based on the user provided version and the available versions. The 'unstable' version is always allowed without validation.

      Parameters

      • options: ResolveApiVersionOptions

        Options for resolving the API version.

      Returns Promise<string>

      The resolved API version.

      AbortError if the provided version is not allowed.