Rig.EventFilter.Config (Reactive Interaction Gateway v3.0.0-alpha.2) View Source
Configuration object for event filters.
Link to this section Summary
Link to this section Types
Specs
event_config() :: %{json_pointer: String.t()}
Specs
event_type() :: String.t()
Specs
event_type_config() :: %{optional(field_name()) => field_config()}
Specs
field_config() :: %{ stable_field_index: non_neg_integer(), jwt: jwt_config() | nil, event: event_config() }
Specs
field_name() :: String.t()
Specs
jwt_config() :: %{json_pointer: String.t()}
Specs
t() :: %{optional(event_type()) => event_type_config()}
Link to this section Functions
Specs
Specs
check_filter_config(event_type_config()) :: :ok | {:error, reason :: any()}
Specs
for_event_type(t(), String.t()) :: event_type_config()