AshDispatch.Resource.Dsl (AshDispatch v0.5.0)
View SourceDSL sections for AshDispatch.Resource extension.
Summary
Functions
The audience entity for explicit audience path overrides.
The audience_prefix entity for child resources.
The counter entity for defining individual counters.
The counters section for declaring resource-level counters.
The main dispatch section for defining events in resources.
The entity_changes entity for enabling real-time entity change broadcasting.
The event entity for defining individual events.
The locales entity for resource-level locale configuration.
The resource_meta entity for TypeScript resource metadata generation.
Functions
The audience entity for explicit audience path overrides.
Allows defining custom paths for specific audiences, useful when an audience needs a different path than the default or when combined with audience_prefix.
The audience_prefix entity for child resources.
Specifies a relationship prefix that all relationship-based audiences should go through before resolving. This is useful for child resources like OrderItem that access users through their parent Order.
The counter entity for defining individual counters.
The counters section for declaring resource-level counters.
The main dispatch section for defining events in resources.
The entity_changes entity for enabling real-time entity change broadcasting.
When enabled, CRUD events for this resource are automatically broadcast
as entity_change and entity_created channel events, enabling real-time
UI updates like entity snapshots, toast notifications, and status dots.
The event entity for defining individual events.
The locales entity for resource-level locale configuration.
Defines which locales should have templates generated and serves as the default locale list for all events in the resource.
The resource_meta entity for TypeScript resource metadata generation.
Provides metadata about the resource that the TypeScript SDK uses to generate navigation paths, labels, and type-safe resource constants.