Generates TypeScript filter types for Ash resources.
Generates:
{ResourceName}FilterInput— full typed filter objects with per-field operators{resourceName}FilterFields— runtimeas constarray of filterable field names{ResourceName}FilterField— union type derived from the array
Per-field operator lists are driven by Ash.Info.Manifest:
field.filter_operators is a list of %Ash.Info.Manifest.ApplicableOperator{}
records carrying both the canonical operator name (e.g. :==, :<) and a
pre-resolved rhs (:same | :any | {:concrete, type} | {:array, rhs}).
The TS renderer maps the canonical name to a client-facing key via
@operator_atom_to_key and computes the RHS TS type from op.rhs.
Fields/relationships whose filterable? is false are skipped entirely.
Summary
Functions
Generates as const arrays and derived union types for filterable field names.
Functions
Generates as const arrays and derived union types for filterable field names.
Includes fields whose manifest filterable? is true (attributes,
calculations, aggregates) and relationships whose manifest filterable? is
true.