From 10675e86f75c49c39f6d40d948ccc4bdcbb07b3e Mon Sep 17 00:00:00 2001 From: Richard Hallett Date: Tue, 30 Mar 2021 10:33:14 +0200 Subject: [PATCH] Add additional resource type constants --- config/initializers/constants.rb | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/config/initializers/constants.rb b/config/initializers/constants.rb index 7549814d2..a112ce3c4 100644 --- a/config/initializers/constants.rb +++ b/config/initializers/constants.rb @@ -56,17 +56,30 @@ class IdentifierError < RuntimeError; end RESOURCE_TYPES_GENERAL = { "Audiovisual" => "Audiovisual", + "Book" => "Book", + "BookChapter" => "Book Chapter", "Collection" => "Collection", + "ComputationalNotebook" => "Computational Notebook", + "ConferencePaper" => "Conference Paper", + "ConferenceProceeding" => "Conference Proceeding", "Dataset" => "Dataset", "DataPaper" => "Data Paper", + "Dissertation" => "Dissertation", "Event" => "Event", "Image" => "Image", "InteractiveResource" => "Interactive Resource", + "Journal" => "Journal", + "JournalArticle" => "Journal Article", "Model" => "Model", + "OutputManagementPlan" => "Output Management Plan", + "PeerReview" => "Peer Review", "PhysicalObject" => "Physical Object", + "Preprint" => "Preprint", + "Report" => "Report", "Service" => "Service", "Sound" => "Sound", "Software" => "Software", + "Standard" => "Standard", "Text" => "Text", "Workflow" => "Workflow", "Other" => "Other",