fix: remove references from origins

References #69
This commit is contained in:
Karl-Philipp Wulfert
2019-05-14 16:49:54 +02:00
parent e3d3d022c7
commit 1d6a2b7841

View File

@@ -12,8 +12,8 @@
* You should have received a copy of the GNU General Public License along with * You should have received a copy of the GNU General Public License along with
* this program. If not, see <https://www.gnu.org/licenses/>. * this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
import {SCOrganization} from './things/Organization'; import {SCOrganizationWithoutReferences} from './things/Organization';
import {SCPerson} from './things/Person'; import {SCPersonWithoutReferences} from './things/Person';
import {SCMetaTranslations, SCTranslations} from './types/i18n'; import {SCMetaTranslations, SCTranslations} from './types/i18n';
import {SCISO8601Date} from './types/Time'; import {SCISO8601Date} from './types/Time';
import {SCUuid} from './types/UUID'; import {SCUuid} from './types/UUID';
@@ -113,7 +113,7 @@ export interface SCThingOrigin {
* *
* e.g. restaurant of a dish * e.g. restaurant of a dish
*/ */
maintainer?: SCPerson | SCOrganization; maintainer?: SCPersonWithoutReferences | SCOrganizationWithoutReferences;
/** /**
* When the thing was modified last in the origin * 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 * e.g. an organizer for an event
*/ */
responsibleEntity?: SCPerson | SCOrganization; responsibleEntity?: SCPersonWithoutReferences | SCOrganizationWithoutReferences;
/** /**
* Type of the origin * Type of the origin