Arabic Maqām Network - TypeScript Library Documentation - v0.1.0
    Preparing search index...

    Function updateTuningSystems

    • Updates the tuning systems data by sending a PUT request to the API.

      This function takes an array of TuningSystem objects, sorts them by ID, serializes them to JSON format, and sends them to the backend API for persistent storage. It handles the conversion of TuningSystem instances to plain objects suitable for JSON serialization.

      Parameters

      • newSystems: default[]

        Array of TuningSystem objects to update

      Returns Promise<void>

      Error if the API request fails or returns a non-OK status