Sha256: e4c186bac1be8c064d909806538d6972a9d9aeaeac9574a5c07637c1762318ce
Contents?: true
Size: 502 Bytes
Versions: 37
Compression:
Stored size: 502 Bytes
Contents
# frozen_string_literal: true module Decidim module Core class AttachmentType < Decidim::Api::Types::BaseObject description "A file attachment" field :url, GraphQL::Types::String, "The url of this attachment", null: false field :type, GraphQL::Types::String, "The type of this attachment", method: :file_type, null: false field :thumbnail, GraphQL::Types::String, "A thumbnail of this attachment, if it's an image.", method: :thumbnail_url, null: true end end end
Version data entries
37 entries across 37 versions & 1 rubygems