Sha256: 8c5fb222281a1e62c31bdf954dc85d0616eb60e501904e7d3696e1fadbb526e2

Contents?: true

Size: 932 Bytes

Versions: 50

Compression:

Stored size: 932 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module Accountability
    class StatusType < Decidim::Api::Types::BaseObject
      description "A status"

      field :id, GraphQL::Types::ID, "The internal ID for this status", null: false
      field :key, GraphQL::Types::String, "The key for this status", null: true
      field :name, Decidim::Core::TranslatedFieldType, "The name for this status", null: true
      field :created_at, Decidim::Core::DateType, "When this status was created", null: true
      field :updated_at, Decidim::Core::DateType, "When this status was updated", null: true
      field :description, Decidim::Core::TranslatedFieldType, "The description for this status", null: true
      field :progress, GraphQL::Types::Int, "The progress for this status", null: true

      field :results, [Decidim::Accountability::ResultType, { null: true }], "The results for this status", null: true
    end
  end
end

Version data entries

50 entries across 50 versions & 1 rubygems

Version Path
decidim-accountability-0.29.1 lib/decidim/api/status_type.rb
decidim-accountability-0.28.4 lib/decidim/api/status_type.rb
decidim-accountability-0.27.9 lib/decidim/api/status_type.rb
decidim-accountability-0.29.0 lib/decidim/api/status_type.rb
decidim-accountability-0.28.3 lib/decidim/api/status_type.rb
decidim-accountability-0.27.8 lib/decidim/api/status_type.rb
decidim-accountability-0.29.0.rc4 lib/decidim/api/status_type.rb
decidim-accountability-0.29.0.rc3 lib/decidim/api/status_type.rb
decidim-accountability-0.29.0.rc2 lib/decidim/api/status_type.rb
decidim-accountability-0.29.0.rc1 lib/decidim/api/status_type.rb
decidim-accountability-0.28.2 lib/decidim/api/status_type.rb
decidim-accountability-0.27.7 lib/decidim/api/status_type.rb
decidim-accountability-0.28.1 lib/decidim/api/status_type.rb
decidim-accountability-0.27.6 lib/decidim/api/status_type.rb
decidim-accountability-0.26.10 lib/decidim/api/status_type.rb
decidim-accountability-0.26.9 lib/decidim/api/status_type.rb
decidim-accountability-0.28.0 lib/decidim/api/status_type.rb
decidim-accountability-0.27.5 lib/decidim/api/status_type.rb
decidim-accountability-0.28.0.rc5 lib/decidim/api/status_type.rb
decidim-accountability-0.28.0.rc4 lib/decidim/api/status_type.rb