Sha256: ccb0a63b31cba7530f03e9cd50e0dbf7f42bacb8f23188ae20662984e85461b4
Contents?: true
Size: 882 Bytes
Versions: 13
Compression:
Stored size: 882 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 field :published_at, Decidim::Core::DateTimeType, "The time this page was published", null: false end end end
Version data entries
13 entries across 13 versions & 1 rubygems