Sha256: 1c8d4c6858e1d90faaad3fd382b52f5cd07f0c863815a184283ea131917bc7c3
Contents?: true
Size: 575 Bytes
Versions: 9
Compression:
Stored size: 575 Bytes
Contents
# frozen_string_literal: true module Decidim module Core # 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 :applicationName, !types.String, "The current installation's name." do resolve ->(obj, _args, _ctx) { obj.application_name } end end end end
Version data entries
9 entries across 9 versions & 1 rubygems