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

    Function getSources

    • Imports and instantiates source objects from JSON data.

      Creates Source instances (Book or Article) from the raw JSON data. Uses a factory pattern to create the appropriate subclass based on the sourceType property in the data.

      Returns Source[]

      Array of Source objects (Books and Articles)

      Error if unknown sourceType is encountered