Sha256: 262a3044ae89e341282cd28dc980ca4f5e6c48a82a60928673e3081218037931
Contents?: true
Size: 749 Bytes
Versions: 39
Compression:
Stored size: 749 Bytes
Contents
# frozen_string_literal: true module Decidim module Meetings # This interface represents all linked resources available in the module meetings module LinkedResourcesInterface include Decidim::Api::Types::BaseInterface graphql_name "MeetingsLinkedResourcesInterface" description "An interface that can be used with Resourceable models." if Decidim::Meetings.enable_proposal_linking field( :proposals_from_meeting, [Decidim::Proposals::ProposalType, { null: true }], "Proposals created in this meeting", null: false ) end def proposals_from_meeting object.linked_resources(:proposals, :proposals_from_meeting) end end end end
Version data entries
39 entries across 39 versions & 1 rubygems