# verixyz data store

verixyz data storage based on TypeORM.
This package provides several plugins that relate to data storage.

## `DataStore`
A plugin that exposes simple store/get methods for messages, credentials and presentations.

### Constructors

- (constructor)(dbConnection)		
    Constructs a new instance of the DataStore class
### Properties

- methods: IDataStore	
- schema: any	

### Methods

- dataStoreDeleteVerifiableCredential(args)		
- dataStoreGetMessage(args)		
- dataStoreGetVerifiableCredential(args)		
- dataStoreGetVerifiablePresentation(args)		
- dataStoreSaveMessage(args)		
- dataStoreSaveVerifiableCredential(args)		
- dataStoreSaveVerifiablePresentation(args)		


## `DataStoreORM`
A plugin that provides more querying options using TypeORM.

### Constructors
- (constructor)(dbConnection)		
    Constructs a new instance of the DataStoreORM class

### Properties

- methods:	IDataStoreORM	
- schema:	any	

### Methods

- dataStoreORMGetIdentifiers(args, context)		
- dataStoreORMGetIdentifiersCount(args, context)		
- dataStoreORMGetMessages(args, context)		
- dataStoreORMGetMessagesCount(args, context)		
- dataStoreORMGetVerifiableCredentials(args, context)		
- dataStoreORMGetVerifiableCredentialsByClaims(args, context)- dataStoreORMGetVerifiableCredentialsByClaimsCount(args,context)		
- dataStoreORMGetVerifiableCredentialsCount(args, context)	- dataStoreORMGetVerifiablePresentations(args, context)		
- dataStoreORMGetVerifiablePresentationsCount(args, context)		


## `KeyStore` 

### Constructors

- (constructor)(dbConnection)		
    Constructs a new instance of the KeyStore class

### Methods

- delete({ kid })		
- get({ kid })		
- import(args)		
- list(args)




## `DIDStore`

### Constructors

- (constructor)(dbConnection)		
    Constructs a new instance of the DIDStore class

### Methods

- delete({ did })		
- get({ did, alias, provider, })		
- import(args)		
- list(args)		
