Sha256: 5f07cdb64584cdacf68a7455af0bc5e6e54b3145b949a11e58527c4fc413315e

Contents?: true

Size: 534 Bytes

Versions: 37

Compression:

Stored size: 534 Bytes

Contents

# frozen_string_literal: true

module Decidim
  # This type represents a Decidim's global property.
  DecidimType = GraphQL::ObjectType.define do
    name "Decidim"
    description "Decidim's framework-related properties."

    field :version, !types.String, "The current decidim's version of this deployment." do
      resolve ->(obj, _args, _ctx) { obj.version }
    end

    field :application_name, !types.String, "The current installation's name." do
      resolve ->(obj, _args, _ctx) { obj.application_name }
    end
  end
end

Version data entries

37 entries across 37 versions & 2 rubygems

Version Path
decidim-core-0.9.3 lib/decidim/core/api/decidim_type.rb
decidim-core-0.9.2 lib/decidim/core/api/decidim_type.rb
decidim-core-0.9.1 lib/decidim/core/api/decidim_type.rb
decidim-core-0.9.0 lib/decidim/core/api/decidim_type.rb
decidim-core-0.8.4 lib/decidim/core/api/decidim_type.rb
decidim-core-0.8.3 lib/decidim/core/api/decidim_type.rb
decidim-core-0.8.2 lib/decidim/core/api/decidim_type.rb
decidim-core-0.8.1 lib/decidim/core/api/decidim_type.rb
decidim-core-0.8.0 lib/decidim/core/api/decidim_type.rb
decidim-core-0.7.4 lib/decidim/core/api/decidim_type.rb
decidim-core-0.7.3 lib/decidim/core/api/decidim_type.rb
decidim-core-0.7.2 lib/decidim/core/api/decidim_type.rb
decidim-core-0.7.1 lib/decidim/core/api/decidim_type.rb
decidim-core-0.7.0 lib/decidim/core/api/decidim_type.rb
decidim-core-0.6.8 lib/decidim/core/api/decidim_type.rb
decidim-0.6.8 decidim-core/lib/decidim/core/api/decidim_type.rb
decidim-core-0.6.7 lib/decidim/core/api/decidim_type.rb
decidim-0.6.7 decidim-core/lib/decidim/core/api/decidim_type.rb
decidim-core-0.6.6 lib/decidim/core/api/decidim_type.rb
decidim-0.6.6 decidim-core/lib/decidim/core/api/decidim_type.rb