@0xpolygonid/js-sdk
Version:
SDK to work with Polygon ID
18 lines (16 loc) • 490 B
text/typescript
import { ICredentialStorage } from './credentials';
import { IIdentityStorage } from './identity';
import { IMerkleTreeStorage } from './merkletree';
import { IStateStorage } from './state';
/**
* General Data storage interface that union identity, credential, merkletree and states storage.
*
* @public
* @interface IDataStorage
*/
export interface IDataStorage {
credential: ICredentialStorage;
identity: IIdentityStorage;
mt: IMerkleTreeStorage;
states: IStateStorage;
}