Accessors for a resource's webhooks declarations, read via
Spark.Dsl.Extension (the ash_age pattern — no generated getter in this
spark version).
Summary
Functions
The inbound declaration for provider, if any.
The outbound declaration for event, if any.
All webhook entities (inbound + outbound) declared on resource.
Functions
@spec inbound(Ash.Resource.t(), atom()) :: AshHooks.Inbound.t() | nil
The inbound declaration for provider, if any.
@spec outbound(Ash.Resource.t(), atom()) :: AshHooks.Outbound.t() | nil
The outbound declaration for event, if any.
@spec webhooks(Ash.Resource.t()) :: [AshHooks.Inbound.t() | AshHooks.Outbound.t()]
All webhook entities (inbound + outbound) declared on resource.