Sha256: 816db74e8ccd480d6b9519ff6dc6e9772ce59c5e068176538731e10ffbb9a02b

Contents?: true

Size: 758 Bytes

Versions: 10

Compression:

Stored size: 758 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module Assemblies
    # This type represents an AssembliesType.
    AssembliesTypeType = GraphQL::ObjectType.define do
      name "AssembliesType"
      description "An assemblies type"

      field :id, !types.ID, "The assemblies type's unique ID"
      field :title, !Decidim::Core::TranslatedFieldType, "The title of this assemblies type."
      field :createdAt, !Decidim::Core::DateTimeType, "The time this assemblies type was created", property: :created_at
      field :updatedAt, !Decidim::Core::DateTimeType, "The time this assemblies type was updated", property: :updated_at
      field :assemblies, !types[Decidim::Assemblies::AssemblyType], "Assemblies with this assemblies type"
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
decidim-assemblies-0.23.6 app/types/decidim/assemblies/assemblies_type_type.rb
decidim-assemblies-0.23.5 app/types/decidim/assemblies/assemblies_type_type.rb
decidim-assemblies-0.23.4 app/types/decidim/assemblies/assemblies_type_type.rb
decidim-assemblies-0.23.3 app/types/decidim/assemblies/assemblies_type_type.rb
decidim-assemblies-0.23.2 app/types/decidim/assemblies/assemblies_type_type.rb
decidim-assemblies-0.23.1 app/types/decidim/assemblies/assemblies_type_type.rb
decidim-assemblies-0.23.1.rc1 app/types/decidim/assemblies/assemblies_type_type.rb
decidim-assemblies-0.23.0 app/types/decidim/assemblies/assemblies_type_type.rb
decidim-assemblies-0.22.0 app/types/decidim/assemblies/assemblies_type_type.rb
decidim-assemblies-0.21.0 app/types/decidim/assemblies/assemblies_type_type.rb