Sha256: 884987570fd97da93288ec301b39243444fd0927a697ba9d05c5ae1a0c055ab1

Contents?: true

Size: 539 Bytes

Versions: 59

Compression:

Stored size: 539 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module Blogs
    class PostInputFilter < Decidim::Core::BaseInputFilter
      include Decidim::Core::HasTimestampInputFilter

      graphql_name "PostFilter"
      description "A type used for filtering posts inside a participatory space.

A typical query would look like:

```
  {
    participatoryProcesses {
      components {
        ...on Blogs {
          posts(filter:{ createdBefore: \"2020-01-01\" }) {
            id
          }
        }
      }
    }
  }
```
"
    end
  end
end

Version data entries

59 entries across 59 versions & 1 rubygems

Version Path
decidim-blogs-0.25.0.rc4 lib/decidim/api/post_input_filter.rb
decidim-blogs-0.25.0.rc3 lib/decidim/api/post_input_filter.rb
decidim-blogs-0.25.0.rc2 lib/decidim/api/post_input_filter.rb
decidim-blogs-0.25.0.rc1 lib/decidim/api/post_input_filter.rb
decidim-blogs-0.24.3 lib/decidim/api/post_input_filter.rb
decidim-blogs-0.23.6 app/types/decidim/blogs/post_input_filter.rb
decidim-blogs-0.24.2 lib/decidim/api/post_input_filter.rb
decidim-blogs-0.23.5 app/types/decidim/blogs/post_input_filter.rb
decidim-blogs-0.24.1 lib/decidim/api/post_input_filter.rb
decidim-blogs-0.24.0 lib/decidim/api/post_input_filter.rb
decidim-blogs-0.24.0.rc2 lib/decidim/api/post_input_filter.rb
decidim-blogs-0.23.4 app/types/decidim/blogs/post_input_filter.rb
decidim-blogs-0.24.0.rc1 lib/decidim/api/post_input_filter.rb
decidim-blogs-0.23.3 app/types/decidim/blogs/post_input_filter.rb
decidim-blogs-0.23.2 app/types/decidim/blogs/post_input_filter.rb
decidim-blogs-0.23.1 app/types/decidim/blogs/post_input_filter.rb
decidim-blogs-0.23.1.rc1 app/types/decidim/blogs/post_input_filter.rb
decidim-blogs-0.23.0 app/types/decidim/blogs/post_input_filter.rb
decidim-blogs-0.22.0 app/types/decidim/blogs/post_input_filter.rb