Skip to content

Commit

Permalink
Add some missing includes (#706)
Browse files Browse the repository at this point in the history
# Story

Brings in a few missing includes from prior resource creation work.

Refs 
- #702
- #687

# Expected Behavior Before Changes

# Expected Behavior After Changes

# Screenshots / Video

<details>
<summary></summary>

</details>

# Notes
  • Loading branch information
laritakr authored Jul 23, 2024
2 parents 442210a + 21ba377 commit d9d633e
Show file tree
Hide file tree
Showing 12 changed files with 18 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/forms/conference_item_resource_form.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@
class ConferenceItemResourceForm < Hyrax::Forms::ResourceForm(ConferenceItemResource)
include Hyrax::FormFields(:basic_metadata)
include Hyrax::FormFields(:conference_item_resource)
include Hyrax::FormFields(:bulkrax_metadata)
include Hyrax::FormFields(:with_pdf_viewer)
include Hyrax::FormFields(:with_video_embed)
include VideoEmbedBehavior::Validation

# Define custom form fields using the Valkyrie::ChangeSet interface
#
Expand Down
2 changes: 2 additions & 0 deletions app/forms/dataset_resource_form.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@
class DatasetResourceForm < Hyrax::Forms::ResourceForm(DatasetResource)
include Hyrax::FormFields(:basic_metadata)
include Hyrax::FormFields(:dataset_resource)
include Hyrax::FormFields(:bulkrax_metadata)
include Hyrax::FormFields(:with_pdf_viewer)
include Hyrax::FormFields(:with_video_embed)
include VideoEmbedBehavior::Validation

# Define custom form fields using the Valkyrie::ChangeSet interface
#
Expand Down
2 changes: 2 additions & 0 deletions app/forms/exam_paper_resource_form.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@
class ExamPaperResourceForm < Hyrax::Forms::ResourceForm(ExamPaperResource)
include Hyrax::FormFields(:basic_metadata)
include Hyrax::FormFields(:exam_paper_resource)
include Hyrax::FormFields(:bulkrax_metadata)
include Hyrax::FormFields(:with_pdf_viewer)
include Hyrax::FormFields(:with_video_embed)
include VideoEmbedBehavior::Validation

# Define custom form fields using the Valkyrie::ChangeSet interface
#
Expand Down
2 changes: 2 additions & 0 deletions app/forms/journal_article_resource_form.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@
class JournalArticleResourceForm < Hyrax::Forms::ResourceForm(JournalArticleResource)
include Hyrax::FormFields(:basic_metadata)
include Hyrax::FormFields(:journal_article_resource)
include Hyrax::FormFields(:bulkrax_metadata)
include Hyrax::FormFields(:with_pdf_viewer)
include Hyrax::FormFields(:with_video_embed)
include VideoEmbedBehavior::Validation

# Define custom form fields using the Valkyrie::ChangeSet interface
#
Expand Down
2 changes: 2 additions & 0 deletions app/forms/published_work_resource_form.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@
class PublishedWorkResourceForm < Hyrax::Forms::ResourceForm(PublishedWorkResource)
include Hyrax::FormFields(:basic_metadata)
include Hyrax::FormFields(:published_work_resource)
include Hyrax::FormFields(:bulkrax_metadata)
include Hyrax::FormFields(:with_pdf_viewer)
include Hyrax::FormFields(:with_video_embed)
include VideoEmbedBehavior::Validation

# Define custom form fields using the Valkyrie::ChangeSet interface
#
Expand Down
2 changes: 2 additions & 0 deletions app/forms/thesis_resource_form.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@
class ThesisResourceForm < Hyrax::Forms::ResourceForm(ThesisResource)
include Hyrax::FormFields(:basic_metadata)
include Hyrax::FormFields(:thesis_resource)
include Hyrax::FormFields(:bulkrax_metadata)
include Hyrax::FormFields(:with_pdf_viewer)
include Hyrax::FormFields(:with_video_embed)
include VideoEmbedBehavior::Validation

# Define custom form fields using the Valkyrie::ChangeSet interface
#
Expand Down
1 change: 1 addition & 0 deletions app/indexers/conference_item_resource_indexer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ class ConferenceItemResourceIndexer < Hyrax::ValkyrieWorkIndexer
include Hyrax::Indexer(:conference_item_resource)
include Hyrax::Indexer(:with_pdf_viewer)
include Hyrax::Indexer(:with_video_embed)
include Hyrax::Indexer(:bulkrax_metadata)

include HykuIndexing

Expand Down
1 change: 1 addition & 0 deletions app/indexers/dataset_resource_indexer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ class DatasetResourceIndexer < Hyrax::ValkyrieWorkIndexer
include Hyrax::Indexer(:dataset_resource)
include Hyrax::Indexer(:with_pdf_viewer)
include Hyrax::Indexer(:with_video_embed)
include Hyrax::Indexer(:bulkrax_metadata)

include HykuIndexing

Expand Down
1 change: 1 addition & 0 deletions app/indexers/exam_paper_resource_indexer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ class ExamPaperResourceIndexer < Hyrax::ValkyrieWorkIndexer
include Hyrax::Indexer(:exam_paper_resource)
include Hyrax::Indexer(:with_pdf_viewer)
include Hyrax::Indexer(:with_video_embed)
include Hyrax::Indexer(:bulkrax_metadata)

include HykuIndexing

Expand Down
1 change: 1 addition & 0 deletions app/indexers/journal_article_resource_indexer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ class JournalArticleResourceIndexer < Hyrax::ValkyrieWorkIndexer
include Hyrax::Indexer(:journal_article_resource)
include Hyrax::Indexer(:with_pdf_viewer)
include Hyrax::Indexer(:with_video_embed)
include Hyrax::Indexer(:bulkrax_metadata)

include HykuIndexing

Expand Down
1 change: 1 addition & 0 deletions app/indexers/published_work_resource_indexer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ class PublishedWorkResourceIndexer < Hyrax::ValkyrieWorkIndexer
include Hyrax::Indexer(:published_work_resource)
include Hyrax::Indexer(:with_pdf_viewer)
include Hyrax::Indexer(:with_video_embed)
include Hyrax::Indexer(:bulkrax_metadata)

include HykuIndexing

Expand Down
1 change: 1 addition & 0 deletions app/indexers/thesis_resource_indexer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ class ThesisResourceIndexer < Hyrax::ValkyrieWorkIndexer
include Hyrax::Indexer(:thesis_resource)
include Hyrax::Indexer(:with_pdf_viewer)
include Hyrax::Indexer(:with_video_embed)
include Hyrax::Indexer(:bulkrax_metadata)

include HykuIndexing

Expand Down

0 comments on commit d9d633e

Please sign in to comment.