Sha256: 4699c39906e81cf39effe585b2854a774c3e3918deb20c055a42c4f9508d8c79
Contents?: true
Size: 709 Bytes
Versions: 50
Compression:
Stored size: 709 Bytes
Contents
# frozen_string_literal: true module Decidim module Proposals class ProposalInputSort < Decidim::Core::BaseInputSort include Decidim::Core::HasPublishableInputSort include Decidim::Core::HasEndorsableInputSort graphql_name "ProposalSort" description "A type used for sorting proposals" argument :id, GraphQL::Types::String, "Sort by ID, valid values are ASC or DESC", required: false argument :vote_count, type: GraphQL::Types::String, description: "Sort by number of votes, valid values are ASC or DESC. Will be ignored if votes are hidden", required: false, as: :proposal_votes_count end end end
Version data entries
50 entries across 50 versions & 1 rubygems