lib/unimatrix/archivist/artifact.rb in unimatrix-2.2.1 vs lib/unimatrix/archivist/artifact.rb in unimatrix-2.3.1

- old
+ new

@@ -1,9 +1,11 @@ module Unimatrix::Archivist - class Artifact < Unimatrix::DynamicResource + class Artifact < Unimatrix::Resource + include Unimatrix::Blueprintable + field :id field :creator_uuid field :picture_uuid field :provider field :provider_uid @@ -18,10 +20,10 @@ field :type_name field :language field :uuid field :realm_uuid field :component_uuids - field relationships: [ :category ] + field relationships: [ :category, :cast, :season, :asset, :athlete ] field :name field :created_at field :updated_at has_many :artifact_locators