From 1d6a2b7841e9c38e68c9e5c718377a9c04fe50d6 Mon Sep 17 00:00:00 2001 From: Karl-Philipp Wulfert Date: Tue, 14 May 2019 16:49:54 +0200 Subject: [PATCH] fix: remove references from origins References #69 --- src/core/Thing.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/core/Thing.ts b/src/core/Thing.ts index fc82a4ed..ffe8346f 100644 --- a/src/core/Thing.ts +++ b/src/core/Thing.ts @@ -12,8 +12,8 @@ * You should have received a copy of the GNU General Public License along with * this program. If not, see . */ -import {SCOrganization} from './things/Organization'; -import {SCPerson} from './things/Person'; +import {SCOrganizationWithoutReferences} from './things/Organization'; +import {SCPersonWithoutReferences} from './things/Person'; import {SCMetaTranslations, SCTranslations} from './types/i18n'; import {SCISO8601Date} from './types/Time'; import {SCUuid} from './types/UUID'; @@ -113,7 +113,7 @@ export interface SCThingOrigin { * * e.g. restaurant of a dish */ - maintainer?: SCPerson | SCOrganization; + maintainer?: SCPersonWithoutReferences | SCOrganizationWithoutReferences; /** * When the thing was modified last in the origin @@ -150,7 +150,7 @@ export interface SCThingRemoteOrigin extends SCThingOrigin { * * e.g. an organizer for an event */ - responsibleEntity?: SCPerson | SCOrganization; + responsibleEntity?: SCPersonWithoutReferences | SCOrganizationWithoutReferences; /** * Type of the origin