Reads compiled webhook declarations and delivery configuration.
Summary
Functions
The inbound declaration for provider, if any.
The outbound declaration for event, if any.
The configured exact-bytes payload attribute name on an
AshHooks.OutboundDelivery resource (default :payload).
All webhook entities (inbound + outbound) declared on resource.
Returns whether the compiled ingest or dispatch action accepts a
caller-supplied :id.
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.
The configured exact-bytes payload attribute name on an
AshHooks.OutboundDelivery resource (default :payload).
@spec webhooks(Ash.Resource.t()) :: [AshHooks.Inbound.t() | AshHooks.Outbound.t()]
All webhook entities (inbound + outbound) declared on resource.
Returns whether the compiled ingest or dispatch action accepts a
caller-supplied :id.