importIntoWRDSchema | WebHare Platform SDK
WebHare Platform SDK
    Preparing search index...

    Function importIntoWRDSchema

    • Import multiple entities into a WRDSchema (similar to HareScript WRDSchema::SetupEntities)

      Parameters

      • wrdSchema: AnyWRDSchema

        The WRDSchema to import into

      • yamlContent: string

        The YAML content to import, structured as a mapping of type name to an array of entities, eg:

      Returns Promise<ImportEntitiesResult>