Sha256: c95b1307820f6d85e47c4dd1b6781442aafae103c4f19f7cf4945c14816e554d
Contents?: true
Size: 720 Bytes
Versions: 6
Compression:
Stored size: 720 Bytes
Contents
# frozen_string_literal: true module Decidim module EnhancedTextwork class ParagraphInputSort < Decidim::Core::BaseInputSort include Decidim::Core::HasPublishableInputSort include Decidim::Core::HasEndorsableInputSort graphql_name "ParagraphSort" description "A type used for sorting paragraphs" 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: :paragraph_votes_count end end end
Version data entries
6 entries across 6 versions & 1 rubygems