refactor: update the dependencies

This commit is contained in:
Michel Jonathan Schmitz
2019-01-29 16:04:03 +01:00
parent 47f0a4bd3d
commit da044bf470
7 changed files with 483 additions and 264 deletions

View File

@@ -13,7 +13,7 @@
* this program. If not, see <https://www.gnu.org/licenses/>.
*/
import {ConnectorClient as Client} from '@openstapps/api/lib/connectorClient';
import {SCMessage} from '@openstapps/core';
import {SCMessage, SCThingOriginType, SCThingType} from '@openstapps/core';
export class MinimalConnector {
// Data is mocked inside of getItems()
@@ -39,8 +39,9 @@ export class MinimalConnector {
origin: {
indexed: (new Date()).toISOString(),
name: 'minimal connector',
type: SCThingOriginType.Remote,
},
type: 'message',
type: SCThingType.Message,
uid: '',
},
{
@@ -51,8 +52,9 @@ export class MinimalConnector {
origin: {
indexed: (new Date()).toISOString(),
name: 'minimal connector',
type: SCThingOriginType.Remote,
},
type: 'message',
type: SCThingType.Message,
uid: '',
},
{
@@ -63,8 +65,9 @@ export class MinimalConnector {
origin: {
indexed: (new Date()).toISOString(),
name: 'minimal connector',
type: SCThingOriginType.Remote,
},
type: 'message',
type: SCThingType.Message,
uid: '',
},
];