mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-06 21:42:49 +00:00
refactor: update the dependencies
This commit is contained in:
11
src/index.ts
11
src/index.ts
@@ -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: '',
|
||||
},
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user