Sha256: 58cfb5375fad186fa883774265b692bc136902b2ab376f1402d5a387aed7a6dd
Contents?: true
Size: 778 Bytes
Versions: 37
Compression:
Stored size: 778 Bytes
Contents
# frozen_string_literal: true module Decidim module Blogs # This type represents a Post. class PostType < Decidim::Api::Types::BaseObject implements Decidim::Comments::CommentableInterface implements Decidim::Core::AttachableInterface implements Decidim::Core::AuthorableInterface implements Decidim::Core::TraceableInterface implements Decidim::Core::EndorsableInterface implements Decidim::Core::TimestampsInterface description "A post" field :id, GraphQL::Types::ID, "The internal ID of this post", null: false field :title, Decidim::Core::TranslatedFieldType, "The title for this post", null: true field :body, Decidim::Core::TranslatedFieldType, "The body of this post", null: true end end end
Version data entries
37 entries across 37 versions & 1 rubygems