refactor: update openstapps packages

This commit is contained in:
Jovan Krunić
2021-08-18 10:29:18 +00:00
parent 09aa7bb5c5
commit b56a428c92
16 changed files with 328 additions and 427 deletions

View File

@@ -23,9 +23,7 @@ import {
SCSearchQuery,
SCSearchResponse,
SCSearchValueFilter,
SCThing,
SCThingOriginType,
SCThings,
SCThingType,
} from '@openstapps/core';
import {sampleThingsMap} from '../../_helpers/data/sample-things';
@@ -66,7 +64,7 @@ describe('DataProvider', () => {
filter: sampleFilter,
};
const sampleSavable: SCSaveableThing<SCThings> = {
const sampleSavable: SCSaveableThing = {
data: sampleThing,
name: sampleThing.name,
origin: {
@@ -168,7 +166,7 @@ describe('DataProvider', () => {
});
it('should put an data item into the local database (storage)', async () => {
let providedThing: SCSaveableThing<SCThing>;
let providedThing: SCSaveableThing;
spyOn(storageProvider, 'put' as any).and.callFake(
(_id: any, thing: any) => {
providedThing = thing;