Class: Ecoportal::API::GraphQL::Base::Activity
- Inherits:
-
Logic::BaseModel
- Object
- Common::Content::DoubleModel
- Common::GraphQL::Model
- Logic::BaseModel
- Ecoportal::API::GraphQL::Base::Activity
- Defined in:
- lib/ecoportal/api/graphql/base/activity.rb
Overview
A single entry of a page's activity/history feed, returned by
page.activities (ActivityInterfaceConnection). Read-only.
ActivityInterface is an INTERFACE with ~61 concrete implementations
(ActivityPageChangelog, ActivityComment, ActivityStageAssigned,
ActivityCreated, ActivityEmailOut, ActivityFallback, ...). Rather than
hand-model all of them, this captures the fields COMMON to the interface
and passes the concrete __typename through so callers can branch on it.
Enum-valued fields are exposed as plain strings:
- priority: PriorityEnum
Direct Known Subclasses
Constant Summary
Constants included from Common::GraphQL::Model::Diffable
Common::GraphQL::Model::Diffable::DIFF_CLASS
Method Summary
Methods included from Concerns::SnakeCamelAccess
#method_missing, #respond_to_missing?
Methods included from Common::GraphQL::Model::AsInput
Methods included from Common::GraphQL::Model::Diffable
Methods included from Common::GraphQL::ClassHelpers
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Ecoportal::API::GraphQL::Concerns::SnakeCamelAccess