@refinio/one.ui
    Preparing search index...
    • This is a function that calls getObject / getIdObject or readBlob based on the type the object has.

      Parameters

      • anyHash: SHA256IdHash | SHA256Hash<HashTypes>

        The hash of any object

      • category: Categories

        If 'ALL' all objects will be loaded and returned. If 'Object' only Objects (unversioned and specific versions) will be loaded If 'IdObject' only IdObjects will be loaded If 'BLOB' only BLOBs will be loaded

      Returns Promise<AnyObject>

      The object. Objects that weren't loaded have UnknownType (depends on categroy parameter) an complete failures on loading will have UnkownType but with the err field set.