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