Sha256: e2c7555f1ce7c09f070bead20a816ef3d1445e52cf1ba62f4119c446d908b881

Contents?: true

Size: 921 Bytes

Versions: 25

Compression:

Stored size: 921 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module Accountability
    class TimelineEntryType < Decidim::Api::Types::BaseObject
      description "A Timeline Entry"

      field :id, GraphQL::Types::ID, "The internal ID for this timeline entry", null: false
      field :entry_date, Decidim::Core::DateType, "The entry date for this timeline entry", null: true
      field :title, Decidim::Core::TranslatedFieldType, "The title for this timeline entry", null: true
      field :description, Decidim::Core::TranslatedFieldType, "The description for this timeline entry", null: true
      field :created_at, Decidim::Core::DateTimeType, "When this timeline entry was created", null: true
      field :updated_at, Decidim::Core::DateTimeType, "When this timeline entry was updated", null: true

      field :result, Decidim::Accountability::ResultType, "The result for this timeline entry", null: true
    end
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
decidim-accountability-0.27.2 lib/decidim/api/timeline_entry_type.rb
decidim-accountability-0.27.1 lib/decidim/api/timeline_entry_type.rb
decidim-accountability-0.27.0 lib/decidim/api/timeline_entry_type.rb
decidim-accountability-0.27.0.rc2 lib/decidim/api/timeline_entry_type.rb
decidim-accountability-0.27.0.rc1 lib/decidim/api/timeline_entry_type.rb