@microsoft/useragent-sdk
Version:
SDK for building decentralized identity wallets and enterprise agents.
23 lines (22 loc) • 756 B
TypeScript
import { IHubObjectQueryResponse } from '@decentralized-identity/hub-common-js';
/**
* Represents the response to a `HubObjectQueryRequest`.
*/
export default class HubObjectQueryResponse {
private response;
constructor(json: IHubObjectQueryResponse);
/**
* Returns the set of objects returned by the Hub.
*
* NEED TO Map JSON into useful objects, as done for commits.
*/
getObjects(): import("@decentralized-identity/hub-common-js").IObjectMetadata[];
/**
* Indicates whether additional pages of results are available.
*/
hasSkipToken(): boolean;
/**
* Retrieves a token which can be used to fetch subsequent result pages.
*/
getSkipToken(): string | null;
}