@microsoft/useragent-sdk
Version:
SDK for building decentralized identity wallets and enterprise agents.
18 lines (14 loc) • 769 B
text/typescript
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import HubInterface, { HubInterfaceOptions, HubInterfaceType } from './HubInterface';
/**
* A Class that does CRUD operations for storing objects as Collections in the Hub
*/
export default class Collections extends HubInterface {
constructor (hubInterfaceOptions: HubInterfaceOptions) {
hubInterfaceOptions.hubInterface = HubInterfaceType.Collections;
super(hubInterfaceOptions);
}
}