Sha256: 0f4bdb45f5f3d5e271e916755758ce8d56bbab081d5e0c47794378de056a2d6e
Contents?: true
Size: 602 Bytes
Versions: 50
Compression:
Stored size: 602 Bytes
Contents
# frozen_string_literal: true module Decidim module Core # This interface represents an object with standard create_at and updated_at timestamps. module TimestampsInterface include Decidim::Api::Types::BaseInterface description "An interface that can be used in objects with created_at and updated_at attributes" field :created_at, Decidim::Core::DateTimeType, description: "The date and time this object was created", null: true field :updated_at, Decidim::Core::DateTimeType, description: "The date and time this object was updated", null: true end end end
Version data entries
50 entries across 50 versions & 1 rubygems