Sha256: 1cf6792816c81c4b20d3e2272ee487901663061b5cf1f5ee78d418fa24ae05a3
Contents?: true
Size: 1.17 KB
Versions: 50
Compression:
Stored size: 1.17 KB
Contents
# frozen_string_literal: true module Decidim module Budgets class ProjectType < Decidim::Api::Types::BaseObject implements Decidim::Core::ScopableInterface implements Decidim::Core::AttachableInterface implements Decidim::Comments::CommentableInterface implements Decidim::Core::CategorizableInterface description "A project" field :id, GraphQL::Types::ID, "The internal ID for this project", null: false field :title, Decidim::Core::TranslatedFieldType, "The title for this project", null: true field :description, Decidim::Core::TranslatedFieldType, "The description for this project", null: true field :budget_amount, GraphQL::Types::Int, "The budget amount for this project", null: true, camelize: false field :selected, GraphQL::Types::Boolean, "Whether this proposal is selected or not", method: :selected?, null: true field :created_at, Decidim::Core::DateTimeType, "When this project was created", null: true field :updated_at, Decidim::Core::DateTimeType, "When this project was updated", null: true field :reference, GraphQL::Types::String, "The reference for this project", null: true end end end
Version data entries
50 entries across 50 versions & 1 rubygems