Options
All
  • Public
  • Public/Protected
  • All
Menu

Module ResourcesConversionUtil

Index

Functions

Const createCountQueryResponse

  • createCountQueryResponse(countQueryResult: object, jsonConvert: JsonConvert): CountQueryResponse

Const createReadResourceSequence

  • Given a JSON-LD representing zero, one more resources, converts it to an array of ReadResource.

    JSON-LD is expected to have expanded prefixes (processed by jsonld processor).

    Parameters

    • resourcesJsonld: object

      a JSON-LD object with expanded prefixes representing zero, one or more resources.

    • ontologyCache: OntologyCache

      instance of OntologyCache to be used.

    • listNodeCache: ListNodeV2Cache

      instance of ListNodeCache to be used.

    • jsonConvert: JsonConvert

      instance of JsonConvert to be used.

    Returns Observable<ReadResourceSequence>

Generated using TypeDoc