From d3bf27fddccccfa400c9ce12b48c10bde2338502 Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Tue, 4 Jun 2019 13:50:35 +0200 Subject: [PATCH] cleanup asset model --- client/src/models/AssetModel.ts | 9 --------- client/src/routes/Publish/index.tsx | 4 ---- 2 files changed, 13 deletions(-) diff --git a/client/src/models/AssetModel.ts b/client/src/models/AssetModel.ts index 7538119..6bfcfb6 100644 --- a/client/src/models/AssetModel.ts +++ b/client/src/models/AssetModel.ts @@ -19,15 +19,6 @@ const AssetModel = { inLanguage: '', tags: [], price: '' - }, - curation: { - rating: null, - numVotes: null, - schema: null - }, - additionalInformation: { - updateFrequency: null, - structuredMarkup: [] } } diff --git a/client/src/routes/Publish/index.tsx b/client/src/routes/Publish/index.tsx index 54c9ff6..eb18137 100644 --- a/client/src/routes/Publish/index.tsx +++ b/client/src/routes/Publish/index.tsx @@ -285,10 +285,6 @@ export default class Publish extends Component<{}, PublishState> { type: this.state.type, categories: [this.state.categories] }) - // curation: Object.assign(AssetModel.curation), - // additionalInformation: Object.assign( - // AssetModel.additionalInformation - // ) } try {