Sha256: 5872e50ba29c76fe8962506ccfeabe801674fd8a23e308b7e81a41fde3272647
Contents?: true
Size: 545 Bytes
Versions: 50
Compression:
Stored size: 545 Bytes
Contents
# frozen_string_literal: true module Decidim module Core class ScopeApiType < Decidim::Api::Types::BaseObject graphql_name "Scope" description "A scope" field :id, GraphQL::Types::ID, null: false field :name, Decidim::Core::TranslatedFieldType, "The graphql_name of this scope.", null: false field :children, [Decidim::Core::ScopeApiType, { null: true }], "Descendants of this scope", null: false field :parent, Decidim::Core::ScopeApiType, "This scope's parent scope.", null: true end end end
Version data entries
50 entries across 50 versions & 1 rubygems