Sha256: 3c1df336671c20a4ab38d731c4cea3e91f4e5ebbce6fd33cc21bc0748b57261a
Contents?: true
Size: 456 Bytes
Versions: 38
Compression:
Stored size: 456 Bytes
Contents
# frozen_string_literal: true module Decidim module Core AttachmentType = GraphQL::ObjectType.define do name "Attachment" description "A file attachment" field :url, !types.String, "The url of this attachment" field :type, !types.String, "The type of this attachment", property: :file_type field :thumbnail, types.String, "A thumbnail of this attachment, if it's an image.", property: :thumbnail_url end end end
Version data entries
38 entries across 38 versions & 1 rubygems