Sha256: 42e5e6b3421f0b2f1a285106d0d99d89ac85828bb4996097264860c48e28d5f9

Contents?: true

Size: 609 Bytes

Versions: 21

Compression:

Stored size: 609 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module Pages
    PageType = GraphQL::ObjectType.define do
      name "Page"
      description "A page"

      field :id, !types.ID
      field :title, !Decidim::Core::TranslatedFieldType, "The title of this page (same as the component name)."
      field :body, Decidim::Core::TranslatedFieldType, "The body of this page."
      field :createdAt, !Decidim::Core::DateTimeType, "The time this page was created", property: :created_at
      field :updatedAt, !Decidim::Core::DateTimeType, "The time this page was updated", property: :updated_at
    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
decidim-pages-0.23.6 app/types/decidim/pages/page_type.rb
decidim-pages-0.23.5 app/types/decidim/pages/page_type.rb
decidim-pages-0.23.4 app/types/decidim/pages/page_type.rb
decidim-pages-0.23.3 app/types/decidim/pages/page_type.rb
decidim-pages-0.23.2 app/types/decidim/pages/page_type.rb
decidim-pages-0.23.1 app/types/decidim/pages/page_type.rb
decidim-pages-0.23.1.rc1 app/types/decidim/pages/page_type.rb
decidim-pages-0.23.0 app/types/decidim/pages/page_type.rb
decidim-pages-0.22.0 app/types/decidim/pages/page_type.rb
decidim-pages-0.21.0 app/types/decidim/pages/page_type.rb
decidim-pages-0.20.1 app/types/decidim/pages/page_type.rb
decidim-pages-0.20.0 app/types/decidim/pages/page_type.rb
decidim-pages-0.19.1 app/types/decidim/pages/page_type.rb
decidim-pages-0.18.1 app/types/decidim/pages/page_type.rb
decidim-pages-0.19.0 app/types/decidim/pages/page_type.rb
decidim-pages-0.17.2 app/types/decidim/pages/page_type.rb
decidim-pages-0.18.0 app/types/decidim/pages/page_type.rb
decidim-pages-0.17.1 app/types/decidim/pages/page_type.rb
decidim-pages-0.16.1 app/types/decidim/pages/page_type.rb
decidim-pages-0.17.0 app/types/decidim/pages/page_type.rb